46

I am running Xubuntu 16.04.2 LTS with Xfce 4.12

I have customized the panel, but after saving the changes I got the message:

"Please restart the panel for visibility changes to take effect."

How can I restart the panel?

Braiam
  • 66,947
  • 30
  • 177
  • 264
codeaviator
  • 1,707
  • 1
  • 11
  • 21

4 Answers4

78

To restart the panel, open the terminal and run the following command:

xfce4-panel -r

Your changes should be visible now.


The -r option stands for restart, as described in the man page:

-r, --restart

Restart the running panel instance

Cadoiz
  • 268
  • 1
  • 9
codeaviator
  • 1,707
  • 1
  • 11
  • 21
3

Sometimes I find that, xfce panel is gone. Therefore I need to restart the panel.

Above restart process do not work 100%. In my system, it cannot initialize session-buttons and other add-on(s).

To complete panel restart, just open the task manager and kill the xfce4-panel process. Don't worry. System will restart the panel just after is has been killed.

Shafi
  • 133
  • 7
0

If you think you'd be better off killing the panel process first, try this:

#!/bin/sh

panelcommand=$(ps aux | grep -e "xfce4-panel" | grep -e "--display" | awk '{print $11,$12,$13,$14,$15}')

ps aux | grep -e "xfce4-panel" | grep -e "--display" | awk '{print $2}' | xargs kill

$panelcommand

Works fine in Debian 07 (Wheezy).

Digger
  • 166
  • 1
  • 7
0
pkill xfce4-panel ; xfce4-panel &
Artur Meinild
  • 21,605
  • 21
  • 56
  • 89
Alcamtar
  • 494
  • 5
  • 7