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 May 2013, 16:59
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Background wallpaper slideshow
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
Namm

Joined: 19 Jan 2012
Posts: 15

PostPosted: Thu 19 Jan 2012, 05:59    Post subject:  Background wallpaper slideshow
Subject description: Getting (edit:) erhrm...anything to work properly
 

Hello! First of all, I'm a complete and utter newbie when it comes to Linux, and woho, Puppy is awesome! Quick, effective... Finally I can start up my computer in under a minute and just get to work - well, I could anyway, if I weren't fiddling around with all the fun stuff and settings... Smile

One of those things is 'zufall' that I downloaded with PPM. I added this to a script file under /root/Startup/:
Code:
#!/bin/sh
exec zufall /mnt/home/prettypics/

Amazingly, I actually think it works (it changes the background picture every 900 sec, randomly picking a picture from the dir and sub dirs), the problem is I can't see it. Except for the fraction of a second when I reboot/quit. It would nice to see my pictures a little bit longer though... I'm guessing something is "on top" of the stuff that zufall does, until that something closes down.

If it helps, I'm using the latest Slacko (hi-mem) with JVM and Rox-Filer. Oh, and Nathan Wallpaper Setter in the menu rarely launches when I click it.

Last edited by Namm on Thu 19 Jan 2012, 14:38; edited 1 time in total
Back to top
View user's profile Send private message 
norsiwel

Joined: 17 Aug 2005
Posts: 43
Location: the coast of Arkansas

PostPosted: Thu 19 Jan 2012, 11:13    Post subject: rwall wallpaper changer
Subject description: try doing a forum search for rwall
 

Hello, the forum search is a very handy item, try searching for rwall, a small script written by forum member Bruce B, it works fine for me in the 5.25 and 5.28.
_________________
the only thing that is constant is change
Back to top
View user's profile Send private message 
Namm

Joined: 19 Jan 2012
Posts: 15

PostPosted: Thu 19 Jan 2012, 14:37    Post subject:  

I did search. Smile The hits on zufall were mostly in German...

But yeah thanks for the tip about rwall. I can safely say that I've depleted all my mental energy for tonight though... I've had to copy all my pictures (photos actually, ordered in dirs after date) to a single dir. Now I only have to figure out how to rename them from *.JPG to *.jpg. Uhm, and rwall doesn't seem to be able to fit or stretch the pics? Or am I missing something?
Back to top
View user's profile Send private message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Thu 19 Jan 2012, 15:26    Post subject:  

An internet page about the program Arrow
Quote:
http://www.linux-magazine.com/Issues/2005/59/PICTURE-CHANGER/(kategorie)/0


An internet page about the program Arrow
Quote:
http://apfelboymchen.homeunix.net/gnu/C/zufall/


More information about the program Arrow
Quote:
http://apfelboymchen.homeunix.net/gnu/C/zufall/zufall.1.html


Can be in the system: a page for the "man-pages reader" program Arrow
Quote:
/usr/man/man1/zufall.1.gz


Command from the "/usr/share/doc/zufall-0.2.1/zufall-gnome.desktop" file Arrow
Quote:
zufall-gnome --minsize 300 /home/username/graphik/bilder

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send private message 
Namm

Joined: 19 Jan 2012
Posts: 15

PostPosted: Fri 20 Jan 2012, 10:36    Post subject:  

Thanks, but I've read all that. Neither zufall or zufall-gnome (with GConf) seem to work in Slacko, and rwall don't stretch.

Anyway, Nathan Wallpaper Setter GUI wasn't kind to me, but this little command wallslide /insert/your/dir did the trick after editing the config files at /root/.config/wallpaper/, which I added to a startup script. Easy, even for me. Shocked For some reason it makes backup copies of all the files it encounters, but I guess I can live with that.

EDIT: Maybe I wasn't paying attention, but wallslide doesn't randomize its selection, so forget about wallslide. I googled together this Frankensteinishly script to use instead, oh well... Smile

Code:
#!/bin/sh

while [ 1 = 1 ] #End script with "killall random_wallpaper" in console

do

   killall wallslide #Just in case...

   killall wallpaper #This is probably not needed.

   find /mnt/home/your_folder -name *'.JPG' -o -name *'.JPEG' -o -name *'.jpg' -o -name *'.jpeg' | sort -R > /root/.config/wallpaper/random_wallpaper; #Finds all kinds of JPG pictures, in subdirs too, and randomly sorts them and prints to file.

   awk '{print $0 "\""}' /root/.config/wallpaper/random_wallpaper > /root/.config/wallpaper/random_wallpaper_temp; #Adds a quotation mark to the end of each line (so that "wallpaper" will be able to handle spaces)...[/i]

   awk '{sub(/^/, "\"");print}' /root/.config/wallpaper/random_wallpaper_temp > /root/.config/wallpaper/random_wallpaper; #Adds a quotation mark to the beginning of each line.

   head -1 /root/.config/wallpaper/random_wallpaper | xargs wallpaper #Starts "wallpaper" with first line from file as argument.

   sleep 1200; #Time between changes.
done
Back to top
View user's profile Send private message 
zufall

Joined: 24 Jun 2012
Posts: 1

PostPosted: Sun 24 Jun 2012, 19:44    Post subject:  

Hi Namm,

you could use zufall like this
Code:
zufall /usr/share/backgrounds -n -c "wallpaper '%i'" -d 1200

If "wallpaper" is able to also set the background color around unscaled images (I couldn't find documentation), you can throw %c in.

You were right in your first post: most desktop environments hide the X root window, which is where zufall paints its images.
Back to top
View user's profile Send private message Visit poster's website 
Eathray

Joined: 06 Sep 2009
Posts: 335

PostPosted: Mon 25 Jun 2012, 02:32    Post subject:  

This thread has a number of pet packages that turn your desktop background into a slideshow. Some for normal Puppy and some for Puppies with XFCE:

http://murga-linux.com/puppy/viewtopic.php?t=77799

I'm using it. I have my screen set to change every 10 seconds.

Eathray
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0628s ][ Queries: 11 (0.0121s) ][ GZIP on ]