I accidentally deleted the panel

I accidentally deleted the panel. I added a new panel, but most of the functionality is not there, such as the open applications icon, volume control, workspaces, etc. that was with the original panel when I installed the OS. Is there any way to get those original icons back?

Deleted is deleted. There is no undoing that. You will have to spend a couple of minutes adding and reconfiguring all items as they were or as you like them. See it as opportunity to test all possible widgets from the list. Hint: right click - panel - new items. Moving is also done with right click-move and then move with the mouse and click to finalize.

p.s. i guess someone with vanilla install can also provide config files, mines are already heavily customized.

right click on panel - add new elements (can only be used to add)
or
right click on panel - panel settings → the objects tab can be used to add them, move them around and also to remove what you don’t need

You want the
Whisker menu instead of the default starter
Window Buttons
a spacer
show desktop or however it is called in english
Workplace switcher
Status Tray
Pulse Audio Module - for access to sound volume and such
Clock
and
Action Buttons - for logout, suspend, shutdown …

It’s a two minute task - maybe 10 if you are not familiar.

And power manager if on laptop, and keyboard layout if multilingual. That is the basics. From there - the sky is the limit.

And if you would like a simple way to avoid this problem in future, have a look at:

Using Konsave you can backup and restore your desktop configuration; in fact, you can even save multiple configurations under different names.

It will need some manual configuration for XFCE; but worth it.

A real time saver. Cheers.

This is not at all tested on xfce, so instead of rewriting it to fit, it might be a lot easier to just backup ~/.config/xfce4/

2 Likes

… yes, but “playing it back” is not completely straightforward
as it can’t be done from within the running session without first turning off the xfsettingsd daemon
Otherwise, some or most of the changes will simply not “stick”.

either do it from a TTY when logged out
or
pkill xfsettingsd
before you do
then log out and back in

2 Likes

The xfce4-panel configuration is saved to ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

Default panel configuration from latest Xfce ISO (24.1.0):

<?xml version="1.0" encoding="UTF-8"?>
 
<channel name="xfce4-panel" version="1.0">
  <property name="panels" type="uint" value="1">
    <property name="panel-0" type="empty">
      <property name="position" type="string" value="p=8;x=720;y=884"/>
      <property name="length" type="uint" value="100"/>
      <property name="position-locked" type="bool" value="true"/>
      <property name="plugin-ids" type="array">
        <value type="int" value="8"/>
        <value type="int" value="3"/>
        <value type="int" value="7"/>
        <value type="int" value="1"/>
        <value type="int" value="4"/>
        <value type="int" value="6"/>
        <value type="int" value="9"/>
        <value type="int" value="5"/>
        <value type="int" value="2"/>
      </property>
      <property name="role" type="string" value="xfce4-panel-12965750720"/>
      <property name="length-adjust" type="bool" value="true"/>
      <property name="background-style" type="uint" value="0"/>
      <property name="size" type="uint" value="36"/>
      <property name="mode" type="uint" value="0"/>
      <property name="autohide-behavior" type="uint" value="0"/>
      <property name="icon-size" type="uint" value="28"/>
      <property name="enable-struts" type="bool" value="true"/>
    </property>
  </property>
  <property name="plugins" type="empty">
    <property name="plugin-2" type="string" value="actions">
      <property name="appearance" type="uint" value="0"/>
      <property name="invert-orientation" type="bool" value="false"/>
      <property name="items" type="array">
        <value type="string" value="-logout-dialog"/>
        <value type="string" value="-switch-user"/>
        <value type="string" value="-separator"/>
        <value type="string" value="+logout"/>
        <value type="string" value="-lock-screen"/>
        <value type="string" value="-hibernate"/>
        <value type="string" value="-suspend"/>
        <value type="string" value="-restart"/>
        <value type="string" value="-shutdown"/>
      </property>
    </property>
    <property name="plugin-4" type="string" value="pager"/>
    <property name="plugin-6" type="string" value="systray">
      <property name="names-visible" type="array">
        <value type="string" value="pnmixer"/>
        <value type="string" value="manjaro-settings-manager-daemon"/>
        <value type="string" value="networkmanager applet"/>
        <value type="string" value="orage"/>
        <value type="string" value="pamac-tray"/>
        <value type="string" value="blueman-applet"/>
        <value type="string" value="clipman"/>
        <value type="string" value="xfce4-power-manager"/>
        <value type="string" value="xnoise"/>
      </property>
      <property name="show-frame" type="bool" value="false"/>
      <property name="known-legacy-items" type="array">
        <value type="string" value="pamac-tray"/>
        <value type="string" value="clipman"/>
        <value type="string" value="networkmanager applet"/>
      </property>
    </property>
    <property name="plugin-3" type="string" value="tasklist">
      <property name="grouping" type="uint" value="1"/>
    </property>
    <property name="plugin-7" type="string" value="separator">
      <property name="expand" type="bool" value="true"/>
      <property name="style" type="uint" value="0"/>
    </property>
    <property name="plugin-9" type="string" value="pulseaudio">
      <property name="enable-keyboard-shortcuts" type="bool" value="true"/>
    </property>
    <property name="plugin-8" type="string" value="whiskermenu">
      <property name="button-icon" type="string" value="/usr/share/icons/whiskermenu-manjaro.svg"/>
      <property name="menu-width" type="int" value="400"/>
      <property name="menu-height" type="int" value="519"/>
      <property name="command-switchuser" type="string" value="dm-tool switch-to-greeter"/>
      <property name="show-command-switchuser" type="bool" value="true"/>
      <property name="favorites" type="array">
        <value type="string" value="xfce4-terminal-emulator.desktop"/>
        <value type="string" value="xfce4-file-manager.desktop"/>
        <value type="string" value="xfce4-web-browser.desktop"/>
        <value type="string" value="xfce4-mail-reader.desktop"/>
        <value type="string" value="org.manjaro.pamac-manager.desktop"/>
      </property>
    </property>
    <property name="plugin-5" type="string" value="clock"/>
    <property name="plugin-1" type="string" value="showdesktop"/>
  </property>
  <property name="configver" type="int" value="2"/>
</channel>

2 Likes