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.

пре 13 година
пре 13 година
пре 13 година
пре 13 година
пре 13 година
пре 13 година
пре 13 година
пре 13 година
пре 13 година
12345678910111213141516171819202122232425262728293031323334353637383940
  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 PS1="\$ "
  19. export LC_TIME=C
  20. export TERMCAP="${TERMCAP}:vb="
  21. export HOSTNAME
  22. export BROWSER=firefox
  23. # export TMP=/tmp
  24. # export TEMP=/tmp
  25. addtopath(){
  26. for p in "$@"
  27. do
  28. echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || PATH="$p:${PATH}"
  29. done
  30. }
  31. # export PATH="${PATH}:${HOME}/bin"
  32. addtopath ${HOME}/bin
  33. test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc"
  34. export PYTHONPATH=~/.py