Running animations on many desktops on autostart

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kailynn

Running animations on many desktops on autostart

Post by kailynn »

Hi,

I created 4 mp4 animations 1.mp4, 2mp4, 3.mp4 and 4.mp4. I use Compiz desktop currently with 4 desktops named Desktop1 ... Desktop4.

Currently I can autostart only one main animation on autostart using this code:

Code: Select all

#!/bin/bash
xwinwrap -b -nf -st -fs -sp -- mplayer -nosound -wid WID -quiet -loop 0 /home/kailynn/1.mp4
so probaly the code should look similar to this one:
#!/bin/bash
xwinwrap -b -nf -st -fs -sp -- mplayer -nosound -wid WID -quiet -loop 0 /home/kailynn/1.mp4
xwinwrap -b -nf -st -fs -sp -- mplayer -nosound -wid WID -quiet -loop 0 /home/kailynn/2.mp4
xwinwrap -b -nf -st -fs -sp -- mplayer -nosound -wid WID -quiet -loop 0 /home/kailynn/3.mp4
xwinwrap -b -nf -st -fs -sp -- mplayer -nosound -wid WID -quiet -loop 0 /home/kailynn/4.mp4

Problem is, I dont understand how to send animations to proper desktops to animate. I suppose its the weird -wid WID thing, but nobody has any clue in Google and I dont want to use anibg cause it doesnt work with Compiz. I heard the names are being created randomly, so there is no way to get around it, but as always, I hope there is some way?

Thanks for any suggestions and/or solutions.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
shengchieh

Re: Running animations on many desktops on autostart

Post by shengchieh »

I can't find it. What is the terminal command to change desktop? I would think that command between your animation commands would help.

Sheng-Chieh
kailynn

Re: Running animations on many desktops on autostart

Post by kailynn »

shengchieh wrote:I can't find it. What is the terminal command to change desktop? I would think that command between your animation commands would help.

Sheng-Chieh
U need to install compiz for rotating cubes (switch reflections/cube etc. On)
Then for changing background its anibg but its not working anymore.

I do it manually. I rotate to the desktop and run the command, but its kinda awkward...
Locked

Return to “Xfce”