I recently upgraded one of my laptops from Kubuntu Feisty to Kubuntu Gutsy and all seems to work well except for the LCD brightness keys. For some reason, ACPI is not working properly when it comes to handling the brightness keys on my laptop. A quick search at Google led me to this bug report (Bug #145337) and it looks like that I’m not the only one suffering from this.
Upon reading the bug report, I decided to do some testing of my own and found a temporary workaround – temporary because I hope that the Kubuntu/KDE people would have this fixed on their next update. I posted my workaround in the bug report and am also including the quick fix here.
Disclaimer: While I did write the script below and it does work on my laptop (Gateway ML6720), I make no guarantees that it will work on yours nor will I provide support of any kind except through the comments section of this particular blog post. Furthermore, I bear no responsibility should this script cause any harm to your computer.
Download lcdbryt.sh LCD brightness workaround for Kubuntu Gutsy
Instructions:
- sudo cp lcdbryt.sh /usr/bin
- sudo chmod +x /usr/bin/lcdbryt.sh
- sudo pico /etc/acpi/video_brightnessup.sh
- add the following line at the end of the file
lcdbryt.sh up
- save (Ctrl+X then Y)
- sudo pico /etc/acpi/video_brightnessdown.sh
- add the following line at the end of the file
lcdbryt.sh dn
- save (Ctrl+X then Y)
Test your brightness keys again and perhaps it will work this time. Hope this quick fix for the LCD brightness keys not working in Kubuntu Gutsy helps you.