In 11.04, using traditional GNOME (not Unity), windows suddenly lose their decorations way too often:
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.
It's
unity-window-decorator &
(or if you cannot type anything, go to a virtual terminal and doDISPLAY=:0.0 unity-window-decorator &
).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 tocompiz-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.