您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

13 年前
13 年前
123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/bin/sh
  2. if [ -n "${DESKTOP_SESSION}" ]; then
  3. xmodmap -e 'keycode 135 = Alt_R Meta_R' # menu key as alt
  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. synclient VertEdgeScroll=0
  8. synclient HorizEdgeScroll=0
  9. synclient MaxTapTime=0
  10. synclient MaxSpeed=0.4
  11. synclient MinSpeed=0.2
  12. test -f "$HOME/.fehbg" &&
  13. type feh >/dev/null 2>&1 &&
  14. sh "$HOME/.fehbg"
  15. else
  16. export LANG=C
  17. fi
  18. export LC_TIME=C
  19. export TERMCAP="${TERMCAP}:vb="
  20. export HOSTNAME
  21. export BROWSER=firefox
  22. # export TMP=/tmp
  23. # export TEMP=/tmp
  24. addtopath(){
  25. for p in "$@"
  26. do
  27. echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || PATH="$p:${PATH}"
  28. done
  29. }
  30. # export PATH="${PATH}:${HOME}/bin:${HOME}/dbx/dev/bin"
  31. addtopath ${HOME}/bin
  32. test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc"
  33. export PYTHONPATH=~/.py