Date: Sat, 04 Dec 2004 15:41:56 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Sean McNeil <sean@mcneil.com> Cc: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: Request assistance in finding "Write to CD" context menu item Message-ID: <1102192916.75259.31.camel@shumai.marcuscom.com> In-Reply-To: <1102192341.91796.3.camel@server.mcneil.com> References: <1102184807.11782.7.camel@server.mcneil.com> <1102187391.75259.3.camel@shumai.marcuscom.com> <1102189882.86085.13.camel@server.mcneil.com> <1102189997.75259.19.camel@shumai.marcuscom.com> <1102192341.91796.3.camel@server.mcneil.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-Q2NcY2i19pTbDjB52uyR Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2004-12-04 at 12:32 -0800, Sean McNeil wrote: > On Sat, 2004-12-04 at 14:53 -0500, Joe Marcus Clarke wrote: > > > When I click on the file it says that the filename indicates it is a > > > "raw CD image" but the contents indicate "application/x-arc". So it = is > > > a mime-type issue. The burner code only allows for > > > "application/x-iso-image" and "application/x-cd-image". I can actual= ly > > > open it as an archive via. 'Open with "Archive Manager"' so it would= be > > > great to keep that functioning. I guess when I select the item it di= gs > > > into the contents and then changes the mime-type to "application/x-ar= c" > > > where it ends up removing the burn option. > > >=20 > > > So now the question is where should I look for mime-type lookup so I = can > > > determine why it isn't coming out as "application/x-iso-image"? This > > > looks like pretty complicated code and I got stuck tracking it down > > > through eel2 where it looks like it was only looking at the uri part > > > before the ":". Must have got lost :( > >=20 > > Most likely, you need to promote the x-iso-image type ahead of the othe= r > > type in the MIME database in either /usr/X11R6/share/mime > > or /usr/local/share/mime. >=20 > Looking at /usr/local/share/mime/packages/freedesktop.org.xml I think > there is something wrong with mime-type determination on amd64. x-arc > has the following: >=20 > <mime-type type=3D"application/x-arc"> > <magic priority=3D"50"> > <match value=3D"0x0000081a" type=3D"little32" offset=3D"0" mask=3D"= 0x8080ffff"/> > <match value=3D"0x0000091a" type=3D"little32" offset=3D"0" mask=3D"= 0x8080ffff"/> > <match value=3D"0x0000021a" type=3D"little32" offset=3D"0" mask=3D"= 0x8080ffff"/> > <match value=3D"0x0000031a" type=3D"little32" offset=3D"0" mask=3D"= 0x8080ffff"/> > <match value=3D"0x0000041a" type=3D"little32" offset=3D"0" mask=3D"= 0x8080ffff"/> > <match value=3D"0x0000061a" type=3D"little32" offset=3D"0" mask=3D"= 0x8080ffff"/> > </magic> > </mime-type> >=20 > but when I look at any of the *.iso files I have the first umpteen bytes > are zero. None of the above should have matched. Yep, see https://bugs.freedesktop.org/show_bug.cgi?id=3D1506. I'll commit this fix. Joe >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-Q2NcY2i19pTbDjB52uyR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBsiEUb2iPiv4Uz4cRAnD1AJ0RhsobUcK1JeiXL/1cETfhhgufGgCfY7E6 /w3cg070Ob+Xt+6SFi9ExAQ= =kq6H -----END PGP SIGNATURE----- --=-Q2NcY2i19pTbDjB52uyR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1102192916.75259.31.camel>