Re: [wmii] wmii xsession file for dualhead

From: Uwe Voelker <>
Date: Sun, 21 May 2006 17:56:56 +0200

> Here's what I do so that I don't have to care if there's another X
> session running.
> DISPLAY=:$(echo $DISPLAY|cut -c 2).0 exec /usr/local/bin/wmii &
> DISPLAY=:$(echo $DISPLAY|cut -c 2).1 exec /usr/local/bin/wmii

Thanks. In which case could be more than one X session running?

Sometimes I use VNC - but in this case I would only have one display. I
guess my script (and probably yours too) would fail, because it will try
to start wmii twice.

Received on Sun May 21 2006 - 17:55:26 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:05:57 UTC