yesterday everything was fine and today when i logged on to my ubuntu 10.10 I noticed that the icons in the top of each menu dissapeared(I mean the the bar where the close mini maize etc..) this problem is not new for me in ubuntu 10.10 but it also happened in ubuntu 10.04 so please if somebody knows how to fix this post the answer
7 Answers
Fixed it for now I hope it wont happened again.
I ended up running: metacity --replace
in the terminal to replace the window decorations.

- 48,101

- 795
for better GUI application, try to install Compiz fusion Icon.
sudo apt-get install fusion-icon
if your metacity is not apear again, just run the application (Applications > System tools > Compiz fusion icon), the application's tray icon will appear and then right click the icon, choose reload window manager.
make sure you have selected 'compiz' in 'Select window manager' that tray icon menu.

- 3,054
under Ubuntu 20.10 none of those work, they just crash gnome-shell ad give you a big white screen with a logout button in it, so you have to logout and backe in again no change to the problem

- 53
- 1
- 7
Happened to me, too (some weird update?).... My solution was install latest NVIDIA drivers. That fixed the problem (wherever it was).

- 4,112
I use Ubuntu 12.04.1 LTS with Gnome Classic. Today, after reboot, the window decorations disappeared. I was able to fix this by following these steps:
Open System > Preferences > CompizConfig Settings Manager; if it isn't installed, just run
sudo apt-get install compizconfig-settings-manager
in a terminal.Once open, scroll down to the Effects section, where you will see Window Decoration is not enabled. Simply click the check box to the left of it, and you should see your window borders reappear.
For me the check box was still checked, but unchecking and re-checking made the decorations reappear.

- 466
You could try this
gconftool-2 -s /desktop/gnome/session/required_components/windowmanager metacity --type string

- 48,101
If this problem appears more often, you will likely want to add metacity --replace
to your startup commands.

- 31
-
I'm not sure why this was downvoted, I have
compiz --replace
in my startup commands to fix this same problem. – Nick Pascucci Jan 23 '11 at 23:29
nohup metacity --replace &
and then, if you have visual effects enabled in System -> Preferences -> Appearance -> Visual Effects, runnohup compiz --replace &
, what is the content of~/nohup.out
(a text file)? – ændrük Oct 11 '10 at 15:14