Welcome!

Please read this important information about Spectre and Meltdown vulnerabilities.
Please read this important information about MX sources lists.
News
  • MX Linux on social media: here
  • Mepis support still here
Current releases
  • MX-17 Final release info here
  • MX-16.1 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!
    • Read 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.
Message
Author
User avatar
richb
Administrator
Posts: 15881
Joined: Wed Jul 12, 2006 2:17 pm

Restarting the panel with a launcher

#1 Postby 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-15- 64 - migrated to MX-16 RC1
HD Test: MX-16 RC1
AMD A8 7600 FM2+ CPU R7 Graphics, fglrx driver, 16 GIG Mem. Samsung EVO SSD 250 GB, 350 GB HD

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

Re: Restarting the panel with a launcher

#2 Postby 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
eeepc 904ha antix 15 32 bit (streaming media player)
acer c720p chromebook - chromeos / MX15-64 (custom snapshot) live USB.
lenovo s21e - antiX-16 MX16(live-usb)

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

Re: Restarting the panel with a launcher

#3 Postby 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-15- 64 - migrated to MX-16 RC1
HD Test: MX-16 RC1
AMD A8 7600 FM2+ CPU R7 Graphics, fglrx driver, 16 GIG Mem. Samsung EVO SSD 250 GB, 350 GB HD


Return to “Tips&Tricks”

Who is online

Users browsing this forum: No registered users and 3 guests