Ubuntu 10.04 (Lucid Lynx) Setup
To fix the stupid window controls and get the text-mode location bar in nautilus:
#!/bin/sh
gconftool-2 --type string --set \
/apps/metacity/general/button_layout ":minimize,maximize,close" &&
gconftool-2 --type=Boolean --set \
/apps/nautilus/preferences/always_use_location_entry true
Note that I removed the ‘menu’ from the window controls. If you want it bone stock, use "menu:minimize,maximize,close" instead.