You are not logged in.

#1 2011-10-13 09:29:57

lavi741
Member
From: Israel
Registered: 2011-10-13
Posts: 7

[WORKAROUND] GNOME 3.2 and xml backgrounds (slideshow)

Hey.. I know this is kind of a weird topic.. but is GNOME 3.2 still compatible with xml backgrounds?
Even when placing xml files in GNOME's backgrounds directories they won't show up. Setting it through dconf makes the it shows a preview of my "current" background in the background settings, but my desktop is painted with the primary colour instead..
Looking through dconf and google showed no results (odd way of spending my time?).. Is there someone in here who is using xml backgrounds with GNOME 3.2?
Hint: My gnome-backgrounds does not include the "cosmos" wallpaper..
Thanks..

Last edited by lavi741 (2011-10-13 12:01:34)

Offline

#2 2011-10-13 12:00:43

lavi741
Member
From: Israel
Registered: 2011-10-13
Posts: 7

Re: [WORKAROUND] GNOME 3.2 and xml backgrounds (slideshow)

After looking through fedora forums I gave up (at least until I find another way) and decided to use a script (which I wanted to avoid - if anyone does have information about it.. I'll be thankful)
The script (save google time anyone?)+[Written by Michael Moore, Nov. 2007]:

#!/usr/bin/perl -w
use strict;
use warnings;

### Start CONFIG

my $searchPath = '/home/........';
my $switchTime = 7200;                 # Time is in seconds

### END CONFIG

# bgotd-- background of the day
#
# A super simple script which randomly picks a jpg/JPG/jpeg/JPEG photo to place as your
# Gnome desktop.
#
# Written by Michael Moore, Nov. 2007
# This work is hereby placed in the public domain 

my @photos = `find $searchPath -type f | grep [jJ][pP][eE]*[gG]`;
chomp(@photos);
my $photo;

while(1)
{
    $photo = $photos[rand($#photos)];
    `gsettings set org.gnome.desktop.background picture-uri "file:///$photo"`;
    sleep($switchTime);
}

Offline

#3 2011-10-13 16:05:50

mirandir
Member
Registered: 2010-11-09
Posts: 55
Website

Re: [WORKAROUND] GNOME 3.2 and xml backgrounds (slideshow)

xml backgrounds seem to work for me in Gnome 3.2. You can look at my signature for my AUR package, infinity-background, which is an animated background with xml file.

Offline

Board footer

Powered by FluxBB