how to configure resize window with alt drag
Hi I'm getting used to gnome after a few years of KDE.
I'd like to configure the alt-middlebutton-drag method of resizing windows so that I can do it with alt-rightbutton-drag. (I use a two button ergonomic mouse that doesn't have a middle-button)
Where can I configure this in gnome?
I read somewhere that you can do it in CCSM, so I installed it, but the option is not available there.
I'm using Jaunty
Thanks for any help.
Re: how to configure resize window with alt drag
Start CompizConfig Settings Manager
Go to "Window Management"
Click "Resize Window"
Go to "Initiate Window Resize" with a mouse symbol and choose <Alt> Button3
I'm not sure about the button though, you can try until you get it right
Re: how to configure resize window with alt drag
Thanks for that. The only thing is it doesn't work! I get this message...
The new value for the button binding for the action Initiate Window Resize in plugin Resize Window conflicts with the action Window Menu of the General Options plugin.
Do you wish to disable Window Menu in the General Options plugin?
If I try any of the the 3 options that follow, apparently compiz accepts it, but nothing changes & when I go back to CompizConfig Settings Manager everything has gone back to the defaults.
Also, if I try changing the key from alt to ctrl, it modifies the settings for moving the window instead of resizing so there is something very buggy there. All those special effects, but something so basic doesn't work! I have now tried editing all of the settings related to moving, resizing & draging the windows - all I get is defaults or disabled despite the options which are supposedly there.
1 Attachment(s)
Re: how to configure resize window with alt drag
Well, to be honest, I use the Super (Windows Logo) key for this action, it seems somewhat more handy.
Here's a screenshot of my Resize Window section:
Re: how to configure resize window with alt drag
Quote:
Originally Posted by
zadehas
Well, to be honest, I use the Super (Windows Logo) key for this action, it seems somewhat more handy.
I don't mind which key it is, but I'd like to be able to use the right hand mouse button (3) as my ergonomic mouse doesn't have a middle button. Gnome/compiz just keeps putting everything back to the the default mouse buttons. I can change the key no prob. This looks like a bug to me.
The menu that pops up with the right button by default is no use to me. I've never used it, whereas I resize all the time.
Re: how to configure resize window with alt drag
I see now what you mean.
I don't have a solution for using button3, but for me this setting:
<Alt>Button2
will work by pressing Alt and both mouse buttons, which I think is just as good.
Re: how to configure resize window with alt drag
Quote:
Originally Posted by
zadehas
<Alt>Button2
will work by pressing Alt and both mouse buttons, which I think is just as good.
It is not possible to push both buttons at the same time on my ergonomic mouse because it is a single rocker switch which works as left or right click. It is very comfortable to use as I have the beginings of repetitive strain & normal mice make my wrist very painful.
I'm going to take another look at KDE to see if 4 is usable yet. Gnome seems to be very limited in terms of configuration.
Re: how to configure resize window with alt drag
Back when I was still running Arch Linux on this computer changing from alt+middle click to alt+left click throuch ccsm was not a problem, so it seems like it is Ubuntu specific.
Have you filed a bug report?
Re: how to configure resize window with alt drag
hi guys...
any follow up to this?
im using fluxbox -- and after a fresh reinstall of 9.04, the LClick+alt to resize and RClick+ctrl to move windows is gone.
i was always under the impression that this was a function of xorg itself, and not the wm. (the function is also in several other wm's)
Re: how to configure resize window with alt drag
thought i would just post the solution i found to my problem. its in the keys file. i guess at some point, they decided to make the dragging and wheel actions customizable as well.
from ~/.fluxbox/keys
Code:
# alt + left/right click to move/resize a window
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
# scroll on the desktop to change workspaces
OnDesktop Mouse5 :PrevWorkspace
OnDesktop Mouse4 :NextWorkspace
# scroll on the toolbar to change workspaces
OnToolbar Mouse5 :PrevWorkspace
OnToolbar Mouse4 :NextWorkspace