Re: FVWM: Telling fvwm to not use the top left 124x1152 even for maximized windows
Hello Jaimos, > This is a setting that doesn't need to be run in the function, as it > only needs to be set once. Once this is set, this changes the behavior > of Maximize and placement functions. I tried that first, but that didn't work for me. I put it in my .fvwm2rc config at the top: EWMHBaseStruts 144 0 0 0 I also tried: Style * EWMHBaseStruts 144 0 0 0 And reloaded fvwm2, new windows where still fullscreen. I'm running the debian stable fvwm2 version: fvwm 2.6.5 compiled on Nov 14 2013 at 13:45:35 Debian: fvwm 2.6.5.ds-3 Find my .fvwm2rc here: https://pbot.rmdir.de/HvZifRKhJuAx5HqVKScPEw Cheers, Thomas
Re: FVWM: Telling fvwm to not use the top left 124x1152 even for maximized windows
Hello Thomas, > > I would like to instruct fvwm not use the top left 124x1152 pixels. > Use EWMHBaseStruts. thanks a lot. I put that in my FullScreen function and it works like a charm: AddToFunc FullScreen + I EWMHBaseStruts 144 0 0 0 + I ThisWindow Maximize + I ThisWindow (!Maximized) WarpToWindow -5p -5p Happy new year and thanks a again for the hint and function. Cheers, Thomas
FVWM: Telling fvwm to not use the top left 124x1152 even for maximized windows
Hello, I broke my laptop screen and until my replacement display arrives, I would like to instruct fvwm not use the top left 124x1152 pixels. Could someone tell me what is the best way to obtain it? At the same time I use one fvwm function for every window: AddToFunc FullScreen + I ThisWindow Maximize + I ThisWindow (!Maximized) WarpToWindow -5p -5p In order to get everything fullscreen. See screenshot: https://thomas.glanzmann.de/tmp/screenshot-x1-2016-12-28-09_42_48.png The blue area should not be used. Cheers, Thomas
Re: FVWM: Focus window based on class or resource
Hello Dan, > These commands match on: > The window name, icon name, class, and resource are considered when > attempting to find a match. > As long as Evince has something unchanging in class or resource you > should be good to go. > If all of those thing change, it's a problem with Evince. thank you. After you mentioned that it has to work I realised that the problem was that I had two SmartStart lines for the same Key combination. Cheers, Thomas
FVWM: Focus window based on class or resource
Hello, I use evince as pdf viewer. They recently changed the Name and Icon Name to the name of the pdf. Now I'm unable to use my previous keybinding to bring evince to focus. Is there way to use Next and specify 'Class' which is Evince or 'Ressource' which is evince? Key A A SC SmartStart "evince" AddToFunc SmartStart + I Next ($0) Iconify off + I Next ($0) Raise + I Next (AcceptsFocus, $0) focus + I None ($0) Exec exec $1 Cheers, Thomas