gpicview_0.1.11_slideshow

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

gpicview_0.1.11_slideshow

#1 Post by HairyWill »

I have hacked at the source to gpicview to give it slideshow functionality.

To start a slideshow click on the triangle button, hit W or use the right click menu. Repeating this action stops the slideshow. To avoid actioning on the wrong image, the slideshow will quit automatically if you use the rotate or save buttons. The slide delay can be set using the preference dialog.

I have provided a tar of the source, all my changes are commented //hairywill.

[edit]there is also a copy of the gzipped binary attached[/edit]
Attachments
gpicview.gz
(31.7 KiB) Downloaded 715 times
Last edited by HairyWill on Thu 29 Jan 2009, 12:28, edited 3 times in total.
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]

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

Re: gpicview_0.1.9_slideshow

#2 Post by WhoDo »

HairyWill wrote:I have hacked at the source to gpicview to give it slideshow functionality.
Click the triangle or hit 'w' to start the slideshow.
Click the triangle, arrows or hit 'w' to stop the slideshow.
It might mess about with the save and open dialogs if the slideshow is running.
Great work Will! I'll give it a trial. Barring major catastrophe's (not likely with your stuff, I know) I'll add it to the second alpha.

Cheers
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#3 Post by aragon »

maybe we could patch gpicview 0.1.11 which is the actual one?

@ will: do you or should i try my luck?

aragon

Libretto100ct
Posts: 68
Joined: Sun 21 Dec 2008, 01:15
Location: Ga, USA

#4 Post by Libretto100ct »

Hello Will,

Is this something that can be configured to start up into slide show after boot?

The reason I'm asking is because I'm looking to do just that when converting old spec Laptops to Digital Picture frames.

I have modified a Puplet to a base system and know to put a slide show program in the Start Up folder, but haven't found a slide show program yet that starts automatically without having to click anything.

Thanks for your time.

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

#5 Post by HairyWill »

@Aragon
I think you would enjoy the exercise, go for it. :) If you don't have time I will pick it up in a few days.

@Libretto100ct
The version I produced does not have the ability to start the slideshow automatically. Gqview in the repository can do it:
making a puppy picture frame
You could also write a small script using xli but then you would need to change the jwm config to hide the tray.
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]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#6 Post by 01micko »

HairyWill,

I wrote a small script including xli based on MU's scale2pics, xlideshow. It was improved by CatDude and trio.CatDude's version is most interesting because he made a gui to control it. We didn't figure out the JWM issue however trio figured out the Icewm issue with hiding the tray. Zigbert figured out hiding for Jwm when he redesigned it and included it in Pwidgets (the original intention). Both of these fixes for Jwm and Icewm should be included in 4.2, so if you use that it is a non issue (yes I know, alpha!). Or you could download his Jwm fixes from the '4.2 desktopand artwork' thread in suggestions forum.
Puppy Linux Blog - contact me for access

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

#7 Post by HairyWill »

Micko
I think you are referring to not having the icon showing in the tray using the jwm <Group> element. I meant hiding the tray itself by setting the autohide attribute of the jwm <Tray> element or alternatively just removing the tray definition altogether (just don't ever minimise a window if you do this).

If I was starting Librettos project from scratch I would probably use puppy-214R which has gtk1 and qiv. Qiv is an excellent command line image viewer that works well in fullscreen mode. It has full featured set of commandline options and the keyboard controls are excellent. To start a slideshow automatically I would use something like
qiv -fsmd 5 /mnt/hda1/photos/*.jpg
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]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#8 Post by 01micko »

Will

Thankyou. Understood. Would probably work just fine in Icewm with tray hide option set too.

Anyway, back on topic I'm downloading now.
Puppy Linux Blog - contact me for access

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#9 Post by aragon »

@will

exercise taken and lesson learnt!

1. played with pfind and xfdiff. great
2. patched the source. great
3. configure: ok
4. make: what do these errors mean???
5. back to source, but ???????

Learned lesson: always try it but always be honest: NO I CAN'T!

so please go for it.

cheers
aragon

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

#10 Post by HairyWill »

aragon wrote:so please go for it.
OK, I will do it tonight.
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]

Libretto100ct
Posts: 68
Joined: Sun 21 Dec 2008, 01:15
Location: Ga, USA

#11 Post by Libretto100ct »

Gives me a lot to work with. Thank you very much for your replies.

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

#12 Post by HairyWill »

updated to use gpicview-0.1.11

made button a toggle to show if the slideshow running
added ability to set slide delay using the preference editor
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]

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#13 Post by WhoDo »

HairyWill wrote:updated to use gpicview-0.1.11

made button a toggle to show if the slideshow running
added ability to set slide delay using the preference editor
Great work, Will! I have downloaded for inclusion in alpha2. Thanks, mate. 8)
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

User avatar
synth
Posts: 209
Joined: Wed 18 Mar 2009, 17:51

#14 Post by synth »

HairyWill, there's a problem with your build of gpicview (reported by panzerpuppy):
GPicView doesn't zoom a small picture to fit it to the window when the 'fit to window' option is enabled.The feature works only when the image is larger than the window.
Can you do something to fix this annoying bug?

User avatar
synth
Posts: 209
Joined: Wed 18 Mar 2009, 17:51

#15 Post by synth »

- There's another problem with gpicview: it's not possible to open a single instance and re-use that window for other images.

(i.e. if you try to open another image file with the ROX filer, another instance of gpicview is created)

- The zoom steps are too fine and irregular (not linear). You have to click 100 times to zoom an image to 2x it's original size.

kethd
Posts: 451
Joined: Thu 20 Oct 2005, 12:54
Location: Boston MA USA

GPicView easy automatic slideshow

#16 Post by kethd »

GPicView 0.1.11 in Puppy Linux 4.2.1 is wonderful! It makes it so easy to start showing all the files in a directory as an automatic slideshow!! Just open one picture in GPicView, click on the triangle or type W, and a fully automatic slideshow starts, a new picture every 5 seconds!!! It is then easy to stop and start the slideshow, go forward and back as desired...

Even more incredibly wonderful, this simple little tool also includes a complete ability to handle the image orientation problem. If your pictures come up sideways, you can easily rotate them -- and your changes will be permanent in the picture file itself. The picture will display properly in the future. However, this feature is somewhat dangerous, perhaps too powerfully easy. Many users would not realize that every time they rotate the image they are making a permanent change in the file -- most programs that include this function just rotate the current view. We can hope/assume this rotation is lossless, but is the image data actually recomputed, or is just the EXIF orientation tag changed? (There does not seem to be a big change in the file size.) Also, when the file contents are updated by this program it seems to add thumbnail data to the file and change the last-modified date. Is there any documentation about this program anywhere?

Is there any way to change the 5-second delay in the slideshow? How, exactly? It would be nice if it were easy to do this while the program is running.

It includes a fullscreen mode, but it is a little quirky. The toolbar at the bottom stays. And it is unclear how to get out of fullscreen mode. It would be nice to be able to specify the background color, at least black/white.

There is a new version, GPicView 0.2.0 (2009-05-29). Is there a changelog? Any significant changes?
Would some kind soul please make this available for Puppy, and incorporate it in future versions?

A further improvement in ease of access to slideshows would be for GPicView to be able to directly access directories, and be integrated into the Puppy context menu for directories, instead of being forced to start with one picture file to access the slideshow function. And it would be great to be able to choose between a slideshow of just one level of the directory or to have it recurse the sub-sub-directories.

Bug reports: changing the screen mag setting during a slideshow only applies to the current image. There is a very nice Preferences sub-window with settings for the Slide Delay time and whether and how rotated images are saved. But this function is hidden as the last icon in the toolbar, and does not appear in the right-click list. Also, the bottom toolbar and the right-click list do not include an exit function. If the top bar disappears, which happened to me and may be intentional in fullscreen mode, there is no way to exit the program.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#17 Post by aragon »

hi kethd,

the slideshow-function was added by our forum-member HairyWill. Unless the original author has picked up his code, gpicview will not have the slideshow-function you like so much.

aragon

kethd
Posts: 451
Joined: Thu 20 Oct 2005, 12:54
Location: Boston MA USA

#18 Post by kethd »

Has anyone submitted HairyWill's wonderful patches to the upstream maintainers? If not, lets do that!

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

Re: GPicView easy automatic slideshow

#19 Post by ttuuxxx »

kethd wrote: Is there any way to change the 5-second delay in the slideshow? How, exactly? It would be nice if it were easy to do this while the program is running.
look at the picture below :)
ttuuxxx
Attachments
timedelay.jpg
(64.74 KiB) Downloaded 367 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Post Reply