48

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
  • 67,791
  • 32
  • 179
  • 269
codeaviator
  • 1,757

4 Answers4

80

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
  • 278
codeaviator
  • 1,757
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
1
pkill xfce4-panel ; xfce4-panel &
Artur Meinild
  • 26,018
Alcamtar
  • 514
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
  • 176