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?
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
~/.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.
You can't not delete all panels, the right way of doing this is disable it from autostart.
/etc/xdg/xfce4/xinitrc , find the line to start
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.
sudo apt-get remove xfce4-panel
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.
The only way I managed to get rid of the panel is to execute
sudo chmod a-rwx /usr/bin/xfce4-panel
I wasn't able to easily remove it, but I did make it invisible. In my case I wanted to be able to make the screen completely empty. I changed the desktop background to black, removed all of the desktop icons, and put the last panel in the upper left corner of the screen. I enabled the "always hide" option in the panel and set the background of the panel to match the desktop. The panel has a single item to enable easy log out. So if I move the mouse to the upper left I can see the logout button but otherwise the screen is completely empty.