Description: 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")Last changelog:
Great work to make it easy to create dynamic wallpaper.
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.
Your welcome :) ,
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.
Ratings & Comments
8 Comments
great idea :)
Great work to make it easy to create dynamic wallpaper. 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.
In fact, I'm a new learner. Thank you very much for your help, I have modified the script.
Your welcome :) , 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.
You might want to fix step 3 (second one) into step 4, and step 4 into step 5. ;) I'll check it out asap, seems like cool thing to have. :)
ok, thank you :)
Thanks
my honour :)