Oh duh,
You are saying the .pdb is read as a "plain text file"
You would then have to add a new mime type ".pdb" to the source XML file that
gnome reads in /usr/share/mime/packages/freedesktop.org.xml
http://library.gnome.org/admin/system-admin-guide/stable/mimetypes-source-xml.html.en
Sorry for the earlier post.
jordan
On Jan 29, 2012, at 2:11 PM, Troels Emtekær Linnet wrote:
> Hi guys.
>
> Ehh. I have a newly installed Mint 12 box with gnome 3.
>
> I have that annoying thing, that when I click a text .pdb files, it opens
> with gedit.
> Then I can right click and select .pdb files to open with pymol.
> But when I then click a .txt file, it opens it with pymol.
>
> Grrr...
> I know its something with mimetypes, and I got it to work on my mint 11.
> But now I am a little lost, and can't find it on the web...
>
> So, anyone did this?
>
> Best
> Troels
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2_______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net