Migrating from FVWM2 to FVMW3. On FVWM2, I have one large desk, 3840 x 1980, comprised of 3 monitors - two 1920x1080 monitors across the bottom, one 1600x900 monitor centered above them. My FVWM2 file is configured for the 3840x1980 Desk. So when I use ResizeMove, I use it based on the Desk, not on the monitors. For example, to position a window on the right half of the lower-right monitor (DP-4), I use: ResizeMove 950p 1050p 960p -0p. This isn’t working on FVWM3. I can’t figure out how to tell FVWM3 that I want everything done relative to one 3840x1980 desk. And I can’t figure out how to instead rewrite ResizeMove in FVWM3 to say move this window to this screen and size it such.
I don’t speak geek, so specific examples are appreciated.
Blockquote Are you saying that with your example, the coordinates are still being applied relative to a specific screen?
Yes, the coordinates are being applied as each if individual screen (monitor) is it’s own individual, independently distinct desk, instead of one large 3840 x 1980 desk where each individual screen takes up a specific portion of that desk. Window placement is always relative to the upper-left corner of the current monitor screen instead of to coordinate 0,0 of the desk as was done in FVWM2.
I also had to change the “Move” portion to be relative to the individual screens; DP-0, DP-2, or DP-4; instead of being relative to the 3840 x 1980 desk.
By default moving honors the EWMHBaseStruts which are now per monitor. This does make moving things a little more complicated because windows will be adjusted to be placed inside the working area (even if it is 0 on all edges of the monitor). You can append the option ewmhiwa to the end of Move commands to tell fvwm to ignore the EWMH working area as another option vs state what screen you want to move things relative too.
Thank you. I don’t know that one way is functionally better than the other for an end-user like myself. That is, how it behaves when I click the mouse on the button that corresponds to the specific monitor I wish to move the window to, how it moves to the monitor, and how it lines up on the screen. As long as the window goes where I want when I want, the specifics of how I write the configuration file to get there is only of minor concern; one global desk, or individually, distinct screens are both fine as long as I can figure out how to make one of them work.
I use FVWM because it lets me set up the working window manager so it’s much more convenient for me. I often have multiple jobs open at the same time. FVWM allows me to easily jump back and forth between them. I’m not aware of, nor am I looking for, another window manager that does the same.
Somaij, I put your response in my ConfigFvwmMenus file for future reference if I find a need to go back to a global configuration.