You are not logged in.
What is it
Backdrop-randomizer is a companion for xfdesktop which randomly cycles through wallpapers without repeating them until all have been displayed once. I wrote it specifically for xfce4 users displaying desktop pics with xfdesktop. If this is you, read on.
Rationale and Gap
Xfdesktop has a gap currently: it does not keep track of which images in a list are displayed as "backdrops" to the DE. The result is that some images in a list get displayed frequently while others are rarely displayed. A more robust implementation of the random background feature should randomly display an image in the list and _not_ repeat it until all list members have been displayed at least once. This bothered me so much that I opened a bug/enhancement with upstream.
...backdrop-randomizer fills this gap
How it works
Each time you or cron calls the script, it will randomly select a picture from your list to display. It will then remove the selection from the list so as not to repeat the same pic twice per cycle. When backdrop-randomizer sees you have only one pic left in your list, it regenerates the list anew and continues to cycle. The net effect is an endless rotation of your pics without a repeat.
Links
AUR: https://aur.archlinux.org/packages/backdrop-randomizer
Github: https://github.com/graysky2/backdrop-randomizer
Feedback is welcomed!
Last edited by graysky (2012-12-01 23:48:16)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thank you! I could never get xfdesktop to work properly with random pics!
Where is the manpage?
Offline
Thank you! I could never get xfdesktop to work properly with random pics!
Where is the manpage?
Glad you like it. Obvious question for you: are you running the latest version? I only yesterday wrote a man page which is included in the v2.10-1 release. Check the AUR and let me know (man page works for me).
Note that I try to always comment when I update one of my packages in the AUR so check there to see what is new. Example:
Bump to v2.10-1
Changelog: Total re-write of code and added manpage.
Last edited by graysky (2012-11-13 16:30:06)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thank you. My version was old. I can't believe that other people have not posted here yet. This is a pretty significant program I think.
Offline
I see you added colors to this too. All of your scripts are colorful now!
Offline
Hi, I think this is a great little tool. Just a quick note, when I installed it there was an output in the terminal with a set of instructions. It gave the cronjob entry as
*/20 * * * * /usr/bin/backdrop-randomizer
whereas the man page has the 'R' at the end. Might I suggest this gets added to the installation output.
Offline
Anyone else having issues using backdrop-randomizer after the xfdesktop-4.12.0-1 update?
archlinux | OpenRC | TOMOYO Linux | Xfce
"In his house at R'lyeh dead Cthulhu waits dreaming."
Offline
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thanks. Good to know I'm not doing something stupid here.
archlinux | OpenRC | TOMOYO Linux | Xfce
"In his house at R'lyeh dead Cthulhu waits dreaming."
Offline
Version 4.12 of xfdesktop has a randomize option built in but it doesn't account for repeats nor does it NOT rotate if the screensaver is active. Two of the key features I wrote into bdr.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I believe as a workaround you can use the xfce sequential rotation with the background and a symlink to the background. Then change the imagefile and force xfdesktop to cycle.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
OK! Eric has fixed this upstream: https://bugzilla.xfce.org/show_bug.cgi?id=11620
Here is a PKGBUILD you may use that patches xfdesktop per his code. Use it and bdr will "magically" function again: https://gist.github.com/graysky2/d98933bbf3fb03e461da
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Nice! I can confirm that bdr is working here now. Thanks for bdr and for the updated xfdesktop PKGBUILD!
archlinux | OpenRC | TOMOYO Linux | Xfce
"In his house at R'lyeh dead Cthulhu waits dreaming."
Offline