Re: Displaying wallpapers in /usr/share/backgrounds/ in settings


As far as I know this isn't possible via dconf. There are a number of
sources available, via the Grilo backend.

Main ones:

pictures_path = g_get_user_special_dir (G_USER_DIRECTORY_PICTURES);

Anything from /usr/share/backgrounds *has* to be defined in an XML file
(It's actually been this way for a *long time*)

Check inside /usr/share/gnome-background-properties/*.xml
Here's an example from Fedora's branding changes:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
    <wallpaper deleted="false">
        <name>Schrödinger’s Cat Animated</name>


So, you'd need to provide one for each wallpaper you intended to ship
in /usr/share/backgrounds. This is intended behaviour as those
backgrounds are vendor-shipped (Or, layman's terms, they're already
pre-packaged and accounted for in your distributions repositories)

The easiest thing is to just copy files into ~/Pictures (Localization
may provide a different name, it's your XDG Pictures directory)

- Ikey

On Fri, 2014-03-14 at 22:29 +0200, Petko Ditchev wrote:
Hello, I want to ask if there's a way (dconf setting or whatever else) 
to make the wallpaper chooser display non-GNOME wallpapers that are in 
the backgrounds directory? And as a side question - why restrict to 
those in the first place ?!

desktop-devel-list mailing list
desktop-devel-list gnome org

Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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