Easy to use random wallpaper changer

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

#16 Post by Eathray »

SFR,

This wallpaper switcher pet is fantastic!

Could I request a pet version for xfce on Lucid 525? That's lucid with the older kernel, in case anyone doesn't know.

Would be great to have this in xfce!

Thanks

Eathray

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#17 Post by SFR »

Thanks Eathray! :)

Here it is, briefly tested in Saluki-022 and Lupu-528 + XFCE-4.4.6.2 (from the repo).
Hope it will work in your Puppy, too.

Note: In Lupu, right after loading XFCE for the first time, I had to change wallpaper manually at first (via 'Desktop Settings'), and only after that the app started to work correctly.
I don't know why's that..?

Anyway, just let me know if everything's all right for sure.

Greetings!
Attachments
RWC_XFCE-1.2.pet
For use only with XFCE!
(2.35 KiB) Downloaded 785 times
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

#18 Post by Eathray »

SFR,

Smokin' man! Worked out of the box.

Thanks. I did not expect such a quick response, either. Cool.

Can I ask, how would I go about setting this up to automatically launch on start up? Any thoughts?

Thanks again. Works fantastic.

Eathray

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#19 Post by SFR »

I'm glad it's ok.

When you press "Start" button, shortcut in the /root/Startup directory is created, to launch the app at system start.
And, adequately, pressing "Stop" removes the shortcut.

It doesn't work for you?

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

#20 Post by Eathray »

SFR,

Hmm... I don't know :oops: I've just been sitting here watching your awesome creation, and I haven't rebooted :lol:

I'll reboot now and see if it auto launches 8)

Thanks

Eathray

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

#21 Post by Eathray »

SFR wrote:I'm glad it's ok.

When you press "Start" button, shortcut in the /root/Startup directory is created, to launch the app at system start.
And, adequately, pressing "Stop" removes the shortcut.

It doesn't work for you?

Greetings!
SFR,

You are right. I bow to your super powers. I rebooted and it launched right up. I was also pleased that the dialogue box was closed. PERFECTION :wink:

Thanks again,

Eathray

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#22 Post by SFR »

I think my powers aren't super (yet :wink: ), but nice to hear that. :D

Take care & Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#23 Post by Geoffrey »

Eathray,

if you didn't know, Saluki-022 already has a random wallpaper changer with switch times from 1 min to 240 min in the PPM.

XFCE Desktop settings allows you to create a list of images to use with it,
the list of images can be added or subtracted with images from any location.

The Wallpaper changer locates itself in the systemtray. xfwpcnm-1.0.pet

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

#24 Post by Eathray »

Geoffrey wrote:Eathray,

if you didn't know, Saluki-022 already has a random wallpaper changer with switch times from 1 min to 240 min in the PPM.

XFCE Desktop settings allows you to create a list of images to use with it,
the list of images can be added or subtracted with images from any location.

The Wallpaper changer locates itself in the systemtray. xfwpcnm-1.0.pet
Thanks for the info...

Although, I got so excited with SFR's way cool .pet I've already installed it on a half-dozen Pups :P

Eathray

bones01
Posts: 371
Joined: Mon 11 Aug 2008, 07:47
Location: Melbourne, Aus

#25 Post by bones01 »

This is very cool. Thanks for making it so simple for people like me :)

I'm enjoying it.

Bones
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again. Sadly, I couldn't get it fixed :? )
Precise Puppy 5.4 live DVD
Precise 5.7.3 on USB

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#26 Post by rmcellig »

I am now using Random Wallpaper changer and was wondering if RWC can work with absolute or relative links to background images instead of accessing image files directly.

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#27 Post by SFR »

rmcellig wrote:I am now using Random Wallpaper changer and was wondering if RWC can work with absolute or relative links to background images instead of accessing image files directly.
Doh :oops: , it was supposed to follow symlinks, but apparently I forgot to test this feature; thanks rmcellig. :)

It's just a single letter fix in /usr/local/RWC/rwc-main file:
WALLPAPER=`find -L "$PIX_PATH" -maxdepth 1 -type f -print0 | xargs -0 file -i | grep " image/" | sort -R | tail -1 | rev | cut -f2- -d ':' | rev`
and should be:
WALLPAPER=`find -L "$PIX_PATH" -maxdepth 1 -type f -print0 | xargs -0 file -Li | grep " image/" | sort -R | tail -1 | rev | cut -f2- -d ':' | rev`
I also rewrote RWC a bit, to automatically detect if there's XFCE session running, so now RWC-1.3 works with XFCE as well as other, 'ROX Desktop' based, window managers (Openbox/JWM/IceWM...).

PS. It's better to stop and uninstall previous RWC before installing this one.

Greetings!
Attachments
RWC-1.3.pet
(2.63 KiB) Downloaded 709 times
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#28 Post by rmcellig »

Thank you thank you thank you!! This is what I love about puppy Lunux I would never get from my Mac. Here I am with a symlink issue and just like that it's resolved. Plus a new updated version to boot!! Can I uninstall from the package manager or is there something else I need to do?

I am having so much fun with puppy Linux!!

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#29 Post by SFR »

Just stop RWC and then uninstall it via PPM.

I recommend it, because the start/stop mechanism has been changed also to prevent a strange behaviour under XFCE that I've noticed recently.
Sometimes after restarting X server there were two processes of RWC active - something similar to what Jim1911 has reported earlier...
Now it's (hopefully) fixed.

Have fun & Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
snowy
Posts: 68
Joined: Sat 17 Nov 2007, 00:12

#30 Post by snowy »

Great little paper changer.

May I suggest an improvement, or maybe just a variant. I didn't like waiting for the first change, especially if INTERVAL is long.

I want it to show a new set of wallpapers in backgrounds/1 and to show the first one immediately. At present it waits for "INTERVAL" before showing the first wallpaper in the new set. It will change immediately if I move the line "sleep $INTERVAL":

Code: Select all

#!/bin/bash

# Randomly changes the wallpaper at fixed time intervals

INTERVAL=90      # in seconds

while true; do
    WALLPAPER=`ls /usr/share/backgrounds/1 | sort -R | head -1`
  set_bg "/usr/share/backgrounds/1/$WALLPAPER"
  sleep $INTERVAL
done
I have saved the following code and made it executable to return to my default wallpaper:

Code: Select all

killall randomwallpaper
set_bg "/usr/share/backgrounds/defaultwallpaper.jpeg" 

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#31 Post by SFR »

Hey Snowy.

I think the same way...and actually it's already done in all RWC .pets. 8)

Thanks & Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

don922
Posts: 433
Joined: Sat 19 Jan 2008, 07:58
Location: Nong Yai Buah

Menu Screen not usable

#32 Post by don922 »

I am using Lucid Puppy 528.005 with the JWM desktop.

I have tried both PWC 1.3 and 1.2 they each do the same thing. The control panel for the program is minimized and cannot be made larger. Right clicking the edge of the panel displays the "gray menu", but this menu doesn't include "Resize" and when "Maximize" is selected the RWC's menu moves to the upper left corner of the screen but the size doesn't change.

The program really isn't usable.
Attachments
RWC1.jpg
(18.58 KiB) Downloaded 1227 times
[color=green][i]Don -- Thailand[/i][/color]
[url=http://www.puppylinux.com][img]http://tinypic.com/4e0tojl.jpg[/img][/url]

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#33 Post by SFR »

Yup, looks awful when font size is too large... :?
Thanks for pointing this out! :)
Try RWC-1.4, it's auto-resizable now.

Additionaly I added option to include subfolders of the selected folder.

Greetings!
Attachments
RWC-1.4.pet
RWC-1.4
(2.7 KiB) Downloaded 797 times
RWC-1.4.png
Screenshot
(36.24 KiB) Downloaded 1073 times
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

don922
Posts: 433
Joined: Sat 19 Jan 2008, 07:58
Location: Nong Yai Buah

It's working now -- Great!

#34 Post by don922 »

SFR wrote:
Try RWC-1.4, it's auto-resizable now.
It works like a charm..........

Thank you for a great app.
[color=green][i]Don -- Thailand[/i][/color]
[url=http://www.puppylinux.com][img]http://tinypic.com/4e0tojl.jpg[/img][/url]

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#35 Post by SFR »

Hey Don922

Glad to hear that RWC works for you ok now. :)
______________________________________

Sorry to those who already have downloaded RWC-1.4.
The next version is ready, again...but I guess I'll give it a rest with another updates in the nearest future.

This time I added:
- choice of wallpaper style
- choice to follow symlinks or not
- minor improvements & fixes

Note: it's better not to mix Tile style with Wbar-2.3.0-1 in ROX enviroment, because Wbar won't be refreshed properly in this case.
I can't say why is that; the same thing happens when I choose 'Tile' in Nathan Wallpaper Setter and then refresh Wbar with right-click...
But then again under XFCE everything is just fine...

Greetings!
Attachments
RWC-1.5.pet
RWC-1.5
(3.55 KiB) Downloaded 797 times
RWC-1.5.png
Screenshot
(30.87 KiB) Downloaded 1085 times
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

Post Reply