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 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
123456789101112131415161718192021222324252627282930313233343536
  1. test -n "$DISPLAY" || return
  2. test -z "$ROXTERM_PID" || return
  3. test "`hostname`" == "arch-aspireone" &&
  4. setxkbmap -model "acer_laptop" -layout "jp" # this line must comes first
  5. setxkbmap -option "ctrl:nocaps,ctrl:menu_rctrl"
  6. xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt
  7. #xmodmap -e 'remove Lock = Caps_Lock'
  8. #xmodmap -e 'add Control = Caps_Lock'
  9. type synclient >/dev/null 2>&1 && {
  10. synclient MaxSpeed=1.6
  11. synclient MinSpeed=0.2
  12. synclient TouchpadOff=2 # tapping and scrolling are disabled
  13. }
  14. xset s 1800 # go blank after 30 min
  15. xset dpms 1810 1820 1830 # standby, suspend and off seem not to be different for my environment
  16. unset LC_MESSAGES
  17. export LANG=ja_JP.utf8
  18. export BROWSER=firefox
  19. export DMENU_FONT='-*-dejavu sans mono-*-r-*-*-11-*-*-*-*-*-*-*'
  20. __upper(){
  21. echo $1 | tr '[:lower:]' '[:upper:]'
  22. }
  23. XDG_DIRS=$HOME/.xdg-dirs
  24. for f in Desktop Download Templates Publicshare Documents Music Pictures Videos
  25. do
  26. export XDG_`__upper $f`_DIR=$XDG_DIRS/$f
  27. mkdir -p $XDG_DIRS/$f
  28. done