How do I disable window move with alt + left mouse button in GNOME Shell?
First of all, install dconf-tools .
To do that, run the following command:
sudo apt-get install dconf-tools
Then open it, Alt+F2 → dconf-editor
.
Scroll down to org
→ gnome
→ desktop
→ wm
→ preferences
→ mouse-button-modifier
→ Set it to whichever key you like.
Or, equivalently,
gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier "<Super>"
in the terminal. (This requires neither dconf-editor
, nor dconf-tools )
Warning: Setting it to nothing means that all clicks move windows, instead of disabling it!
In Mint(or Cinnamon) the key can be changed or disabled under
system settings
> windows
> behavior
> 'Special key to move and resize window'
I have it set to the super/windows key instead.
Use the Tweak Tool (gnome-tweak-tool
):
Windows > Window Action Key
To resolve the Alt+Click move window dragging problem:
sudo gconftool-2 --set /org/gnome/desktop/wm/preferences/mouse-button-modifier --type string '<Super>'
Does the same thing, really, just with a different config tool, and less hunt-and-click.
For newer versions using dconf/gsettings, use this:
gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier "<Super>"
I set Alt+Super like a temporary solution. So I can use the Alt key in Inkscape and Super for activities.