Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install gnome-background-generator

How to install gnome-background-generator

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install gnome-background-generator
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.1.2 Available View build log
1.1.1 Failed View build log
1.1 Failed View build log
1.0.2 Failed View build log
1.0.1 Failed View build log
Windows (64-bit)
1.1.2 Available View build log
1.1.1 Failed View build log
1.1 Failed View build log
1.0.2 Failed View build log
1.0.1 Failed View build log
Mac OS X (10.5+)
1.1.2 Available View build log
1.1.1 Failed View build log
1.1 Failed View build log
1.0.2 Failed View build log
1.0.1 Failed View build log
Linux (32-bit)
1.1.2 Available View build log
1.1.1 Failed View build log
1.1 Failed View build log
1.0.2 Failed View build log
1.0.1 Failed View build log
Linux (64-bit)
1.1.2 Available View build log
1.1.1 Failed View build log
1.1 Failed View build log
1.0.2 Failed View build log
1.0.1 Failed View build log
 
Links
Lastest release
version 1.1.2 on Jul 24th, 2011

This package propose two ways to dynamically change your desktop automatically. One is by generating a XML file, that can be used by the gnome system, and the other one is a little script you can run to randomly select a picture from a path.

Using XML files

Gnome background can use XML files to make an animated background. This little script allows you to generate automaticaly your own XML background changer file, easily, using the command line.

To generate the XML file, use gnome-background-generator:

usage: gnome-background-generator [-h] [-p PATH] [-o OUTPUT]
                              [-t TRANSITION_TIME] [-d DISPLAY_TIME] [-s]
                              [-b]

A simple command line tool to generate an XML file to use for gnome
wallpapers, to have dynamic walls

optional arguments:
  -h, --help            show this help message and exit
  -p PATH, --path PATH  Path to look for the pictures. If no output is
                        specified, will be used too for outputing the dynamic-
                        wallpaper.xml file. Default value is the current
                        directory (.)
  -o OUTPUT, --output OUTPUT
                        Output filename. If no filename is specified, a
                        dynamic-wallpaper.xml file will be generated in the
                        path containing the pictures. You can also use "-" to
                        display the xml in the stdout.
  -t TRANSITION_TIME, --transition-time TRANSITION_TIME
                        Time (in seconds) transitions must last (default value
                        is 2 seconds)
  -d DISPLAY_TIME, --display-time DISPLAY_TIME
                        Time (in seconds) a picture must be displayed. Default
                        value is 900 (15mn)
  -s, --set-background  '''try to set the background using gnome-appearance-
                        properties
  -b, --debug

Changing your desktop randomly

There is also another command you can use to change your background to a random file from a known directory:

$ gnome-wallpaper-select /path/to/walls

This second one is useful if combined with a cronjob; Unfortunately, it's sometimes a hard process because crontabs use dbus, and this conflicts with the use of gconftool-2.

Here is a simple tutorial on how to make it work:

$ wget http://github.com/ametaireau/gnome-background-generator/raw/master/xdbus -O ~/.Xdbus
$ crontab -e

And then add

*/4 * * * * . ~/.Xdbus; /usr/local/bin/gnome-wallpaper-select ~/Images/walls

Subscribe to package updates

Last updated Jul 24th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.