As is, the Lock Key Indicator is a very nice applet for people with no built-in LED indicators.
But that applet could also get very friendly for people accessing Budgie desktops remotely ( vnc, anydesk, teamviewer and so on… ) if it was « click-able » to set on/off caps or num ( on the remotely controlled desktop ).
If whatever the unity-indicator package is - and it is available as an appindicator then yes it will display correctly in budgie as long as you have the appindicator applet added to your panel.
I’m not familiar though what this “unity indicator” is and what package it is.
I was playing around with this several months ago. Problem is that it uses xdotool to make it work, which is included with UB but not part of the Solus default install. So a PR wouldn’t make much sense to them I am guessing.
It is not translated, but I remade it python as well as vala so its easy to change anything. Python version isn’t currently side-panel friendly though.
It should work on a side panel too now, its really an easy change.
I think you know the drill…
Create a folder in /usr/lib/budgie-desktop/plugins/ and move the .plugin and .py files to that folder. (or use the install.sh)
Since it isn’t translated, first you might want to change the name and description lines in ToggleLockKeys.plugin. Also, in togglelockkeys.py, you can change the variables at the top. (I tried, I don’t speak French so it’s my best guess lol)
umm - whilst I appreciate the rather nice applet I still think approaching upstream with a pull-request for the existing lock keys indicator is the way to go here.
Such a patch could craft itself to check if xdotool is available - if it is then make the lock key indicators “buttons” clickable and invoke the xdotool commands. That way such a patch isn’t forcing another dependency on budgie-desktop.
Well it DOES, yes. In a kinda… hacky… way. That “except:” statement certainly should be improved on at the very least! But its almost a complete rewrite of a vala applet into python which is the opposite direction Solus and UB are moving.