using two monitors with XFce4

Olivier Fourdan fourdan at xfce.org
Sat Dec 6 11:37:41 CET 2003


Guido,

1) Session manager is *not* part of the release
2) Starting the panel on second screen doesn't set explicitely the
DISPLAY, so I'm not surprised that apps still start on 1st screen
3) The warning (warning, not error) message tell that MCS is already
running on the display. Not surprising, MCS works per display, not per
screen.
4) You can achieve what you want by doing something like (assuming you
use bash):

 DISPLAY=:0.0 xfwm4&
 DISPLAY=:0.0 xfce4-panel&
 DISPLAY=:0.1 xfwm4&
 DISPLAY=:0.1 xfce4-panel&
 
I however, don't think it's a good idea to start xfce4-panel on both
screens, as both instances will share the same config file. It would be
better to start xfwm4 on both screens as shown above and run apps
setting the DISPLAY to select the desired screen.

All in all, I still wonder why not using Xinerama, after all. But that's
another story.

*plop* (for whatever it means)
Olivier.

On Sat, 2003-12-06 at 01:33, Guido Draheim wrote:
> Olivier Fourdan wrote:
> > On Fri, 2003-11-28 at 09:59, Guido Draheim wrote:
> > 
> >>Similar limitations did exist in kde and gnome about two year ago as well
> >>but their are fixed for quite a time now. 
> > 
> > 
> > Humm, last time I checked, Kwin from KDE 3.1 required to be started on
> > all screens. Metacity does manage all screens. 
> > 
> > 
> >>In that era I was fixing it
> >>with running an extra xfwm -display :0.1 to put a wm on the second head.
> >>That is _not_ possible with xfwm4 AFAICS, it reports "some wm already
> >>running". That accounts as a bug I'd say but who's going to fix it...
> > 
> > 
> > Wrong, xfwm4 --display :1.0 works - There is no bug here.
> > 
> 
> $ xfwm4 --display :0.1
> ** (xfce-mcs-manager:23903): WARNING **: Multi channel MCS manager already detected for screen 0
> ** Message: xfwm4: Anzahl der virtuellen Desktops nicht gesetzt. Benutze default Einstellungen: 4
> 
> There is nothing on the second screen however. So well, going to start
> an xfc4-panel --display :0.1 to have something on the secondary head.
> 
> When clicking anything on the new panel, the window will be opened on
> the _primary_ head. Ooops. So then, here we go and start a terminal
> on the seconary head, and in that terminal we start xfc4-panel. After
> that, new windows run on the secondary panel.
> 
> After that, I have an equal setup on each head, two terminal windows,
> one window manager, one xfce panel - atleast that's what it looks
> like. Now, let's see what the session manager will make of that.
> 
> after login / logout - there is one terminal on the second head,
> three terminals on the primary head, two panels on the primary
> head, upon logout, the xfce desktop freezes hard. killall X.
> 
> *plop*
> -- guido                       http://google.de/search?q=guidod
> GCS/E/S/P C++/++++$ ULHS L++w- N++@ d(+-) s+a- r+@>+++ y++ 5++X-
> 
> 
> 
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://moongroup.com/mailman/listinfo/xfce
-- 
Olivier Fourdan - fourdan at xfce.org
   
   Interoperability is the keyword, uniformity is a dead end. 
   http://www.xfce.org






More information about the Xfce mailing list