Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
Do not apt-get remove xfce4-panel. That will hose your system. Use the other suggestions. – Daniel Blackmon Jul 2 '15 at 22:50

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
This file doesn't have that line on my debian 8 install. It does have the $panel\n ret=$?\n while... however... – user3728501 Feb 14 at 16:15
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

The only way I managed to get rid of the panel is to execute sudo chmod a-rwx /usr/bin/xfce4-panel

share|improve this answer

Your Answer


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.