Window Managers that can centre windows
by Gerard Lally from LinuxQuestions.org on (#5ET5R)
If you know of Window Managers that can open unmaximised windows centred, or Window Managers able (natively) to centre a window using a shortcut, please let me know.
Although I have heard that devilspie and wmctrl can do this, my preference is an implementation native to the WM.
IceWM can do this with the (I think) Super + NumPad5 key, and KDE/Plasma can do it too, with an option to snap the window to the centre. Openbox, JWM and Xfwm4 can open windows centred on screen, but I'm not aware that they can re-centre a window you have moved, say, to one side.
i3 seems able to do both -- starting centred and moving back to centre, but only (I believe) in stacked mode, which they frown on. Understandably, if tiling is their thing.
With widescreen monitors all the rage these days, since manufacturers assume all we do on our computers is "media consumption" (i.e., YT and other TV replacements) it becomes harder and harder to do what we used to do on our PCs -- read a PDF, even a web page. Screens are too wide for comfortable reading, and we need to reposition and resize windows. So what's the point of a widescreen monitor? Thanks, manufacturers. Thanks gamers. Thanks YT and Netflix.


Although I have heard that devilspie and wmctrl can do this, my preference is an implementation native to the WM.
IceWM can do this with the (I think) Super + NumPad5 key, and KDE/Plasma can do it too, with an option to snap the window to the centre. Openbox, JWM and Xfwm4 can open windows centred on screen, but I'm not aware that they can re-centre a window you have moved, say, to one side.
i3 seems able to do both -- starting centred and moving back to centre, but only (I believe) in stacked mode, which they frown on. Understandably, if tiling is their thing.
With widescreen monitors all the rage these days, since manufacturers assume all we do on our computers is "media consumption" (i.e., YT and other TV replacements) it becomes harder and harder to do what we used to do on our PCs -- read a PDF, even a web page. Screens are too wide for comfortable reading, and we need to reposition and resize windows. So what's the point of a widescreen monitor? Thanks, manufacturers. Thanks gamers. Thanks YT and Netflix.