Page 1 of 4
Is there any way to show a notification when Caps Lock is pressed?
Posted: Sat Nov 11, 2023 1:14 pm
by notfound
I recently did a new install of MX 23.1 because it was time to upgrade from 19... and I used to use "indicator-keylock" to show a notification whenever Caps Lock was pressed. It showed whether it was on or off, and was extremely useful. Although it seems to not be available any longer. I can't get the repository to work.
Is there any way to have a simple indicator for if Caps Lock is on or off?
I once had a program that would put an icon in the side panel, but I can't find that either.
Thanks.
Re: Is there any way to show a notification when Caps Lock is pressed?
Posted: Sat Nov 11, 2023 1:31 pm
by Charlie Brown
Re: Is there any way to show a notification when Caps Lock is pressed?
Posted: Sat Nov 11, 2023 3:28 pm
by jeffreyC
In the repos for MX versions up to MX-21 there was a package indicator-keylock which would specifically do that, the packager who handled it is no longer around (SwampRabbit).
There is a (poorly written) package request for it to be in MX-23 that is getting no traction,
The package for MX-21 is still in the repos and will install in MX-23 if you do it manually.
Re: Is there any way to show a notification when Caps Lock is pressed?
Posted: Sat Nov 11, 2023 3:46 pm
by Jerry3904
I have a working prototype for a line that appears in a conky, will post once I get it to where I like it
BTW there is an installable plugin in the repos for people using gkrellm
Re: Is there any way to show a notification when Caps Lock is pressed?
Posted: Sat Nov 11, 2023 3:51 pm
by notfound
jeffreyC wrote: Sat Nov 11, 2023 3:28 pm
In the repos for MX versions up to MX-21 there was a package indicator-keylock which would specifically do that, the packager who handled it is no longer around (SwampRabbit).
There is a (poorly written) package request for it to be in MX-23 that is getting no traction,
The package for MX-21 is still in the repos and will install in MX-23 if you do it manually.
Indicator-keylock doesn't show on my end. I don't know where to find it in the repos.
Re: Is there any way to show a notification when Caps Lock is pressed?
Posted: Sat Nov 11, 2023 4:06 pm
by MXRobo
Re: Is there any way to show a notification when Caps Lock is pressed?
Posted: Sat Nov 11, 2023 4:07 pm
by Jerry3904
I have this now at the bottom of my standard conky (MX-Cees) using a laptop that has no leds
Code: Select all
<space>
###### CAPSLOCK ####
${alignc} ${color5}${exec xset q | grep "Caps Lock: on" | awk '{print "CAPS: " $4}'}
Re: Is there any way to show a notification when Caps Lock is pressed?
Posted: Sat Nov 11, 2023 4:29 pm
by oops
Jerry3904 wrote: Sat Nov 11, 2023 4:07 pm
I have this now at the bottom of my standard conky (MX-Cees) using a laptop that has no leds
Code: Select all
<space>
###### CAPSLOCK ####
${alignc} ${color5}${exec xset q | grep "Caps Lock: on" | awk '{print "CAPS: " $4}'}
Yes, even into a terminal ... do the trick:
Code: Select all
xset q | grep "Caps Lock:"
#or
xset q
Re: Is there any way to show a notification when Caps Lock is pressed?
Posted: Sat Nov 11, 2023 4:33 pm
by ceeslans
notfound wrote: Sat Nov 11, 2023 3:51 pm
Indicator-keylock doesn't show on my end. I don't know where to find it in the repos.
try here:
http://nl.mxrepo.com/mx/repo/pool/main/ ... _amd64.deb
EDIT: Sorry, here's the full download link for
indicator-keylock_3.1.1-0~mx21+1_amd64.deb
http://nl.mxrepo.com/mx/repo/pool/main/ ... _amd64.deb
Re: Is there any way to show a notification when Caps Lock is pressed?
Posted: Sat Nov 11, 2023 5:15 pm
by Charlie Brown
Nope, MX-23.1 :
Code: Select all
$ apt list indic*
Listing... Done
indicator-sensors/stable 1.3-1 amd64
indicator-sensors/stable 1.3-1 i386
indicator-sound-switcher/mx,mx 2.3.9-1~mx23+1 all
In the meantime, you noticed this one in the link, right ?
https://github.com/oco2000/xfce4-kbdleds-plugin