after some trial-and-err, one workable solution is:
1. create a file .Xmodmap in home directory ~/ with the following lines:
keycode 66 = Control_L
clear Lock
add Control = Control_L
keycode 117 = Caps_Lock
add Lock = Caps_Lock
2. that's it. turns out .Xmodmap will run automatically at login. see scripts in /usr/X11.
0 件のコメント:
コメントを投稿