How to enable alt+right click to resize window [duplicate]

Solution 1:

Install compizconfig-settings-manager

sudo apt-get install compizconfig-settings-manager

and run ccsm from the Dash or from a Terminal window.

ccsm

Click Window Management and Resize Window.

For 🐭 | Initiate Window Resize assign <Alt>Button3.

Solution 2:

The answer from here describes a method that works in both 12.04 (and possibly older versions) as well as 12.10/13.04 with the new gsettings

Put this in a script and run it:

#!/bin/bash
gconftool-2 -s -t bool /apps/metacity/general/resize_with_right_button true
gsettings set org.gnome.desktop.wm.preferences resize-with-right-button true

The gconftool-2 line is for GConf based systems, and gsettings is its newer replacement.

Solution 3:

Here is the solution I found:

Use gconf-editor and set /apps/metacity/general: resize_with_right_button = true