.xserverrc
changeset 276 eb428b5e125a
parent 272 558a19eb6af8
child 277 38c4ac60b6fb
equal deleted inserted replaced
275:2f79af90c708 276:eb428b5e125a
     2 
     2 
     3 # http://tldp.org/HOWTO/XWindow-User-HOWTO/runningx.html
     3 # http://tldp.org/HOWTO/XWindow-User-HOWTO/runningx.html
     4 
     4 
     5 if [ -n "$WINDIR" -o "$TERM" = cygwin ]; then
     5 if [ -n "$WINDIR" -o "$TERM" = cygwin ]; then
     6   # Probably under Cygwin.
     6   # Probably under Cygwin.
     7   exec XWin -multiwindow -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle"
     7   exec XWin -multiwindow -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle" "$@"
       
     8 elif [ -f /etc/debian_version ]; then
       
     9   exec /usr/bin/X -nolisten tcp "$@"
     8 else
    10 else
     9   exec X
    11   exec X
    10 fi
    12 fi
       
    13