3

I am trying to get rid of the taskbar/menubar completely but I can not find how to do it either by googling or going through the menus offered by LXDE. Under 'Appearance Settings' I am only able to set the size and position of the menubar but there is no option to remove it.

Is there a file I can edit in order to remove the menubar and if so, what should I look for in this file in order to accomplish this?

By taskbar/menubar I mean the bar that is visible on the top/bottom of the desktop which contains some program shortcuts and displays the time among other things.

2

3 Answers 3

6

To disable the taskbar you need to edit the file /etc/xdg/lxsession/LXDE-pi/autostart and comment the line (with #):

@lxpanel --profile LXDE

On the next boot, the menu should have disappeared

1

Almost...

You also need to comment out that line in the home directory configuration file ~pi/.config/lxsession/LXDE-pi/autostart. Otherwise, it will take over. ie:

vi /home/pi/config/lxsession/LXDE-pi/autostart
#@lxpanel --profile LXDE

Then reboot.

1
  • how do i exit vi? I'm stuck!!!
    – ELI7VH
    Jul 23, 2022 at 2:34
0

In Raspbian Buster, edit /etc/xdg/lxsession/LXDE-pi/autostart file and comment @lxpanel --profile LXDE-pi line. It is usually the first line.

1
  • Welcome to the site, and thank you for your contribution. Please note, however that this is exactly what the OP proposed in the accepted answer (save for the profile name). If your answer was meant to add a different aspect, please edit it to make that clearer.
    – AdminBee
    Nov 3, 2020 at 14:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .