@superkret copy the .desktop file to your users .local/share/applications and edit it to have NoDisplay=true
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Piggybacking onto this, MenuLibre also works and the "hide from menus" setting does exactly that if a GUI is preferable. I used it to hide a bunch of VSTs a while back.
I'd just uninstall it.
Thanks for the reply, but if I wanted to go with that option, I wouldn't need to ask.
Slackware works best if you keep the default installation intact and just add to it what you need.
That can be problematic because if OP installed via graphical install, it will uninstall the entire desktop, as likely the way the meta packages are structured - apt will think KDE Plasma was just installed as a dependency of KDE games or something and remove it alongside.
OP if you just want to hide it, perhaps deleting the .desktop files will do the trick?
There is no apt and no meta-packages. This is Slackware, not Debian.
But it's similar, uninstalling default software increases the effort needed for system maintenance.
And I wrote in my post that deleting the .desktop files (or renaming them to .hidden, which has the same effect) didn't stick.
Ah didn't realize you were actually using slackware, my bad, I thought you were just referencing the slackware approach of a full install
Also I would not assume that deleting them and renaming them has the same effect. Unless you've seen the source code and can confirm how it works, the pattern matching for files could be something that looks for anything in that folder, or anything containing .desktop (if you renamed them like .desktop -> .desktop.hidden)
Based on a quick Google search it's a bug in KDE, and even uninstalling the application does not always remove it from the menu.
Also add NoDisplay=true
https://specifications.freedesktop.org/desktop-entry-spec/latest/recognized-keys.html
Can you try true
instead of True
?
https://specifications.freedesktop.org/desktop-entry-spec/latest/value-types.html
Values of type boolean must either be the string true or false.
Maybe chmod 000
the .desktop files works.
Wouldn't this disable the application for any service or program that looksup the .desktop file from /usr/share/applications/ directory?