On Thu, 2008-03-20 at 11:34 -0400, Dr. Michael J. Chudobiak wrote: > It would be nice to have a function which would delete files in > ~/.thumbnails based on two gconf parameters, something like: > > /desktop/gnome/thumbnail_cache/max_size (default = 256 MB?) > /desktop/gnome/thumbnail_cache/max_age (default = 90 days?) > > Then, gThumb could call this function occasionally (with a UI to set the > two keys), or better yet, gnome-session or gdm could call it on logout > (or is there a better way?). > > There is currently no cache cleaning in gnome, and large caches slow > down login noticeably (bug 430123).
I don't think having this in a library is the right thing. It should rather be handled by some desktop process that periodically does this for users, such that no app is forced to do this themselves. For instance, gnome-settings-daemon could periodically spawn a child to do this. -- nautilus-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/nautilus-list
