I am looking for a way to define a grid and use the middle mouse button only, to drag a window into a specific area and resize it. Nothing I found seems to be able to do this.

Specifically I am looking for something that works similar to GridMove:


I want to emphasize that I do not want to use the keyboard. No superkey/ctrl/alt/shift + mouse button but only a specified mouse button that I can hold over a window and drag.

I don't care if this is realized in a desktop environment, Compiz or in another program (I'd prefer several options though). My favorite desktop environment is Cinnamon but I would abandon it for this feature.

Multi monitor support would be good.

  • If noone knows a tiling window manager that emulates this behaviour, then you will have to start trying them out yourself. There's a collection of examples on Wikipedia, and a sort of comparison of many here: wiki.archlinux.org/index.php/… – Kusalananda Jan 14 '17 at 18:18
  • I already did. I looked into docs of the most popular window managers and tried some of them. They all don't quite do what I want. Of course I don't know the docs of all of them by heart so I might have missed stuff. – doc Jan 14 '17 at 18:24
  • 1
    Keys can usually be configured, so if you find anything that does it (even with a keyboard) you might be able to just re-bind it to a mouse action of your choice. – frostschutz Jan 14 '17 at 19:02
  • This behavior does not make sense using a keyboard. With a keyboard you usually would say "if this combination is pressed, go to upper left corner". But in my scenario where the window should be resized is defined during the action. So the concept is completely different. In cases where a keyboard and mouse combination is used, I never see a way to disable the super key. – doc Jan 14 '17 at 19:34
  • Under what window manager? The way to do it is completely dependent on the window manager. Some window managers are programmable, so if they don't have the right command built in you can program them. Others would require modifying the window manager source code. – Gilles Jan 15 '17 at 21:20

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.