Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My laptop's screen brightness is auto set to maximum at login (= at the login screen already).

Even after I have adjusted it to lower it is again set to maximum after annother login. Is there a way to save the previous brightness settings in Ubuntu 12.04?

Additional Info by gentmatt:

This definitely seems to be related to the used graphics.

  • When using the discrete graphics, the brightness is set to maximum on every boot.
  • When using the integrated graphics, the brightness setting which Mac OS X has set is used.

    But Ubuntu does not change that setting. It uses the stored setting by OS X. Therefore, the brightness at login is only changed, when OS X changes the brightness.

share|improve this question
up vote 4 down vote accepted

A possible solution: Add

xbacklight -set 80

to the file


This will set the backlight to the desired value (80) whenever X is started. .xinitrc is the configuration file responsible for the X-Server.

share|improve this answer

Some laptop's have that setting in the bios, like this: example

You normally press the Del or F2 button during startup to get into the bios, the key is written on the first screen you see when your computer starts.

But I'm not sure if you can change these settings from ubuntu.

share|improve this answer
I'm having this problem on a Macbook Pro. – user24668 May 6 '12 at 19:27

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.