xset led not working
I would like to have a script run which blinks my caps lock led. I can do this with 'setleds +caps' from my tty1 but not within X of course. One thing that works is:
That only works *while* su, not through 'sudo'. 'xset led #' does not affect the LED itself, only the state of the caps lock. I've got Sabayon (Gentoo) installed.
setleds +caps < /dev/tty7
Is there something I'm missing? I tried the "Xleds" "1 2 3" in my xorg.conf but that doesn't help. Package 'tleds' is able to control my keyboard's LEDs to display network Tx/Rx activity, so it's clearly possible. However, I've little to no programming know-how to code what I want.