Use xev command to find the keycode
xmodmap -pke |more
To Change keymapping for this Laptop:
我是日文键盘,用这些键来代替:
F9 F10 F11 Pause hanka/zenkaku
=>
2 w s 双引号 ESC
xmodmap -e "keycode 75=2"
xmodmap -e "keycode 76=w"
xmodmap -e "keycode 95=s"
xmodmap -e "keycode 127=quotedbl"
xmodmap -e "keycode 49=Escape"
把上面的写入一个文件里(只要在profile.d里就行)
/etc/profile.d/keyboard.sh