I am using Keyboard Layouts Plugin to switch between two layouts.
I want to remap Caps Lock to underscore _
.
First I empty Caps Lock, or otherwise Caps Lock will do both – toggle caps and produce underscore character and then map caps lock to underscore
xmodmap -e "keycode 66 = "
xmodmap -e "keycode 66 = underscore"
Problem? This resets every time I log out or change something in Keyboard Layouts Plugin preferences. I want this to be permanent.
xbindkeys
,xev
, etc along withxmodmap
. I am sure they are written in a way that would bind the keys permanently. That question is pretty comprehensive. If you still face the issue, please update the question. – Aditya Apr 01 '13 at 11:17setxkbmap -option caps:underscore
<-- why doesn't this do anything? – Apr 01 '13 at 11:54setxkbmap -option
) in any of the answers to that question. I would suggest you to edit your question to include what problems you are facing. – Aditya Apr 01 '13 at 12:04