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.

12 jaren geleden
12 jaren geleden
12 jaren geleden
12 jaren geleden
12 jaren geleden
12 jaren geleden
12 jaren geleden
12 jaren geleden
1234567891011121314151617181920212223242526272829303132
  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 101 = Alt_R Meta_R' # hiragana key as alt
  5. #xmodmap -e 'remove Lock = Caps_Lock'
  6. #xmodmap -e 'add Control = Caps_Lock'
  7. type synclient >/dev/null 2>&1 && {
  8. synclient MaxSpeed=1.6
  9. synclient MinSpeed=0.2
  10. synclient TouchpadOff=2 # tapping and scrolling are disabled
  11. }
  12. xset s 1800 # go blank after 30 min
  13. xset dpms 1810 1820 1830 # standby, suspend and off seem not to be different for my environment
  14. unset LC_MESSAGES
  15. export LANG=ja_JP.utf8
  16. export BROWSER=firefox
  17. __upper(){
  18. echo $1 | tr '[:lower:]' '[:upper:]'
  19. }
  20. XDG_DIRS=$HOME/.xdg-dirs
  21. for f in Desktop Download Templates Publicshare Documents Music Pictures Videos
  22. do
  23. export XDG_`__upper $f`_DIR=$XDG_DIRS/$f
  24. mkdir -p $XDG_DIRS/$f
  25. done