Ubuntu 12.04 Missing Close, Minimize and Maximize Button after Update and Upgrade [duplicate]

I just do update and upgrade, but I miss close, minimize and maximize button along with top border title bar after that.

I did metacity --replace and unity --reset, It didn't work for me.

Also, I set in the gconf-editor default metacity>general to close, minimize, maximize:

and it didn't work.

The last, I unchecked windows decoration in Compiz, and it didn't work too.

Any help will be highly appreciated, and I attach a screenshot of a window without the title bar as one example of my problem.

enter image description here


Solution 1:

Hope this works: try this:

gtk-window-decorator --replace

Solution 2:

This problem prevails only when the video driver of the system is not compatible or not installed. Check in hardware upgrade, is there any updates available for your hardware. And if not, search for the drivers for the specific hardware and install it to overcome this problem.