Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

37 linhas
1.0 KiB

  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