How do I make the caps lock key a third shift key?

How do I make the Caps Lock key a third Shift key?

  • How do I make the Caps Lock key work just like another Shift key? There are loads of questions here about reassigning it, or having it launch a custom command. I just want it to work like another Shift key. I don't want any other keys to change what they do, just that one. Keyboard Layout/Caps Lock key behavior won't do it, I don't understand how to remap it in CCSM. I'm using a UK keyboard now but I learned to type on a US keyboard, the smaller left Shift key is DRIVING ME NUTS.

  • Answer:

    You can get there by adapting http://askubuntu.com/questions/23491/how-to-change-capslock-key-to-produce-a (for example). Remove the Lock (= Caps Lock) modifier from the Caps Lock key, and declare that this key sends the Shift_L keysym. remove Lock = Caps_Lock keysym Caps_Lock = Shift_L Alternatively, you could remove the Lock modifier and add the Shift modifier. remove Lock = Caps_Lock add Shift = Caps_Lock Either way, these lines go into the file ~/.Xmodmap. Test by loading it with xmodmap ~/.Xmodmap; the file is read automatically when you log in under the default environment (or at least it was in the Gnome days).

Tom Brossman at Ask Ubuntu Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.