You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
contrapunctus 0449244925 Update homepage 2 weeks ago
.gitignore Add gitignore 2 years ago Use unique buffer name for process output 1 year ago
Cask Use unique buffer name for process output 1 year ago doc(README): add Liberapay and MELPA badges 11 months ago Add new ideas 2 weeks ago
UNLICENSE Rename license files 2 years ago
WTFPL Rename license files 2 years ago
sxiv.el Update homepage 2 weeks ago

Donate using Liberapay


Launch sxiv (Simple X Image Viewer) from Emacs, with Dired integration.


You can get sxiv.el from

sxiv.el requires dash.el and an installed sxiv in your $PATH


The main command is M-x sxiv.

Run it in a Dired buffer containing images. Files marked in sxiv (mark/unmark with m) will be marked in Dired.

If the Dired buffer has marked files, open only those files.

With prefix argument, or when only provided directories, run recursively.

Run it from a text file containing one file name per line to open the listed files.


  • sxiv-dired-marked-files-p doesn't work as intended with non '*' markers (e.g. C or D)

Comparison with picpocket

At a cursory glance, picpocket (v20180914)

  • does not depend on an external program
  • has better key customizability (to change the keys for sxiv itself, you need to modify its C source)
  • supports tagging images
  • has no way to mark files for batch operations
  • does not seem to center images in fullscreen mode

Contributions and contact

Feedback and MRs very welcome. 🙂

You may be interested in the

Contact the creator and other Emacs users in the Emacs room on the Jabber network - (web chat)

(For help in getting started with Jabber, click here)


I dream of a world where all software is liberated - transparent, trustable, and accessible for anyone to use or improve. But I don't want to make demands or threats (e.g. via legal conditions) to get there.

I'd rather make a request - please do everything you can to help that dream come true. Please Unlicense as much software as you can.

sxiv.el is released under your choice of Unlicense or the WTFPL.

(See files UNLICENSE and WTFPL).


wasamasa, bpalmer and #emacs for all their help and support