.xserverrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 05 Feb 2015 12:48:00 +0200
changeset 724 0340a7e6a5b3
parent 277 38c4ac60b6fb
permissions -rw-r--r--
With -v javap print class version.

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