13

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?

  • Do not apt-get remove xfce4-panel. That will hose your system. Use the other suggestions. – Daniel Blackmon Jul 2 '15 at 22:50
9

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.

  • 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
5

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.

  • 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 '16 at 16:15
4
sudo apt-get remove xfce4-panel
0

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.

0

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

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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