Kaynağa Gözat

split profile into 2 files, for console and for x

pull/1/head
10sr 12 yıl önce
ebeveyn
işleme
20488b2078
2 değiştirilmiş dosya ile 18 ekleme ve 19 silme
  1. +0
    -19
      profile
  2. +18
    -0
      xinitrc

+ 0
- 19
profile Dosyayı Görüntüle

@@ -1,25 +1,6 @@
#!/bin/sh
env > $HOME/.env.txt

if [ -n "${DESKTOP_SESSION}" ]; then
xmodmap -e 'keycode 135 = Alt_R Meta_R' # menu key as alt
xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt
xmodmap -e 'remove Lock = Caps_Lock'
xmodmap -e 'add Control = Caps_Lock'

synclient VertEdgeScroll=0
synclient HorizEdgeScroll=0
synclient MaxTapTime=0
synclient MaxSpeed=0.4
synclient MinSpeed=0.2

test -f "$HOME/.fehbg" &&
type feh >/dev/null 2>&1 &&
sh "$HOME/.fehbg"
else
export LC_MESSAGES=C
fi

# export PS1="\$ "
export LC_TIME=C
export TERMCAP="${TERMCAP}:vb="


+ 18
- 0
xinitrc Dosyayı Görüntüle

@@ -0,0 +1,18 @@
xmodmap -e 'keycode 135 = Alt_R Meta_R' # menu key as alt
xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt
#xmodmap -e 'remove Lock = Caps_Lock'
#xmodmap -e 'add Control = Caps_Lock'

synclient VertEdgeScroll=0
synclient HorizEdgeScroll=0
synclient MaxTapTime=0
synclient MaxSpeed=0.4
synclient MinSpeed=0.2

test -f "$HOME/.fehbg" &&
type feh >/dev/null 2>&1 &&
sh "$HOME/.fehbg"

#export LC_MESSAGES=C
LANG=ja_JP.utf8


Yükleniyor…
İptal
Kaydet