Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I reset my XFCE panels to the default settings that xubuntu uses?

share|improve this question

2 Answers

First kill all running instances of XFCE-panel:

killall xfce4-panel

Then remove its configuration folder (while also backing it up):

mv ~/.config/xfce4/panel ~/.config/xfce4/panelbackup

Now restart the panel and it should have the stock look.

You can restore your previous configuration with:

killall xfce4-panel
mv ~/.config/xfce4/panelbackup ~/.config/xfce4/panel
share|improve this answer
1  
That didn't work, but that's what others have said too. I'll write the answer that worked for me. – Evan Carroll Nov 30 '12 at 21:28
up vote 1 down vote accepted

XFCE stores it's configuration for the running session in xfconfd. Feel free to back up the files you're going to delete first.

  1. Shut down the panel first, xfce4-panel --quit
  2. Kill the xfce4 configuration daemon, pkill xfconfd
  3. First delete settings for the panel, rm -rf ~/.config/xfce4/panel
  4. Clear out the settings for xfconfd, rm -rf ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
  5. Restart the panel, run xfce4-panel. This will respawn xfconfd automatically. Note if you need or want to restart xfconfd manually know that on my installation it was in /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd which was outside of $PATH.

This clears it for the running session, regenerates the files, and sets up the default for future sessions.

share|improve this answer
1  
I suggest using the mv command or at least suggesting to copy the folder elsewhere before deleting anything. – mateo_salta Nov 30 '12 at 22:05
I wouldn't suggest that. This is a simple reset to defaults. In no paradigm does a Reset to Defaults → Apply provide for an Undo. I take it the users understand this, as I could not think of anything that would lead them to expect anything else. – Evan Carroll Nov 30 '12 at 23:14
1  
except that using rm -rf can be dangerous if you miss-type, If you accidentally move something else, you can simply move it back. – mateo_salta Nov 30 '12 at 23:51
1  
THANK YOU! my panel disappeared and I was having trouble finding a way to restore it with my old (backed up) settings without logging out, this worked! – weronika Dec 20 '12 at 5:22
1  
@EvanCarroll I did back when I made that comment - apparently it got some downvotes as well. – weronika Mar 26 at 21:04
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.