I installed the package dired-icon and restarted Emacs. I then ran
M-x dired-icon-mode
But no icon shows up in Dired mode and in the minibuffer the following message is shown:
Opened text-plain.png in external program
In my init.el
file:
(add-to-list 'load-path "~/.emacs.d/elpa/openwith")
;; https://github.com/emacsmirror/openwith
(require 'openwith)
;; Settings for package "openwith"
(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))
Versions
Linux Mint 20
Emacs 26.3
What do I need to do, to see icons in Dired?
openwith
package installed?