My setup has 2 computers, and I use a hardware USB switch to constantly switch (plug in) the keyboard between 1st and 2nd computer.
Often I start typing and realize the switch was set to the wrong computer (which can be a security issue if I'm prompted for a password, I start typing, and don't realize I'm typing my password in Telegram on the other computer in the open).
Is there some way I can have an icon in the KDE System Tray indicate that a particular USB keyboard is currently "plugged-in"? The System Tray has something like this for USB storage devices, but I haven't found anything to indicate the keyboard.
:~$ lsusb
Bus 001 Device 052: ID 17f6:2862 Unicomp, Inc. Aristides 2862
It's a regular Unicomp Model M, nothing fancy (no special driver). It is always plugged into the same USB port.
Running Debian 12 (stable) with KDE 5.27.5 (latest stable)
Thanks in advance!
udevadm monitor
and see if any events are seen when swiched out and back in again. – meuh Aug 03 '23 at 16:55script.py
you can replace with your own, without needing to understand or change the QML applet itself. – meuh Aug 08 '23 at 07:48