How can I restart the menu bar in Unity?

11,890

You can do this by restarting Unity:

  • You can press Alt+F2, then type "unity", then click Enter to restart unity.

  • Or you can run below command in terminal to restart Unity:

    setsid unity
    
Share:
11,890

Related videos on Youtube

Steve Kroon
Author by

Steve Kroon

Computer Science lecturer at Stellenbosch University, South Africa.

Updated on September 18, 2022

Comments

  • Steve Kroon
    Steve Kroon almost 2 years

    My Unity menu bar is no longer working. Clicking on top-level menu items (on the right hand general menu items, or on the app-specific items on the left) registers visually, but menus don't drop down. (For example, clicking on the microphone icon causes the icon to flash, noting I clicked there, but the sound menu does not drop down).

    How can I restart the menu bar without exiting Unity.

    • sevenseacat
      sevenseacat over 10 years
      I have to do this all the time - do you know why the menu bar keeps stopping like this?
    • Steve Kroon
      Steve Kroon over 10 years
      No idea; however, this hasn't happened to me in a while now, so if your system hasn't got all the updates installed, you might want to run an update.
    • sevenseacat
      sevenseacat over 10 years
      Yeah I've only seen it since upgrading to saucy, and I see it every couple of hours or so. Frustrating. Oh well, at least there's an easy fix.
  • Steve Kroon
    Steve Kroon almost 11 years
    Restarting unity will close all my open applications, right? I specifically just want to restart the menu bar. Or is this not possible?
  • Radu Rădeanu
    Radu Rădeanu almost 11 years
    No, restarting Unity will not affect any opened application.
  • carbontax
    carbontax over 8 years
    In practice I cannot remember this ever working. There has always been some underlying state that has caused the menu bar to disappear. Restarting unity does nothing to clear up the underlying issue, so I have to kill my login session anyway.
  • Tgr
    Tgr over 7 years
    This did close all the applications for me (in Ubuntu 16.04), except for the gnome-terminal windows for some reason...
  • tlwhitec
    tlwhitec over 7 years
    all my apps got closed on ubuntu 14.04
  • matanster
    matanster over 6 years
    Worked cool for me. Chrome crashed during the process but all else seamlessly persevered.
  • Steve Kroon
    Steve Kroon almost 5 years
    My apps (except the terminal) also got closed on 16.04.