gnome background, autorotation and cctools

February 25, 2008

In the afternoon on friday I spent some time playing with the autocurate tools from the Creative Commons tools. The Autocurate tool downloads the most recent ‘interesting’ pictures with creative commons licenses from flickr. It took a little bit of work to get it working but it got there.

Then this evening I started playing with the gnome-background rotation xml format.

I made a very very very simple python program to generate the xml file for rotating the images. You just run the program with its output to any xml file then you drag the xml file into the gnome-background changer window.

What I’m working on, now is a way to merge those two items a bit more and make it somewhat more seamless. So there are things I have questions about that maybe the LazyWeb knows more about:

1. is it possible to have the gnome-background-changer run a program to determine the image it should be displaying?

2. if not what is the best way to have a program run, per user, from time to time?

3. Has someone else already done this in a more trivial way?

4. Is the xml format for the image/rotation/transition documented anywhere other than the code?

7 Responses to “gnome background, autorotation and cctools”

  1. pclouds Says:

    I don’t know about “gnome-background-changer” (where does it come from?) but you can always change background by editing gconf key /desktop/gnome/background/picture_filename. A bit more python code for calling gconftool-2 would do the trick.

  2. Rodney Dawes Says:

    1. No.
    2. Cron? or a user-daemon with timeout data?
    3. I think there are a few alternate programs that randomize the wallpaper on log-in and other such tricks.
    4. Not really, no. There is a DTD. And the gconf schema (installed by libgnome) might describe the behavior. I think the user documentation describes the behavior for the choices in the dialog, also. Scaled and Zoom both maintain aspect ratio. The only difference is Scaled fits inside the screen, and Zoom scales to fill the screen, and crop off extra parts of the image that would otherwise be beyond the screen. Everything else should be completely obvious in the naming.

  3. mdgeorge Says:

    I currently use grotbckgd to change my background every 5 minutes, it’s just a shell script that uses gconftool:

    It’s scheduled through my crontab.

  4. Eloff Says:

    Hi there!

    I use a nifty program called “Wallpaper Tray”. It’s in the Ubuntu repository.

    The background can be changed with a single click on the tray icon, on logon or be set with a timer.

  5. Gabriel Says:

    You should check out Drapes:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: