0

On Ubuntu there is a nice feature that allows windows to auto-resize (for example to half-screen width) and be "magnetized" to the corners of the screen. Lubuntu on the other hand does not appear to have this feature. Is there a way to achieve this by installing some package but without installing another desktop environment in place of LXDE?


I've just found a related question where a fix is proposed: Is there a lightweight way to snap windows in Lubuntu? However the post is a few years old. Is this solution still up to date?

  • There is no LXDE packages for that. In fact, it's more about windows manager wich is by default on LXDE "openbox". – JerareYoshi Nov 29 at 20:37
  • @JerareYoshi Thank you for your comment. Then what can I do to obtain the desired effect with openbox? – Riku Nov 29 at 20:40
  • There is no such effect. – Pilot6 Nov 29 at 20:51
  • 1
    @Pilot6 I've just found a related question where a fix is proposed: askubuntu.com/questions/73536/… However the post is a few years old. Is this solution still up to date? – Riku Nov 29 at 20:54
  • 1
    Short answer is "yes,can be done", but long answer is that it requires scripting and making the script work with keybindings. Back when I used to use openbox myself, I've written a few scripts for resizing and repositioning windows with wmctrl ( you can read about it here askubuntu.com/q/94859/295286 ) and I think this is one of those askubuntu.com/a/678716/295286 Adding keybindings can be done via specific xml file, openbox.org/wiki/Help:Bindings So yes, possible, but probably not easy – Sergiy Kolodyazhnyy Nov 30 at 0:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.