What's the best way to hide the preinstalled software you don't need from the KDE menu?

https://feddit.org/post/1848630

What's the best way to hide the preinstalled software you don't need from the KDE menu? - feddit.org

shared from: https://feddit.org/post/1848262 [https://feddit.org/post/1848262] > I like the Slackware approach of installing the kitchen sink by default. Disk space is cheap. > But I find that the cluttering of the menus in KDE is a bit annoying. I use search to start my applications, and a lot of the time I have to type almost the full program name to get to the app I actually use. > What’s the easiest way to hide a large number of programs from the menus, which is also easily reversible? > > My first idea was renaming the .desktop files in /usr/share/applications to .hidden > But they seem to be recreated automatically. > > Another idea was to copy .desktop files from /usr/share/applications to ~/.local/share/applications and then do: > printf "\nHidden=True" | tee -a ~/.local/share/applications/*.desktop > > But I tried to add this manually with one test file and it didn’t seem to have any effect. > Is there a config file somewhere that specifies in which paths .desktop files are parsed? > > Or is there a better way? > > Thanks a lot, and happy slacking!

Recognized desktop entry keys | Desktop Entry Specification

Keys are either OPTIONAL or REQUIRED. If a key is OPTIONAL it may or may not be present in the file. However, if it isn't, the implementation of the standard should not blow up, it must provide some sane defaults. Some keys only make sense in the context when another particular key is also present a…