.xserverrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 15 Jan 2014 12:36:33 +0200
changeset 687 38cec4256537
parent 277 38c4ac60b6fb
permissions -rw-r--r--
Get beck ClickToFocus as without it I cant move/resize/close Firefox Web Developer transient "Inspect Network Request" windows. Also I like that click on main window area doesn't hide previous active window by rising clicked window.

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