You are not logged in.

#1 2009-07-19 18:48:40

modulationz
Member
Registered: 2009-06-29
Posts: 6

xfce - rember brightness/backlight settings on reboot

I can adjust brightness correctly within XFCE, but when I reboot, the LCD is set back to max brightness.  What needs to be done so that brightness (LCD backlight) settings persist after a reboot?

Thanks! smile

Offline

#2 2009-07-19 20:43:18

alterecco
Member
Registered: 2009-07-13
Posts: 152

Re: xfce - rember brightness/backlight settings on reboot

I use xrandr in my .xinitrc to set it.

$ xrandr --output default --set BACKLIGHT 9

to find the name of your output, run xrandr without arguments, and look at the name preceding a 'connected' keyword. Mine looks like this:

default connected 1280x800+0+0 0mm x 0mm

ergo, my output is 'default'. The man page has more info...

.]

Offline

#3 2009-07-19 23:03:57

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: xfce - rember brightness/backlight settings on reboot

On my notebook it stays the same but on my dad's pc the bios (?) seems to fancy putting the brightness back to max each time there is a reboot.
The solution may be something on the lines of what alterecco suggests.

You may also find the brightness value in /proc/acpi/video/ and look for the output that corresponds to your display.
In my case I can set the brightness with something like

sudo -s "echo 4 > /proc/acpi/video/VGA1/LCDD/brightness"

Where 4 is the desired brightness value, do a cat of your brightness file to find out the allowed values.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB