Often, I stumble upon some small compiz bug or corruption in the screenoutput. when that happens I run unity --replace from a vty.

That fixes it, but reloading unity in this way makes the global menu bar disappear (every window thus gets its own menu bar) as well as the system tray (the one with date, sound, system menus).

I guess that telling them through dbus to connect to the new unity process might work, or alternatively kill and restart their processes.

I just discovered that I can get back the system tray/panel by launching /usr/lib/unity/unity-panel-service (I wonder why this isn't restarted by unity --replace), but this still leaves the global menu missing.

1 Answer 1


This command should work:


but be sure to run it from run box Alt+F2 not terminal.

If you want to run it from a terminal you have to use:

setsid unity
  • No, the panel and global menu are still missing (thanks btw, I didn't knew about setsid)
    – berdario
    Mar 5, 2014 at 9:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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