GNOME Bugzilla – Bug 678648
Need a keyboard shortcut for move-window/resize-window
Last modified: 2012-10-11 20:08:13 UTC
We've needed this for a while anyway but since we're changing the default from <alt> to <super>, we definitely need a way to bind/remap it to be <mod><mouse button>.
Ah, when we were talking about this, it didn't occur to me that we are talking about a button binding, not a key binding. Thats not quite as easy, because we have no framework at all for customizing these...
(In reply to comment #1) > Ah, when we were talking about this, it didn't occur to me that we are talking > about a button binding, not a key binding. Thats not quite as easy, because we > have no framework at all for customizing these... Don't we get those in the modifiers when capturing? As long as gnome-settings-daemon can ignore those, we could 1) add support for the mouse buttons to the GTK+ cell renderer 2) make sure that only the WM bindings have that support enabled.
We can certainly make a cell renderer that can capture button combinations. But we don't have any settings currently for individual button bindings. All we have is org.gnome.desktop.wm.preferences.mouse-button-modifier - and I wonder if that is all that is asked for here.
I think we should just add a setting for org.gnome.desktop.wm.preferences.mouse-button-modifier (possible values are <Super> and <Alt>) to gnome-tweak-tool
Agree. Although I would like to do this without having people need to enter the "<Super>" string. For a while I have wanted to add more keyboard shortcut configuration stuff to g-t-t (such as a simple way to configure a launch my terminal shortcut) but the last time I checked I didn't have a way to use any key-binding/shortcut cell renderers / widgets from python/gobject-introspection
(In reply to comment #5) > Agree. Although I would like to do this without having people need to enter the > "<Super>" string. Right. I was envisioning a Alt/Super combobox
Created attachment 225945 [details] [review] Add tweak for mouse-button-modifier on Windows group -- Seems that metacity/mutter also handles the "disabled" value so I added that too.
Created attachment 225946 [details] [review] Add tweak for resize-with-right-button on Windows group -- It's related to the previous setting so why not?
Attachment 225945 [details] pushed as 0d3840c - Add tweak for mouse-button-modifier on Windows group Attachment 225946 [details] pushed as c1e03e4 - Add tweak for resize-with-right-button on Windows group