dual monitor problem

Nicolas Mommaerts nico at beatz.no-ip.org
Sat Jan 24 14:07:30 CET 2004


That doesn't seem to work for me. I copied the xinitrc file from
/etc/xfce4 to ~/.xfce/xinitrc and then added two lines
export DISPLAY=:0.1
export DISPLAY=:0.0
to the top of the xinitrc script and changed the lines that start xfce
to those that dan radom suggested. I don't see any difference. Am i
doing something wrong here?

On Sat, 2004-01-24 at 13:32, Olivier Fourdan wrote:
> I mean that you must export the variable DISPLAY otherwise your child
> process won't inherit it.
> 
> ie, something along those lines (for bash):
> 
> export DISPLAY=:0.1
> xfce-mcs-manager &
> xfwm4 --daemon &
> xfce4-iconbox &
>  
> export DISPLAY=:0.0
> startxfce4
>  
> Cheers,
> Olivier.
> 
> On Sat, 2004-01-24 at 13:06, Nicolas Mommaerts wrote:
> > What do you mean with benny already pointed out? Can you tell me what
> > you mean with exporting the DISPLAY?
> > 
> > On Sat, 2004-01-24 at 11:14, Olivier Fourdan wrote:
> > > As benny already pointed, unless you export the DISPLAY, your example
> > > won't work correctly.
> > > 
> > > Cheers,
> > > Olivier.
> > > 
> > > On Sat, 2004-01-24 at 01:24, dan radom wrote:
> > > > * Nicolas Mommaerts (nico at beatz.no-ip.org) wrote:
> > > > > I have a dual monitor setup, which works fine in Gnome. I'm NOT using
> > > > > Xinerama and don't want to either. When I start xfce4 only my main
> > > > > monitor is used. I can move the mouse to my other monitor though, but
> > > > > that screen is just black and the mouse cursor changes to a cross (the
> > > > > default arrow in X?) I searched the maillists and encountered  two
> > > > > people with the same problem but no solution...
> > > > > 
> > > > 
> > > > Classic dual head isn't really supported.  Here's the work around I
> > > > use...
> > > > 
> > > > grep relevant parts from .xinitrc
> > > > 
> > > > DISPLAY=:0.0; xfce-mcs-manager &
> > > > DISPLAY=:0.0; xfwm4 --daemon &
> > > > DISPLAY=:0.0; xfdesktop &
> > > > DISPLAY=:0.0; xbindkeys &
> > > > DISPLAY=:0.0; xfce4-panel &
> > > > 
> > > > DISPLAY=:0.1; xfce-mcs-manager &
> > > > DISPLAY=:0.1; xfwm4 --daemon &
> > > > DISPLAY=:0.1; xfce4-panel &
> > > > DISPLAY=:0.1; xbindkeys &
> > > > DISPLAY=:0.1; exec xfdesktop
> > > > _______________________________________________
> > > > Xfce mailing list
> > > > Xfce at xfce.org
> > > > http://lunar-linux.org/mailman/listinfo/xfce
> > > > http://www.xfce.org
> > 
> > _______________________________________________
> > Xfce mailing list
> > Xfce at xfce.org
> > http://lunar-linux.org/mailman/listinfo/xfce
> > http://www.xfce.org




More information about the Xfce mailing list