You are not logged in.

#1 2008-11-03 23:31:24

linduxed
Member
Registered: 2008-10-12
Posts: 64
Website

[SOLVED] Timed wallpaper cycling

Hi there Arch users!

I'm currently using wmii as my WM of choice and with it being a lightweight WM it doesn't have native wallpaper support (AFAIK), much less the timed wallpaper cycling I'm looking for.
The idea is that I've got a directory where I dump all my wallpapers and then the utility of choice randomly selects one every something minutes.

Currently I very much like "habak" for the switching, but one has to set up a cronjob for it to work. I have nothing against such a solution, but I tried adding the following lines to my main user's "crontab -e" (one at a time) and noone worked:

*/6 * * * * DISPLAY=:0:0 /usr/bin/habak -hi /my/walls/here/
*/6 * * * * linduxed DISPLAY=:0:0 /usr/bin/habak -hi /my/walls/here/
*/6 * * * * linduxed /usr/bin/habak -hi /my/walls/here/

None of these changed the wall every six minutes as selected.

I've heard "feh" can be used for this kind of thing, but I've never used feh so I'd need thorough help on using that app, should it appear to be the preferred tool.

To be honest though, I'd prefer fixing the crontab since I want to understand why this method fails when "habak -hi /my/walls/here/" works so well.

Last edited by linduxed (2008-11-04 09:45:32)

Offline

#2 2008-11-04 02:08:13

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: [SOLVED] Timed wallpaper cycling

You are setting DISPLAY incorrectly, as I told you on IRC.

*/6 * * * * DISPLAY=:0.0 /usr/bin/habak -hi /foo/

Offline

#3 2008-11-04 09:45:06

linduxed
Member
Registered: 2008-10-12
Posts: 64
Website

Re: [SOLVED] Timed wallpaper cycling

Simple typo then, that helped.

Offline

Board footer

Powered by FluxBB