25

Super + left/right snaps windows to fit half the screen. I'd like to be able to snap four windows in all corners. CompizConfig Settings Manager doesn't seem to be an option since 18.04 uses the GNOME desktop.

23

As you've found out, Ubuntu 18 has moved away from the Unity desktop manager which I had finally gotten used to, to Gnome desktop, which is much different. Compared to Unity, Gnome Desktop's configuration settings are all wacky. You'll need to install Gnome shell extensions.

I recommend using the Put Windows GNOME extension, like @heynnema says.
However, hknust likes the ShellTile one, so you can try it out too.

Note that Gnome Shell extensions change how your desktop works, but you configure them through your browser, which seems kind of weird at first. Your browser is basically just a front-end messaging service to communicate with the back-end configuration settings running on your PC.

How to install the "Put Windows" GNOME shell extension to enable window tiling in Ubuntu 18:

Steps (in part borrowed from hknust's answer):

  1. Enable shell extensions (the back-end service) on your PC, and the Gnome shell extension in Chrome (the front-end configuration panel):

    sudo apt install gnome-shell-extensions chrome-gnome-shell
    
  2. In your Chrome browser, open https://extensions.gnome.org/.
  3. Search for "put windows", as shown below, and click on it. enter image description here
  4. Install it by clicking the button to the far right of it. You may see a message saying you need to install "GNOME Shell integration" from the Chrome Web store. If you do, go here and install that into Chrome: https://chrome.google.com/webstore/detail/gnome-shell-integration/gphhapmejobijbbhgpjhcjognlahblep.
  5. Now you'll get that little foot-icon extension in the top-right of your Chrome: enter image description here. Click it, then click the "Installed extensions" tab at the top of the page that loads. You'll now see the "Put Windows" extension installed as shown here. Note that you may need to refresh the page to get it to show the screwdriver and wrench icon once you've installed it: enter image description here.
  6. Configure it by clicking the little screwdriver and wrench icon under the yellow arrow I made in the image above. Notice the default keyboard shortcuts are set like so: enter image description here Super (ie: Windows key) + Keypad 7, for instance, will tile the selected window to the top-left corner of your screen.
    • If you have an ultrabook or smaller laptop that does not have a Numpad/Keypad, then I recommend using the following settings instead (where the "Super" key is your "Windows" key): enter image description here
  7. Remember, even though it seems odd at first, the browser plugins and tools are simply the front-end GUI interface to configure your computer's GNOME desktop settings. This fact alone can seem confusing at first.

BUG NOTE/WEIRD BEHAVIOR: If you are trying to snap a window to a corner but its size is off, first snap it to the center (Alt + Super + S), then snap it to the corner (ex: Alt + Super + Q to move to upper-left corner), and it will now be the right size to allow 4 windows to be seen at once--one in each corner, as snapping it to the center first also gets it to be the right size--ie: exactly 1/4 of the screen area.

Done!

  • 2
    Works with Firefox (the pre-installed default) too, not just Chrome. – pomsky Oct 31 '18 at 21:25
  • Once I snap a window to the any of the sides, I can't release it from there using the mouse. Is there a setting so I can still move them? – Ziv May 12 at 11:16
  • Error upon opening https://extensions.gnome.org/extension/39/put-windows/: "We cannot detect a running copy of GNOME on this system, so some parts of the interface may be disabled. See our troubleshooting entry for more information." – mcExchange Aug 19 at 14:48
  • Sounds like you're not running gnome. Are you running an older Ubuntu version, or a different window manager than gnome? – Gabriel Staples Aug 19 at 14:59
  • put windows stopped working with the latest update – k_g Sep 27 at 0:17
6

Apparently Gnome supports the different tiling behaviors through extensions

Enable shell extensions and browser integration first

sudo apt install gnome-shell-extensions chrome-gnome-shell

In the browser open https://extensions.gnome.org/ and install the plugin

I wanted the same corner behavior you were looking for, so I installed the ShellTile extension

https://extensions.gnome.org/extension/657/shelltile/

  • 1
    What is not apparent from the ShellTile page is that in addition to it's window grouping thing it also does "edge tiling" which is exactly what I want. The one little quirk is centre top of the screen maximises, but to either side of that it will maximise to the top half of the screen. – Gordon Wrigley Aug 14 '18 at 9:11
  • Put windows didnt work for me, but shellTile did :) – Vitor Abella Feb 14 at 1:10
5

The Put Windows GNOME extension will do what you ask. See https://extensions.gnome.org/extension/39/put-windows/. Once you switch it "ON", you can configure it at https://extensions.gnome.org/local/.

  • 1
    Extension? Why? This functionality was out-the-box for years. GNOME R.I.P. – N0rbert Jul 4 '18 at 14:19
  • 2
    @N0rbert you're right... live and learn... however this GNOME extension is configurable, and has even more options than what's built into GNOME already. – heynnema Jul 4 '18 at 14:47
  • ...and it is hoped that, after half tiling, more tiling features like quarter tiling will come to native Gnome Shell at some time in the future. – vanadium Jul 13 '18 at 18:04
  • 1
    This 2-sentence answer is incomplete. It could definitely use some further explanation on how to install, use, configure, open, etc. – Gabriel Staples Oct 31 '18 at 20:05
  • @GabrielStaples Better? Please remember to vote for it if it was helpful. Thanks! – heynnema Oct 31 '18 at 20:23

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.