I use feh in conky to have an animated sequence at startup.
I have a desktop with conky at the bottom right, and a wallpaper with an image of the head of a dog looking at you with one eye.
What I wanted at startup, was for the dog to blink its eye once, and for conky to load like they seem to make computer screens load in oldschool science fiction movies, filling line after line.
So first I modified the startup script which is in the Startup folder in root, called conkystart.
It now reads like this:
Code: Select all
conky -c /root/.conky/MyConky02/animations/conkyani
conky -c /root/.conky/MyConky02/conkyrc
The first line invokes conky solely for the purpose of displaying animations. The second line is for starting my 'normal' conky.
the conkyani script is very simple. It's the same as the conkyrc, but the TEXT area has this code:
Code: Select all
${execpi 60000 feh -x -g 376x357+1059+510 -D 0.05 --cycle-once ~/.conky/MyConky02/fehnimation02/}
${execpi 60000 feh -x -g 21x21+644+518 -D 0.03 --cycle-once ~/.conky/MyConky02/animations/}
It tells conky to display two feh slideshows, one positioned at x1059 y510, with a size of 376x357 and refresh rate of 0.05, and one positioned at x644 y518, sized 21x21, with a refresh rate of 0.03.
Both will only display once.
The first is the conky startup sequence, and the second is the dog blinking its eye.
The eyeblink is a set of 14 smal jpg images, and the buildup sequence a set of 28 jpg images.
Of course, this only works with a fixed display size.