LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Caps Lock remapping problem (now dual esc and capslock in one button) (https://www.linuxquestions.org/questions/linux-newbie-8/caps-lock-remapping-problem-now-dual-esc-and-capslock-in-one-button-4175432058/)

gregAstley 10-13-2012 02:34 PM

Caps Lock remapping problem (now dual esc and capslock in one button)
 
The following is the contents of my .xmodmaprc file:
  1. keycode 13 = 4 numbersign 4 dollar EuroSign onequarter
  2. keycode 51 = dollar asciitilde numbersign asciitilde dead_grave dead_breve
  3. keycode 34 = braceleft bracketleft
  4. keycode 35 = braceright bracketright
  5. keycode 66 = Escape
  6. keycode 9 = Caps_Lock

but wierdly Caps_Lock is now behaving both as an escape and a capslock :scratch:

i.e. in gedit capslock key behaves like capslock (as does esc), whilst in vim, if in insert mode, capslock key now exits insert and behaves like capslock simultaneously!

Anyone got a clue what's going on here??

ntubski 10-15-2012 07:41 AM

I think you need to move the modifiers too:
Code:

clear Lock
add Lock = Caps_Lock



All times are GMT -5. The time now is 03:34 AM.