Re: need smarter WM window placement with two monitors
Henrik Prinz <[email protected]> Thu, 24 Nov 2005 14:57:16 +0100
| Newsgroups | gmane.compw.window-managers.windowmaker.user |
|---|---|
| Message-ID | <[email protected]> |
[email protected] schrieb: >>TWinView supplies Xinerama-like messages for window managers, but in the >>opinion of the Nvidia TwinView authors, Window Maker falls into a class >>of "broken" window managers that don't correctly respond to the Xinerama >>immitation messages they provide. Note below I have >>"NoTwinViewXineramaInfo" set, because otherwise Window Maker just takes >>the background image and puts one copy on each monitor, not scaled >>across both. > wrong Window Maker supports Xinerama correctly. If X11 says there is Xinerama > it means X11 will report two monitors, their resolutions and dimensions. > Window Maker does not talk to the video card directly it talks to X11 and X11 talks to the video card. > The reason Window Maker puts a background on each monitor is because it knows there > are two monitors and wmsetbg is configured to do that intentionally. The patch i posted > to your first post regarding your monitor problem addresses the behavior of wmsetbg. > if you want Xinerama behavior, you must enable Xinerama. >> I'll go back and see how WindowMaker window placement changes if I >> change that to "false". I throw away the background management, oh well. Yes. I'm running a similar setup, using TwinView with its Xinerama extentions enabled. And wmsetbg works perfectly here. When i use a Background smaller than 2560x1024 it gets tiled. (Wich is perfectly normal, since i use the option -t by default.) And when it comes to window and appicon placment, i didn' run in any problems yet. (The appicons are placed in the correct screen.) >> Unfortunately, the data provided by XineramaQueryScreens() appears to >> confuse some window managers; to workaround such broken window mangers, >> you can disable communication of the TwinView screen layout with the >> "NoTwinViewXineramaInfo" X config Option (please see Appendix D >> for details). >> so make sure that the X server's log file does not contain: >> >> (++) Xinerama: enabled >> >> if you wish the NVIDIA driver to be able to provide the Xinerama >> extension while in TwinView. Ok.. I guess i'll post the intresting parts of my xorg.conf. Mayby it'll help. Section "ServerFlags" EndSection Section "Device" Identifier "GeForce" Driver "nvidia" Option "NoLogo" "true" Option "TwinView" Option "SecondMonitorHorizSync" "31.5-96" Option "SecondMonitorVertRefresh" "50-160" Option "MetaModes" "1280x1024,1280x1024; 1024x768,null; 800x600,null; 640x480,null" Option "ConnectedMonitor" "crt,crt" EndSection Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection And just remember to compile WindowMaker with Xinerama support. _______________________________________________ INFO: https://windowmaker.org/lists/listinfo/wm-user ARCHIVE: https://windowmaker.org/lists/archive/wm-user/ FAQ: http://windowmaker.org/faq.html