[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 04:31:49PM -0700, Justin Guerin wrote:
> On Tuesday 25 January 2005 16:14, stan wrote:
> > 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:
> [snip]
> > >
> > > 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?
> >
> It seems that way, but I couldn't find any documentation on it.  I haven't 
> looked that hard, though, because it's working for me.  Did it work for 
> you?

Thanks, I copied your example, and indeed it works.

Hopefully, that will be enough to get me started on modifying me script to work with
KDE.

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



Reply to: