how to set the backlight for login screen, on a laptop.

shian
  10 years ago
  0

if you *cannot* use the fn key on a laptop to change the screen backlight (brightness) - see: http://community.linuxmint.com/tutorial/view/1300  -  for a hardware setting.

-----------

if you *can* use the fn key on a laptop to change the screen backlight, but you wish to change the brightness of the screen on login, then you can use a software setting:

1. make sure xbacklight is installed - enter: xbacklight

2. to install enter: sudo aptitude install xbacklight

3. (on linux mint 16 petra) edit the default mdm startup file: sudo gedit /etc/mdm/Init/Default

4. add this line to the end of Default: xbacklight =20

5. save the file and reboot the laptop.

*note: in step 4 I assume that xbacklight is already in the $PATH. You can change the % (20) to any other value.

*note:  the idea is to add xbacklight command to the default startup file of the display manager on your system. so even if you are using another display manager, or another default file - the proccess is the same, only the file path is different.

that's all.

Comments
foo_ 7 years ago

biggest thnx!! it worx!!

item 4 should be
xbacklight -set 20
in my case


Windsurfer 7 years ago

Item 4 should be: xbacklight -20 or xbacklght -50 in my case.


lucafav 9 years ago

Thanks! I used "echo 9 > /sys/class/backlight/asus-nb-wmi/brightness" on my asus laptop instead of xbacklight