the background panel doesn't let you add xml wallpapers

Bug #868850 reported by Francisco Castillo
62
This bug affects 12 people
Affects Status Importance Assigned to Milestone
gnome-control-center
Invalid
Medium
gnome-control-center (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Description: Ubuntu oneiric (development branch)
Release: 11.10
gnome-control-center 3.2.0-0ubuntu5
wishlist?
the appearance menu shows a xml wallpaper, called "contest" , but you can't add a custom one from the "plus" button, it only shows images

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :
summary: - unable to add xml wallpapers in apperance menu
+ unable to add xml wallpapers
summary: - unable to add xml wallpapers
+ it's not possible to add xml wallpapers
summary: - it's not possible to add xml wallpapers
+ the background panel doesn't let you add xml wallpapers
Changed in gnome-control-center (Ubuntu):
status: Confirmed → Triaged
Changed in gnome-control-center:
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream said it's not a bug

"That's on purpose. "XML" backgrounds are usually provided by distributions (and
other customisers of the software). You can still test those by adding them to
~/.local/share/gnome-background-properties/."

Changed in gnome-control-center (Ubuntu):
status: Triaged → Invalid
Changed in gnome-control-center:
importance: Unknown → Medium
status: Unknown → Invalid
Revision history for this message
Francisco Castillo (panchokoster) wrote :

mmm no it doesn't work adding a xml background to that folder doesn't make it visible on the control center, adding it to /usr/share/backgrounds doesn't work either, the only way i've found was replacing /usr/share/backgrounds/contest/background-1.xml with my custom xml file.
adding them in gnome 2 was just drag and drop.

Revision history for this message
Pykler (hnassrat) wrote :

This cannot be by design, why are you messing with user who use this feature! This cannot be invalid!

Revision history for this message
Pykler (hnassrat) wrote :

And who is upstream, do you have a link to that?!

Revision history for this message
Pykler (hnassrat) wrote :

OK found the link, sorry for the frustration... However, this is an ubuntu bug, since the xml's under

/usr/share/gnome-background-properties

Namely

/usr/share/gnome-background-properties/cosmos.xml
/usr/share/gnome-background-properties/ubuntu-wallpapers.xml

Are not even in the list :) only the weird contest one is in the control center in oneiric

Revision history for this message
Pykler (hnassrat) wrote :

OK figured out what the upstream comment meant :S or :) in any case too much work

~/.local/share/gnome-background-properties/

cat >~/.local/share/gnome-background-properties/custom-wallpapers.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
  <wallpaper deleted="false">
    <name>Pykler</name>
    <filename>/home/pykler/.backgrounds/realtime/background.xml</filename>
    <options>zoom</options>
  </wallpaper>
 </wallpapers>
EOF

Replace the path and name as needed, launch the Appearance in the gnome-control-center and you will see the new "Pykler" background.

Again too much work.

I think the following command should do it, but couldn't get it to refresh properly:

gconftool-2 --set /desktop/gnome/background/picture_filename --type string file:///home/pykler/.backgrounds/realtime/background.xml

Revision history for this message
Sebastien Bacher (seb128) wrote :

> gconftool-2 --set /desktop/gnome/background/picture_filename

nautilus has been ported to gsettings in GNOME3 and stopped using gconf so no wonder that doesn't trigger any update

Revision history for this message
Jose Luis De la Cruz (joseluis-delacruz) wrote :

While Ubuntu development team is working in this issue, you can set your custom slideshow in ubuntu 11.10 as follow.

Create a custom slideshow with crebs (http://www.howtogeek.com/howto/25549/how-to-create-a-wallpaper-slideshow-in-ubuntu/)

After creating it. Crebs store it as a xml file in your $HOME/.crebs

Then rename & replace crebs xml file to background.xml in the path /usr/share/backsgounds/contest

Revision history for this message
Gregor Riepl (onitake) wrote :

The corresponding gsettings comand line would be:

gsettings set org.gnome.desktop.background picture-uri 'file:///home/user/Pictures/wallpaper.xml'

But you should be very careful what you put in that XML file. Relative paths aren't supported, for example. If one of the images can't be found, Unity will crash and can only be resurrected by resetting the above to something invalid or a valid picture.

While I'd like to have user configurable animated background like you all, I can see that the feature is not quite ready for general consumption yet. Yes, this is a feature request. :)

Revision history for this message
vince (vince06fr) wrote :

This bug must be valid because this features is one of the answer of the [url=https://bugs.launchpad.net/ubuntu/+bug/1]bug n° 1[/url]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.