Prevent x-server setting display brightness

Hi,
i have a laptop with a ati radeon hd 4200 and i'm using the catalyst driver. I have also laptop-mode-tools installed to adjust the display brightness which works fine but every time the x-server is started the brightness is set to 100% so the brighness adjustment of laptop-mode-tools is quite useless, because it is set before the x-server is started.
My question is, is there a way to prevent the x-server setting the display brightness?

I have neither gnome nor another DE installed, just X with dwm. It seems that the brightness is set by X. The workaround i am using now is
if [ "$(< /sys/devices/platform/smapi/ac_connected)" = 0 ]; then
xbacklight -set 17%
else
xbacklight -set 40%
fi
in my .xinitrc.

Similar Messages

  • Display brightness setting doesn't stick on power cycle

    The display brightness setting doesn't seem to stick during power cycles on my new 13" i7, it almost always sets itself to full brightness when I turn it on. This isn't really a huge deal but it is kind of a nuisance as I typically keep it around half, why should I be turning it back down every time I boot up???.
    I have un-checked the box through settings for adjusting brightness based on ambient light, and made sure it is in fact staying un-checked.
    I have also reset PRAM a few times now which seems to provide a temporary fix only. After a day or two it's back to square one again.
    Any ideas, or is this a bug that there's currently no fix for?

    Quote from: zankou on 11-June-13, 23:02:54
    Hi, I have recently bought GE60-0ND notebook with Win8 preinstalled which I got rid of in a second I got home, reinstalled with my licensed Win7. Half of things didn't work so I flashed the correct firmware. From that point on everything works perfectly, only brightness control is broken. I simply cannot control my monitor's brightness with my special keys nor in power control setup. So I googled.. and some smart guy recommended a bios flash as well. But when I try, it says either "Problem getting flash information" or "Problem getting bios information".
    Any thoughts how to get the brightness control work?
    Thanks for any kind of advice 
    Did you switch the BIOS and the EC Firmware to the Windows 7 counterparts?
    You may want to ask Svet about that error.

  • Setting DISPLAY for Reports60 server on Solaris

    Hello,
    Where can I find instructions on how to set the DISPLAY variable for my starting script of the reports60 server?
    Everything works fine when I set DISPLAY to a workstation running an XWindows client session, but I don't want to rely on that solution. I want to point to a server.
    Thanks in advance...
    Paul.

    Paul,
    You should be able to use either xvfb or vnc as headless servers. I think that the instructions for this are included in the iAS release notes. If you can't find anything there or in Metalink then let me know and I'll see what I can dig up.
    Thanks
    Danny

  • Server setting preventing .jar from being read/executed?

    Hey guys,
    I'm not completely sure this is the correct place to be posting my question, but I have been unable to find a better place for it, so hopefully someone here might be able to help me out.
    Ok.
    I have a signed .jar applet, that runs locally and when hosted on a server on the LAN. It also works when the .jar is hosted on my webspace given by my ISP.
    However, I have a website hosted where, for some reason, the applet fails. Furthermore, it only fails when it is packaged in a .jar archive. When only using .class files it works fine, however because I need to use .jar files in order to sign them this is no longer sufficient. The exception given by the java console is :
    java.lang.ClassNotFoundException: UserInterface.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://www.nickmoores.com/applet/sudoku/UserInterface/class.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: UserInterface.class
    When I set the trace level in the java console to 5, the first exception that appears is :
    java.io.FileNotFoundException: http://www.nickmoores.com/applet/sudoku/sudoku.jar
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source) .... etc etc etc
    To me, this indicates that it can't find the .jar. However all the web browsers I have tried manage to find the file at the URL given by the exception (ie http://www.nickmoores.com/applet/sudoku/sudoku.jar), so it is not a simple case of having misplaced the jar or giving the wrong path.
    I made a simple .html page with the following html code :
    <!DOCTYPE HTML PUBLIC
      "-//IETF//DTD HTML LEVEL 1//EN">
    <HTML>
      <HEAD>
        <TITLE>Blank HTML Level 1 Page</TITLE>
        <META HTTP-EQUIV="Content-Type"
              CONTENT="text/html; charset=utf-8">
      </HEAD>
      <BODY>
         <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" name="SudokuApplet"
                   width="393" height="327"
                   codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_5_0-windows-i586.cab#Version=1,5,0,0">
              <param name="codebase" value="/applet/sudoku/" />
              <param name="archive" value="sudoku.jar" />
              <param name="code" value="UserInterface.class" />
              <param name="type" value="application/x-java-applet" />
              <comment>
                   <embed name="SudokuAppletFF"
                           archive="sudoku.jar"
                           codebase="http://nickmoores.pwp.blueyonder.co.uk/applet/sudoku/"
                           code="UserInterface.class"
                           width="393"
                           height="327"
                           type="application/x-java-applet"
                           pluginspage="http://java.sun.com/j2se/1.5.0/download.html">
                        <noembed>No Java Support.</noembed>
                   </embed>
              </comment>
         </object>
      </BODY>
    </HTML>I placed this page at my ISP webspace, my local LAN server, and the hosted site where it doesn't work, and put the .jar in the appropriate location on each server.
    As expected, it works everywhere EXCEPT the hosted website. This convinced me that there is a problem on the hosted website that is somehow preventing the .jar archive from being read from object/embed html tags. This seems strange as it manages to read and load .class files fine.
    I have communicated several times with the people who are hosting my site, and they haven't been too helpful so far. I've had several replies along the lines of "Can you try it now? I think it should be working" and "Have you tried testing it on a local site?", so i'm not sure they really know what the issue is.
    So does anyone know what setting on the server would be preventing the .jar from being loaded?
    If anyone wants to see the problem for themselves, the problem occurs at http://www.nickmoores.com/blanktest.html , but it works at http://www.nickmoores.pwp.blueyonder.co.uk . As you will see from the page source, the code is exactly the same, so it must be a server setting causing the problem, right?
    Thanks guys!

    Try this:
    <!--[if !IE]> -->
    <object classid="java:**.class"
    type="application/x-java-applet"
    archive="**.jar"
    height="350" width="550" >
    <param name="code" value="***.class" />
    <!-- For Konqueror -->
    <param name="archive" value="***.jar" />
    <param name="persistState" value="false" />
    </object>
    <!--<![endif]-->
    <!--[if IE]>
    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0"
    height="350" width="550" >
    <param name="archive" value="***.jar" />
    <param name="code" value="***.class" />
    <param name="persistState" value="false" />
    </object>
    <!--<![endif]-->

  • Default Display brightness is too high.

    Hi, i am using latest B2G 2.2 [2014-10-08, flame phone]
    Default display brightness almost 90%,
    Every time i update firmware, i set this value to 10%.
    i think this value is too high, it consume more battery.

    Hi, my point is default value is too high,
    it affect battery life.
    user some time forget set this value,
    so i think this value should be changed by default.
    now, i set this value to 0%
    indoor, i can see my flame screen clearly with 0%

  • MacBook display brightness will not adjust

    My MacBook display brightness is very low level, the F1 and F2 brightness keys bring up the transparent window and show brightness turned all the way down, but F2 does not increase the brightness. In Preferences, the display section shows the Brightness slider all the way to the top, and if I attempt to slide that down it snaps back to the top, and the actual screen brightness does not change from very low. I also have verified that the function keys are NOT set to lock out the brightness function, so pressing command and F1/F2 does nothing. So nothing from previous forums seems to apply! All other function keys operate properly (multi-window, volume, dashboard).

    OK guys, think I found a solution to this one.
    My girlfriend's mac had the same problem as yours, and I was motivated to fix it becuase I needed to use my mac for my dissertation and she kept stealing it!
    anyway, turn the brightness all the way down, press it up once and you will see the screen flash. do it again, really fast up and down up and down and the scree will stay on as long as you keep playing with the buttons.
    next, use this temporary fix to get into system preferences -> displays... and change the resolution to something considerably lower. then it stays on permanently. Not too sure about why this happens, maybe the mac can no longer handle that many colours or complexities?
    sod it. enjoy.

  • Set DISPLAY through rc2.d script

    Hi Admins,
    I need to set the DISPLAY system level so I have created a script in /etc/rc2.d and placed the following lines
    export DISPLAY=localhost:0.0;
    /usr/openwin/bin/Xvfb :0 &
    But this doesn't seem to set the display correctly. But the x server is starting without an issue.
    When I tried to see the display as,
    # echo $DISPLAY , it shows blank.
    Help is much appreciated.
    Thanks in advance,
    Dushank

    The variables set in RC scripts wont be inherited to the shell. If you set $DISPLAY in a rc-script, it will only be set in that very specific script, and it will only exist during the life time of the script.
    To set a variable at shell level, you need to add it to a /etc/profile or the appropriate config file for your shell (i.e. .kshrc, .cshrc, .bashrc and so on).
    .7/M.
    Edited by: abrante on Apr 6, 2010 10:40 AM

  • Display brightness (darkness)

    I recognized that the brightness-slider in min. position doesn't really adjust the possible min. brightness the displays backlight-controller could do (~10%). Every 3rd party tool or as example VLC is able to go lower, but only temporarily as the setting will be overwritten again immediatelly.
    The reason why I'm starting this thread: At normal daylight the actual min. setting is good, but at night it is much too bright!
    So why does Sony restrict to use the darkest setting  - it only would have advantages: Less eye pain, less battery drain.

    I came here for a similar solution.
    On the Galaxy Tab 2 that I had before the Sony, it was possible to set the brightness really low... that extended the battery life! It could run for an extra 4 hours, even playing games like 'Hay day' continously.
    The brightness is way too high, to really enjoy watching the screen, so I do want to lower it... but how can this be done?
    Why isn't there an option to set it at the desired brightness level?
    I think this calls for an update!

  • Set DISPLAY environment variable -- in DBCA not working at AIX OS

    Hi,
    I want to create new database in AIX OS and database is oracle 10g:-
    When i say DBCA it is giving below error, what should i do?
    $ dbca
    DISPLAY not set.
    Set DISPLAY environment variable, then re-run.
    Please help...

    Pravin wrote:
    How to set the DISPLAY environment variable in AIX?Usual format is:
    +<host>:<display-number>+
    E.g.
    export DISPLAY=192.168.0.235:1
    Where the host is the hostname or IP address of the client platform running a X-Server. If the X-Server is running locally, then this entry can be omitted.
    The display-number is the display number of the X-Server to use. A single X-Server can have multiple displays. E.g. Unix server running a X-Server can have 10 users connected via X-Terminals and will this have 10 displays.
    Judging from X-Windows questions asked on OTN, it seems to be a tad complex to grasp for some - especially those from a MS Windows background as X-Windows is very different and also reverses the client-server concept, requiring the X-Server component to be running on the client platform (where the server platform runs the program that is the X-client).
    So it is a lot easier to rather use something like VNC instead - supported on most Unix platforms, Linux, Windows and Apple's OS/X.
    Simply run the VNC server on the server platform to create a virtual container for running the X-server display. Connect from a client using a VNC client.
    As it uses the RFB (Remote Frame Buffer) protocol, it is a lot faster than running the slower and larger X11 protocol required for X-Windows connectivity over TCP/IP.

  • Solaris 10 for X86 Install issue: "Server for display :0 can't be started"

    After fixing my "can't set locale" problem I am moving onto the "Server for display :0 can't be started" issue.
    Checking /etc/dtc/Xerrors yields:
    1) error (PID 380) : Server unexpectedly died
    2) error (PID 380) : Server for display :0 can't be started
    I\ve tried running kdconfig and setting XSun not XOrg. I am using a 2 channel KVM with a 3 button mouse (the only PS2 mouse I have lying around...) but the config seems to pick it up without any problems.
    Feel free to reply direct to me g.h.lawrence<at>gmail.com if you wish. Thanks in advance for any and all replies.
    Greg
    Message was edited by:
    MaristFlanker
    Also, I notice this message when I try to boot up:
    svccfg (/tmp/kdm_svccfg_cmds, ;ine 1): Pattern 'application/x11/x11-server' doesn't match any instances or services.
    Any help/suggestions appreciated and thanks again!

    Hello Greg,
    unfortunately you're posting in the wrong forum.
    These forums are for Sun Hardware, you have a configuration problem with a piece of software - the x-server. Please post in one of these forums
    Solaris on x86
    http://forum.sun.com/jive/forum.jspa?forumID=291
    Installation
    http://forum.sun.com/jive/forum.jspa?forumID=292
    General Solaris 10 Discussion
    http://forum.sun.com/jive/forum.jspa?forumID=298
    Michael

  • K330 display brightness settings keep resetting

    Hi,
    After setting the brightness and contrast of the display in the NVIDIA control panel of my K330 -> Adjust desktop colour setting -> Use NVIDIA settings, the brightness will always revert to the original settings after I restart the CPU. How do I ensure that the settings do not keep reverting to the original settings?
    I have already tried updating to the latest NVIDIA GeForce GT 420 driver but it doesnt help.

    hey minileaves,
    could you uninstall the current graphic driver, let windows install its own drivers and see if the setting will stay ?
    if it stays, then go to http://consumersupport.lenovo.com/ca/en/DriversDow​nloads/drivers_list.aspx?CategoryID=728080 and reinstall the driver for your graphic card
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Is display brightness reduced in Leopard?

    Hi everyone, I have a question about the display brightness in Leopard. I just upgraded my SR MBP from Tiger to Leopard, and I noticed that the display brightness has been reduced. I used to work with half maximum brightness in Tiger, but now I have to set my display brightness to almost maximum value. Has anyone met this, or I need to do some extra setting up for the display?

    Hi, I have also noticed a significant reduction in brightness on my MacBook Pro. I have recently upgraded from Tiger to Leopard and I am very disappointed! I use my Mac for design purposes and this reduction does have quite an effect of the true display of colours, etc. Has anyone found a way to correct the brightness of the screen?

  • (SOLVED) Display brightness disappeared from Power Options in Vista, Lenovo G530

    Hello board,
    My system Lenovo G530 product ID 444638U
    I used to be able to adjust display brightness in Vista from Control Panel > Power Options. I could set how bright when on battery and how bright when on AC. Also, it used to be that when I unplugged power cable it would automatically adjust my brightness according to those settings. Now, nothing happens when I unplug power cable, not even a beep.
    Possible problem is as follows, but let's keep an open mind to other things as well. I spilled beer on keyboard recently. ONLY on keyboard I am sure. I replaced keyboard with something that fits but something that isn't made for my laptop, has different arrangement of Fn+ keys. Basically ever since the beer accident and ever since I replaced keyboard I had this brightness issue.
    Please help me solve this.
    -Alex
    Solved!
    Go to Solution.

    I solved this problem..
    Solution is to upgrade the BIOS to latest version. I am not sure actually whether latest BIOS had the needed fix or not, or it was just the process of updating the BIOS that solved this issue.  But no doubt, after flashing the BIOS, display brightness function reappeared!

  • Kernel 2.6.27 update, laptop display brightness problem.

    After the update to kernel 2.6.27 the display brightness resets to the highest level during the system startup. It resets to highest value somewhere during the udev processing. There is obviously some difference with display brightness handling because now I have in GNOME display of brightness level while changing (something like volume changing with multimedia keys). The brightness also resets to highest randomly while working in GNOME so I need to adjust it sveral times.
    My laptop is HP nx7400. I have Arch64 installed. Also the problem appears on my brother's HP nx7300, almost same hardware.

    Hi peart.
    I am not kernel programmer, but I have analyzed the code of the ACPI video driver and the problematic patch. I have removed the check which sets the brightness to max but I can't compile because of not enough space to compile the kernel :S. Would you be so kind to compile the modified file and upload a compiled moduel to test.
    I have following explanation for my modification:
    Here http://git.kernel.org/?p=linux/kernel/g … 29c1ba8055 we can see that there is added check if ACPI BQC object exists. If the object doesn't exist then the brightness is set to max, which obviously is the problem with our laptops because the BQC object is optional. If we revert the patch completly the BCQ check is moved to the outter if-structure and the execution skips whole part, where the backlight device is registered.
    My modification is that I removed the check for BCQ object and removed the part where it sets the backlight to max. As far as I can see acpi_video_get_brightness(device->backlight) can be called without prior checking of BCQ object existance, because acpi_video_get_brightness then calls acpi_video_device_lcd_get_level_current which gets the current brightness level. acpi_video_device_lcd_get_level_current checks if BCQ object exists and handles it properly, as far as I can see.

  • Thinkpad X201 & KDE: KDE doesn't get info on display brightness

    In KDE, I can adjust my screen brightness with both the Fn-{Home,End} keys, and with Battery Monitor widget. Both methods work normally.
    However, these methods work independent of each other: if the Battery Monitor shows 100% screen brightness and I turn the brightness down to 0% with the keys, the widget will not display it, and KDE still thinks brightness is at 100%.
    To show what I mean: this picture shows the HUD displaying the brightness level at 100%, but after I set my brightness with the Fn-keys, it will still display 100%:
    Is there a way to make KDE detect the level of screen brightness set with the Fn-keys?

    Same problem here.
    That used to work for me in earlier times (~2 month ago). But I'm not sure wheter this has changed by updating kde or updating other stuff (I tend to belive the latter).

Maybe you are looking for

  • Copy Control for Transaction Types

    Hi, Was wondering if someone could help on following topic. We need to specify the possibility of copy control (follow-up) for certain transaction types in CRM 6.0. I've specified the source TT (ZAPP) and the target TT (ZCON) in customizing activity

  • Short dump "EXSORT_NOT_Enough_MEMORY" in production system

    Hi, "EXSORT_NOT_Enough_MEMORY" dump occuring in production system,Could any one please tell me how to fix this dump. Please refer the error message below What happened?     The current ABAP program had to be terminated because the     ABAP processor

  • How to know enhancements in the JDK when a new version is released?

    Hello: Java is releasing new versions of its JDK frequently. So, I would like to know what new features bring each version of JDK. I mean, I've just found this page: [http://java.sun.com/j2se/1.5.0/docs/guide/language/]. This page has documentation a

  • Data base table of a field

    Hi Group,   When I try to search the data base table for a particular table it show me the structer. For example--   In trasaction- ks03    the field 'cost center'->  F1 -> technical information           -> structer'CSKSZ'   How can I know the data

  • CS6: recording actions: graduation layer: settings not saved

    Hi, I want to record an action which creates an graduation layer and uses the "auto" function  layer in the layer settings. But this adjustment will not be saved  in the action (up to CS 5.5 this was no problem). Is this possible in CS6, too? thanks,