![]() ![]() Using Terminal navigate to: /usr/share/gnome-background-properties I wanted the changing wallpaper and custom wallpaper pictures to appear under the default options for selecting a wallpaper in Ubuntu 12.04,so I did the following ![]() If length ' currentImageFiles '\n')į.write('\t\t/usr/share/backgrounds/contest/slideshow.xml\n')į.write('\t\t' os.path.basename(currentImageFiles) '\n') At that point you should be able to go into "System Settings" -> Appearance and pick your slideshow or any of the pics in it. Put the file generated from wallpapers.py in /usr/share/gnome-background-properties and again chown it to root. Once that is done you'll need to run the second python script ( wallpapers.py) which was adapted from the first. Put the XML file generated by slideshow.py script in /usr/share/backgrounds/contest and chown it to root. This is still the file needed in 12.04 but you also need another XML file. Back in 11.10 I found the below python script ( slideshow.py) which generates a slideshow.xml file (run from directory with the images in it). Ok here is how I did it, which is probably not the best way to do it but it worked and I didn't have to install anything to do it. ![]() The file can be renamed to be more descriptive, such as my_family.xml, landscapes-3.xml, etc., allowing one to have multiple slide show playlists. Just above the "Open" button change the selector from "Image" to "All files", then select the background.xml file and click on the "Open" button. Once the background.xml file has been generated, right-click on the desktop, select Change Background Image, click Add., then navigate to the directory containing the XML file. INDICES =($) # go back to first image after > "$FILE" # all further output to the XML file INDICES=( $(shuf -e ) # randomize indices of images ![]() Shopt -s nullgob nocaseglob # ignore non-existant extensions, case-insensitve Use this script as a starting point with caution, it may have some errors. Wallch not auto-cycling backgrounds on log inĬreate an XML file yourself. The solution is to introduce a delay to the startup of the wallch daemon as per the following Q
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |