How To Customize Places Menu

I am building a custom MATE desktop with ansible, and am having trouble removing both the "Network" and the "Connect to Server..." items from the Places menu. I tried editing the associated ".desktop" files (setting NoDisplay=true) but that did not have an effect. Is there another config file somewhere I can use to remove these items?

Welcome to Ubuntu MATE community, @mfamuser .

If I understand things correctly, then both Network and Connect to Server are hardcoded. See

As a workaround you can hide the whole Places menu by

gsettings set org.mate.panel.menubar show-places false

To get a hope that this will be fixed in future I prepared feature request:

You may want to subscribe on it.

Thank you so much for the info! I will keep my eye on the feature request.