Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: how to configure resize window with alt drag

  1. #1
    Join Date
    Feb 2009
    Location
    spain
    Beans
    33
    Distro
    Lubuntu

    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.

  2. #2
    Join Date
    Jan 2007
    Location
    Romania
    Beans
    47
    Distro
    Kubuntu 10.10 Maverick Meerkat

    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

  3. #3
    Join Date
    Feb 2009
    Location
    spain
    Beans
    33
    Distro
    Lubuntu

    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.
    Last edited by vayira; June 12th, 2009 at 02:43 AM. Reason: bug

  4. #4
    Join Date
    Jan 2007
    Location
    Romania
    Beans
    47
    Distro
    Kubuntu 10.10 Maverick Meerkat

    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:
    Attached Images Attached Images

  5. #5
    Join Date
    Feb 2009
    Location
    spain
    Beans
    33
    Distro
    Lubuntu

    Re: how to configure resize window with alt drag

    Quote Originally Posted by zadehas View Post
    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.

  6. #6
    Join Date
    Jan 2007
    Location
    Romania
    Beans
    47
    Distro
    Kubuntu 10.10 Maverick Meerkat

    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.

  7. #7
    Join Date
    Feb 2009
    Location
    spain
    Beans
    33
    Distro
    Lubuntu

    Re: how to configure resize window with alt drag

    Quote Originally Posted by zadehas View Post
    <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.
    Last edited by vayira; June 13th, 2009 at 04:45 PM. Reason: typo

  8. #8
    Join Date
    May 2007
    Beans
    132

    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?

  9. #9
    Join Date
    Jul 2009
    Beans
    2
    Distro
    Xubuntu 9.04 Jaunty Jackalope

    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)

  10. #10
    Join Date
    Jul 2009
    Beans
    2
    Distro
    Xubuntu 9.04 Jaunty Jackalope

    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

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •