blog.notmyidea.org/content/code/2010-10-11-dynamically-change-your-gnome-wallpapers.md
Alexis Métaireau 9df3b183b6 Enhanced UI & UX; Added New ISBN Plugin.
- Added the ability to display book cover for the category "Lectures" if ISBN cover is available.
- Moved author's name into a small tag for better hierarchy and readability.
- Implemented a feature to indicate link sizes depending on the number of articles associated with a given tag.
- Implemented a mini footer element displaying an RSS feed icon.
- Improved category display using description dictionary.
- Added a new plugin "isbn_downloader" to fetch ISBN information when needed.
- Included the count of articles for each category.
- Implemented changes for better layout and readability of tags and categories.
- Adjusted the layout of the webpage, improving the overall look of the page.
- Included "requests" in the requirements.txt for supplanting dependencies required by the new plugin and/or features.
2023-09-29 18:30:09 +02:00

60 lines
2.2 KiB
Markdown

# Dynamically change your gnome desktop wallpaper
In gnome, you can can use a XML file to have a dynamic wallpaper. It's
not so easy, and you can't just tell: use the pictures in this folder to
do so.
You can have a look to the git repository if you want:
<http://github.com/ametaireau/gnome-background-generator>
Some time ago, I've made a little python script to ease that, and you
can now use it too. It's named "gnome-background-generator", and you can
install it via pip for instance.
```
shell
$ pip install gnome-background-generator
```
Then, you have just to use it this way:
```
shell
$ gnome-background-generator -p ~/Images/walls -s
/home/alexis/Images/walls/dynamic-wallpaper.xml generated
```
Here is a extract of the \`--help\`:
```
shell
$ gnome-background-generator --help
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
```