Debugging Kali Linux Tutorial MK007  

How to reset Xfce4 panel settings in Kali Linux

Reset Xfce4 Panel Settings to Default in Linux

Hi Geeks,

This post was prepared for guiding you how to reset xfce4 panel or top panel settings to default settings in Kali Linux. This method is working well in Xfce desktop environment.


The Xfce Panel is part of the Xfce Desktop Environment and features application launchers, panel menus, a workspace switcher and more. Many aspects of the panel can be configured through the GUI , but also by GTK+ style properties and hidden Xfconf settings.

Reset Xfce4 panel:


  • Shut Down Xfce4 Panel
  • Kill Xfce4 Configuration
  • Delete Panel Settings
  • Delete xfconfd Settings
  • Restart the Panel

Shut Down Panel:

Before reset, first shut down the xfce4 panel.

Open a terminal and run the following command for panel shut down,

mk007@linuxlia:~$ sudo xfce4-panel --quit

Kill Xfce4 Configuration:

Next kill the xfce4 configuration daemon by running the follwoing command,

mk007@linuxlia:~$ sudo pkill xfconfd

Delete Panel Settings:

Now delete the panel settings by the following command.

mk007@linuxlia:~$ sudo rm -rf ~/.config/xfce4/panel

Delete xfconfd Settings:

In this final step, clear out the xfconfd settings.

Open a terminal and run the following command.

mk007@linuxlia:~$ sudo rm -rf ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

Finally the xfce4 panel settings changed to the default system settings.

Restart Panel:

After the reset, you want to restart xfce4 panel manually. Otherwise it doesn’t appear in top of the display.

So run the following command for restarting it.

mk007@linuxlia:~$ sudo xfce4-panel

Alright, now the xfce4 panel settings was changed to default system settings.

Finally inner peace.


GDBUS Error:

For some unlucky geeks, during the process they are encountered by the following error,

GDBus:Error:org.freedesktop.DBus| Failed to show the preferences dialogue

For resolving this error,you want to delete the cache.

open a terminal and run the following commands for deleting the cache files.

First switch the directory to Desktop.

mk007@linuxlia:~$ cd Desktop

Now run the following command for  clearing the caches.

mk007@linuxlia:~$ sudo rm -rf ~/.cache/sessions


If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Leave A Comment