Automatic wallpaper change tool/script/utility

Apoorv Khatreja

Super Loser
Messages
1,327
Location
Delhi
ISP
Reliance Thunder 1099 4 Mbps UL
I have a really large and nice collection of wallpapers. I want a script/utility which can automatically choose a random wallpaper from a folder and make it my wallpaper. I use KDE in PCLinuxOS.
 
HACK:Set your wallpaper to a symlinkSimple shell script for setting this link to a random image in a directoryCron job to call this script every X minutes ;)
 
You can also use this method. Place your wallpaper as mywall.jpeg in your system wallpaper directory. try this script( assume you have 1500 wallpapers collection otherwise change the number) . This is just an idea. Obviuosly you need to modify this to suit your needs.

#!/bin/bash
DIRWALL="wallpaper collection directry"
DIRSYS="system wallpaper direcory"

A=`date +%s`
RAN=`expr \( $A % 1500 \) + 1`
cd $DIRWALL
TMPWL=`ls -A | cat -n| awk -v RAN1=$RAN '{if ($1 == RAN1) print $2}'`
cp -af $TMPWL $DIRSYS/mywall.jpeg
 
I did a search with apt and found these many softwares for wallpaper changer in Gnome :D
Wallpaper-tray
wallpaper changing utility for GNOME
This utility sits in your GNOME Panel Notification Area. It sets a random
wallpaper from a list of directories either at login, on a regular basis
or on demand.

Homepage: .: planetearthworm :. - bringing down the black vale

Drapes:
a desktop wallpaper management application for the GNOME desktop
The aim of drapes is to complete (or replace) the built-in GNOME desktop
wallpapers selection tool. It can be configured as a tray application or as a
panel applet. The bigest selling point of drapes is the ability to rotate
wallpapers on a timely basis. It strives to be as simple as possible and
fits in the rest of the GNOME 2 desktop.

Project Homepage: Desktop drapes: GNOME wallpaper manager
 
Back