wbs 1.3 review
Downloadwbs application is a webshots.com client that downloads and creates a background list for use with Xfce and windowmaker. Installat
|
|
wbs application is a webshots.com client that downloads and creates a background list for use with Xfce and windowmaker.
Installation:
Extract it:
tar zxvf wbs.tar.gz
you will have folder named .wbs
Create folder for images:
mkdir .wbs/images
Change exec flag on wbs file
chmod +x .wbs/wbs
Note: this is not needed if you call this script as perl argument. see crontab info below
Add entry to crontab to do processing:
crontab -e
add this line:
15 10 * * * /homedir/.wbs/wbs
or
@reboot /homedir/.wbs/wbs
REPLACE homedir WITH FULL PATH TO .wbs FOLDER (use pwd to find out)
Add entry to crontab to change background randomly
crontab -e
for xfce add this line:
0,30 * * * * export DISPLAY=:0; /path/xfdesktop -reload
or
@hourly export DISPLAY=:0; /path/xfdesktop -reload
REPLACE path WITH FULL PATH TO xfdesktop FILE (use which xfdesktop to find out)
for windowmaker add this line:
0,30 * * * * /homedir/.wbs/wmaker-reload
or
@hourly /homedir/.wbs/wmaker-reload
REPLACE homedir WITH FULL PATH TO .wbs FOLDER (use pwd to find out)
Download webdec (http://www.jamesbarford.net/webdec.php).
Compile it and place to some folder. Read documentation for it.
Edit wbs and change variables to reflect your setup.
Variables to change:
$user, $password, $path, $webdec, $images, $list
where:
$user - your user name for webshots.com (free)
$password - your password for webshots.com
$path - use homedir and .wbs from step 5
$webdec - full path to webdec binary
$images - path for images directory created in step 3
$list - file where images list is saved.
Run to check that it works:
./.wbs/wbs
or
perl .wbs/wbs
Update xfce desktop settings to use new images list
What's New in This Release:
The script was updated to the new webshots.com layout.
wbs 1.3 search tags