making a puppy picture frame

Booting, installing, newbie
Post Reply
Message
Author
tjk176
Posts: 8
Joined: Tue 07 Aug 2007, 21:32
Location: PA USA

making a puppy picture frame

#1 Post by tjk176 »

I want to turn an old laptop into a digital picture frame using puppy linux. I've seen a few posts here about other people doing the same thing. My problem is I'm a newbie. I hardly know where to start. I have no experience writing scripts or where to put them, etc. Could someone help with some examples of scripts and programs? Basically I feel like I need someone to hold my hand. I want the picture frame to boot directly to the slideshow, pulling pictures ideally from a remote samba share on the network. The wireless card would have to be turned on. I want the pictures to fit the screen possibly without being cut off. And I'd love to find a program with the ken burns effect. I hope this isn't too much to ask. Thanks in advance.

tjk176
Posts: 8
Joined: Tue 07 Aug 2007, 21:32
Location: PA USA

#2 Post by tjk176 »

bump

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#3 Post by muggins »

tjk176,

I know nothing about samba shares, or Ken Burns, but running a slideshow upon booting shouldn't be difficult.

Just open /root/.xinitrc, in a text editor, and down the bottom, before #exec $CURRENTWM you could add something like this:

Code: Select all

qiv -srf /whatever_directory/*.jpg &
#exec $CURRENTWM
This will get qiv to run a random slideshow on all images in that directory.

tjk176
Posts: 8
Joined: Tue 07 Aug 2007, 21:32
Location: PA USA

#4 Post by tjk176 »

Thanks for the reply. I guess if I have more specific issues in my adventure I'll be back. Thanks everyone.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#5 Post by HairyWill »

assuming you have an empty directory called /mnt/pictures you can mount a samba share by offering an incantation similar to the following

Code: Select all

smbmount //MYSERVER/MYSHARE /mnt/pictures -o username=MYUSERNAME,password=MYPASSWORD
word of warning qiv is not installed in puppy 4.00, shame I really like it
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#6 Post by muggins »

Hwill,

is there a replacement app for it in pup4, or is this an unfilled niche?

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#7 Post by HairyWill »

gqview is in the puppy 4 repository and will do the same job.
You need to set the defaults so that it fits the image to the screen and doesn't enlarge small images. The default gap between slides is 15 seconds, you might want to tweak that.
cd into the image directory and start it with
gqview -f -s *

There is gpicview in the repo as well which is really simple like the windows image viewer but it doesn't do slideshows. Considering that it has a button to advance to the next image it out to be really easy to hack and get it to play a slideshow automatically.

For now go with gqview.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Post Reply