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
Metadata
Release files for gnome-background-generator 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gnome-background-generator-1.1.2.tar.gz | 4.5 kB | Without provenance | Details |
Release files / gnome-background-generator-1.1.2.tar.gz
| Download URL | gnome-background-generator-1.1.2.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc6d95bbd7410e308108467c08a7f471de6cdfe02e06e0de0b53f354fe612f6b
|
|
BLAKE2b-256 checksum How to use checksums |
825742f78db48ea79f423e2d09cb05fb465f5d12d6126705909deb49ac846377
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for gnome-background-generator 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.