Skip to content
Michael Pope edited this page Aug 22, 2018 · 5 revisions

Welcome to the dired-hacks wiki!

Dired-open notes

These are some notes from my experience using dired-open.

Install

Installation under Emacs 26 using use-package

(use-package dired-open :init (require 'dired-open) :defer 5)

After loading this then you can test

Open up a directory and move over a file, type in M-x dired-open-xdg and it should open it in your default GUI application.

Customize

  • M-x customize
  • Type in 'dired-open' and search
  • Within Dired Open Extensions click INS to insert a new one.
  • Example Extension: png Program: gthumb

Here has to be a new line per extension

Open using your default GUI application

  • Go to customize
  • Type in 'dired-open' and search
  • Within Dired Open Functions click INS to insert a new one at the end
  • Overwrite 'Ignore' to 'dired-open-xdg'

Now dired-open should open files which are not listed in your open extensions list the the default application.

Clone this wiki locally