21

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?

  • You could try rebooting – M. Becerra Mar 9 '17 at 16:57
37

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

(Source: http://manpages.org/xfce4-panel)

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).

0

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.

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.