Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am a novice in Ubuntu.

The usual brightness increase/decrease key combination using Fn key doesn't work in Ubuntu 12.04 as many pointed out.

I had found two solutions on this forum to set the screen brightness.

One was to make the usual key combination work answer is given here:

Is there a way to set a hotkey to change screen brightness?

and the other is using the command

sudo setpci -s "00:02.0" F4.B=20

where the 20 is a hexadecimal number representing brightness.

It's only the latter that worked in my case.

I observe that the original brightness setting is restored after resumption from sleep mode.

All I want is to keep my brightness setting permanent. How do I do that?

share|improve this question
Well, it does work - on my laptop (Thinkpad). What laptop are you using? – January Oct 1 '12 at 5:39
I use Acer Aspire One – Aneesh karthik C Oct 1 '12 at 5:41
Alok's suggestion worked for me, but the maximum value looks like 7 for my Sony VAIO. So my values are between 0 and 7. – Rudy Apr 7 at 17:48

3 Answers

Possibly, the second solution posted in this thread applies to your laptop as well: passing the options acpi_osi=Linux acpi_backlight=vendor to grub. Try to edit the line starting with "GRUB_CMDLINE_LINUX" in the file /etc/default/grub to:

GRUB_CMDLINE_LINUX="quiet splash acpi_osi=Linux acpi_backlight=vendor"

and then run

sudo update-grub

Maybe this will help.

share|improve this answer
I found that the commands were executed free of errors, but to no avail :-( I looked up this thread askubuntu.com/questions/56155/… where it asks you to set backlight preferences in the folder /sys/class/backlight I find that this folder is empty. How do I get started adding stuff to this folder, in order to solve my issue? – Aneesh karthik C Oct 1 '12 at 13:15

If you have Samsung in addition to acpi_backlight=vendor look at https://launchpad.net/~voria/+archive/ppa and install samsung-tools and samsung-backlight.

Also no need to add acpi_osi=Linux.

share|improve this answer

I myself made a geeky solutions for "brightness restoration" problem on my Acer 5755......

paste the following code in text file, make it executable, & add to startup applications....done

pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness 800

Your display brightness now set on startup, change "800" as per Your requirement.

share|improve this answer

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.