13

Sometimes, the unity panel just stops working, meaning I can't access any menus for the programs I'm running. I know I can probably log in/out but that really puts an uncomfortable hickup in my work flow.

How can I restart unity-panel when it stops working?

Anonymous Entity
  • 360
  • 2
  • 6
  • 17

1 Answers1

15

To restart unity-panel-service, just run the following command in terminal:

kill $(pgrep unity-panel-ser)

Like this, the old process of unity-panel-service will be killed and a new one will start automatically (so you don't have to care to start yourself again).

Radu Rădeanu
  • 166,822
  • 48
  • 327
  • 400
  • 3
    ```kill -9 $(pgrep unity-panel-ser)``` only works for me – freemanoid Nov 11 '13 at 15:09
  • 2
    After `kill -9 $(pgrep unity-panel-ser)` I also had to run `compiz --replace` – Phil Oct 20 '14 at 15:10
  • This command severely messed up my GUI, and `compiz --replace` did not help. `compiz` did, but does not terminate, so now I dare not close the terminal... – dremodaris Jul 26 '18 at 10:28
  • `kill $(pgrep unity-panel-ser)` kills it. But it never comes back. And `unity-panel-service: command not found`. How to start it back? – s.k Jan 31 '21 at 15:31