[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xfce4: periodic random backdrop change



I don't know how commonly known this is, but I figured it wouldn't hurt
to throw this out there.

1. Create a backdrops list file using xfce, or by hand. I'll call this
$LISTFILE.

2. Set your backdrop to $LISTFILE.

3. Place this script somewhere on your disk.

,----[ xfce-reload-desktop ]-
| #!/bin/sh
| 
| (pidof xfdesktop 2&>/dev/null) && xfdesktop --reload
`----

4. Add a user crontab entry. The desktop will change when this script's
run. The example below runs every five minutes; crontab(5).

*/5 * * * * /usr/local/bin/xfce-reload-desktop

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0     .
( ) ICQ 43190205 | Mail/Jabber/Yahoo/MSN: BrianLRyans@gmail.com      ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ /* Witty quotes of 68 chars or less here. Email me for more info. */

Attachment: signature.asc
Description: Digital signature


Reply to: