File: dot.xsession.pl

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 (30 lines) | stat: -rw-r--r-- 606 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
#xs comment -*-coding: iso-8859-13;-*-
Nustatymai inicializuojantys X Window sesija
END
Nustatymai inicializuojantys X Window sesij
END
print <<"EOF";

unset LC_ALL
LANG=${LOCALE}
LC_CTYPE=${LOCALE}
export LANG
export LC_CTYPE
EOF

if ($DOTFILECONTENTS2 eq "") {
	print <<'EOF';

if [ -x "$WINDOW_MANAGER" ]; then
  realstartup=$WINDOW_MANAGER
elif [ -x /usr/bin/x-session-manager ]; then
  realstartup=x-session-manager
elif [ -x /usr/bin/x-window-manager ]; then
  realstartup=x-window-manager
elif [ -x /usr/bin/x-terminal-emulator ]; then
  realstartup=x-terminal-emulator
fi
exec $realstartup

EOF
}