Seems like every distro — or perhaps every desktop environment, I should say — has a “My Photos” screensaver. I don’t see the appeal really, but I have met some people that used it exclusively on their machines.
Along with about 1,200 photos of their grandkids, which says something to me about them as grandparents.😯🙄
Point being, the text-only systems that I espouse have Matrix-esque screensavers, full-screen clocks in analogue and digital, Moire patterns and globular balls. You can even get an aquarium rolling.
No “My Photos” screensaver. More’s the pity.
But some people gotta have it, and I wouldn’t want to leave them out in the cold. In that case, I suggest
img2txt out of the caca libraries, plus a simple loop that skips through image files in a folder.
Something like this should work.
#!/bin/bash while true ; do for i in $HOME/.wallpaper/*.bmp ; do img2txt -W 132 -H 48 $i sleep 10 clear done done
Feel free to improve on that script if you like. My inner code monkey was a brain donor. After that, screen should do all the dirty work with its
A couple of wacky things in there:
img2txt defaults to a teeny little picture if you don’t feed it dimensions. I tried using the
$LINES variables, but it seemed to ignore them.
So that’s where the 132 and 48 come from, which are comfortable dimensions for an 800×600 LCD using 12-point Terminus as a font.
Additionally, I should note that you can compile and install the caca libraries without imlib2 support, and still use .bmp file formats.
That’s only important if you are like me, and you run exclusively without Xorg. Otherwise, you probably have those image format libraries already installed, and it won’t matter.
So what’s it look like? Glad you asked.
It looks like crap, that’s what it looks like. But what were you expecting?😆 You might find it worth your while to select images by virtue of contrast, cut them down considerably and reduce their quality.
If you find it worth your while, that is.
On the other hand, if you have framebuffer support and you pull the same stunt with a proper framebuffer image viewer instead of
img2txt as the prime mover … that might be something to brag about.
But I’ll leave that to you. It sounds too easy.