
Generate Dynamic Wallpaper XML File
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This script can generate the dynamic wallpaper XML file in Ubuntu Linux.
Usage:
1. download and unzip the package(GenerateDynamicWallpaperXML.zip), you can get two shell scripts (GenerateDynamicWallpaperXML and dynamic-wallpaper-xml-generater.sh)
2. open GenerateDynamicWallpaperXML and modify the path of dynamic-wallpaper-xml-generater.sh
3. put GenerateDynamicWallpaperXML into the nautilus script folder
4. right click a folder in which the pictuers you would like to make them be the dynamic wallpapers, select the script, you can get a xml file
5. right click on your desktop -> change background -> add the xml file (remember to change the filetype to "all files")
10 years ago
v1.1: support blanks in path (sos1, thank you)
10 years ago
v1.1: support blanks in path (sos1, thank you)
eugf
10 years ago
Report
sos1
10 years ago
The limitation is that this mechanism will not work if you have images with spaces in their file names, or if any directory within the path to the folder contacting the images contains spaces.
like for example an image with filename:
"image 23.jpg"
OR a path :
"/home/darick/new images/"
One quick fix to resolve this issue is to change the name space for the shell-script file "dynamic-wallpaper-xml-generater.sh", after the first bash line "#!/bin/bash" add "
____________________
$IFS
IFS="
"
____________________
And after the last line in the file add
_____________________
IFS=$OLDIFS
_____________________
I Hope the Author will update the script to include this fix.
Report
OItisTang
10 years ago
Thank you very much for your help, I have modified the script.
Report
sos1
10 years ago
All of us are learning so there is nothing to wrong with starting a good idea like this script.
More future enhancements (when I get the time, or you may have time to work on it):
* using an installer shell script to automate the process of coping the files and setting paths.
* Adding tha abiltitt to select a group of images and generate XML file for them without the need to place image files within a sparate directory.
Report
Cooleech
10 years ago
I'll check it out asap, seems like cool thing to have. :)
Report
OItisTang
10 years ago
Report
skavoovee
10 years ago
Report
OItisTang
10 years ago
Report