sudo apt-get install gconf-editor
run it, and navigate to apps/metacity/general and enable "resize_with_right_button" key.
In Ubuntu 14.04
sudo apt-get install compizconfig-settings-manager
ccsm
Click
Window Management
and Resize Window
.Set the key to "<Alt>Button3"
For Linux Mint (version now: 17):
gsettings set org.cinnamon.desktop.wm.preferences resize-with-right-button true