[digiKam-users] Is there a way to run an external program/script on selected images?

Andrey Goreev aegoreev at gmail.com
Fri Sep 14 22:13:49 BST 2018


Try right click on a file or a group of files - open with - others - type in "terminal - e /path/to/your/script.sh %U"
you might want to replace "terminal" with the name of the terminal emulator you use but I think it is called "terminal" in xubuntu.
I also add '--no-close' option to review the output printed in the terminal before closing it.I am not sure if such option exists in xubuntu terminal but you can try.
Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Chris Green <cl at isbd.net> Date: 2018-09-14  1:33 PM  (GMT-07:00) To: digikam-users at kde.org Subject: Re: [digiKam-users] Is there a way to run an external program/script on selected images? 
Peter Albrecht <peter at crazymonkeys.de> wrote:
> Hello Chris,
> 
> if you are on KDE, you can create a (python) script and register this in your
> desktop environment for the mime type JPG. In digikam select some images and
> click "open with" > "your script" from the context menu.
> This will start your script and pass the paths of all your selected images to
> your script as parameters. I use this very often in my digikam workflow.
> 
I'm not KDE (one of the disadvantages of Digikam for me, it pulls in
quite a lot of KDE stuff still) but I would think I could do something
like the above on xubuntu by setting the mime type as you say for JPG.

I'll try it, thanks.

-- 
Chris Green
ยท

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20180914/69177636/attachment.html>


More information about the Digikam-users mailing list