How to make a logitech ergo k860 keyboard beep when caps lock is pressed?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634
Rep:
How to make a logitech ergo k860 keyboard beep when caps lock is pressed?
Title say it all. It happens at least once a day that i inadvertently press caps lock and notice it after half a line typed or so. So I want a warning. Thanks for any suggestions .
I simply disabled it. I was thinking about giving some other function to it but couldn't come up with anything worthy, so right now it is reserved until I need it for something. I did not assign Caps Lock to any other button as I never need it locked.
The file /usr/share/X11/xkb/keycodes/evdev contains the line
Code:
<CAPS>=66;
Remove that or comment out by altering it to
Code:
// <CAPS>=66;
and next time you log in the caps-lock key is dead.
I remember, years ago, writing a machine-code caps-lock monitor for the Sinclair QL which gave a high beep on shifting to UC and a low beep for shifting back — the high point of my programming skills!
Old-fashioned way. I do not run any DE, just plain OpenBox. Keyboard configuration is read from ~/.Xmodmap when I log in. The last one, 66, is the Caps Lock in my keyboard.
Code:
...
keycode 40 = d D degree
keycode 58 = m M Greek_mu
keycode 66 =
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634
Original Poster
Rep:
Quote:
Originally Posted by DavidMcCann
A good question, but above our pay grade! You'd need to rewrite the source code for your desktop — how's you C programming skill?
Okay, okay, I get it. Though I did program C for a living -- more than 30 years ago. Nowadays I will refrain from touching KDE / Plasma. Pity that life is so complicated .
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634
Original Poster
Rep:
Quote:
Originally Posted by Emerson
A brief search found several keyclick programs for Linux, one even allows different sounds for different buttons.
I did a search -- obviously with the wrong search parameters. I'll retry.
@DavidMcCann Thanks for the links. My tumbleweed screams all kinds of conflicts (about 55!) when I try to install busybox-misc (which contains beep). I'm currently not sure how to navigate that one, but thanks again. At least it is possible.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.