On Sun, May 21 16:17, Anselm R. Garbe wrote: > On Sun, May 21, 2006 at 03:22:46PM +0200, Uwe Voelker wrote: > > I would like to use wmii-3 on a dualhead machine. I have installed the > > debian package and I'm using gdm. > > > > The following xsessions file (/usr/share/xsessions/wmii.desktop) does > > only start wmii on one screen: > > > > [Desktop Entry] > > Encoding=UTF-8 > > Name=Wmii > > Comment=Window manager improved 3 > > Exec=wmii > > Icon=wmii.png > > Type=XSession > > > > > > Can you please help me, what I have to put in this file to get wmii > > started on both heads? > > > > (I know it must be something with DISPLAY=0 and DISPLAY=1, but I don't > > know further.) > > You have to exec a wmii instance for each physical head. I'm not > sure the Exec= entry in those Xsession files would support this. > > Thus, wether you uninstall gdm and start X with startx, or you > write a small sh script which runs two wmii instances for both > heads, which is called with the exec command in your session > file. > > If you remove gdm, the lines should look as follows in > $HOME/.xinitrc: > > #!/bin/sh > DISPLAY=:0.0 wmii & > DISPLAY=:0.1 wmii
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 -- redondos
pgp5fGL2mZOeo.pgp
Description: PGP signature
_______________________________________________ [email protected] mailing list http://wmii.de/cgi-bin/mailman/listinfo/wmii
