This is an old revision of the document!
Well, I own a Thinkpad T440p, so unfortunately I don't have a Thinklight. I recently put a backlit keyboard into the machine, then realised that I don't really need the keyboard backlight. I thought the best way to put it into good use is to get it to blink when certain things happen.
My operating system is Debian - the Universal Operating System. I am running Debian Stretch.
By following this guide, you can get your keyboard backlight to blink when you get new message:
apt-get source pidgin-blinklight
pidgin-blinklight-0.11.1/src/blink.c, change /
/proc/acpi/ibm/kbdlight, and change off to 0, on to 2.
pidgin-blinklight-0.11.1, recompile the package by running
debuild -b -uc -us.
pidgin-blinklight-0.11.1, install the resulting package, it should have the name
I am pretty sure someone can write a patch and submit to the package maintainer, I am sure I am probably able to do that, but then I have some homework to do. So I am just going to leave it like that for now.
chmod o+w /proc/acpi/ibm/kbdlightto your
/usr/local/bin/demoblinkwhen the terminal alarm bell is sounded. In Konsole, this is under Settings→Configure Notifications…→Bell in Visible Session
You can also trigger the running of
/usr/local/bin/demoblink in notification events in your desktop environment. In KDE, it is under Notifications System Settings Module, which you can launch by typing in “Notification” in your Application Launcher. It is useful to change the notification settings for “Plasma Workspace”.