View Single Post
Posts: 562 | Thanked: 1,732 times | Joined on Jan 2010 @ NYC
#19
@Wikiwide, thanks I tried your suggestion but nothing happen.

@TiagoTiago, Thanks... we can to a similar possible answer.

So after playing with more combinations I came up with the following:

Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=LowBrite
Exec=sudo sh -c 'echo 1 > /sys/class/backlight/acx565akm/brightness'
Icon=
YES, this one's working! Now the only problem is that it takes a longtime before a blank window with the script title name on it goes away. Though the light level changes almost instantly. Any ideas?
 

The Following User Says Thank You to xman For This Useful Post: