Ubuntu – How to disable window move with alt + left mouse button in GNOME Shell

gnomegnome-shellwindow-managementwindow-manager

There are lots of posts on this about Unity, this is about GNOME shell.

As with other posters, I use apps (Inkscape in particular) that uses Alt-Click and Alt-drag. GNOME shell is grabbing this off me and thus disabling features in the application.

I have tried

  • using ccsm's Move plugin – you can turn this off and you still get Alt-drag window moving.

  • using gconf editor to change /apps/metacity/general/mouse_button_modifier – this has no effect AFAICS.

It's really hindering me. Otherwise I find GNOME shell a really productive environment.

Best Answer

First of all, install dconf-tools Install dconf-tools.

To do that, run the following command:

sudo apt-get install dconf-tools

Then open it, Alt+F2dconf-editor.

Scroll down to orggnomedesktopwmpreferencesmouse-button-modifier → Set it to whichever key you like.

enter image description here


Or, equivalently,

gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier "<Super>"

in the terminal. (This requires neither dconf-editor, nor dconf-tools Install dconf-tools)

Warning: Setting it to nothing means that all clicks move windows, instead of disabling it!

Related Question