[Digikam-users] custom filter for files

Yuri Samoilenko kinnalru at gmail.com
Fri Oct 25 20:03:55 BST 2013


Realy good solution!


2013/10/25 Peter Albrecht <peter at crazymonkeys.de>

> Hello,
>
> On 24.10.2013 12:09, Jean-François Rabasse wrote:
> > Well, I think I see what Yuri means with « custom tool »,
> > for I happen
> > to have similar issues.
> > Custom tool could be any user defined processor, accepting
> > one or more
> > images files on input, and producing ... something.
>
> Another "dirty" solution, I use:
> I write a shell/perl/... script doing the processing stuff,
> I want. And then I register this script in KDE as
> application for "MimeType=image/jpeg". This way, my custom
> script appears in the "Open With" part of the context menu.
>
> So I select the photos I want to be affected. Click right
> and select "Open With -> myAction" from the context menu.
>
> From one of my earlioer postings:
> > http://mail.kde.org/pipermail/digikam-users/2013-July/017898.html
>
> -------------------------- 8< --------------------------
> So in the directory "~/.local/share/applications" I added a
> file "myAction.desktop".
>
>   --------------------- 8< ---------------------
> > [Desktop Entry]
> > Name=myAction
> > GenericName=Cool photo tool
> > Comment=some comment to set
> > Icon=resizeimages
> > Exec=/usr/bin/konsole --noclose -e perl /usr/local/bin/myAction.pl %F
> > Type=Application
> > MimeType=image/jpeg
> > Terminal=false
>   --------------------- >8 ---------------------
> -------------------------- >8 --------------------------
>
> Maybe that helps.
>
> Regards,
>         Peter
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20131025/ec06348b/attachment.html>


More information about the Digikam-users mailing list