.xserverrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 21 Nov 2020 19:40:47 +0200
changeset 949 2e7205b69973
parent 277 38c4ac60b6fb
permissions -rw-r--r--
Adtivated TERM=mintty for mintty as Gradle now supports it natively (as of v5.2).

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