Mailinglist Archive: opensuse (3138 mails)
| < Previous | Next > |
Re: [SLE] KDE desktop refresh from script
- From: Sunny <sloncho@xxxxxxxxx>
- Date: Tue, 14 Dec 2004 16:52:29 -0600
- Message-id: <e7eeb2304121414524f6e43fc@xxxxxxxxxxxxxx>
On Tue, 14 Dec 2004 13:57:42 -0800, Randall R Schulz <rschulz@xxxxxxxxx> wrote:
> Sunny,
>
> On Tuesday 14 December 2004 13:24, Sunny wrote:
> > Hi,
> >
> > I want to change my wallpaper lets say every 30 or 5 minutes. I will
> > prepare a script, which will replace the current picture with a new
> > one, without changing the name, so there will be no need to mess with
> > the desktop options. And I will set this script to be run from cron.
> >
> > My only problem is, that I do not know hot to invoke desktop refresh,
> > so the new picture to be displayed. I need to refresh all kde user
> > sessions, if more than one. Any clue?
>
> That's not really a cron kind of thing.
>
> What you want is already built in to the KDE desktop software.
>
> I configure my desktop to display a photographic image of the Earth with
> an up-to-date terminator (with a nighttime iamge that displays urban
> light islands on the dark side of the planet) using the existing
> features of the background image support in KDE and the XPlanet
> software to synthesize the image.
>
> To wit:
>
> - Control Center -> Appearance & Themes -> Background
> - Click "Advanced Options"
> - Enable "Use the following program for drawing the background"
>
> Create a new entry that will invoke the script that generates you
> background image. Set the "Refresh time" to suit your taste. Look at an
> existing entry for clues on how to configure a background generator.
> The most important thing to know is that the name of the file in which
> to place new background images is expanded in place of any occurrences
> of "%f" in the command strings. Note, too, that this name will have no
> particular image-type-specific suffix (such as ".jpg", e.g.). If the
> program you use to generate an image requires such a suffix so it can
> determine what kind of image format to produce, you'll have to do
> something like this:
>
> Command: image-generator %f.png && mv %f.png %f
>
> > Thanks
> > Sunny
>
>
> Randall Schulz
>
> --
> Check the headers for your unsubscription address
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the archives at http://lists.suse.com
> Please read the FAQs: suse-linux-e-faq@xxxxxxxx
>
>
Thanks Randal, I have always wondered why "reinventing the wheel"
approach always hits me :)
--
Get Firefox
http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85
> Sunny,
>
> On Tuesday 14 December 2004 13:24, Sunny wrote:
> > Hi,
> >
> > I want to change my wallpaper lets say every 30 or 5 minutes. I will
> > prepare a script, which will replace the current picture with a new
> > one, without changing the name, so there will be no need to mess with
> > the desktop options. And I will set this script to be run from cron.
> >
> > My only problem is, that I do not know hot to invoke desktop refresh,
> > so the new picture to be displayed. I need to refresh all kde user
> > sessions, if more than one. Any clue?
>
> That's not really a cron kind of thing.
>
> What you want is already built in to the KDE desktop software.
>
> I configure my desktop to display a photographic image of the Earth with
> an up-to-date terminator (with a nighttime iamge that displays urban
> light islands on the dark side of the planet) using the existing
> features of the background image support in KDE and the XPlanet
> software to synthesize the image.
>
> To wit:
>
> - Control Center -> Appearance & Themes -> Background
> - Click "Advanced Options"
> - Enable "Use the following program for drawing the background"
>
> Create a new entry that will invoke the script that generates you
> background image. Set the "Refresh time" to suit your taste. Look at an
> existing entry for clues on how to configure a background generator.
> The most important thing to know is that the name of the file in which
> to place new background images is expanded in place of any occurrences
> of "%f" in the command strings. Note, too, that this name will have no
> particular image-type-specific suffix (such as ".jpg", e.g.). If the
> program you use to generate an image requires such a suffix so it can
> determine what kind of image format to produce, you'll have to do
> something like this:
>
> Command: image-generator %f.png && mv %f.png %f
>
> > Thanks
> > Sunny
>
>
> Randall Schulz
>
> --
> Check the headers for your unsubscription address
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the archives at http://lists.suse.com
> Please read the FAQs: suse-linux-e-faq@xxxxxxxx
>
>
Thanks Randal, I have always wondered why "reinventing the wheel"
approach always hits me :)
--
Get Firefox
http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85
| < Previous | Next > |