You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xinitrc 518 B

12 years ago
12 years ago
12 years ago
1234567891011121314151617
  1. setxkbmap -model "acer_laptop" -layout "jp" -option "ctrl:nocaps" # this line must comes first
  2. xmodmap -e 'keycode 135 = Alt_R Meta_R' # menu key as alt
  3. xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt
  4. #xmodmap -e 'remove Lock = Caps_Lock'
  5. #xmodmap -e 'add Control = Caps_Lock'
  6. type synclient >/dev/null 2>&1 && {
  7. synclient VertEdgeScroll=0
  8. synclient HorizEdgeScroll=0
  9. synclient MaxTapTime=0
  10. synclient MaxSpeed=2.0
  11. synclient MinSpeed=0.2
  12. }
  13. unset LC_MESSAGES
  14. export LANG=ja_JP.utf8