Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm frustrated that this was removed/altered in gnome-shell3. There are certain key bindings for resizing and moving windows like alt+right click etc, that I'd like back. I've tried to use the system settings but to no avail. Has anyone else worked with this and got it to work?

share|improve this question

3 Answers 3

up vote 13 down vote accepted

In more recent gnome versions (e.g., gnome-shell), you need to use this instead:

gsettings set org.gnome.desktop.wm.preferences resize-with-right-button true

Gnome defaults to using the Super ("Windows") key for window actions, so the above alone will enable moving (super-leftdrag) and resizing (super-rightdrag). To use the Alt key instead of the Super key do:

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

(note that using the Alt key for window operations will interfere with some apps, like Inkscape, that use alt-click and alt-drag for app related actions)

share|improve this answer
    
Thanks. This worked for me. –  Dave May 3 '12 at 13:19
    
You could also change this same setting with a GUI, via dconf-editor. –  Victor Jan 27 at 18:35
1  
If you want to use alt+right click, you might also have to change mouse-button-modifier to <Alt>. –  Kevin VW Jul 25 at 15:12

You can use gconf-editor for this. Enable this setting:

/apps/metacity/general/resize_with_right_button
share|improve this answer
    
Unfortunately that doesn't work in later versions of GNOME. The gconf settings are simply not used, it seems. –  Victor Jan 27 at 18:35

In Cinnamon (rather than Gnome3) the corresponding setting is:

gsettings set org.cinnamon.desktop.wm.preferences resize-with-right-button true

Or find the corresponding path in gconf-editor.

Also see mouse-button-modifier under the same path if you want to change from Alt to Super for move/resize behavior (useful for conflicts with other apps such as blender).

share|improve this answer
    
Your command worked flawlessly, thanks - but I didn't find anything like that path in gconf-editor. Where do those "org.cinnamon.."-like paths reside? (I am running on Linux Mint right now). –  stolsvik Jun 29 at 21:59

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.