You are not logged in.
Hey!
I wrote a little bash script that handles some aspects of changing wallpapers in KDE (it makes a dcop call, hence has kdelibs as a dependency). It's called wpchanger and has a special dependency besides bash and kdelibs (and now imagemagick): unsort. What unsort does is randomizes a list in a text file. That's it.
My point in going on about unsort is that I'd love it if this was moved to Community so that pacman could find it (though I love aurbuild). So I hope people will vote for this small program in the AUR. Ok I'm off my soap box now.
EDIT:
Version 0.9.1 is finished. My lack of knowledge in programming in general is showing heavily now, but the damned thing probably works if you're using KDE.
Current Dependencies
bash (this script is getting a little ridiculous now)
kdelibs (for dcop calls; the kdialogs use kdebase)
unsort (for randomizing the wallpapers)
imagemagick (for the great 'identify', which allows me to determine if a file is actually an image or not, as well as give me the dimensions so I can determine if I should tile it)
Offline
Version 0.2 has been released and includes a new option, setting the display mode to apply to the wallpaper list.
Offline
I thought KDE had this feature built-in. I wish this was xfce orriented.
Any contribution to the community is appreciated by me though.
Offline
Indeed KDE does have a feature like this built into Control Center. However, it doesn't do things exactly like I'd prefer, especially in terms of keeping a history of randomly chosen backgrounds and some other features.
This script can be easily modified to work in XFCE, just as long as there is a similar type of dcop call. I'm not familiar with how that works though. The only part that is KDE-oriented is the actual dcop call. I'll look into what XFCE uses.
Offline
There's a number of ways to do it... fbsetbg is one that I currently use for fluxbox and a few other WM's.
--
Some of the world's greatest feats were
accomplished by people not smart enough
to know they were impossible.
-- Doug Larson
Offline
Hiya; new release (see first message).
Offline
PKGBUILD for 0.4:
# Maintainer: FJ <joostef@gmail.com>
# Contributor FJ <joostef@gmail.com>
pkgname=wpchanger
pkgver=0.4
pkgrel=1
pkgdesc="A simple wallpaper manager for KDE."
url="http://openset.org/"
depends=('bash' 'kdelibs' 'unsort')
source=http://openset.org/file_download/$pkgname-$pkgver.tar.gz
md5sums=('b4161bf4b0dd7d12d5bf891b85319749')
build() {
cd $startdir/src
mkdir -p $startdir/pkg/usr/bin
cp wpchanger $startdir/pkg/usr/bin
}
Offline
I thought KDE had this feature built-in. I wish this was xfce orriented.
Any contribution to the community is appreciated by me though.
I got this one from the xfce irc channel or mailing list. cant remember anymore.
Just put this as an executable script under ~/Desktop/Autostart/
#!/bin/bash
handle_hup ()
{
exit 0
}
trap "handle_hup" HUP
while(true)
do
sleep 10m
xfdesktop -reload
done
Just change the sleep command to your liking and make sure you have some nice wallpapers in your backdrops.list file
Offline
0.7 released. I put in KDE Trash support for delete.
Offline
0.9.1 done (see first message). I'd be happier if someone rewrote this in a proper language. This is getting a bit UGLY.
Offline
By a proper language, I assume you mean something other than bash. If thats the case you might want to look into xterminus' wallpaper changer written in perl (with some other features, like making urvxt have a blurry background with the current background, some conky stuff and some gtk and openbox stuff, but any of these can be disabled in the config file). http://cmauch.googlecode.com/svn/wallpaper
Offline