Restarting the panel with a launcher

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Post Reply
Message
Author
User avatar
richb
Administrator
Posts: 10322
Joined: Wed Jul 12, 2006 2:17 pm

Restarting the panel with a launcher

#1 Post by richb »

In XFCE on MX all versions, sometimes the panel needs to be refreshed for various reasons. I created a panel launcher to reload the panel. The command is:

Code: Select all

xfce4-panel -r & 
1. Left click on the panel and choose Panel>Add New Items>Launcher.
2. Right click on the new icon in the panel which brings up a dialog.
3. Click on the fourth icon down on the right side, "Add a new empty item".
4. Put the command xfce4-panel -r & in the Command box and fill the other boxes as desired.
5. You can choose an icon for the launcher by clicking on the icon in this dialog.

You can then move the icon to a location of your choice in the panel.

Note that the command xfce4-panel -r & can also be run in a terminal.

EDIT: per d_o's comment the & is not needed.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
dolphin_oracle
Developer
Posts: 19925
Joined: Sun Dec 16, 2007 1:17 pm

Re: Restarting the panel with a launcher

#2 Post by dolphin_oracle »

nice tip. I don't think you need the '&' though. In this case you are not starting the app, you are telling it via an internal function to restart.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
richb
Administrator
Posts: 10322
Joined: Wed Jul 12, 2006 2:17 pm

Re: Restarting the panel with a launcher

#3 Post by richb »

dolphin_oracle wrote:nice tip. I don't think you need the '&' though. In this case you are not starting the app, you are telling it via an internal function to restart.
Thanks and thanks for the clarification. I will suggest removing it.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

Post Reply

Return to “Tips & Tricks by users”