Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

File Manager mime types and icons

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


anidel at gmail

Nov 8, 2009, 6:52 AM

Post #1 of 5 (666 views)
Permalink
File Manager mime types and icons

Hi,

Xournal registers an application/x-xoj mime-type so that the FM knows
what to run to open .xoj file types (Xournal ones).

It works, but how do I tell FM to show the Xournal icon for those files?

--
anidel
Sent from London, Eng, United Kingdom
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


trippin1 at gmail

Nov 8, 2009, 7:27 AM

Post #2 of 5 (656 views)
Permalink
Re: File Manager mime types and icons [In reply to]

Hiya,

Creating /usr/share/icons/hicolor/24x24/mimetypes/application-x-xoj.png,
/usr/share/icons/hicolor/48x48/mimetypes/application-x-xoj.png,
/usr/share/icons/hicolor/64x64/mimetypes/application-x-xoj.png; and
refreshing GTK's icon cache worked for me.

Best Regards,
Faheem

On 11/8/09, Aniello Del Sorbo <anidel [at] gmail> wrote:
> Hi,
>
> Xournal registers an application/x-xoj mime-type so that the FM knows
> what to run to open .xoj file types (Xournal ones).
>
> It works, but how do I tell FM to show the Xournal icon for those files?
>
> --
> anidel
> Sent from London, Eng, United Kingdom
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


anidel at gmail

Nov 8, 2009, 7:38 AM

Post #3 of 5 (642 views)
Permalink
Re: File Manager mime types and icons [In reply to]

2009/11/8 Faheem Pervez <trippin1 [at] gmail>:
> Hiya,
>
> Creating /usr/share/icons/hicolor/24x24/mimetypes/application-x-xoj.png,
> /usr/share/icons/hicolor/48x48/mimetypes/application-x-xoj.png,
> /usr/share/icons/hicolor/64x64/mimetypes/application-x-xoj.png; and
> refreshing GTK's icon cache worked for me.
>
> Best Regards,
> Faheem
>

Great!

Aniello

> On 11/8/09, Aniello Del Sorbo <anidel [at] gmail> wrote:
>> Hi,
>>
>> Xournal registers an application/x-xoj mime-type so that the FM knows
>> what to run to open .xoj file types (Xournal ones).
>>
>> It works, but how do I tell FM to show the Xournal icon for those files?
>>
>> --
>> anidel
>> Sent from London, Eng, United Kingdom
>> _______________________________________________
>> maemo-developers mailing list
>> maemo-developers [at] maemo
>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>
>



--
anidel
Sent from London, Eng, United Kingdom
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


anidel at gmail

Nov 8, 2009, 8:30 AM

Post #4 of 5 (644 views)
Permalink
Re: File Manager mime types and icons [In reply to]

Thanks Faheem...

I checked on the device, and it looks like only 48x48 is needed and
the file should be called:

gnome-mime-<mime_type>.png

So I created a 48x48 pixels PNG file called gnome-mime-application-x-xoj.png

and it worked (at least on Fremantle is like that).

Thanks.

Aniello

2009/11/8 Aniello Del Sorbo <anidel [at] gmail>:
> 2009/11/8 Faheem Pervez <trippin1 [at] gmail>:
>> Hiya,
>>
>> Creating /usr/share/icons/hicolor/24x24/mimetypes/application-x-xoj.png,
>> /usr/share/icons/hicolor/48x48/mimetypes/application-x-xoj.png,
>> /usr/share/icons/hicolor/64x64/mimetypes/application-x-xoj.png; and
>> refreshing GTK's icon cache worked for me.
>>
>> Best Regards,
>> Faheem
>>
>
> Great!
>
> Aniello
>
>> On 11/8/09, Aniello Del Sorbo <anidel [at] gmail> wrote:
>>> Hi,
>>>
>>> Xournal registers an application/x-xoj mime-type so that the FM knows
>>> what to run to open .xoj file types (Xournal ones).
>>>
>>> It works, but how do I tell FM to show the Xournal icon for those files?
>>>
>>> --
>>> anidel
>>> Sent from London, Eng, United Kingdom
>>> _______________________________________________
>>> maemo-developers mailing list
>>> maemo-developers [at] maemo
>>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>>
>>
>
>
>
> --
> anidel
> Sent from London, Eng, United Kingdom
>



--
anidel
Sent from London, Eng, United Kingdom
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


trippin1 at gmail

Nov 8, 2009, 8:41 AM

Post #5 of 5 (642 views)
Permalink
Re: File Manager mime types and icons [In reply to]

Thanks. I still maintain application-x-xoj.png worked for me, but glad
to know that there is a proper naming convention. Thanks!

On Sun, Nov 8, 2009 at 4:30 PM, Aniello Del Sorbo <anidel [at] gmail> wrote:
> Thanks Faheem...
>
> I checked on the device, and it looks like only 48x48 is needed and
> the file should be called:
>
> gnome-mime-<mime_type>.png
>
> So I created a 48x48 pixels PNG file called gnome-mime-application-x-xoj.png
>
> and it worked (at least on Fremantle is like that).
>
> Thanks.
>
> Aniello
>
> 2009/11/8 Aniello Del Sorbo <anidel [at] gmail>:
>> 2009/11/8 Faheem Pervez <trippin1 [at] gmail>:
>>> Hiya,
>>>
>>> Creating /usr/share/icons/hicolor/24x24/mimetypes/application-x-xoj.png,
>>> /usr/share/icons/hicolor/48x48/mimetypes/application-x-xoj.png,
>>> /usr/share/icons/hicolor/64x64/mimetypes/application-x-xoj.png; and
>>> refreshing GTK's icon cache worked for me.
>>>
>>> Best Regards,
>>> Faheem
>>>
>>
>> Great!
>>
>> Aniello
>>
>>> On 11/8/09, Aniello Del Sorbo <anidel [at] gmail> wrote:
>>>> Hi,
>>>>
>>>> Xournal registers an application/x-xoj mime-type so that the FM knows
>>>> what to run to open .xoj file types (Xournal ones).
>>>>
>>>> It works, but how do I tell FM to show the Xournal icon for those files?
>>>>
>>>> --
>>>> anidel
>>>> Sent from London, Eng, United Kingdom
>>>> _______________________________________________
>>>> maemo-developers mailing list
>>>> maemo-developers [at] maemo
>>>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>>>
>>>
>>
>>
>>
>> --
>> anidel
>> Sent from London, Eng, United Kingdom
>>
>
>
>
> --
> anidel
> Sent from London, Eng, United Kingdom
>
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.