Deviation Actions

alecive's avatar

Nookie Slideshow Conky

By alecive
39 Favourites
72 Comments
15K Views
This is a slideshow made with conky. It's easy to setup and to customize, and it comes with three different dimensions (to fit all necessities).
Actually, it's a porting of the slideshow rainmeter conky by JavaJosh82 [link] . Thanks to iacoporosso for the tip, and JavaJosh82 for the instpiration.

************************************************

Dependencies:
  • imagemagick is mandatory. Be sure to check if it's installed to run the script properly.

************************************************

Installation:
To suit your needs, you have to extract the archive, and modify few things.
  • slideshow.sh -> This is the script that manages images. In the beginning of the file there are two variables you can change. The former is "directory", and it handles the directory in which there are images to slide. The latter is "dim", and it manages the dimension of the slideshow itself; it can be set to "big", "medium" or "small" (default is "medium").

  • NookieSlideshowConky -> This is a simple conky made to run the slideshow script. Change the value after "${execpi" to increase or reduce the refresh rate. Default is 60 (seconds).

************************************************

2012-02-10 Update:
  • Modified form factor of the frame to better match the majority of images (that generally are in 4:3 ratio).

  • Improved the script, and added more shadow to the frames.
Published:
Comments76
anonymous's avatar
Join the community to add your comment. Already a deviant? Log In
dctoe's avatar
Just getting started with Conky, but just what I was looking for.  Coming from Windows/Rainmeter.  Thanks for sharing!!! :clap: :+fav:
arktika13's avatar
great work thank you!!
MatiasOlmusic's avatar
Dahmoo's avatar
alecive's avatar
You're welcome! :)
yosaze's avatar
not working for me, what should i do ?

Conky: desktop window (a8) is root window
Conky: window type - normal
Conky: drawing to created window (0x1e00001)
Conky: drawing to double buffer
convert: unable to open image `pix/photobg_bg_medium.png': /usr/lib/ImageMagick-6.6.0/modules-Q16/coders/png.la @ error/blob.c/OpenBlob/2489.
convert: unable to open image `pix/photobg_bg_medium.png': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `pix/photobg_bg_medium.png' @ error/png.c/ReadPNGImage/2951.
convert: missing an image filename `result.png' @ error/convert.c/ConvertImageCommand/2940.
convert: unable to open image `result.png': /usr/lib/ImageMagick-6.6.0/modules-Q16/coders/png.la @ error/blob.c/OpenBlob/2489.
convert: unable to open image `result.png': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `result.png' @ error/png.c/ReadPNGImage/2951.
convert: unable to open image `pix/photobg_shadow_medium.png': dules-Q16/coders/png.la @ error/blob.c/OpenBlob/2489 @ error/blob.c/OpenBlob/2489.
convert: unable to open image `pix/photobg_shadow_medium.png': ToOpenFile @ error/blob.c/OpenBlob/2489.
convert: unable to open file `pix/photobg_shadow_medium.png' @ error/png.c/ReadPNGImage/2951.
convert: missing an image filename `result.png' @ error/convert.c/ConvertImageCommand/2940.
Conky: Unable to load image 'result.png'
yosaze's avatar
not working for me, what should i do ?

Conky: desktop window (a8) is root window
Conky: window type - normal
Conky: drawing to created window (0x1e00001)
Conky: drawing to double buffer
convert: unable to open image `pix/photobg_bg_medium.png': /usr/lib/ImageMagick-6.6.0/modules-Q16/coders/png.la @ error/blob.c/OpenBlob/2489.
convert: unable to open image `pix/photobg_bg_medium.png': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `pix/photobg_bg_medium.png' @ error/png.c/ReadPNGImage/2951.
convert: missing an image filename `result.png' @ error/convert.c/ConvertImageCommand/2940.
convert: unable to open image `result.png': /usr/lib/ImageMagick-6.6.0/modules-Q16/coders/png.la @ error/blob.c/OpenBlob/2489.
convert: unable to open image `result.png': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `result.png' @ error/png.c/ReadPNGImage/2951.
convert: unable to open image `pix/photobg_shadow_medium.png': dules-Q16/coders/png.la @ error/blob.c/OpenBlob/2489 @ error/blob.c/OpenBlob/2489.
convert: unable to open image `pix/photobg_shadow_medium.png': ToOpenFile @ error/blob.c/OpenBlob/2489.
convert: unable to open file `pix/photobg_shadow_medium.png' @ error/png.c/ReadPNGImage/2951.
convert: missing an image filename `result.png' @ error/convert.c/ConvertImageCommand/2940.
Conky: Unable to load image 'result.png'
yosaze's avatar
hallo bro, i've got errors when i running:

conky -c ~/.conky/Slideshow
Conky: desktop window (a8) is root window
Conky: window type - normal
Conky: drawing to created window (0x2e00001)
Conky: drawing to double buffer
convert: unable to open image `pics/*.*': (�k���� @ error/blob.c/OpenBlob/2489.
convert: missing an image filename `current.png' @ error/convert.c/ConvertImageCommand/2940.
convert: unable to open image `pix/photobg_bg_medium.png': /usr/lib/ImageMagick-6.6.0/modules-Q16/coders/png.la @ error/blob.c/OpenBlob/2489.
convert: unable to open image `pix/photobg_bg_medium.png': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `pix/photobg_bg_medium.png' @ error/png.c/ReadPNGImage/2951.
convert: missing an image filename `result.png' @ error/convert.c/ConvertImageCommand/2940.
convert: unable to open image `result.png': /usr/lib/ImageMagick-6.6.0/modules-Q16/coders/png.la @ error/blob.c/OpenBlob/2489.
convert: unable to open image `result.png': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `result.png' @ error/png.c/ReadPNGImage/2951.
convert: unable to open image `pix/photobg_shadow_medium.png': dules-Q16/coders/png.la @ error/blob.c/OpenBlob/2489 @ error/blob.c/OpenBlob/2489.
convert: unable to open image `pix/photobg_shadow_medium.png': ToOpenFile @ error/blob.c/OpenBlob/2489.
convert: unable to open file `pix/photobg_shadow_medium.png' @ error/png.c/ReadPNGImage/2951.
convert: missing an image filename `result.png' @ error/convert.c/ConvertImageCommand/2940.
Conky: Unable to load image 'result.png'

what should i do ?
jyounin's avatar
yeah, this is what I want B)
cool..!
DasFox's avatar
One last thing I forgot, the slideshow randomly plays the images, but what I've noticed is that it will always at some point show an image, then another one and then play these two, or like another one over and over in some kind of loop, then move on and start showing other images. But sooner or later it gets stuck in this loop going back and forth with a few images being displayed over and over before moving on and showing the others...

It would be nice if the slideshow can be made to just start at a beginning and then go to the end and when it's done showing everything, start from the beginning again, because right now the random displaying of images isn't working very well....

THANKS
alecive's avatar
For a bit of documentation:

[link]
DasFox's avatar
Sorry what does that Link have to do with any of this?


Thanks...
alecive's avatar
It's the reason for which you cannot actually have a real random number generator, but a pseudorandom generator. And this makes the errors you told me before. Any further trick is either too complex to be implemented (at least for me) or too useless for such a simple application :)
DasFox's avatar
Ok, wasn't sure if something could be done to start at the beginning of the images and play all of them, and then loop back...

Hey I love this, THANKS, don't take me wrong, but it's to bad something can't be done, it's just that for me the same images constantly play over and over...


THANKS
DasFox's avatar
LOL, I got it alecive for keeping the images in the ~/.conky path;

[link]

Sorry for all this and just one last request, even though this is suppose to be more for 4:3 aspect ratio images, do you think you can make an update to this, so that no matter what aspect the image is in, it will fill the window and not leave gaps on the top and bottom, or sides?

Right now even with 4:3 aspect ratio images taken from a camera I still have to crop them to get them to look nice and fill up the entire window and leave no gaps... And sometimes it's not just a simple crop one time and be done, I've had to do this several times for one image, spending as much as 3-5 mins an image to get it right....


THANKS
alecive's avatar
As I told you, I'm not going to fill the image into the containing frame since I'd rather prefer a black contour than a stretched image with ugly faces or distortions that prevent an user to appreciate it completely. And I'd rather prefer a black contour than a cropped (but with the correct ratio) image :)
DasFox's avatar
Sorry for any misunderstanding, I'm talking about maintaining the aspect ratio and not having images stretch and look ugly, but simply also having them fill the window...

Why would anyone want to have black borders on the sides or top and bottom of an image, when you can simply have them fill the window with the correct aspect ratios?

Anyhow I hope I've been clearer with this now...

The thing is, if we were talking about a movie watching it in some movie cinema in some wide screen format, then I can understand having some borders on the screen, but these are just pictures we're talking about...

THANKS
alecive's avatar
So your proposal is to modify the aspect ratio of the surrounding frame rather then of the image itself?
DasFox's avatar
I'm just saying, can't something be done, so no matter what aspect ratio an image is, it fills the window and it looks good?

Here's are screen shots of images I cropped so they fill the window;

[link]
[link]
[link]
[link]

None of these images look stretched, or with improper looking aspect ratios, they look good and it would be nice to have any image do this, fill the window...

Don't those screen shots look good to you? I'd rather see as much of the image as possible, instead of having it look cropped off with borders around it.

In my mind having borders around the image, is like trying to give it some artistic look, which I don't need, I just want to see as much of the picture as possible...

To me, those images in the screen shots look great and I hope you think so to and can see my point...

THANKS
alecive's avatar
Ok, try to stretch this image: [link]

Or, better, this: [link]

(just random images found on google). What happens?
DasFox's avatar
Of course you can't do this with those images they are to tall...

Of course there will be many times someone will take a picture in Portrait mode on their camera and if it's like this then the slideshow is going to show the borders on the left and right.

But for images shot in a normal or widescreen mode this can be done easily by cropping them...

Anyhow, with the image of the girl I would not want to use the slideshow like this with borders on the sides, I'm not sure why you like this too.

Why do you like, or want to have borders on the sides of your images, why would you want the image to fill the screen?

There really isn't a way to do this for any image and keep the scale?


THANKS
alecive's avatar
I have to find it, but eventually I'll win ! :)
View all replies
DasFox's avatar
Did you get a chance to figure out why it's creating the images in my HOME?

THANKS
anonymous's avatar
Join the community to add your comment. Already a deviant? Log In