Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have been having trouble getting my Asus laptop screen to start at the right level of brightness. My screen defaults to maximum brightness, and I want it to start at a much dimmer level.

Currently I have an xbacklight command in a .desktop file in /etc/xdg/autostart/.

What is happening, though, is that when I log in, the screen dims for a second or two down to what seems to be the desired level and then it goes right back up to maximum brightness.

At first it seemed like maybe the commands I wanted to execute weren't being executed at all. Now, I could be wrong, but when using the .desktop file approach, it seems like maybe my brightness commands are being executed, but then another command is coming along and setting the brightness level again.

Of course, I went through the list of commands in the Startup Applications GUI, and also through all the .desktop files in /etc/xdg/autostart/, but my human eyes didn't see any other brightness related commands.

At this stage, it feels that in order to solve my other two questions, I need to get a handle on exactly what commands are being executed after I log in.

Is there a log I can reference or some way to trap all commands being executed at log in, regardless of where they are set, so that I can look to see if there are more than one command competing to set the brightness level?

share|improve this question
I think this might be related with your Power Saving Settings (I'm not sure where they are) as a result of which your laptop may be configured to use maximum brightness when plugged into mains and dimmed when running on batteries. Unfortunately these settings are not within easy reach via System Settings, so I don't remember now where I last found them. –  Sadi Feb 10 at 9:43
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.