Changing the primary monitor in a dual-monitor configuration

sudo apt-get install x11-xserver-utils
xrandr #to find out the names of the displays
xrandr --output DVI-0 --primary