2

I must display two different windows (different application) on a single X display/screen., with a small sticky window that display buttons to switch from one (virtual) screen to the other.

Although I thought this would be an easy task for a simple window manager like fvwm, I didn't get it to work.

I've tried fvwm in combination with the FvwmPager, but I keep getting problems to place the different windows in the different virtual desk or page (automatically).

e.g. if you do: xterm -title "Hello" and xterm -title "There", I want Hello to go to virtual screen 1 and There to go to virtual screen 2.

I've also tried using metacity and switching between workspaces.

Is there an example configuration available? I'm not fixed on a specific window manager.

Roalt
  • 463

2 Answers2

2

wmii, awesome, dwm and many other tiling window managers have a thin workspace switcher bar, and usually allow defining workspace rules by window title or classname.

grawity
  • 501,077
1

This is what I found for FVWM, you can specify where each window loads with a simple config change, from the FAQ:

7.3 How to start applications on a page or desk other than the current.

Use the 'StartsOnDesk' or 'StartsOnPage' style in your config:

 Style Netscape* StartsOnPage 0 1

or

 Style Netscape* StartsOnDesk 1

Any window with a title that begins with 'Netscape' will be placed on page 0 1 (desk 1). You will probably want to use these options
too:

 Style * RecaptureHonorsStartsOnPage, CaptureHonorsStartsOnPage

If you want to start applications on a different page in the
background without switching to this page, use the 'SkipMapping'
style:

 Style Netscape* StartsOnPage 0 1, SkipMapping

7.4 How to start applications on a page or desk other than the current without moving the viewport to the new page or desk.

Use the SkipMapping style:

 Style Netscape* StartsOnPage 0 1, SkipMapping
MaQleod
  • 13,258