Is there any way to show a notification when Caps Lock is pressed?
Is there any way to show a notification when Caps Lock is pressed?
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.
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?
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.
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?
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
BTW there is an installable plugin in the repos for people using gkrellm
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Is there any way to show a notification when Caps Lock is pressed?
Indicator-keylock doesn't show on my end. I don't know where to find it in the repos.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.
Re: Is there any way to show a notification when Caps Lock is pressed?
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}'}
You do not have the required permissions to view the files attached to this post.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Is there any way to show a notification when Caps Lock is pressed?
Yes, even into a terminal ... do the trick: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}'}
Code: Select all
xset q | grep "Caps Lock:"
#or
xset q
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32
Re: Is there any way to show a notification when Caps Lock is pressed?
try here: http://nl.mxrepo.com/mx/repo/pool/main/ ... _amd64.debnotfound 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.
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
Last edited by ceeslans on Sat Nov 11, 2023 6:26 pm, edited 1 time in total.
Sony Vaio VPCF23P (2011), Intel Core i7-2670, 6gb RAM, 240gb SSD, MX-Linux 23 based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+
Re: Is there any way to show a notification when Caps Lock is pressed?
Nope, MX-23.1 :
In the meantime, you noticed this one in the link, right ?
https://github.com/oco2000/xfce4-kbdleds-plugin
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
https://github.com/oco2000/xfce4-kbdleds-plugin