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

Re: Help getting KDE setup to display random backgtound image



On Tue, Jan 25, 2005 at 10:29:17AM -0700, Justin Guerin wrote:
> On Monday 24 January 2005 16:43, stan wrote:
> > On Mon, Jan 24, 2005 at 10:10:39AM -0700, Justin Guerin wrote:
> > > On Sunday 23 January 2005 16:30, stan wrote:
> > > > I'm trying to get KDE on testing set up to display a random
> > > > background image from a directory of images. I have a perl script
> > > > that does what I want, but I cannot seem to get KDE configured
> > > > corectly to acomplish this. It looks like i should be able to set it
> > > > up in the background setup to do this, but what I am seeing is that
> > > > my image flashes up breifly, then the background gets overwritten.
> > > >
> > > > How exactly should I e setting this up?
> > >
> > > What does it get overwritten with?  A solid color?  A gradient?  Also,
> > > what does your perl script do?  It seems the background setup for slide
> > > shows does everything you want, without the need for an external
> > > program.
> >
> > The selected background, wheter that be solid or a gradient. How can I
> > tell KDE _not_ to use a background color?
> >
> > As to the slide show, the problem is thta the directory of images changes
> > frequnetly.
> >
> > It uses xv to put an image in teh root window.
> >
> How about setting up your own background program config in the KDE control 
> center?  What I mean is, select background program, click on the advanced 
> options, then create a new program.  Make the format something like this:
> 
> <program with options that output to a file called "%f.jpg> && mv %f.jpg %f
> 
> This works for me, as I use xplanet to show earth as the sun illuminates 
> different portions.  Here's a copy of my setup:
> 
> xplanet --origin moon --target earth --projection rectangular --geometry 
> %xx%y --num_times 1 --output %f.jpg && mv %f.jpg %f
> 
> Note that it's only one line.  Put this in both the preview command and 
> command field, and it should just work.
> 
Thnaks.

I take it that %f is a variable in KDE that represents the current bacground?

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin



Reply to: