.xserverrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 08 Sep 2022 12:26:25 +0300
changeset 1002 a9073ca0921b
parent 277 38c4ac60b6fb
permissions -rw-r--r--
Included time into Bash PS1 header: useful to understand when I called daily login apps.

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