In Windows 7, if you drag a window to the top of the screen, it will maximize, and if you drag to the side, it will restore to half size of the screen on that side.
Is there any window manager or plugin for Nautilus with this features?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
This worked for me in the past, give this a try and let's see if is yet working.
In CompizConfig Settings Manager, let's choose the option "Commands" and let's find the list of available commands. Then:
In Command 0
WIDTH=`xdpyinfo | grep 'dimensions:' | cut -f 2 -d ':' | cut -f 1 -d 'x'` && HALF=$(($WIDTH/2)) && wmctrl -r :ACTIVE: -b add,maximized_vert && wmctrl -r :ACTIVE: -e 0,0,0,$HALF,-1
In Command 1
WIDTH=`xdpyinfo | grep 'dimensions:' | cut -f 2 -d ':' | cut -f 1 -d 'x'` && HALF=$(($WIDTH/2)) && wmctrl -r :ACTIVE: -b add,maximized_vert && wmctrl -r :ACTIVE: -e 0,$HALF,0,$HALF,-1
In Command 2
wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
It should look like this:
Now, clic on the "Edge Bindings" and set the next options:
Run Command 0 - Left Run Command 1 - Right Run Command 2 - Top
And it will look like this:
If you wish you can add a small delay in the "Edge Trigger delay" option in the "General Options" of the CompizConfig Settings Manager main screen. 400 miliseconds will do the trick.
In 11.04, the default is that if you drag a window to the top of the screen, then it is maximized. To the right or left edge, it is maximized horizontally, taking up half the width of the screen.
There is also keyboard shortcuts: ctrl+alt+1,3,9,7 places the window in the corresponding corner, taking up half the height and half the width of the screen. c-a+4,6 maximizes horizontally and uses half the width of the screen (like dragging it to the left or right) c-a+0 maximizes the window.
Lots of other awesomeness as well :)
Gnome 3 comes with these features. Drag to the left or right and it fills that half of the screen, drag to the top and it maximizes, and drag a maximized window anywhere and it becomes normal size again. Unfortunately I can't seem to find a good link detailing this, but I'm using it right now.
GNOME 3's interface is a lot different than Windows though, so you may not like it. You can always remove it if you don't though.