equal
deleted
inserted
replaced
2 |
2 |
3 # http://tldp.org/HOWTO/XWindow-User-HOWTO/runningx.html |
3 # http://tldp.org/HOWTO/XWindow-User-HOWTO/runningx.html |
4 |
4 |
5 if [ -n "$WINDIR" -o "$TERM" = cygwin ]; then |
5 if [ -n "$WINDIR" -o "$TERM" = cygwin ]; then |
6 # Probably under Cygwin. |
6 # Probably under Cygwin. |
7 exec XWin -multiwindow -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle" |
7 exec XWin -multiwindow -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle" "$@" |
|
8 elif [ -f /etc/debian_version ]; then |
|
9 exec /usr/bin/X -nolisten tcp "$@" |
8 else |
10 else |
9 exec X |
11 exec X |
10 fi |
12 fi |
|
13 |