mwm

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

8 posts / 0 new
Last post
mwm

Submitted by Anonymous on Fri, 04/06/2001 - 07:13. General Questions
How can I tell mwm to use more than one screen?

ICS_support

I think it does, by default. But this is certainly the sort thing which is in the man page, which, unfortunately, I don`t have with me right now. But you can check and see whether mwm needs an option along the lines of -screens or -display or some other likely name.

Anonymous

If you are talking more than one CRT on a single machine, then is the X server running using a multi head option, or are you using more than one instance of the server?

If more than one instance, you will need two copies of MWM.

I think it would depend on how the server is setup otherwise. There are X servers that will treat more than one video card as an extension of the first, so applications can seem to float between them.

What sort of setup do you have?

- scorch

Anonymous

I just did a man mwm and got the following
-multiscreen
This option causes mwm to manage all screens on the display. Since mwm does this by default, this option is of limited use. See the multiScreen resource for information on managing a single screen.

Anonymous

Well, I`ve tried to tell mwm -multiscreen. Then what happens is that when you open a window, say an xterm, you can see it surounded with a frame, but with no decorations. If you click with the mouse where the buttons are supposed to be, their behaviour is correct. Even more, if you try to move the window it doesn`t move with the mouse motion but as soon as you release the mouse button, the window goes to the new position.
About the configuration it`s a RedHat Linux 7.0 system with XFree86 4.0.1. The graphics card is a Matrox G450. I`ve been having problems with color planes in the second monitor so I don`t know it this have something to see with mwm. In a few days I will be switching to the G200 Dual. Let`s see!

Anonymous

It seems the -multiscreen option only works properly in mwm 1.2. Metrolink motif documents that it does not work in versions 2.0 or 2.1, and it seems to be the same with OpenMotif.
Personnally, I start two window managers like this
mwm -screen 0 -display localhost0.0 &
mwm -screen 1 -display localhost0.1 &
Hope this helps,

Greg

Anonymous

I`ve done what you suggested and it works for me too. Thanks.

Anonymous

Hi,

I`m glad to dig this thread out!

It`s not a good solution...

but anyway, my dual monitor are working now!

thanks.

btw. Where did you put your "mwm -screen x -display ... "? I put it in my .Xclients-default, however, the system just acknowledge the last one( the first must ended by &). Do you have any suggestion?
Regards,

zhou