moviuro.bin
moviuro.bin copied to clipboard
Problem with gif-soup
Hey, i just tried to use 'gif-soup'. Therefore i created a file called 'gif-soup' in my '/home/user/.local/bin', copy/pasted your code in it and made it executable. I executed it with '/home/user/.local/bin/gif-soup /home/user/gif/wallpaper/path &' and got the following error:
convert: geometry does not contain image `/home/user/gif/wallpaper/path/file.gif' @ warning/transform.c/CropImage/666.
Unfortunately my research for a solution didn't get me anywhere. Could you help me to get this thing running? :)
Best regards!
I sometimes get similar messages, but nothing preventing mpv(1)
from running.
- Run
pgrep mpv
, it should return a PID. - If it does,
% ps -p "$(pgrep mpv)" -o args
(mine returnsmpv --border --video-unscaled --background=#000000 --wid=0 /home/moviuro/Pictures/wallpapers/gif/Mg7g3wH.gif --loop-file=inf --speed=1.0
)
Further information about a compositor, desktop environment, etc. that might be interfering with drawing directly to the root X window may be of interest.
As a further check, you could remove the --wid=0
option from gif-soup
; the gif should then play in its own window, with a solid background.
Thanks, for your answere!
- pid is returned
- my output says: mpv --border --video-unscaled --background=#DE0858 --wid=0 /home/username/.wallpapers/gif/
Here some more information about my setup: A. gif-soup is located in ~/.local/bin B. gifs are located in ~/.wallpapers/gif C. running compton, no de, i3-gaps, feh set background
What's next? :)
I got it running by disabling my compton. Is it possible to use them together? Here my compton.conf: https://pastebin.com/Dgt4xYth
Is it possible to use them together?
No idea. We have to check with compton settings and how they interfere with Xorg's root window. I have very little experience with Xorg, so if you find how to have them both running, I'm interested!
@ganifladi did you manage to get it working?
I managed to get it working by wrapping around with xwinwrap
. For anyone interested, here is the modified version.
Modification at L78-L79
PS: Thanks a lot for the very useful gif-soup
script.
@the-c0d3r with proper comments, documentation and optional switch (-c
like compositor
), I'll integrate your code in the repo.
@moviuro Thanks for the suggestion. I'll give it a go and send in a PR in a few days. My bash-fu is not that good, that is why I'm a bit hesitant :smile:
So I should just add a -c switch then if -c is enabled, then use the xwinwrap
command?
Yeah, I guess :smile: