meta data for this page
mc.ext.ini
Edit Extension file
[jpeg] Type=^JPEG Include=image [Include/image] Open=/usr/lib/mc/ext.d/image.sh open ALL_FORMATS View=%view{ascii} /usr/lib/mc/ext.d/image.sh view ALL_FORMATS
So image.sh is called with view ALL_FORMATS
and ENVs set to:
MC_EXT_BASENAME=IMG_0009.JPG
MC_EXT_FILENAME=/home/user/IMG_0009.JPG
but ALL_FORMATS is not well supported by image.sh and default handler is used:
case "${filetype}" in jpeg|jpg) identify "${MC_EXT_FILENAME}" which exif >/dev/null 2>&1 && exif "${MC_EXT_FILENAME}" 2>/dev/null ;; xpm) sxpm "${MC_EXT_FILENAME}" ;; *) identify "${MC_EXT_FILENAME}" ;; esac
Solution: edit extenstion file:
- mc.ext.ini
[jpeg] Type=^JPEG Open=/usr/lib/mc/ext.d/image.sh open ALL_FORMATS View=%view{ascii} /usr/lib/mc/ext.d/image.sh view jpeg