Ubuntu 9.04 でキーボードのキーをカスタマイズ|How to change a keyboard key to other key

  • 右シフトキーをバックスラッシュ/バー キーに変更する|set right shift key as backslach/bar key
  • ~/.Xmodmap ファイルを作成|create ~/.Xmodmap
! set right shift key as backslash/bar key
keycode 62 = backslash bar
  • 再ログインすると設定ダイアログが出現し、.Xmodmap を読み込むように設定する|log out and login, then you see a configuration dialog. You set to load .Xmodmap file when a session start.
  • 設定の確認|confirm the settings
gconf-editor
    • /desktop/gnome/peripherals/keyboard/general/update_handlers の値が .Xmodmap になっていることを確認する|confrim /desktop/gnome/peripherals/keyboard/general/update_handlers value as .Xmodmap