Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 11:18
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Easy to use random wallpaper changer
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 6 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Author Message
Eathray

Joined: 06 Sep 2009
Posts: 506

PostPosted: Tue 05 Jun 2012, 15:37    Post_subject:  

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
Back to top
View user's profile Send_private_message 
SFR


Joined: 26 Oct 2011
Posts: 1078

PostPosted: Tue 05 Jun 2012, 18:04    Post_subject:  

Thanks Eathray! Smile

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!
RWC_XFCE-1.2.pet
Description  For use only with XFCE!
pet

 Download 
Filename  RWC_XFCE-1.2.pet 
Filesize  2.35 KB 
Downloaded  399 Time(s) 

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send_private_message 
Eathray

Joined: 06 Sep 2009
Posts: 506

PostPosted: Tue 05 Jun 2012, 18:56    Post_subject:  

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
Back to top
View user's profile Send_private_message 
SFR


Joined: 26 Oct 2011
Posts: 1078

PostPosted: Tue 05 Jun 2012, 19:17    Post_subject:  

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!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send_private_message 
Eathray

Joined: 06 Sep 2009
Posts: 506

PostPosted: Tue 05 Jun 2012, 19:26    Post_subject:  

SFR,

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

I'll reboot now and see if it auto launches Cool

Thanks

Eathray
Back to top
View user's profile Send_private_message 
Eathray

Joined: 06 Sep 2009
Posts: 506

PostPosted: Tue 05 Jun 2012, 19:46    Post_subject:  

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
Back to top
View user's profile Send_private_message 
SFR


Joined: 26 Oct 2011
Posts: 1078

PostPosted: Tue 05 Jun 2012, 20:06    Post_subject:  

I think my powers aren't super (yet Wink ), but nice to hear that. Very Happy

Take care & Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send_private_message 
Geoffrey


Joined: 30 May 2010
Posts: 1428
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Thu 07 Jun 2012, 19:47    Post_subject:  

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
Back to top
View user's profile Send_private_message 
Eathray

Joined: 06 Sep 2009
Posts: 506

PostPosted: Mon 11 Jun 2012, 17:00    Post_subject:  

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 Razz

Eathray
Back to top
View user's profile Send_private_message 
bones01

Joined: 11 Aug 2008
Posts: 371
Location: Melbourne, Aus

PostPosted: Wed 13 Jun 2012, 03:40    Post_subject:  

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

I'm enjoying it.

Bones

_________________
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again)
Precise Puppy 5.4 live DVD
Back to top
View user's profile Send_private_message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Fri 22 Jun 2012, 20:54    Post_subject:  

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.
Back to top
View user's profile Send_private_message Visit_website 
SFR


Joined: 26 Oct 2011
Posts: 1078

PostPosted: Sat 23 Jun 2012, 07:54    Post_subject:  

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 Embarassed , it was supposed to follow symlinks, but apparently I forgot to test this feature; thanks rmcellig. Smile

It's just a single letter fix in /usr/local/RWC/rwc-main file:
Quote:
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:
Quote:
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!
RWC-1.3.pet
Description 
pet

 Download 
Filename  RWC-1.3.pet 
Filesize  2.63 KB 
Downloaded  387 Time(s) 

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send_private_message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Sat 23 Jun 2012, 13:47    Post_subject:  

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!!
Back to top
View user's profile Send_private_message Visit_website 
SFR


Joined: 26 Oct 2011
Posts: 1078

PostPosted: Sat 23 Jun 2012, 14:41    Post_subject:  

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!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send_private_message 
snowy


Joined: 16 Nov 2007
Posts: 68

PostPosted: Thu 26 Jul 2012, 13:35    Post_subject:  

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:
#!/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:
killall randomwallpaper
set_bg "/usr/share/backgrounds/defaultwallpaper.jpeg"
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 6 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0999s ][ Queries: 13 (0.0242s) ][ GZIP on ]