How to specify external editor in Linux if it's not GIMP

Hi.

Does anyone knows how to setup the external editor in Linux if it is a program run in Wine? I have done it in Windows but I have no luck doing it in Linux. The error I get is,

“Cannot start editor. Please set the correct path in preferences.”

Here is what I ended up doing,

  1. Create a script that calls wine on the editor I want. I use a template I found in a forum.
  2. I tried both "open -a PATH/script[space]’ and “PATH/script[space]”

I started Rawtherapee from a terminal and this is what I get,

command line: "/home/rlemieux/bin/tlfusionexpress2 " “/tmp/20160130+rlx+MS_CS_135mm_f2.8.DSCF4098-1+resample-.5,.6-1-1.tif”
Failed to execute child process "/home/rlemieux/bin/tlfusionexpress2 " (No such file or directory)
"/home/rlemieux/bin/tlfusionexpress2 " “/tmp/20160130+rlx+MS_CS_135mm_f2.8.DSCF4098-1+resample-.5,.6-1-1.tif”

The proble is the quotes surrounding the script path. This last line works fine when I remove the quotes around the script path.

Thanks for any clue.

You have a trailing space between express2 and the closing quote, so it is understood by the shell as being a bona fide part of the file name. When you remove the quote, the shell does its own parsing and doesn’t consider the spaces to be part of file names.

1 Like

Thank’s so much. That solves my problem. I just removed the trailing space at the end of my input in “Preferences/Other command line” and now it works. I though that space was needed.