How to use mate panel in lxde


#1

Some of you may have weak or old devices. That being the case, you may, as I do, use Lubuntu or some other LXDE based distro on the those machines. However, you may also have noticed that the LXDE menu is almost impossible to customize in any way. With that in mind, the following are instructions for removing lxpanel and having mate-panel run in LXDE instead. It adds about 30MB to the RAM load on the system. But, in my view, this is a very small price to pay for such increased functionality.


Open a terminal and enter the following:

sudo apt-get install mate-panel

Then, on the menu, go to “preferences/default applications for LXSession” and choose the “core applications” tab. You will see a list on the right. Look for the “panel” option and change it from “lxpanel” to “mate-panel”.

Then log out and back in.

You will find the lxpanel has now been replaced with mate panel. This will change RAM consumption from around 200MB (with lxpanel) to around 230MB (with mate-panel).

You will also need to install “mozo” to be able to edit the mate menu.

sudo apt-get install mozo

As I said, the main advantage of the above customization is that it gives all of the lightweightness of LXDE with the ease of use and easy customisability of mate menu.

All of the above works on Ubuntu server/mini with the vanilla LXDE desktop. It also works on Lubuntu 16.04 LTS. I have not yet tried it on Lubuntu 17.10. But, I should think it will work on that as well.


#2

You should test Lubuntu 17.10 because LXDE is GTK2 and MATE is now GTK3. I don’t know how lxsession launches “core applications”, if they are out-process it should be fine but if they are not you can’t mix GTK2 and GTK3 in the same process and it will segfault.


#3

Yes, just tested it and you are right Martin. It basically hangs at the desktop as it logs in. No panels or anything else appears.

So, it would seem this only works with LXDE or its derivatives such as Lubuntu up to 16.04. Or, with Openbox.

If anyone uses Openbox, they will need to then install pcmanfm as their file manager if they want a lightweight desktop manager in order to have icons on the desktop. Either that, or use something like iDesk.

I should say, I have tried the mate panels with Openbox and it is incredibly lightweight. It comes in around 180MB on the Ram. That’s with openbox, mate panels and compton compositor running at startup. With PcmanFM running the desktop, is comes in around 200MB. Which is not much different to the LXDE desktop because that is not far off what will have been built by that point.