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.
 
 
 
 
 
 

28 lines
825 B

  1. test "`hostname`" == "arch-aspireone" &&
  2. setxkbmap -model "acer_laptop" -layout "jp" # this line must comes first
  3. setxkbmap -option "ctrl:nocaps"
  4. xmodmap -e 'keycode 135 = Alt_R Meta_R' # menu key as alt
  5. xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt
  6. #xmodmap -e 'remove Lock = Caps_Lock'
  7. #xmodmap -e 'add Control = Caps_Lock'
  8. type synclient >/dev/null 2>&1 && {
  9. synclient VertEdgeScroll=0
  10. synclient HorizEdgeScroll=0
  11. synclient MaxTapTime=0 # disable tap
  12. synclient MaxSpeed=2.0
  13. synclient MinSpeed=0.2
  14. synclient VertTwoFingerScroll=0
  15. synclient HorizTwoFingerScroll=0
  16. }
  17. xset s 1800 # go blank after 30 min
  18. xset dpms 1810 1820 1830 # standby, suspend and off seem to be not different for my environment
  19. unset LC_MESSAGES
  20. export LANG=ja_JP.utf8
  21. export BROWSER=firefox