From what I read browsing askubuntu, a .desktop file in /usr/share/applications/
is useful for creating a shortcut to opening an application. However, there are many more .desktop files in this folder than there are applications in my Show Applications menu. It seems like the other .desktop files have the line NoDisplay=true
. For example,
I have the file python3.8.desktop
that has this line. So what's the point of these .desktop files with NoDisplay=true
?
1 Answer
You can create an icon that launch an application in background.
Details from Desktop Entry Specification:
NoDisplay
means "this application exists, but don't display it in the menus". This can be useful to e.g. associate this application with MIME types, so that it gets launched from a file manager (or other apps), without having a menu entry for it (there are tons of good reasons for this, including e.g. thenetscape -remote
, orkfmclient openURL
kind of stuff).