Skip to content
This repository was archived by the owner on Jun 4, 2020. It is now read-only.

Latest commit

 

History

History
28 lines (18 loc) · 929 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 929 Bytes

Knumcap

The simple application that displays notify messages in Linux when caps lock or num lock keys are pressed.


Story

I have Lenovo laptop that doesn't have leds that could notify me about caps lock or num lock press event. In Windows OS Lenovo gives hotkey utility that can notify user about caps lock or num lock press event on Linux such utility doesn't exist.

How to build

I have used Eclipse CDT IDE. In repository I put Eclipse project so import it to this IDE and press build button in IDE. You are ready to hack now. Before importing project you must to install libx11-dev on your Linux box:

$ sudo apt-get install libx11-dev libnotify-dev libxtst-dev

After requirement dependency are installed just build project and run program:

$ chmod u+x knumcap
$ ./knumcap

Now you will be notified when caps lock or num lock keys are pressed :)