Linux Mint 19, Emacs 26.1 I has different app to show image.Like Drawing, Image Viewer, XnView.
And from Nemo file manager I success open any images by this app. Nice.
But I want to open image in Dired mode. So in my init.el I has this:
(when (require 'openwith nil 'noerror)
(setq openwith-associations
(list
(list (openwith-make-extension-regexp '("doc" "docx" "rtf")) "word" '(file))
(list (openwith-make-extension-regexp '("mpg" "mpeg" "mp3" "mp4" "avi" "wmv" "wav" "mov" "mkv")) "vlc" '(file))
(list (openwith-make-extension-regexp '("pdf")) "FoxitReader" '(file))
(list (openwith-make-extension-regexp '("bmp" "gif" "jpeg" "jpg" "png" "tif")) "xnview" '(file))
(list (openwith-make-extension-regexp '("rdp")) "Remote Desctop Connection" '(file))
(list (openwith-make-extension-regexp '("xls" "xlsx")) "excel" '(file))
))
(openwith-mode 1))
So when I'm in dired mode and press Enter over image file I get the next message and nothing happend:
openwith-file-handler: Opened DEEPSP_little.JPG in external program
I want to open image by external app when I'm in dired mode.