How to Change Background pictures automaticaly at regular internver


#1

When ecomorph is on, mean with one single monitor, the desktop background were changing at regular interval.

With ecomorph off, I can’t figure out how to do it.

Tks !

JF


#2

:eyepopping:

Ecomorph has no relation with backgrounds

This is a feature that happens in live mode, its run by a script


#3

ok tks!
Could your provide me a simple way to do it or the script here I could run at startup ?


#4

Open a terminal and run:

~ ❯❯❯ enlightenment-wallpapers-switcher 1

You can modify the script to change the behaviour, like infinite switching, timing, etc…


#5

The script is located where ?
Tks it is working !


#6

~ ❯❯❯ which enlightenment-wallpapers-switcher
/usr/bin/enlightenment-wallpapers-switcher

try:

mkdir -p $HOME/bin
cp /usr/bin/enlightenment-wallpapers-switcher $HOME/bin

then edit it from your bin directory in order to be able to modify it and keeping the changes (a new login terminal would be needed)


#7

files in /usr/share/enlightenment/data/backgrounds are .edj files
Can I put jpg or other standard picture file format in that folder ?

JF


#8

ok I got it tks !
for file in /home/me/Dropbox/Background/jpg $HOME/.e//backgrounds/*jpg

Yoda


#9

/usr files are system files, not user files, you should not modify them (and you can’t, in fact)

there’s a specific user-dir place for these files, but in fact you cannot “just” put a .jpg file on there (maybe it works, not tried), you just need to use the wallpapers configurator and give to it a jpg file, you have different stretching options too

Ah you meant the script? mmh, not sure if works with .jpg too, well you must try :slight_smile:


#10

wallpapers configurator ??

Script is now working, but quality of the pictures jpg are not good…

Will try to figure out what you trying to tell me… (need to convert my jpg files from what I guess)


#11

enlightenment preferences

yeah try to import them and use the .edj ones, not sure what you mean / what happens about bad quality


#12

so many menus and components… Presently looking where is that enlightenment preferences thing


#13

Do I need to import my pictures one by one through here ?


#14

yes

but looking at that image, looks like the bad quality is in the image itself?


#15

Thanatermesis,

As for the switches, the timing, what options, commands, are there? On a command line, what can I change. Viewing the script, I see seconds with other things. When did change the seconds, then nothing worked at all. So I had to leave it at 20 secs, otherwise no go. I want to change it so it changes screen every 2 or 3 mins. Also after going thru all screens once then it stops. I want to have it run continuously over and over again.

-Terry


#16

I tried changing to 60 secs. nothing worked. I tried 180 seconds nothing worked.


#17

Me too, working well, I don’t care about how many seconds ( I like random time ) but it stop after a while… Probably when done with all the picts


#18

yes, it stops after the loop has finished (all wallpapers switched), for make it always loop you can add an infinite loop outside the loop, so something like this:

while true ; do
OLD CODE LOOP - (the “for” block code)
done

about the seconds, see that it waits 40 seconds if you are in live mode before to start, changing the other seconds value (the one it says 20) should work, make sure your script is put in yout ~/bin/ directory, which, if im not wrong, printing the PATH variable should show this directory as a preferenced one, before /usr/bin

echo $PATH

Also, this is a bash script, you should have some minor bash coding / scripting knowledge to hack it :), but is vey easy, bash is also what is going on in your terminal, I don’t remember if the Documents directory includes an introduction to bash tutorial ?

note: a new terminal must be started so that the PATH in your ZSH will be updated, and consider then to use your own script


#19

I must have done something wrong, does’t work, but I will doublecheck and get back to you if I can’t make it work. A nice entry level little bash project for me LOL


#20

confirmed (looking at my config files), there’s a bash document in the documents directory, it is not a small one but may be used a reference guide