Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Gnome defaults to using Alt+LeftMouse dragging for moving windows around - I hate this feature and it breaks some apps I use. In Gnome2 you could change the modifier key in one of the settings dialogs, but I can't find the corresponding one in Gnome3, can anyone point me in the right direction?

share|improve this question
up vote 7 down vote accepted

The GNOME Shell window manager, Mutter, is based on Metacity (GNOME 2) and uses the same settings. They are located in GConf at /apps/metacity.

Use gconf-editor or gconftool-2 to change the /apps/metacity/general/mouse_button_modifier setting to your preferred modifier. For example, to choose the "Windows" key, I use:

gconftool-2 --set /apps/metacity/general/mouse_button_modifier --type string "<Super>"

In recent GNOME versions, configuration is accessed through GSettings, with Linux using the dconf backend. To change the setting through GSettings (recommended), use:

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

To write it directly to the dconf backend, use:

dconf write /org/gnome/desktop/wm/preferences/mouse-button-modifier "'<Super>'"

You can also find it in GNOME Tweak Tool under Windows → Modifier to use for window click actions.

Changes should take effect immediately.

share|improve this answer

It can also be set in Tweak Tool:

Windows > Window Action Key > select Alt

Tweak Tool

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .