Monday, January 30, 2012

Change wallpaper and image desklet for Openbox

See his post and thread:
http://crunchbanglinux.org/forums/post/19893/#p19893


Or the original:http://crunchbanglinux.org/pastebin/235

Save as rotate-wallpaper.sh save in usr/bin and make executable.

Simple example of Tawan if you have nitrogen installed:
[code]
#! /bin/bash
WALLPAPERS="/your/path/to/backgrounds"
ALIST=( `ls -w1 $WALLPAPERS` )
RANGE=${#ALIST[@]}
let "number = $RANDOM"
let LASTNUM="`cat $WALLPAPERS/.last` + $number"
let "number = $LASTNUM % $RANGE"
echo $number > $WALLPAPERS/.last
nitrogen --set-scaled --save $WALLPAPERS/${ALIST[$number]}


source: http://crunchbanglinux.org/forums/post/37849/#p37849
Comment: This script just changes the wallpaper. You need to call it from conky or cron or something and set the frequency there.
example of a cronjob every 5 minutes
*/5 * * * * ~/.chgwall/rotate-wallpaper.sh.
in /home/user/.cron

With image changer desklet you can let rotate almost the entire desktop: http://crunchbanglinux.org/forums/post/55575/#p55575
if you edit the code for the image as to cover almost your screen entirely.
published also here: http://bbs.archbang.org/viewtopic.php?pid=10436#p10436

No comments:

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.