Ubuntu – How to restore the Unity 7 Ctrl-Alt-Numpad combination behaviour on Gnome 3

17.10gnomegnome-shellgnome-shell-extension

enter image description here

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?

Best Answer

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.

gsettings set org.gnome.desktop.wm.keybindings move-to-corner-se "['disabled']"
gsettings set org.gnome.desktop.wm.keybindings move-to-corner-sw "['disabled']"
gsettings set org.gnome.desktop.wm.keybindings move-to-corner-nw "['disabled']"
gsettings set org.gnome.desktop.wm.keybindings move-to-corner-ne "['disabled']"

Then I have tried installing the Put Windows gnome extension on Ubuntu 17.10, and it seems to work fine.

  1. Install the browser plugin for https://extensions.gnome.org

    sudo apt-get install chrome-gnome-shell
    

    GNOME Shell extensions integration for web browsers. Provides integration with GNOME Shell extensions repository for Chromium (and derivatives) and Firefox.

  2. Visit the Put Windows page and install the extension

  3. Refresh the page

  4. Click the blue spanner/screwdriver settings symbol on the page:

    screenshot

  5. 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.