By default, instead of doing something useful, the Ctrl-Alt-Numpad key combination in Gnome 3 shoves a window in the specified direction across the entire workspace. These shortcuts do not show in the Gnome 3 keyboard settings panel; they're just there, and they're in the way.
How can I get this behavior back in Ubuntu 17.10?
I first followed the these instructions on how to disable the "move-to-corner" shortcuts with
dconf-editor
. I'm not sure if this is a necessary step or not.Then I have tried installing the Put Windows gnome extension on Ubuntu 17.10, and it seems to work fine.
Install the browser plugin for https://extensions.gnome.org
Visit the Put Windows page and install the extension
Refresh the page
Click the blue spanner/screwdriver settings symbol on the page:
Go to "Keyboard Shortcuts" (also through Gnome Tweaks) and modify the actions to be Ctrl+Alt+Num, etc. By default, uses Super+Num.
You mentioned in one version of your question that you tried this extension and after restarting the machine you needed to manually reconfigure the shortcuts. I tested restarting my machine and had no such problems.
I figured it out, you need to change the settings using dconf:
This will move windows to corners without resizing it.
In dconf, look for org>desktop>wm>keybindings and click on the field next to
move-to-corner-se
and change it to['disabled']
:and repeat for all the ones that you want to disable, i.e.,
move-to-corner-sw
, etc.Alternatively you can do it from the command-line like this:
and restore it like this:
List all with
gsettings list-recursively | grep move-to-corner
.See also org.gnome.desktop.wm.keybindings in https://wiki.ubuntu.com/Keybindings
If using Compiz
If you are still using Compiz in some way with gnome3, see below:
From here, I was able to disable the keys in my Ubuntu 16.04 Laptop (unity 7.4.0). The steps below is what you are looking for.
You need to install
compizconfig-settings-manager
, under Ubuntu software:run it and under the "Window Management" section select "Grid":
On the grid menu click on the edit pencil and uncheck the "Enable" box:
On Ubuntu 18.04.1 LTS, simply install the Put Windows Gnome extension through Ubuntu Software Center to restore the window positioning via numpad. No further settings changes are needed.