1 |
You should be using xmodmap OR xsetkbmap OR the configuration file, |
2 |
not all three (though they shouldn't interfere with each other if |
3 |
configured properly - they'd just all be doing the same thing). |
4 |
|
5 |
If you wish to set Caps_Lock to be Control_L, you need to redefine |
6 |
keycode 66, not 37 (37 is Control_L by default). You may also need to |
7 |
add "clear lock" or "clear Lock" before that line. Sometimes it will |
8 |
or will not work if you don't do this and will toggle Caps_Lock and |
9 |
press Control_L. Weird. |
10 |
|
11 |
Alternatively, you can use xsetkbmap like you described. |