Public bug reported:

As of Nautilus 3.6, desktop files' EXEC field require field codes %U,
for URL, or %F, for file, or the desktop file doesn't associate the app
to its mimetypes.

mkvtoolnix-gui and mkvinfo desktop files do not contain the field codes
at this point. Therefore, in Nautilus 3.6, when a user right-clicks on a
matroska file, those apps are not in the "Open with" list. This issue
only occurs in Nautilus 3.6 and beyond. Prior versions do not parse the
desktop file so carefully.

Thus, the "Open with" menu for Matroska files doesn't include the app
that creates and edits Matroska files.

This problem manifests in Quantal with the Gnome 3 ppa, and in Raring.

I have created patches and debdiffs for Quantal and Raring. I will be
submitting the patch to Bunkus.org as well.

Desktop specification: http://standards.freedesktop.org/desktop-entry-
spec/desktop-entry-spec-latest.html#exec-variables

The fix for this is to apply the patch, and then run
# update-desktop-database

Open with now contains mkvmerge and mkvinfo as expected. I have already
tested this and confirmed this works. Information was supplied by Cosimo
Cecchi.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: mkvtoolnix-gui 5.1.0-1ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
Uname: Linux 3.5.0-19-generic x86_64
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
Date: Tue Dec 18 15:19:35 2012
InstallationDate: Installed on 2012-06-22 (178 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
MarkForUpload: True
SourcePackage: mkvtoolnix
UpgradeStatus: Upgraded to quantal on 2012-09-28 (81 days ago)

** Affects: mkvtoolnix (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug matroska mkvmerge quantal raring

** Patch added: "quantal patch"
   
https://bugs.launchpad.net/bugs/1091851/+attachment/3463340/+files/fix_desktop_files.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1091851

Title:
  mkvmerge-gui has incomplete desktop file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mkvtoolnix/+bug/1091851/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to