Tuesday, November 27, 2012

Setting Slackware Screen Brightness Value by xbacklight

Setting screen brightness on every boot gets everyone annoyed. Follow below guide to avoid this. 

If you have full Slackware 14.0 installation, you possibly have xbacklight package installed on your box if you did not uninstalled it. 

Slackware provides xbacklight package in official file tree under .../slackware/x/ directory. If your box does not have xbacklight installation, you can simply install it by slackpkg tool as following. (For using slackpkg, firstly you need to be configured it.) 

su
slackpkg install xbacklight

Now, navigate to 

For KDE (4.8.5): 
System Settings > System Administration > Startup and Shutdown > Autostart > Add Program 

or

For XFCE (4.10): 
Applications Menu > Settings > Settings Manager > Session and Startup > Application Autostart > Add

Finally, add below command line to startup. 

xbacklight -set 50

This will set screen brightness to 50 per-cent of its maximum value. You can assign to it any integer value between 0 and 101. 

1 comment: