Score:8

What's the point of a .desktop file with NoDisplay=true

ng flag

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?

Score:10
us flag

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. the netscape -remote, or kfmclient openURL kind of stuff).

user1686 avatar
us flag
The quote is relevant, but it really _does not_ mean "launch in background".
mckenzm avatar
in flag
@user1686 answer must have been updated, I don't see "launch in background" as a meaning, only a possibility. You have the option.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.