Package Details: keneric 0.4.1-1

Git Clone URL: https://aur.archlinux.org/keneric.git (read-only)
Package Base: keneric
Description: A generic thumbnailer for KDE
Upstream URL: http://kde-apps.org/content/show.php/?content=174485
Licenses: GPL
Submitter: arojas
Maintainer: funilrys
Last Packager: funilrys
Votes: 4
Popularity: 0.000000
First Submitted: 2015-12-04 22:53
Last Updated: 2019-01-04 12:32

Latest Comments

« First ‹ Previous 1 2

electricprism commented on 2016-01-30 02:26

If you update the description to use the keywords kra and the blender file extension maybe this package will show up when searching AUR for "kra" - it took a lot of work finding this, thanks OP :)

Rog131 commented on 2015-12-30 11:00

The 'stripPicture' needs update.

With the Keneric 0.2:
Drop 'UseThisPicture.png' extension - Simply 'UseThisPicture'
Add mime to the script call arguments.

From the readme.html:

#!/bin/sh
# Usage: stripPicture fileaname mime

fullname="$1"
mime="$2"

mkdir -p $HOME/.config/keneric
exportPicture=$HOME/.config/keneric/UseThisPicture

# thumbnail options by mime type
case "$mime" in

application/x-krita)
unzip -p "$fullname" preview.png > "$exportPicture"
exit
;;

image/openraster)
unzip -p "$fullname" Thumbnails/thumbnail.png > "$exportPicture"
exit
;;

application/x-blender)
blender-thumbnailer.py "$fullname" "$exportPicture"
exit
;;

image/x-wmf)
convert "$fullname" png:"$exportPicture"
exit
;;

*)
# case trap
exit

esac