Search code examples
linuxkeyboard

CapsLock, NumLock, Insert, how to show keyboard status on screen when keyboard has no LED


When keyboard has no LED, for Linux machine, is there an easy way to do this? By Command Line, Python, Perl or Ruby, to show when keyboard has CapLock, NumLock activated?


Solution

  • Check this post about the key-mon tool.

    http://www.webupd8.org/2009/12/key-mon-displays-keyboard-and-mouse.html

    As far as I know there is also a CLI command to check the status in the package.