packaging a command line app to have action / servicemenu in filemanagers
by Development discussions related to Fedora
Hi, my pre-reviewer  noted that I didn't run desktop-file-install on
a .desktop file I am installing. However, the app isn't actually a gui
app, therefore the must rule doesn't apply.
What the .desktop file does achieve is adding an "extract tnef archive"
menu item to files where the mime-type matches tnef.
The unwanted sideeffect of doing this is that gnome places an icon for
the program into the Application menu. This icon is useless; it runs a
script to run the app, without an input parameter, and hence does
nothing (well, that 'nothing' might need to be double checked).
Is it acceptable to add a desktop file to achieve this ?
Is there someway to indicate to the desktop program that the menu entry
shouldn't be shown ?
Does using desktop-file-x any use on .desktop files that aren't intended
to become part of the menus ?