Desktop file - necessary to have one? #1256
-
I'm using appimagetool to build an AppImage from an AppDir. I'm actually trying to package a command line only tool, which I don't expect to be visible on the desktop. However, having a desktop file appears mandatory. Is it appropriate to have no desktop file in this scenario? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Nope. You always need to have one. Desktop files aren't for GUI tools only. Also, tools that work with AppImages may still want to display some information, e.g., an icon in the file browser. You can set |
Beta Was this translation helpful? Give feedback.
-
OK, I accept your answer. But it doesn't quite sense. Let's support I integrate the desktop file, then I'll get an option to launch it from the desktop -- and when I do it's just going to show me an error because it's missing command line arguments. Is there anything in the desktop file itself which says, look, just don't show this? |
Beta Was this translation helpful? Give feedback.
Nope. You always need to have one. Desktop files aren't for GUI tools only. Also, tools that work with AppImages may still want to display some information, e.g., an icon in the file browser. You can set
Terminal=true
in your desktop file to signalize it's a CLI application.