I am using the MATE desktop environment in Debian. I do not want LibreOffice displayed in my Applications menu (but I do want to have LibreOffice installed). I have tried editing the .desktop files (which, btw, are scattered throughout the system) by appending the line:
NoDisplay=true
This works for all of the other menu items for other softwares that I wanted to hide, but even after:
for myhiddenlibreoffice in $(find / -name *.desktop -print0 | xargs -0 /bin/grep -l “LibreOffice”)
do echo ‘NoDisplay=true’ >> “${myhiddenlibreoffice}”
done
I still see LibreOffice in my Applications menu. I understand that this may be a MATE desktop issue rather than a LibreOffice issue, but at the very least, LibreOffice is installed into the menu system in a peculiar way (multiple scattered desktop files, doesn’t respond to NoDisplay key, stalls computer if I make the mistake of opening one of the menu categories that contains a LibreOffice item), and perhaps someone can explain this “special” implementation for LibreOffice to me.
One last thing, I just want to affirm that LibreOffice is a wonderful software in its own right. We live in a world where people are so lazy that they insist that I must use MS Office to submit a document to them, but at least I can just import and export using LibreOffice, and usually no one is the wiser. It is just so rare that I would ever want to launch LibreOffice for document creation rather than just editing someone else’s MS Word document, that I would rather just launch from the command line instead of it getting in the way of my otherwise clean, simple Applications menu.