https://bugs.kde.org/show_bug.cgi?id=388321
--- Comment #4 from [email protected] --- (In reply to Nikita Melnichenko from comment #3) > I created the most simple mpv.sh containing "mpv $1" and it works as > expected on my side. Let us know if you'd like to provide your script or > you're satisfied with adding "#!/bin/bash" which is recommended to do > anyways. Sorry for taking so long to answer. Since I am alone here, I consider the strange behaviour to be caused by my setup. Anyway, it is as simple as you tried: Non working: ==================== options="--autofit=75% --hwdec=vdpau --hwdec-codecs=all --vo=vdpau --vf-defaults=vdpaupp:deint=yes:deint-mode=bob" kommando="mpv "$options" "\"$1\" kommando="xfce4-terminal --command="\'$kommando\' #echo echo $kommando eval $kommando ======================== Marking a video file, right mouse menu and selecting the script to open it with the selected one I get again: "Could not start /home/bernd_b/mpv.sh /mnt/int4TB_02/...mkv" But adding #!/bin/bash ======================== #!/bin/bash options="--autofit=75% --hwdec=vdpau --hwdec-codecs=all --vo=vdpau --vf-defaults=vdpaupp:deint=yes:deint-mode=bob" kommando="mpv "$options" "\"$1\" kommando="xfce4-terminal --command="\'$kommando\' #echo echo $kommando eval $kommando ================================ and everything is fine. I can live very well with this solution - it only took me some time to find it since I never needed to be this correctly for a long time up to these days. -- You are receiving this mail because: You are watching all bug changes.
