Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In 11.04, using traditional GNOME (not Unity), windows suddenly lose their decorations way too often:

Gnome-terminal window with no decorations

For the next time this happens, can anyone suggest a fix that would be quicker than logging out & back in (i.e., having to close all programs)? Perhaps relaunching some service or process?

NB: simply doing metacity --replace does not fully fix the GNOME session; at least visual effects are lost.

share|improve this question
up vote 3 down vote accepted

It's unity-window-decorator & (or if you cannot type anything, go to a virtual terminal and do DISPLAY=:0.0 unity-window-decorator &).

share|improve this answer
Thanks! I try this the next time it happens. By the way, does unity-window-decorator & work even when I'm not using Unity (see question)? – Jonik Jun 3 '11 at 7:33
Yes, that's what normal Compiz in GNOME uses in 11.04 (it's even part of Compiz, not Unity). – htorque Jun 3 '11 at 7:47
Worked great, thanks! – Jonik Jun 6 '11 at 8:41
Jeez, this bug is pretty annoying. I've had to use this command 4 times today so far... – Jonik Jun 6 '11 at 12:41

I fixed this issue permanently by entering CompizConfig Settings Manager (CCSM) —if you don't have it do sudo apt-get install compizconfig-settings-manager—, going into the Window Decorations options, and changing the Command setting to compiz-decorator.

Backing out of this menu, then unchecking Window Decoration, allowing the desktop to reload, then checking Window Decoration and exiting out of CCSM.

After doing this, I can no longer reproduce the issue.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.