1

I've gone a step further than most and added to the background-1.xml file that lies in contest folder. (Which is here). Everything seems to be fine, but when I want to change a my wallpaper to the one that cycles, neither any of the images are there, nor is there a button to chose the cycling wallpaper. see here

Can anyone help?

3 Answers 3

1

You should two .xml file,one is under /usr/share/gnome-background-properties/yourxmlname.xml ,the other is at /usr/share/backgrounds directory. Your background files should usually placed at /usr/share/backgrounds.

You can reference orginal Ubuntu wallpaper setting to modify your file.

1

Have yiou tried setting the permissions of your image(s). Go to the image repository (which I am assuming is usr/share/backgrounds) right click on the image and select properties. Set the permisiions tab and ensure the "Others Permission" is not set to "None" It should be set to "Read" or "Read and Write"

0

One of the XML files can be made fairly simply, the other is a complete bloody pain. This question is months old but since it was one of the top hits for this search I'm posting this here for future use. Run this perl script in a directory of images that you want to include. It'll output an XML file you can use.

#!/usr/bin/perl
use Cwd;
use strict;
use warnings;

print "<background>
  <starttime>
    <year>2009</year>
    <month>08</month>
    <day>04</day>
    <hour>00</hour>
    <minute>00</minute>
    <second>00</second>
  </starttime>";
my @list = glob("*");
my $dir = cwd();
@list = map {$dir .'/'. $_ }@list;
for(my $i=0;$i<(scalar(@list)-1);$i++){
print "<static>
    <duration>1795.0</duration>
    <file>$list[$i]</file>
  </static>
  <transition>
    <duration>5.0</duration>
    <from>$list[$i]</from>
    <to>".$list[$i+1]."</to>
  </transition>
";
}
print "</background>";

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .