CAPS LOCK ... really?

MyWorld

Executive Member
Joined
Mar 24, 2004
Messages
5,001
I'm just stumped that we still have some archaic tech on our keyboards that we never ever seem to use, SysRq, ScrLk and of course, CAPS LOCK!

How many times has it happened that you accidentally hit the caps lock key and suddenly YOU HAVE TO RE-TYPE A COMPLETE SENTENCE because of this. Shift should be fine, right?

Hitting it by accident while gaming is also getting old fast!

Okay, end rant... here is what you need to do to disable it or map it to another key:
Code:
$ xmodmap -e "remove lock = Caps_Lock"

If you only want to disable it for the current session, or put this in your /etc/bash.bashrc to disable it permanently:
Code:
if [ "$PS1" ]; then
    # Disables the bloody CapsLock button
    xmodmap -e "remove lock = Caps_Lock"
    ...
 fi

But now you have a dead key, but fear not, you can map it to any action you would like, like for instance ****?
Code:
xmodmap -e "remove lock = Caps_Lock"
xmodmap -e "add shift = Caps_Lock"

There you go, no more HITTING THAT DARN KEY BY ACCIDENT!
 

alisiaoh

Senior Member
Joined
Dec 3, 2007
Messages
845
i use caps lock a lot....i do lots of agreements and plus Office 2010 now has an option for you to highlight the part that you mistakenly typed in Caps and change it to small caps or each word to start with a capital etc.
 

Creag

The Boar's Rock
Joined
May 19, 2009
Messages
43,527
My Logitech keyboard (office and home) has a setting to remove CAPS LOCK ... I have employed it ;)
 

shakes1

Expert Member
Joined
Jun 1, 2010
Messages
1,518
i use caps lock a lot....i do lots of agreements and plus Office 2010 now has an option for you to highlight the part that you mistakenly typed in Caps and change it to small caps or each word to start with a capital etc.

Office 2007 has this feature also, Change Case. I'm not sure about 2003 though, haven't worked on it for a while.
 
F

Fudzy

Guest
What happens if you push the Windows key & SysRq on a Linux system? In Windows it brings up the System properties, quite useful if you want to check the specs of the system/device manager.
 

rorz0r

Executive Member
Joined
Feb 10, 2006
Messages
7,968
I USE CAPS LOCK ALL THE TIME. SYSRQ I DONT THINK DOES ANYTHING IN WINDOWS.
 

MyWorld

Executive Member
Joined
Mar 24, 2004
Messages
5,001
What happens if you push the Windows key & SysRq on a Linux system? In Windows it brings up the System properties, quite useful if you want to check the specs of the system/device manager.
Nothing.

There is a "hack" to get SysRq to be a rescue key should your PC freeze or keyboard freeze, but you need specific kernel support for this (most kernels do not have this support, so you need to compile your own) and I have never had luck with it.
 

Kasyx

Expert Member
Joined
Jun 6, 2006
Messages
2,565
Personally, I have found it much more economical to bind Control to the Caps Lock key. This is especially true when running RatPoison under Arch Linux.
 
F

Fudzy

Guest
I thought you could get a virtual copy of MS Office running in Linux?
 
Top