Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Restarting the panel with a launcher

Just as the name says, here is where you can post tips and tricks to share with other users of MEPIS.
Post Reply
Message
Author
User avatar
richb
Administrator
Posts: 17044
Joined: Wed Jul 12, 2006 2:17 pm

Restarting the panel with a launcher

#1 Post by richb » Sun Oct 30, 2016 11:13 am

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

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9292
Joined: Sun Dec 16, 2007 1:17 pm

Re: Restarting the panel with a launcher

#2 Post by dolphin_oracle » Sun Oct 30, 2016 11:34 am

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 T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

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

Re: Restarting the panel with a launcher

#3 Post by richb » Sun Oct 30, 2016 11:51 am

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

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

Post Reply

Return to “Tips&Tricks”