Last night I installed all of the recommended updates for my Ubuntu 8.04 laptop using Gnome. Today I restarted and noticed that all of my windows buttons for minimizing, maximizing and closing were missing. In addition I couldn’t drag any of the windows around.
To fix this I opened a terminal window and ran the following command
Be sure that you use two dashes together if you need to restore your window controls.