Page 1 of 1

gpicview_0.1.11_slideshow

Posted: Tue 20 Jan 2009, 17:07
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]

Re: gpicview_0.1.9_slideshow

Posted: Tue 20 Jan 2009, 19:28
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

Posted: Tue 20 Jan 2009, 19:35
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

Posted: Tue 20 Jan 2009, 19:39
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.

Posted: Wed 21 Jan 2009, 09:55
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.

Posted: Wed 21 Jan 2009, 10:11
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.

Posted: Wed 21 Jan 2009, 10:27
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

Posted: Wed 21 Jan 2009, 10:45
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.

Posted: Wed 21 Jan 2009, 12:50
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

Posted: Wed 21 Jan 2009, 13:25
by HairyWill
aragon wrote:so please go for it.
OK, I will do it tonight.

Posted: Wed 21 Jan 2009, 14:21
by Libretto100ct
Gives me a lot to work with. Thank you very much for your replies.

Posted: Thu 22 Jan 2009, 17:16
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

Posted: Thu 22 Jan 2009, 20:46
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)

Posted: Sun 05 Apr 2009, 23:19
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?

Posted: Mon 06 Apr 2009, 16:23
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.

GPicView easy automatic slideshow

Posted: Mon 22 Jun 2009, 17:36
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.

Posted: Mon 22 Jun 2009, 17:55
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

Posted: Wed 24 Jun 2009, 18:33
by kethd
Has anyone submitted HairyWill's wonderful patches to the upstream maintainers? If not, lets do that!

Re: GPicView easy automatic slideshow

Posted: Wed 24 Jun 2009, 20:47
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