.xserverrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 07 Feb 2012 01:25:23 +0200
changeset 300 f7c19d2b4263
parent 277 38c4ac60b6fb
permissions -rw-r--r--
Move CDPATH place hold to use it from MC after xinit load...

#!/bin/sh

# http://tldp.org/HOWTO/XWindow-User-HOWTO/runningx.html

if [ -n "$WINDIR" -o "$TERM" = cygwin ]; then
  # Probably under Cygwin.
  exec XWin -multiwindow -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle" "$@"
elif [ -f /etc/debian_version ]; then
  exec /usr/bin/X -nolisten tcp "$@"
else
  exec X -nolisten tcp "$@"
fi