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.

This question has been asked many times for Ubuntu 11.10 but it always has been closed and linked with this link, but that accepted answer is from 2010 and that setting doesn't work anymore for Ubuntu 11.10. Furthermore, the brightness setting doesn't exist anymore in "Energy" options. It is now on "Screen" options and it doesn't seem to remember the setting after reboot.

So, how to make Unity remember brightness settings?

share|improve this question
2  
Anyone coming here with the same problem, check out @dolhow's answer here. That's the one that works. –  its_me Jan 19 '12 at 4:52
add comment

5 Answers 5

The short answer is: you can't. Gnome power manager doesn't save the brightness setting. The best you can do is to automatically set it to a reasonable default at startup.

For 11.10, the only solution I have found that works is the one given here: http://blog.ishans.info/2011/09/25/set-brightness-automatically-at-the-startup-in-linux/

Save http://ishans.info/attachments/article/65/setBrightness.py locally, change the brightness percentage in the last line to your preferred value, and add a new startup application to run:

python /wherever-you-saved-the-script/setBrightness.py

share|improve this answer
add comment

Script to set brightness at Ubuntu startup http://suhothayan.blogspot.com/2012/05/setting-brightness-at-ubuntu-startup.html

share|improve this answer
3  
Welcome to Ask Ubuntu. While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. –  Peachy Aug 23 '12 at 14:35
add comment

I haven't found a way to get Ubuntu (I'm currently using 13.04) to save the last used brightness settings, but the default brightness of 100% on my laptop was too bright, and forced me to find a workaround (using the link denrossalenga provided).

Just add a line like this to your /etc/rc.local file:

echo 60 > /sys/class/backlight/acpi_video0/brightness

This will give you a startup brightness of 60%. Change as appropriate.

share|improve this answer
add comment

I know it's been a long time. But I still gonna answer it as it appears in Google search.

If you dont have xbacklight installed than install it

sudo apt-get install xbacklight

Now what is left to do is to do the remembering the brightness and applying on log in.

sudo sed -i '$ixbacklight | cat > ~/.brightness' /etc/gdm/PostSession/Default
touch ~/.gnomerc
echo 'b=$(cat ~/.brightness)' >> ~/.gnomerc
echo 'xbacklight -set $b' >> ~/.gnomerc

This will remember the brightness form the time of shutdown and set it back as soon as you log in to your user.

share|improve this answer
add comment

You may try this one! This one solved my problem :D

http://ubuntuguide.net/how-to-save-screen-brightness-settings-in-ubuntu-12-04-laptop

share|improve this answer
    
Hi denrossalenga. Links are useful, but your answer would be much more useful if it actually included the relevant information. That way, we can read it easily, compare it, edit and improve it, and not worry if the linked website ever closes down. –  Flimm Nov 12 '12 at 15:24
    
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Peachy Nov 20 '12 at 1:53
add comment

Your Answer

 
discard

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.