I have no indicator LEDs on my keyboard to show whether Caps-Lock is on (I don't have Num-Lock and Scroll-Lock keys so the best option would be to have an indicator only for Caps Lock, but three indicators would be better than none)
I would really like to see the lock-keys status in the indicator panel so I can tell at a glance whether I'm typing my passwords correctly
I'm using Ubuntu MATE 16.04. I've seen this question but it relates to Unity DE.
Native Solution
It turns out that MATE-Tweak, built into the default installation of Ubuntu MATE, has an option to enable keyboard LED indicators
Under Interface, check the box Enable keyboard LED
And now you have three key lock icons in your indicator panel - one for each key. Here's what it looks like when Caps Lock is on but the other locks are off:
Introduction
Disclaimer: I am author of this indicator
The
lks-indicator
shows status of the lock keys , like Caps Lock, Scroll Lock, and Num Lock. While originally written for Unity desktop, it works with some others, in particular with MATE. It has options for ignoring certain keys, or showing all and indicating which one is active.Usage
As shown by
-h
it has several command line options:Launching is as simple as running in command-line (from the same directory where indicator is located)
To close the indicator, please use the
Quit
button. Using Ctrl + C doesn't work well with indicators.Installation
The indicator is available on GitHub
For those who have git installed:
cd /opt
sudo git clone https://github.com/SergKolo/lks-indicator.git
chmod -R +x /opt/lks-indicator/
If you do not have
git
installed, runsudo apt-get install git
Alternatively , you can just download the repository as zip file.
Indicator in action
As you can see below, the indicator displays green icon and which key is currently active. When no keys are engaged, the icon remains green
Update September 2nd , 2016:
The indicator got a bit of update:
-m
optionIf you prefer the terminal or dconf-editor, which also goes for regular Linux Mint, you can use this setting: org.mate.peripherals-keyboard-xkb.general duplicate-leds, e.g.
Tested on Linux Mint MATE 18.1.