Public bug reported:

Right now, pymol cannot be preferred as a default handler of a mimetype
such as  chemical/x-pdb, since the Exec section in pymol.desktop lacks
%F. First of all %F must be added to the desktop file.

Secondly, there are many more mimetypes that pymol can handle such as
chemical/x-mdl-molfile and chemical/x-mol2.  It would be really great if
these additional mimetypes are added to the MimeType section of the
desktop file.

And finally, I think, chemical-mime-data package should be added as a
dependency to pymol package for these additional mimetypes to be
recognized by the system. chemical-mime-data can also be added as a
recommended package, but for the end user, it would be really hard to
figure out what a mimetype is and to install chemical-mime-data package
in order to use pymol properly.

The desktop file I prepared is attached.

PS: I have also fixed the same issue on Fedora
(https://bugzilla.redhat.com/show_bug.cgi?id=817463), FWIW.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: pymol 1.5.0.1-2build1 [modified: usr/share/applications/pymol.desktop]
ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
Uname: Linux 3.5.0-19-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Thu Dec  6 14:41:40 2012
InstallationDate: Installed on 2012-12-03 (2 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64+mac 
(20121017.3)
MarkForUpload: True
SourcePackage: pymol
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug quantal running-unity

** Attachment added: "proper .desktop file for pymol"
   
https://bugs.launchpad.net/bugs/1087265/+attachment/3452937/+files/pymol.desktop

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

Title:
  pymol application cannot be configured as default molecular viewer
  application

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

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

Reply via email to