.xserverrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 26 Jan 2017 14:53:14 +0200
changeset 818 ed6620260c69
parent 277 38c4ac60b6fb
permissions -rw-r--r--
colored-stats is Bash feature. It breaks Emacs 25. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24401

#!/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