Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

While playing with xfce4 (on Xubuntu) I accidentally removed the notification area which is placed by default in the right of the top panel. Is there a way to restore it back to it's original state without diving into the process of adding, placing and adjusting icons?

EDIT

Actually, I'm looking for restoring the notification area to it's default original state by restoring its state "meta data" stored in the my /home directory, how can I accomplish that with the command line? Where should I go and what should I restore?

Thanks

share|improve this question

2 Answers 2

up vote 2 down vote accepted

It's just one widget, so you can just add the Notification Area panel item using the Panel configuration. You can drag-and-drop it in XFCE4 in versions prior to 4.8. With 4.8 you there is a + putton in the Items tab.

share|improve this answer
    
I edited my question so it reflects more clearly my concerns. –  palindrome Mar 27 '11 at 20:24
    
Oh, in that case try this: cp /etc/xdg/xfce4/panel/default.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml. But do it when not using xfce (say from the text console), or else it will overwrite it when it exits. –  Keith Mar 28 '11 at 1:08
    
Just what I was looking for. Thanks. –  palindrome Mar 28 '11 at 5:16

From the command line, try moving ~/.config/xfce4/panel to another directory (e.g. ~/tmp/): mkdir -p ~/tmp; mv ~/.config/xfce4/panel ~/tmp/.

But a more "safe" way would be to create a new panel (right click on the panel and choose "Customize Panel...". From there, create a new panel with the appearance and position of the one you have now. When that has been created, delete the first panel.

share|improve this answer

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.