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.

Jim Nilsson
  • 191
  • 1
  • 1
  • 5

3 Answers3

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

Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164
Jim Nilsson
  • 191
  • 1
  • 1
  • 5
0

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.

Pierre.Vriens
  • 1,088
  • 21
  • 13
  • 16
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.

BHP
  • 121
  • 3
  • 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 03 '20 at 14:04