laptop monitor dim

You have a problem with Salix? Post here and we'll do what we can to help.

laptop monitor dim

Postby witek » 17. Dec 2009, 09:09

When system startx my laptop monitor is dim. I have to increase brightness with functions keys. Same situation when I switch to terminal with Ctrl+Alt+Fx and when screen saver activates. Any idea how to fix that?

I found that

Code: Select all
echo -n 87 > /proc/acpi/video/VGA/LCDD/brightness


works as root. However neither adding this to rc.local nor adding this to xfce autostart seems to work :(
But then from root console it works.
User avatar
witek
 
Posts: 207
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

Re: laptop monitor dim

Postby gapan » 17. Dec 2009, 10:25

Try something like
Code: Select all
sleep 30 && echo -n 87 > /proc/acpi/video/VGA/LCDD/brightness

in rc.local
Image
User avatar
gapan
Salix Wizard
 
Posts: 3509
Joined: 6. Jun 2009, 17:40

Re: laptop monitor dim

Postby witek » 17. Dec 2009, 12:36

shouldn`t this be rather put in the background?

Code: Select all
(sleep 30 && echo -n 87 > /proc/acpi/video/VGA/LCDD/brightness ) &
User avatar
witek
 
Posts: 207
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

Re: laptop monitor dim

Postby gapan » 17. Dec 2009, 12:37

Yep.
Image
User avatar
gapan
Salix Wizard
 
Posts: 3509
Joined: 6. Jun 2009, 17:40


Return to Problems