Switching on and off capslock led according to the keyboard layout
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bvn13 93e3772c8e minor improvements and readme 4 years ago
daemons worked copy 4 years ago
draft worked copy 4 years ago
scripts minor improvements and readme 4 years ago
.gitignore worked copy 4 years ago
LICENSE Initial commit 4 years ago
README.md minor improvements and readme 4 years ago

README.md

kb-layout-caps-led

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

Installation

Change the path to your project into

  1. daemons/gnome-kb-layout-watcher.service
  2. daemons/kb-layout-signal-watcher.service

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

User's daemon is aimed 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 aimed 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