[wellylug] Desktop Random Image Changer 1.0

John C Barstow jbowtie at amathaine.com
Tue Jul 6 09:25:52 NZST 2004


There's a little utility called chbg (for change background) that does 
the same thing. In Debian I just apt-get install chbg

> 
> 
> hi all,
> 
> I wanted to change my desktop background, but I couldn't decide what
> image I liked the most. So, I decided to make a script that picks an
> image at random & displays it on the desktop.
> 
> It's a perl script. It simply picks a directory from the list at random.
> Then, it gets all the image files in that directory, & picks one at
> random.
> 
> Finnaly, it makes a link to the chosen image. This link will always have
> the same name. You simply set the link as your background image.
> However, to view the change (in GNOME) you will have to logout, so GNOME
> reloads the image from the file.
> 
> To set up:
> 1. Configure the settings system. It's self explaniatory & has comments
> for your use.
> 2. List the file in your start up scripts, so it is run at everyboot.
> This file differs from distro to distro, but on LFS it's
> /etc/rc.d/init.d/gdm
> 
> 
> enjoy,
> 
> 
> -- 
> -- Jethro
> 
> dodocaptain at paradise.net.nz
> 
> http://homepages.paradise.net.nz/jethroc
> http://homepages.paradise.net.nz/jethroc/cv.html
> 
> http://www.wellylug.org.nz
> 
> 

-- 
John C Barstow
GNOME Translation Project
Maori Language Co-ordinator




More information about the wellylug mailing list