8

I want to create a shortcut to pack the view of the current program on an area of my window.

It's like super+left shortcut, that shows as "split view on left" on keyborad->shortcut1 configuration, but I want to set super+numpad_8 to "split view on top", super+numpad_9 to "split view on top right corner", and so on.

How can I manage to define such shortcut? Which command can I define on "Command" in the "Add Custom Shortcut" window1?

Add Custom Shortcut Window

PS: I'm using Ubuntu 18.04.3

3
  • 1
    See here askubuntu.com/questions/26346/… and here askubuntu.com/questions/25409/…
    – codlord
    May 25, 2020 at 22:11
  • 1
    To start with, which Linux distro have you installed (Ubuntu server, Ubuntu desktop, Kubuntu, Lubuntu, Xubuntu, Ubuntu MATE, Mint, et al.), & which release number? Different releases have different tools for us to recommend. Please click edit & add that to your question, so all facts we need are in the question. Please don't use Add Comment, since that's our one-way channel to you. All facts about your PC should go in the Question with edit as this is a Q&A site, not a general forum, so things work differently here.
    – K7AAY
    May 26, 2020 at 17:10
  • 2
    The links pointed to by @codlord are outdated and don't work for Gnome. They are more than 10 years old and are designed for older Unity desktop. I am having a hard time to do this in Ubuntu 20.04
    – Jus12
    Jan 17, 2021 at 20:56

1 Answer 1

5

Following GNOME extensions might help you:

  1. Tiling Assistant - GNOME Shell Extension
    Adds a Windows-like snap assist to the GNOME desktop. It expands GNOME's 2 column tiling layout and adds many more features.
    For more details see Tiling-Assistant Wiki and article on itsfoss "How to Use Tiling Assistant on GNOME Desktop".

  2. Put Windows - GNOME Shell Extension
    Fully customizable replacement for the old compiz put plugin.

  • Move windows to left/right side, bottom/top, center or corner
  • Move window to other screen
  • Select focused window using the keyboard
  • Application based window placement
    Check out this AskUbuntu-answer for more details including how to install a GNOME extension.

Otherwise these system features shortcuts and modifiers can help you arrange windows quickly without any extension:

  • Move a window by dragging the titlebar, or hold down Super and drag anywhere in the window. Hold down Shift while moving to snap the window to the edges of the screen and other windows.
  • Resize a window by dragging the edges or corner of the window. Hold down Shift while resizing to snap the window to the edges of the screen and other windows.

Before Ubuntu 22.04: ShellTile - Extensions GNOME Shell
A tiling window extension for GNOME Shell. Just move a window to the edges of the screen to create a tiling, otherwise move a window over another one, holding down the Control key. Grouped windows minimize, resize, raise and change workspace together. Move or maximize a window to remove it from the group.
Default keyboard accelerators that can be joined for quarter tiling:
CtrlSuper Left : Tile to the left border
CtrlSuper Right : Tile to the right border
CtrlSuper Up : Tile to the top border
CtrlSuper Down : Tile to the bottom border

2
  • 1
    Just a heads-up: at the time I'm writing (January 2024) ShellTile is not compatible with Ubuntu 22.04, so I am not able to install it.
    – waldyrious
    Jan 22 at 21:53
  • 1
    I'm actually using a combination of both Tiling Assistant and Put Windows. Tiling Assistant does most of that I need, but Put Windows has the ability to resize a window to the center of the screen, whereas Tiling Assistant is only able to move windows to the center without resizing them.
    – waldyrious
    Feb 6 at 14:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .