[LBo] Caps Lock Key

Olimpiu Pascariu opascariu at yahoo.com
Mon Dec 4 22:40:11 CET 2006


Did you tried the command setleds ? 
There are also some GUI programs that show you the status of Num Lock, Caps Lock, Scroll Lock : 
lock-keys-applet : http://www.wh-hms.uni-ulm.de/~mfcn/lock-keys-applet/
kkeyled : http://www.truesoft.ch/dieter/kkeyled.html


----- Original Message ----
From: Gene Venable <geneven at rocketmail.com>
To: qna at linuxbasics.org
Sent: Monday, December 4, 2006 10:09:35 PM
Subject: [LBo] Caps Lock Key

When I was in England about a year ago, my laptop keyboard went out, so I bought a wireless keyboard from a London shop. Now I am in the US and have fixed the laptop keyboard, but this Logitech keyboard is cool, so I'm using it on my Linux desktop machine.

The only problem is that sometimes I am typing in a password and I can't get it to work until I eventually theorize that maybe my caps lock key has been activated, and pressing the caps lock key solves the problem! There is no caps lock light on this keyboard!

So, I want a utility that tells me when my caps lock key is activated. I see how to change the caps lock key to something else, but I really don't want to do that. I just want a message to appear saying "Caps lock is on" when it is on.

This should be a very easy utility to write, I just have no idea how to do it!

It would be along the lines of

if caps lock key is pressed and it has not been activated, print message "caps lock is on"
if caps lock key is pressed and it has been activated, erase message "caps lock is on" if it exists.

Or something like that.

How do I do it?

--geneven



 
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.
--
QnA mailing list - To post: QnA at linuxbasics.org
Site: http://LinuxBasics.org
List-options: http://LinuxBasics.org/cgi-bin/mailman/listinfo/qna





 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com


More information about the QnA mailing list