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
#!/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.