[krusader] [Bug 388321] Own scripts refuse to start via contex menu

2018-03-01 Thread Nikita Melnichenko
https://bugs.kde.org/show_bug.cgi?id=388321

Nikita Melnichenko  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |WORKSFORME
 Status|NEEDSINFO   |RESOLVED

--- Comment #6 from Nikita Melnichenko  ---
I tried to repro using the reporter's script (only replacing xfce4-terminal
with konsole) - still it could be run on my side without issues.

>From comment #4, the reporter seems to be satisfied with adjusting the scripts.
I'm closing the issue and will track if someone reports the same.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krusader] [Bug 388321] Own scripts refuse to start via contex menu

2018-02-28 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=388321

--- Comment #5 from Christoph Feck  ---
Nikita, does comment #4 provide the requested information? Please set the bug
status or add a comment.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krusader] [Bug 388321] Own scripts refuse to start via contex menu

2018-02-18 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=388321

--- Comment #4 from bbutsche...@yahoo.de ---
(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.

[krusader] [Bug 388321] Own scripts refuse to start via contex menu

2018-02-14 Thread Nikita Melnichenko
https://bugs.kde.org/show_bug.cgi?id=388321

Nikita Melnichenko  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|UNCONFIRMED |NEEDSINFO

--- Comment #3 from Nikita Melnichenko  ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krusader] [Bug 388321] Own scripts refuse to start via contex menu

2018-02-10 Thread Nikita Melnichenko
https://bugs.kde.org/show_bug.cgi?id=388321

Nikita Melnichenko  changed:

   What|Removed |Added

 CC||nikita+...@melnichenko.name

--- Comment #2 from Nikita Melnichenko  ---
Can you share the script or a simplified version of the script? I can try to
repro on my side.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krusader] [Bug 388321] Own scripts refuse to start via contex menu

2018-01-31 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=388321

--- Comment #1 from bbutsche...@yahoo.de ---
So I don't know why and when krusader became that sort of selective of which
scripts to run or not - but:

If I add 
[code]#!/bin/bash[/code]
at the start of my scripts, krusader seems to run them again via context menu
or via doubleclick. I was mislead by the fact that in earlier times this was
not necessary and that other file managers like dolphin aren't this picky.

-- 
You are receiving this mail because:
You are watching all bug changes.