1

I have Mate desktop installed on Ubuntu and I'm trying to hide the complete 'System' menu on the top panel using commandline but couldn't figure out how to do that.

Please could anyone provide some help? Thanks

yis
  • 23

1 Answers1

1

It’s

$ gsettings set org.mate.panel.menubar show-desktop false
Melebius
  • 11,431
  • 9
  • 52
  • 78
  • this works if I do it using terminal within Ubuntu . how can I achieve the same if I ssh to the machine? I got a dconf-WARNING error.failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY. where does gsettings store it file? Thanks – yis Jun 10 '18 at 23:50
  • I found out I need to edit /usr/share/glib-2.0/schemas/org.mate.panel.menubar.gschema.xml change 'show-desktop' to false, and recompile schemas using glib-compile-schemas – yis Jun 11 '18 at 00:08
  • It depends on whether the user session is currently running or not. So you either need to attach to the current D-Bus session or launch a new one, see https://askubuntu.com/questions/457016/how-to-change-gsettings-via-remote-shell – petermbauer Jun 12 '18 at 03:35