.xserverrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 08 Jul 2012 15:19:43 +0300 (2012-07-08)
changeset 482 3860547a5594
parent 277 38c4ac60b6fb
permissions -rw-r--r--
Set HISTTIMEFORMAT to force Bash to store timestamp.
#!/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