Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Dragging windows around with alt-click has always been one of my favorite features on a linux desktop: no need to aim at the window title to drag, just press alt, click anywhere within the window and drag.

This seems to be disabled in gnome 3 / gnome-shell in debian testing. How can I enable it? (I hope the feature still exists...)

share|improve this question

migrated from stackoverflow.com May 25 '12 at 22:00

This question came from our site for professional and enthusiast programmers.

4 Answers 4

up vote 5 down vote accepted

This did what I needed:

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

I figured it out based on another question: Gnome3 - Change window drag shortcut

It seems that alt-click-drag is usually enabled and I found several questions wanting to disable it. My case was the opposite. The feature was disabled, and I really wanted to enable it.

UPDATE

This solution worked for Gnome 3.0 in 2012 June, and it no longer works today. See the other answer I linked above, the answer seems to have updated more recently, or @STW's comment below.

share|improve this answer
1  
This doesn't appear to work (at least in 3.10), however the Tweak Tool UI controls this setting. It's the Windows > Window Action Key setting –  STW Oct 22 '14 at 18:35

You can also use gnome-tweak-tool to change the key back to Alt. The option is called Modifier to use for modified window click actions or Window Action Key (in 3.10 and later versions) and is available under the Windows category. See http://www.ryanlerch.org/blog/alt-click-drag-to-move-windows-no-longer-works-in-fedora-18-gnome-3-8/.

share|improve this answer
    
This worked great; thanks –  eric.frederich Jul 10 '14 at 16:05
    
In GNOME 3.10 (possibly earlier) the option is called "Window Action Key" under the Windows section of GNOME Tweak Tool –  STW Oct 22 '14 at 18:34
    
@STW Thanks! I've updated the answer. –  pelle Oct 24 '14 at 7:06

I have also used this feature regularly in Gnome on Fedora, and was disappointed or frustrated that it seemed to have disappeared as of Fedora 18. All is not lost, it's just moved one key over!

What used to be Alt+drag is now Super+drag. Super is the Windows/Apple/Meta key next to the Alt key on most keyboards. In the process of finding that, I also discovered that Super+middle button+drag resizes windows (which apparently used to work with Alt too, but I never knew about it).

share|improve this answer
    
Thanks for that, I noticed lock had changed to Super + L but didn't think about trying that for drag, also thanks too for the resize, never knew about that either :-) –  marsbard May 21 at 7:51

Running Gnome version 3.14.0 on OpenSUSE 13.2, here. To perform the Alt-drag capability out-of-the-box, use Super+drag.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.