by cronotk » Sat Dec 01, 2012 10:41
Hmm, it seems I haven't provided enough information in my post.
gthumb has a feature that you can assign actions to a set of hotkeys. Those actions are shell commands, but the special feature is that gthumb provides placeholders that can be used as parameter for those shell commands. For example I can bind the "0" key to the command "someprogram -a %F" then someprogram will be started like this: "someprogram -a /home/me/full/path/to/currently/selected/file.ext". It also has a few other placeholders (i.e. the current directory).
I'm mainly using this to keep track of files and running those commands from inside gthumb is the most comfortable way to do it that I have found. Of course I could open any image viewer and run the shell commands manually but that gets quite annoying after some time.
Regards!