File: dot.xsession

package info (click to toggle)
language-env 0.64
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,588 kB
  • ctags: 125
  • sloc: perl: 6,243; makefile: 83; tcl: 64; sh: 18
file content (32 lines) | stat: -rw-r--r-- 826 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#   comment -*-coding: euc-kr;-*-
X Session file.
END
X  .
END

export LANG="ko_KR.eucKR"
export XMODIFIERS="@im=nabi"
xset -b
xset m 50/10 4
 
# 밡 ũž ȯ̳ Ŵ ã
for i in x-session-manager x-window-manager sawfish enlightenment wmaker blackbox icewm asclassic fvwm2 fvwm95 fvwm twm
do
	if [ -x /usr/bin/$i ] || [ -x /usr/bin/X11/$i ]; then
		WINDOW_MANAGER=$i
		break
	fi
done

# `x-window-manager' õ   Ŵ ã
if [ $WINDOW_MANAGER = "x-window-manager" ]; then
	WM_REAL=`ls -l /etc/alternatives/x-window-manager`
	WM_REAL=${WM_REAL##*/}
else
	WM_REAL=$WINDOW_MANAGER
fi

# `gnome-session', `wmaker', `asclassic' ƴ  ami 
test $WM_REAL = "gnome-session" || test $WM_REAL = "wmaker" || test $WM_REAL = "asclassic" || nabi &
exec $WINDOW_MANAGER