LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   NEW DOCKAPP for WMaker and other WM that use Dockapps. (https://www.linuxquestions.org/questions/linux-general-1/new-dockapp-for-wmaker-and-other-wm-that-use-dockapps-4175627798/)

BW-userx 04-16-2018 03:39 PM

NEW DOCKAPP for WMaker and other WM that use Dockapps.
 
I just finished ( again ) writing a dockapp that will display an image, or a list of images within the dockapp for ones viewing pleasure.

It loads the images via a directory , or by a list for faster loading. Using ImLib2 it works with png, and jpg. one to many images can be loaded then displayed one at a time. Time to change image too is user controlled, as well as random displaying the images taken from the directory or a list.

check it out . let me know what you think.
It can be downloaded here, for freeeeee.

wmslideshow

thanks.

YesItsMe 04-17-2018 05:41 AM

Is there a screenshot?

BW-userx 04-17-2018 08:35 AM

It’s a 64x64 square with whatever pictures you Run through it. It’s a dock app mostly for WMaker, I have not tried running it in fluxbox or others, but it should run in them also.

YesItsMe 04-17-2018 08:39 AM

Ah, I see. I misunderstood it then.
I will try it tonight or tomorrow, when I'm back on my WMaker machine. :)

BW-userx 04-17-2018 08:44 AM

Cool thanks!

BW-userx 04-17-2018 12:07 PM

Quote:

Originally Posted by YesItsMe (Post 5844178)
Ah, I see. I misunderstood it then.
I will try it tonight or tomorrow, when I'm back on my WMaker machine. :)

I just uploaded a updated version just in case you already downloaded an older one.

YesItsMe 04-17-2018 12:28 PM

Not yet!

BW-userx 04-17-2018 01:37 PM

Quote:

Originally Posted by YesItsMe (Post 5844261)
Not yet!

I'm still tweaking it. Trying to get it user error proof as best I can. I have it down to searching my entire hdd and only loading up ".jpg", ".JPG", ".png", ".PNG", ".jpeg", ".JPEG", ".xpm", ".bmp", ".BMP - same goes for a file that is say created by using find to add the paths and file names into it. I think I am done with it. I'll be uploading that update in a few minutes from this posting.

YesItsMe 04-17-2018 01:37 PM

How about GIF/GIFV?

BW-userx 04-17-2018 01:38 PM

Quote:

Originally Posted by YesItsMe (Post 5844296)
How about GIF/GIFV?

let me go find some and load them to see if they show up. I am relaying on imlib2 to do all of that dirty work. hold on.

any other formats you can think of?

Update, It loads and displays gif's just does not animate them if they are animated.

YesItsMe 04-17-2018 01:40 PM

Does animated PNG work?

BW-userx 04-17-2018 02:00 PM

I just did this:
Code:

find ~/Dropbox -iname "*.*" > ~/everythingFiles
# then loaded it
 ./wmslideshow -t 3 -f ~/everythingFiles

#with the list looking like this.
/home/userx/Dropbox/lazarus-projects/image-viewer/lib/i386-linux/setbackground1.o
/home/userx/Dropbox/lazarus-projects/image-viewer/lib/i386-linux/main1.lfm
/home/userx/Dropbox/lazarus-projects/image-viewer/lib/i386-linux/colorsunit1 (munch-me-crunchbang's conflicted copy 2014-10-07).ppu
/home/userx/Dropbox/lazarus-projects/image-viewer/lib/i386-linux/imageviewer (munch-me-crunchbang's conflicted copy 2014-10-07).compiled
/home/userx/Dropbox/lazarus-projects/image-viewer/lib/i386-linux/colorsunit1.ppu
/home/userx/Dropbox/lazarus-projects/image-viewer/lib/i386-linux/main1.ppu
/home/userx/Dropbox/lazarus-projects/image-viewer/setbackground1.pas
/home/userx/Dropbox/lazarus-projects/image-viewer/imageviewer.res
/home/userx/Dropbox/lazarus-projects/image-viewer/main1.lfm
/home/userx/Dropbox/lazarus-projects/image-viewer/imageviewer.lpi
/home/userx/Dropbox/lazarus-projects/image-viewer/image-viewer-pas.tar.gz
/home/userx/Dropbox/linux/.icons/tmp.gfztlz/src/size_all.svg
/home/userx/Dropbox/linux/.icons/tmp.gfztlz/src/zoom-in.png
/home/userx/Dropbox/linux/.icons/tmp.gfztlz/src/vertical-text.cursor
/home/userx/Dropbox/linux/.icons/tmp.gfztlz/src/top_left_corner.svg
/home/userx/Dropbox/linux/.icons/tmp.gfztlz/src/up-arrow.cursor
/home/userx/Dropbox/linux/.icons/tmp.gfztlz/src/top_side.png
/home/userx/Dropbox/linux/.icons/tmp.gfztlz/src/crosshair.svg
/home/userx/Dropbox/linux/.icons/tmp.gfztlz/src/bd_double_arrow.cursor
/home/userx/Dropbox/linux/.icons/tmp.gfztlz/src/watch_01.png
/home/userx/Dropbox/linux/.icons/tmp.gfztlz/src/watch_03.png

and it just picked up the images, leaving the other crap behind

BW-userx 04-17-2018 02:02 PM

Quote:

Originally Posted by YesItsMe (Post 5844299)
Does animated PNG work?

no that is a whole different ball game to get them to work, you could simulate it, taking each frame out and adding them into a directory then loading them up and having it change frames every sec, unless you want to mod the code and make it accept milliseconds.

I did experiment with mpv just to see who it would look before moving forward with the idea. I had it display at 64x64 to watch a movie but that is way too little to actually watch a move, for me anyways.

YesItsMe 04-18-2018 03:02 PM

Sorry, I have not managed to find the time yet. But I still have it bookmarked!

YesItsMe 04-20-2018 02:14 PM

I was able to compile it and it looks well-thought. Can I use a config file instead of a long list of parameters?


All times are GMT -5. The time now is 03:24 AM.