[digikam] [Bug 379956] New: Can't open a file with a shell script from digiKam
wildcowboy
bugzilla_noreply at kde.org
Wed May 17 20:49:13 BST 2017
https://bugs.kde.org/show_bug.cgi?id=379956
Bug ID: 379956
Summary: Can't open a file with a shell script from digiKam
Product: digikam
Version: 5.5.0
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: AlbumsView
Assignee: digikam-devel at kde.org
Reporter: aegoreev at gmail.com
Target Milestone: ---
I have added few bash scripts to the system "Open with" menu.
Normally I select files - right click - "open with" - select the script.
Everything works just fine from my file manager (dolphin) but it is not working
from digikam.
Any ideas on why is this happening?
https://youtu.be/jT1wo0aKJuo
To reproduce the issue you can create a test script test.sh and make it
executable:
----beginning of the code---
#!/usr/bin/env bash
for FILE in "$@"; do
echo "File is "$FILE" "
done
----end of the code----
then create test.desktop file, copy it to $HOME/.local/share/applications/ and
make executable.
---beginning of the code----
[Desktop Entry]
Categories=AudioVideo;Video;
Comment=Test
Exec="/PATH/TO/test.sh" %F
GenericName=Test
Icon=
MimeType=video/x-msvideo;video/quicktime;video/mpeg;video/mp4;
Name=Test
NoDisplay=false
Path=
StartupNotify=true
Terminal=true
TerminalOptions=\s--noclose
Type=Application
Version=1.0
X-DBUS-ServiceName=
X-DBUS-StartupType=none
X-KDE-SubstituteUID=false
X-KDE-Username=
----end of the code----
Then open Dolphin - select few video files - open with - Test
which will work.
Then open digiKam - select few video files - open with - Test
it won't work.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list