| By TuxInvader,
on 04-09-2006 08:52
|
Views : 1266 |
Published in : Technology, Linux |
The Knight Industries Two Thousand on your keyboard! Remember KnightRider? This evolved during a wildly off-topic discussion on slashdot. Add these two aliases to your .bashrc and then run KITT to make your num,caps,scoll lock LEDs behave like the panel in KITTs bonnet.
aliases: alias setleds='setleds -L < /dev/tty1' alias KITT='while :; do setleds -L +num; setleds -L -caps ; sleep 0.2; setleds -L; setleds -L +caps ; setleds -L -num; sleep 0.1 ; setleds -L ; setleds -L +scroll ; setleds -L -caps; sleep 0.2; setleds -L ; setleds -L +caps ; setleds -L -scroll; sleep 0.1;setleds -L ; done' Just run "setleds" after you've finished with KITT to get the LEDs back to how they should be. These aliases use /dev/tty1, Psuedo terminals don't seem to support the KDGETLED ioctl that setleds uses. If you're not actualy looged into /dev/tty1 you will need to run this as root. Enjoy Last update : 08-11-2006 17:28
|
|
|
Add your comment
|
need to use console in X
By: Mark () on 17-03-2010 16:19