Re: Desktop background image extension?
- From: David Barrett <dbarrett quinthar com>
- To: Stephane Delcroix <stephane delcroix org>
- Cc: f-spot-list gnome org
- Subject: Re: Desktop background image extension?
- Date: Fri, 08 Feb 2008 00:12:43 -0800
Under what circumstances would the database be unavailable? My
understanding is SQLite allows unlimited concurrent readers, though only
one writer. Is there some other constraint, or am I misunderstanding
SQLite?
-david
Stephane Delcroix wrote:
Hey David,
Writing this as an extension will require a running f-spot instance. On
the other hand, accessing the db directly might fail if f-spot is
running...
The correct proper solution would be implementing this just like the
f-spot-screensaver is done (if there's a running f-sopt, contact it,
otherwise start one, do the stuffs, stop it).
I don't think it's worth the pain... so in your case, I'd cook a
perl/bash/ruby/python/you-name-it cron script with error handling for
busy/unavailable database.
regards
s
On Thu, 2008-02-07 at 23:33 -0800, David Barrett wrote:
Hi, I'm making the switch from Mac to Ubuntu and one of the few features
I miss is the ability to automatically set my desktop background image
to a random picture from my iPhoto library. Does something like this
already exist for F-Spot, or how would you recommend I go ahead and
build it?
I see you use SQLite under the hood; would the easiest/recommended way
be to just create a Cron script that:
1) Opens that database
2) Picks a random "favorite" image
3) Updates the desktop background
4) Exits
Or, is this something better done as an extension?
Thanks for the great tool, and I'm curious how I can help!
-david
_______________________________________________
F-spot-list mailing list
F-spot-list gnome org
http://mail.gnome.org/mailman/listinfo/f-spot-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]