.xserverrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 18 Nov 2012 17:57:34 +0200
changeset 593 5fd70e2bd3ae
parent 277 38c4ac60b6fb
permissions -rw-r--r--
Short OpenPGP keyids have been shown to be easily spoofed by another key with the same keyid. Increase the keyid display size to 64-bit.

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