xmodmapencountered a problem of typing ] on my laptop. this gave me a good information, but the keyboard list didn't include the one i needed. with the help of xev, i found the key i want to modify has the keycode 51. so, on terminal,
> xmodmap -e "keycode 51 = bracketright braceright"
worked. this page gave me a better expression and a way to store it. i.e., create ~/.xmodmaprc with a line
keycode 51 = bracketright braceright kana_MU kana_closingbracket
it works.
to do the above, i installed xkeycaps as
> sudo apt-get install xkeycaps
addendum:
keycode 51 = bracketright braceright kana_MU kana_closingbracket
caused a problem eventually somehow... changed to
keycode 51 = bracketright braceright bracketright braceright bracketright braceright
and worked better. also changed .xmodmaprc to .xmodmap
• Wrote Teru at 08:54 (edited 2×, last on 18 Oct 2009) | read 26× | Add comment