[Fedora-packaging] packaging a command line app to have action / servicemenu in filemanagers

David Timms dtimms at iinet.net.au
Wed Sep 30 13:33:41 UTC 2009


Hi, my pre-reviewer [1] 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 ?

DaveT.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=522920




More information about the Fedora-packaging mailing list