LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 09-08-2023, 11:13 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Rep: Reputation: Disabled
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 .
 
Old 09-08-2023, 05:37 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,669

Rep: Reputation: Disabled
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.
 
Old 09-09-2023, 07:50 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Okay, and how did you achieve that?
 
Old 09-09-2023, 08:30 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,155

Rep: Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318
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 09-09-2023, 08:33 AM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,669

Rep: Reputation: Disabled
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 =
 
Old 09-10-2023, 05:19 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Ah, thanks to both of you, learned some things here. But how do I make the Caps-Lock key beep when pressed?
 
Old 09-10-2023, 07:57 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,155

Rep: Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318
Quote:
Originally Posted by JZL240I-U View Post
But how do I make the Caps-Lock key beep when pressed?
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?
 
Old 09-11-2023, 06:12 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by DavidMcCann View Post
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 .
 
Old 09-11-2023, 09:10 AM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,669

Rep: Reputation: Disabled
A brief search found several keyclick programs for Linux, one even allows different sounds for different buttons.
 
Old 09-11-2023, 10:18 AM   #10
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,155

Rep: Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318
This guide might be the thing needed: caps-lock sound
 
Old 09-12-2023, 10:46 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
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.

Last edited by JZL240I-U; 09-12-2023 at 10:55 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer stops responding after CAPS LOCK being pressed. dontgetdown Linux - Hardware 6 10-07-2016 09:06 AM
Flash Videos beep-beep-beep Audio Quantumstate Linux - Desktop 1 07-24-2011 08:57 AM
caps lock key wont beep as b/4 linux install acein1 Linux - Newbie 3 11-24-2010 03:15 PM
caps lock key wont beep as b/4 linux install acein1 Linux - Security 2 11-23-2010 10:55 PM
Caps lock only if pressed multiple times or in a combination bleargh Linux - Software 0 11-27-2004 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration