Score:1

Window management with numpad on Ubuntu 22.04

mz flag

I'm using Ubuntu 22.04 now, and used to use Ubuntu 16.04 a long time ago on which I add a GNOME extension, that I don't recall the name, that allows you to use a more powerfull window management tool with keyboards bindings to Super+NumPadXwhere X would be a number from 0 to 9 on your NumPad. 0 hides the current window, 4 and 6 for splitting left/right, 2 and 8 for splitting up and down, 1/3/7 and 9 would put the current window in the corner.

I'd really like to have something similar on my new Ubuntu 22.04, but can't find how to do it

If anybody can help, cool

Thanks to all

guiverc avatar
cn flag
Ubuntu 16.04 LTS used the Unity 7 desktop by default; having replaced the GNOME 2 desktop back in Ubuntu 11.04, with Unity 7 being default until Ubuntu 17.10 which was the first release with GNOME 3. Are you sure you were using GNOME on 16.04?
Wololllooo avatar
mz flag
@guiverc I'm sure I was using a GNOME extensions for that, and with your good remark I now think that it was Ubuntu 18.04, not 16.04
Score:1
in flag

If not already installed, install Extension Manager and afterwards use the Browse tab to select Awesome Tiles

enter image description here

SuperKP in this context refers to pressing the Super and KP = keypress so to centre, for example use Super + 0 on the numeric keypad as in the earlier releases. The other key combinations are as listed.

Score:1
bn flag

There may be GNOME Shell Extensions that do what you want (I've never used it, but I've seen others reference Tactile), but you can also do something similar with GSettings. Here is what I use:

gsettings set org.gnome.desktop.wm.keybindings move-to-corner-nw "['<Super>KP_7']"
gsettings set org.gnome.desktop.wm.keybindings move-to-corner-ne "['<Super>KP_9']"
gsettings set org.gnome.desktop.wm.keybindings move-to-corner-se "['<Super>KP_3']"
gsettings set org.gnome.desktop.wm.keybindings move-to-corner-sw "['<Super>KP_1']"
gsettings set org.gnome.desktop.wm.keybindings move-to-side-n "['<Super>KP_8']"
gsettings set org.gnome.desktop.wm.keybindings move-to-side-e "['<Super>KP_6']"
gsettings set org.gnome.desktop.wm.keybindings move-to-side-s "['<Super>KP_2']"
gsettings set org.gnome.desktop.wm.keybindings move-to-side-w "['<Super>KP_4']"
gsettings set org.gnome.desktop.wm.keybindings move-to-center  "['<Super>KP_5']"

Note that this does not resize the windows. You can use Alt + F8 to manually resize windows.

You can also use Super + Left / Super + Right to half-tile.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.