[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Configure initial wallpapers



> >>>In other words, where is the "original" wallpaper-list stored??
> >>I think you'll find them at  /usr/share/wallpapers

No, they are in /usr/share/backgrounds/images/ and /usr/share/backgrounds/tiles.
They come from the RPM packages 'desktop-backgrounds-basic' and
'desktop-backgrounds-extra' found on disc 1.


> >Just dropping files in there isn't sufficent to make them show up on the
> >default list of options for "Change Desktop Background" in GNOME. Users will
> >still have to click "Add Wallpaper" and browse to that directory first.

To change the default list of images(for all users) that shows up when running
the gnome-background-properties program, you need to edit the XML file:

/usr/share/gnome-wallpaper-properties/desktop-backgrounds-basic.xml

Better yet though, especially if you are just adding ADDITIONAL images,
is to create your own XML file(s) for each image collection.  All you need
to do is to create an XML file of any name describing your new images
and put it into the /usr/share/gnome-wallpaper-properties/
directory...that's it.
The XML file you create should follow the general format like:

====== CUT ======
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
  <wallpaper>
    <name>Your Image Title</name>
    <filename>/path/to/your/image.jpg</filename>
    <options>stretched</options>
    <shade_type>solid</shade_type>
    <pcolor>#FFFFFF</pcolor>
    <scolor>#000000</scolor>
  </wallpaper>
  <wallpaper>
       ....... and so on ......
  </wallpaper>
</wallpapers>
====== /CUT ======

-- 
Deron Meranda


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]