I don't know what it is with the Ubuntu developers; they seem to be going out of their way to make their distribution as unpleasant to use as is humanly possible. If it wasn't bad enough that they slow it down by running the default desktop with pointless animations, and playing annoying drumbeats at boot time, they disable potentially useful features like menu tearoffs and then move everyone's titlebar buttons across to the left side, ignoring their previous defaults.
Here's a script to fix up these inanities:
# Put the buttons on the right, where they should be
gconftool-2 --type string --set /apps/metacity/general/button_layout ":minimize,maximize,close"