[Bug 84526] Gnash menu launcher (/usr/share/applications/gnash.desktop file) doesn't start any application, also gnash isn't asociated with SWF mimetype
Mantas Kriaučiūnas
mantas at akl.lt
Sun Feb 11 13:16:30 UTC 2007
Public bug reported:
Binary package hint: gnash
Currently no programs opens if user press on Gnash menu launcher ("Gnash SWF Viewer" in Applications->AudioVideo category, see /usr/share/applications/gnash.desktop file).
This is because in gnash.desktop is a line "Exec=/usr/bin/gnash", but when you run /usr/bin/gnash in terminal you see, that this command displays only help if started without arguments.
Simply solution would be to create a one-line shell script, which
displays a file-selection dialog and starts gnash when user selects a
file:
/usr/bin/gnash `zenity --title="Select a Flash (.swf) file to display"
--file-selection`
Also there is missing a MimeType line in gnash.desktop - you should add
this line:
MimeType=application/x-shockwave-flash;
I'm attaching fixed gnash.desktop file (Lithuanian translation is added
as bonus ;) to this bugreport.
** Affects: gnash (Ubuntu)
Importance: Undecided
Status: Unconfirmed
** Affects: gnash (Baltix)
Importance: Undecided
Status: Unconfirmed
** Also affects: gnash (Baltix)
Importance: Undecided
Status: Unconfirmed
--
Gnash menu launcher (/usr/share/applications/gnash.desktop file) doesn't start any application, also gnash isn't asociated with SWF mimetype
https://launchpad.net/bugs/84526
More information about the Ubuntu-mozillateam-bugs
mailing list