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.

I'm pretty happy with AWN and need no native XFCE panels. I've removed all of them but can't remove the last one remaining. Is there a decent way to do it?

share|improve this question

4 Answers 4

killall xfce4-panel, then save the session to prevent xfce4-panel from starting again.


EDIT: A 'cleaner' way would be to create a ~/.xinitrc and start everything maunally(ie: xfwm4, xfsettingsd, etc). startxfce4 starts xfce's sessions manager which in turn, starts all that stuff like xfce4-panel that you don't want.

You could also edit /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml or ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml and comment out or delete the xfce4-panel part, but that is just doing the very same thing xfce4's session saving does via a text file.

share|improve this answer
    
Thank you for the answer but I don't like to use session saving facility. I'd appreciate a cleaner way to disable xfce4-panel. –  Ivan May 14 '12 at 19:22
    
Not sure of your definition of 'cleaner', but i added more infomation. –  llua May 15 '12 at 19:49

You can't not delete all panels, the right way of doing this is disable it from autostart.

Edit /etc/xdg/xfce4/xinitrc , find the line to start xfce4-panel ,

enter image description here

Comment it out by placing a '#' in front of it , here , change the line 169 to #$panel , that will solved your issue.

When you want to re-enable panel , just remove the # at that line.

share|improve this answer
sudo apt-get remove xfce4-panel
share|improve this answer

At the very least, if you cannot remove the last panel from the Panel Preferences, then you can make it as small as possible, move it to the screen's edge and select "Automatically hide and show panel" and Lock Panel. That should minimize the real estate it uses. When I do that with a new panel, I get so rectangle in the corner of the screen that opens to the size of the mouse when I hover over it.

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.