Not very rich program. Core is
Yes, the program is small and what else is needed to turn the keyboard backlight ? The most important thing here is to intercept scroll lock using codebot.
I think the point Alex is trying to make is that your program does (almost) nothing
but call
xset. It is alright ... as an example of how to call an external program, little more. <shrugs>
ETA: Also, do note that
xset led 3 will turn the backlight
only on
your computer and similar ones. In other types it may switch NumLock, or ScrollLock, or anything switchable ... or do nothing at all, like it does--rather doesn't do
---in mine.
It's an ingenous little thing---most of all because all she does for so little result---but as said above: it's basically an
example program.