Created for a wireless keyboard with no caps lock LED
- clone project:
git clone https://github.com/simoncoop1/xfce4-plugin-capslocknotifier.git
- install libraries:
apt-get install build-essential libxfce4ui-common libxfce4ui-2-0
- use command:
Look for your keyboard under "Virtual Core Keyboard". Use the id value here to modify mycaps.c. For example if id is 8 it will look like #define DEFAULT_DEVICE_ID "8"
xinput
- run the compile script
bash make.sh
- copy the plug-in to correct dir:
sudo cp libmycaps.so /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/
- move desktop file to correct dir:
sudo cp mycaps.desktop /usr/share/xfce4/panel-plugins/
available like other plugins in Panel->Panel Preferences->Items->Add New Items
refactor code