Add a new mime type? (problem with gDesklets)
Jeremy Messenger
mezz7 at cox.net
Sat Sep 13 00:57:37 PDT 2003
On Sat, 13 Sep 2003 03:44:11 -0400, Joe Marcus Clarke
<marcus at marcuscom.com> wrote:
> On Sat, 2003-09-13 at 03:18, Jeremy Messenger wrote:
>> Right now, I am trying to figure out how to add mime type, because it
>> seems like it doesn't work correct with gDesklets's *.display. It's
>> supposed to be able add the applets by click in the Nautilus on any of
>> *.display. I have checked the path and they are correct. Note that in
>> the
>> ports tree has one wrong path, but I have corrected it here in local and
>> will be in the ports tree after freeze lift.
>
> Where is the wrong path?
I wasn't pay attention to one very small part..
share/gnome/icons/gnome/48x48/mimetypes/x-gdesklets-display.png
It should be share/icons/; not share/gnome/icons/ .. I fixed it by patch
in Makefile.in.. I can create a diff quick if you think I should send it
to PR.
>> Path:
>> =========================================
>> /usr/X11R6/share/gnome/application-registry/gdesklets.applications
>> /usr/X11R6/share/gnome/mime-info/gdesklets.keys
>> /usr/X11R6/share/gnome/mime-info/gdesklets.mime
>> /usr/X11R6/share/icons/gnome/48x48/mimetypes/x-gdesklets-display.png
>> =========================================
>>
>> Is there anything else what it needs to add the mime type? Two of my
>> friends have Linux and they don't have any problem when they install
>> gDesklets and use Nautilus to add applets by click on *.display.
>
> The above paths should be correct. Of course, there may be a bug in
> gnomevfs2. Do any of the other mime types work?
Well, I have no idea if other mime types work but I can see mime type that
came with Gnome2 by default work fine like *.txt, *.core (will open bug
buddy) and etc. It might works because of
/usr/X11R6/etc/gnome-vfs-mime-magic.. I will try to find other things in
ports tree that add mime type same way what gDesklets has, then install it
to see if it will work.
Cheers,
Mezz
> Joe
>
>>
>> Cheers,
>> Mezz
--
bsdforums.org 's moderator, mezz.
More information about the freebsd-gnome
mailing list