Ubuntu – Automatically size windows using Xfce like in gnome


I would like to drag my windows to the left or right side of the desktop and have them automatically resized like it works with Gnome or Windows 7. And to maximize them when dragging them to the top.
How is that possible in Xfce?

Best Answer

12.10 and above

Tiling snap is built into the XFCE window manager, just drag your windows to the edges of the screen for the snap to occur.

11.10 & 12.04

If you want the "tiling-snap" of compiz you will need to get your coding-hands dirty because this was made available as a code-patch for these two ubuntu releases.

According to this article - there is a patch available to enable windows tiling (aka windows snap) for the xfwm4 compositing manager.

There is a great you-tube video showing this in action.

enter image description here

I have applied this patch and uploaded this to my PPA.

to install

sudo add-apt-repository ppa:fossfreedom/xfwm4
sudo apt-get update
sudo apt-get install xfwm4

logout and login

If don't want to install the modified xfce window manager, you will need to use compiz as your compositing manager to enable tiling:

sudo apt-get install compiz compizconfig-settings-manager

Then add compiz --replace ccp & to your autostart programs list.

Related Question