Public bug reported: Nautilus does not correctly identify PGN (portable game notation) files.
To reproduce save the following as foo.pgn: <snip> [Event "Local chess game"] [Site "?"] [Date "????.??.??"] [Round "?"] [White "White"] [Black "Black"] [Result "*"] 1. e4 d5 2. exd5 Na6 3. Bb5+ * </snip> Browsing with Nautilus will display a thumbnail of the text of the file and right-clicking to get the file properties will show the MIME type as text/plain. However /usr/share/mime/packages/freedesktop.org.xml has an entry for .pgn files: <snip> <mime-type type="application/x-chess-pgn"> <comment>PGN chess game</comment> <glob pattern="*.pgn"/> </mime-type> </snip> If you edit this file and add <sub-class-of type="text/plain"/> after running update-mime-database then nautilus identifies correctly. Now, I am unsure if this is a bug in shared-mime-info or nautilus or both. PGN is a sub-type of text/plain, however there is nothing ambiguous about the .pgn glob matching. I am using Ubuntu Dapper (nautilus 2.14.3-0ubuntu1, shared-mime-info 0.17-0ubuntu11) ** Affects: shared-mime-info (Ubuntu) Importance: Untriaged Status: Unconfirmed -- PGN files detected as text/plain not application/x-chess-pgn https://launchpad.net/bugs/60095 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs