Caps Lock + Numpad OSD Indicator

Hello, is there a KDE equivalent to the “Lock Keys” Extension from GNOME?

Currently, I’m using the addon “Key Lock State 1.1”, but it doesn’t show a OSD Notification.
I want to see the Caps and Num State on the Tray as well as having a notification.

Thank you!

Plasma has a “Lock Key Status” widget in the system notification tray, that is set by default to “show when relevant” (see the system tray configuration dialog) - which means it is only shown if one of the keys that it is set to show is in the “locked” state, and otherwise it is hidden (it doesn’t even show in the system tray overflow widget).

The default configuration of the “Lock Key Status” is to only show for Caps Lock, but you can also enable it to show Num Lock by configuring the widget. Start by showing it, either:

  • By locking the Caps Lock key, and you’d get the icon in system tray:
    image
  • Or by going into the system tray configuration dialog, find the Lock Key Status entry in the entries list and set it to “Always visible”.

Then you can right click the icon, select “Configuration” and enable “Num Lock”.

The Lock Key Status widget does not have an on-screen notification feature, but it sounds like a nice feature to have - if you want to open a ticket in bugs.kde.org about it, I’m sure someone will take a look at it.

1 Like

https://bugs.kde.org/show_bug.cgi?id=484389

This was my report in “importance: NOR wishlist”.

On GNOME, there are several methods and even on Windows, this is possible. I think this should be implemented.

Ubuntu Program which had this functionality already in 2010:
https://launchpad.net/~tsbarnes/+archive/ubuntu/indicator-keylock

Recent GNOME Shell Extension:

GitHub

GitHub - kazysmaster/gnome-shell-extension-lockkeys: Numlock and Capslock…

Numlock and Capslock indicator for gnome-shell. Contribute to kazysmaster/gnome-shell-extension-lockkeys development by creating an account on GitHub.

XFCE Panel Plugin:

GitHub

GitHub - oco2000/xfce4-kbdleds-plugin: This is a keyboard leds plugin for the…

This is a keyboard leds plugin for the Xfce panel. Contribute to oco2000/xfce4-kbdleds-plugin development by creating an account on GitHub.

Windows FOSS Program:

GitHub

GitHub - jonaskohl/CapsLockIndicator: A small utility that indicates the…

A small utility that indicates the state of the Num lock, Caps lock and Scroll lock key. - jonaskohl/CapsLockIndicator

KDE’s native “Lock Key Status”
A) doesn’t show OSD
B) doesn’t show the state always; there is no “yes or no” functionality
C) at least on my system, I don’t know if it’s a bug but I think it’s not, I can’t see NUM and CAPS on the tray. This weird thing happens where the two icons “merge” when both is enabled at the same time - again not being a useful indication of the current state.