Replace shell with X server to save memory.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 05 Dec 2011 00:41:55 +0200
changeset 272 558a19eb6af8
parent 271 d645bb7a2702
child 273 34e34bd191bf
Replace shell with X server to save memory.
.xserverrc
--- a/.xserverrc	Mon Dec 05 00:40:43 2011 +0200
+++ b/.xserverrc	Mon Dec 05 00:41:55 2011 +0200
@@ -4,7 +4,7 @@
 
 if [ -n "$WINDIR" -o "$TERM" = cygwin ]; then
   # Probably under Cygwin.
-  XWin -multiwindow -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle"
+  exec XWin -multiwindow -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle"
 else
-  X
+  exec X
 fi