Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
    
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
add comment

1 Answer

up vote 3 down vote accepted

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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