How do I enable Alt + middle mouse button window resizing in Xubuntu?

As of the 11.10 release I've switched from vanilla Ubuntu to Xubuntu for a plethora of reasons. Thus far I'm loving XFCE and have nearly everything configured the way I like it. The one thing that's still got me stumped is alt + middle mouse button window resizing. How do I accomplish this in Xubuntu/XFCE?


You can use Alt + Right Button drag.


I think Alt+[Middle Mouse Button] is the Key binding used by default on Compiz and I don't know if there's a way to configure xfce to do that, but you can always type Alt+F8 to resize windows using the arrow keys.

Anyway if you want to install Compiz you can put sudo apt-get compiz on a terminal, and to run it from the startup copy the file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml to your ~/.config/xfce4/xfconf/xfce-perchannel-xml directory (if it is not already there) and change the lines

<property name="Client0_Command" type="array">
  <value type="string" value="xfwm4"/>
</property>

by

<property name="Client0_Command" type="array">
  <value type="string" value="compiz"/>
  <value type="string" value="ccp"/>
</property>