Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HOWTO Requests

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: HOWTO Requests

#101 Post by stevepusser »

It seems like it would be easy to replace the part of one of those scripts that does the random choosing with a selector that just uses images from a directory. I think it will display them in order by default, as in doriangrey1, doriangrey2, doriangrey3.

Does variety from jessie-backports also display in random order? It seems to have quite a few settings.
MX Linux packager and developer

ckilmer75
Posts: 3
Joined: 2017-02-01 18:32

Re: HOWTO Requests

#102 Post by ckilmer75 »

Thank you for responding.... I'll take a look at those suggestions and see what I can do with them.

Much appreciated...

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: HOWTO Requests

#103 Post by GarryRicketson »

I would first learn how to make a .gif animation, if you don't know how.
Key words, "How to make a .gif animation"

After you learn how to make a animation,
how use a gif animation as your desktop background on Debian
by ckilmer75 » If it matters, I'm doing this in Raspbian via the Pixel desktop.
Well, it does , if I did go into details, and wrote a "How to", on this and for this forum, it would be for Debian, since this is a Debian User Forum,... and it probably would not work for some other OS, like Raspbian, or Pixels Desktop, .....
,...
Using a WM, OpenBox,on Debian 7 would be how I would write a script for,..
Would it work on Rasbpbian, and Pixels DE,..? I doubt it.

If you were using Debian, you could maybe use a package called .
"byzanz" (byzanz-record)
https://www.unixmen.com/make-animated-g ... ly-byzanz/

Also Image Magick, https://www.imagemagick.org/script/animate.php
Or with the "convert" command, (what I used)
===========================================
https://www.imagemagick.org/Usage/anim_basics/#gif_anim
=====================================================
Example: Image

Do some more searches, read some tutorials on "How to write a script "
But it would help get better results if you at least have some idea of what
kind of script, IE: bash, ksh,zsh,sh ,dash,perl,pascal,python,etc.....

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: HOWTO Requests

#104 Post by Head_on_a_Stick »

ckilmer75 wrote:write a script that will change my desktop background through a determined progression and NOT random. Every script I've come across in my search randomly selects the image. I'd also like to be able to set the time between changes, and for the image to be centered on the screen and unscaled.

My end goal is to have my background show a slowly aging portrait. I've taken numerous screenshots at different points of a video where the subject is aging rapidly, which is why I need the change to not be random. The images are numbered beginning with "1".

Code: Select all

bash -c 'for i in {1..99}; do feh --bg-center /full/path/to/image/folder/$i.png; sleep 600; done &'
https://packages.debian.org/jessie/feh

This will display all images from 1.png to 99.png in sequence with a 600 second (10 minute) delay, adjust as required ;)
deadbang

ckilmer75
Posts: 3
Joined: 2017-02-01 18:32

Re: HOWTO Requests

#105 Post by ckilmer75 »

Head_on_a_Stick wrote:

Code: Select all

bash -c 'for i in {1..99}; do feh --bg-center /full/path/to/image/folder/$i.png; sleep 600; done &'
https://packages.debian.org/jessie/feh

This will display all images from 1.png to 99.png in sequence with a 600 second (10 minute) delay, adjust as required ;)
Awesome, thanks! I appreciate the help. That's precisely what I need :-)

Post Reply