Re: FVWM: Fvwm, the pager, and multiple screens (monitors)

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Mon, 5 Apr 2004 14:56:25 +0200

On Mon, Apr 05, 2004 at 11:50:00AM +0100, Athanasius wrote:
> On Mon, Apr 05, 2004 at 12:34:52PM +0200, Dominik Vogt wrote:
> > As far as I understand Xinarama and multi-head, the setup you
> > describe is not possible. Either you are running Xinareama and
> > *one* fvwm, or you have a multi-head setup and one fvwm for each
> > screen. With Xinerama you can move windows to all video screens,
> > with multi-head you can't.
>
> Yes, I got confused when fiddling things around attempting to get the
> setup I wanted. I do indeed have Xinerama off, as when on that just
> gives me a double-width desktop across the two minitors, which isn't
> what I want.
>
> > Can you please post:
> >
> > - the relevant parts of you X config
> > - the lines you use to start fvwm
> > - all Xinerama and Desktop settings from your .fvwm2rc
>
> Files attached. Note I've switched to NOT using -s on the fvwm in
> .xinitrc, and am instead using a "Read .fvwm2rc.<screen number>" in
> ~/.fvwm2rc and the relevant files in ~/.fvwm/ to get different Init
> sections for the two fvwm2 instances.
>
> > I need this information tu understand what you are doing.
>
> If recoding is needed I'd guess that the setup would be:
>
> 1) Xinerama *on* so that windows can be moved between screens

> 2) fvwm2 code changed to treat the two screens as seperate
> virtual desktops instead of as one double-width one.
> 3) FvwmPager code changed to specify independently which virtual
> desktop is displayed on either screen.

Hm, these two are very difficult to achieve because it's exactly
the point of Xinerama to treat both screens as a single entity.
I'm not saying it is impossible to do, but it is *a lot* of work.
We'd need to reparent windows in a separate 'root' window for each
screen to be able to handle them independently. As a side effect
it would become impossible to move windows from one screen to the
other smoothly. Then the module interface would have to be
adapted to handle not just a single desktop, but an array of
desktops - one for each screen.

> The basic thing is to NOT have the two screens forming one virtual
> desktop and to have a single FvwmPager for controlling what is displayed
> on the seperate virtual desktops/screens.

Well, there may be a different way that does not really use
desktops. Configure a key to cycle all windows on one of the
screens to a different desk, e.g.

  key f1 a n all (CurrentScreen) movetodesk +1
  key f1 a s all (CurrentScreen) movetodesk -1

Now, pressing f1 moves all windows on the current screen up by one
desk and shift-f1 moves them down. This works only with the
latest code from cvs beccause of a bug fix I made. It's not
perfect either, since you can not separately switch 'desks' with
the pager.

Ciao

Dominik ^_^ ^_^
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Apr 05 2004 - 07:58:54 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST