2

When I'm viewing many images w/ xv (sometimes in "visual schnauzer" mode), I sometimes want to "bookmark" or annotate a given image.

I don't think xv can do this, but is there another xv-like image viewer that can?

Is it possible to add "programmable hot-keys" to xv so that typing certain letters lets you call external commands (eg, "emacs (filename of picture you are viewing)")?

I think that xv has a 'mark' feature, but that's more internal, and the marks go away after I close xv.

I realize I could just open a text editor and make notes myself (typing in the filename by hand or maybe using xv's "info" window), but is there an easier way to do this?

  • Please define: Annotate. Do you want to write on the image? Into a text-file with the same name? – Bobby Sep 26 '12 at 19:08
  • I want to annotate into a file named [imagename].txt, not alter the image itself. – barrycarter Sep 26 '12 at 19:15
3

I think sxiv will let you do what you want. You can modify the configuration relatively easily, including adding bindings that will execute a shell command. In particular, you might look at this fork for an example that could do what you're talking about.

I don't know, though, of any application as simple as xv that will do what you want out of the box.

  • Thanks! It turns out that qiv (which is referenced in sxiv's man page) already has "USER-DEFINED KEYBOARD ACTIONS" AND the 'a' keyboard option copies the selected image to a special directory. Bliss! – barrycarter Sep 26 '12 at 21:40
  • OK, qiv has no thumbnail feature, so I'm now in love with feh (also mentioned in the sxiv manpage) – barrycarter Sep 26 '12 at 21:52
  • The link to the fork doesn't work anymore. Do you have an updated link? – student Dec 30 '18 at 20:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.