Screen brightness

Helps
If you've had Debian on a few boxes you've bound to come cross one with the brightness keys not functioning.

Here are some methods I found to get them working - though the Arch wiki page is much more informative.

1. GRUB

sudo nano /etc/default/grub

Change this line
GRUB_CMLINE_LINUX_DEFAULT="quiet splash"

to
 

then run
 

But you may need to specify to the Xorg what device driver to load, e.g Intel.

Create or edit xorg.conf:
 

add the lines for your devise, e.g. for Intel:
 


2. xrandr

xrandr --output LVDS-1 --brightness 0.8

but I found this fades the screen colours


3. xbacklight

install xbacklight and run
 

get error: No outputs have backlight property


4. setpci

e.g.

sudo setpci -s 00:02.0 F4.B=[value 1-ff]


We can use scripts to bind setpci commands to keys (and here using openbox keybinds)...


another way....setpci-making-a-script-to-manually-change-brightness