Tales from a JavaScript Developer

Practicing JavaScript ninja

HP Pavilion Dv6 Quad Edition

| Comments

My new laptop is wonderful and great. It’s also completely a pos in Ubuntu. Number one problem is the brightness level in Linux, it’s always 100% and it can’t be modified by the keyboard, or even /sys properties. However, the magical xrandr can fix it.

In integrated graphics mode: use xrandr as so

1
xrandr --output LVDS1 --brightness 0.4

I made a script to use make this a little more automated:

1
xrandr --output LVDS1 --brightness $1

Save it to brightness.sh (no sudo required on my system).

1
./brightness.sh 0.7