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