Variable: image-dired-external-viewer

image-dired-external-viewer is a customizable variable defined in image-dired.el.gz.

Value

nil

Documentation

Shell command to invoke the external image viewer program.

Should include command-line arguments if needed. Used when displaying original image from image-dired-thumbnail-mode.

This variable was added, or its default value changed, in Emacs 29.1.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/image/image-dired.el.gz
(defcustom image-dired-external-viewer
  ;; TODO: Use mailcap, dired-guess-shell-alist-default,
  ;; dired-view-command-alist.
  (cond ((executable-find "display") "display")
        ((executable-find "feh") "feh")
        ((executable-find "gm") "gm display")
        ((executable-find "xli") "xli")
        ((executable-find "qiv") "qiv -t")
        ((executable-find "xloadimage") "xloadimage"))
  "Shell command to invoke the external image viewer program.
Should include command-line arguments if needed.  Used when displaying
original image from `image-dired-thumbnail-mode'."
  :version "29.1"
  :type '(choice string
                 (const :tag "Not Set" nil)))