Switching on and off capslock led according to the keyboard layout
Go to file
bvn13 7828f80259 minor improvements and readme 2019-05-05 16:54:11 +03:00
daemons worked copy 2019-05-04 02:34:41 +03:00
draft worked copy 2019-05-04 02:34:41 +03:00
scripts minor improvements and readme 2019-05-05 16:53:13 +03:00
.gitignore worked copy 2019-05-04 02:34:41 +03:00
LICENSE Initial commit 2019-05-03 18:10:08 +03:00
README.md minor improvements and readme 2019-05-05 16:54:11 +03:00

README.md

kb-layout-caps-led

Switching on and off capslock led according to the keyboard layout

This project is against to show your keyboard layout switching with CapsLock LED indicator.

Installation

There are two systemd daemons: one is running from user, the other one as root.

User's daemon is against of to determine the current keyboard layout and tell it to root's daemon

> systemctl --user enable /%FULL_PATH_TO%/daemons/gnome-kb-layout-watcher.service
> systemctl --user start gnome-kb-layout-watcher.service

Root's daemon is against of to set up the CapsLock LED indicator according of user's daemon data

> sudo cp /%FULL_PATH_TO/daemons/kb-layout-signal-watcher.service /etc/systemd/system/kb-layout-signal-watcher.service
> sudo systemctl enable kb-layout-signal-watcher.service
> sudo start kb-layout-signal-watcher.service