[Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for ".xo" files on a permanent mount-point, and not /tmp. mount-point.

Daniel Narvaez dwnarvaez at gmail.com
Sat Dec 15 05:26:15 EST 2012


Just as additional data point, I'm planning to migrate sugar to use
the XDG directories. Posting an initial plan right now.

On 15 December 2012 09:03, Ajay Garg <ajay at activitycentral.com> wrote:
> Hi all.
>
> I will leave the choice of deciding upon the "icon files" directory to you
> guys :)
>
> My personal opinion :: I would refrain  from using the /tmp directory, since
> it is, well, temporary mount-point, and I would not point to delve too much
> into shakeable territory.
>
> This is confirmed in Fedora-18, because as far as I know, in Fedora-14, we
> were using /tmp too, but never faced  any problems then. However, now in
> Fedora-18, the problem is being faced, owing to "special-ness" of /tmp.
>
>
>
> On Tue, Dec 11, 2012 at 6:56 PM, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
>>
>> On 11 December 2012 14:19, Manuel Quiñones <manuq at laptop.org> wrote:
>> > 2012/12/11 Gonzalo Odiard <gonzalo at laptop.org>:
>> >> In the meantime, have the icons cached in a directory is no so bad.
>> >> Maybe we can do it in /tmp/ to get it deleted at startup
>> >> without need more
>> >
>> > Yes, I think using /tmp is the way to go.  And the Journal is doing
>> > that for the same icon in the palette and details view already.
>>
>> Isn't this more or less a cache? If so we could use XDG_CACHE_DIR
>>
>>
>> http://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-user-cache-dir
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
>
>
> --
> Regards,
>
> Ajay Garg
> Dextrose Developer
> Activity Central: http://activitycentral.com



-- 
Daniel Narvaez


More information about the Sugar-devel mailing list