INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: open (image etc.) w/ "external tool" program in linux -- still won't work?  (Read 364 times)

carlismysecondname

  • World Citizen
  • ***
  • Posts: 101

I've asked this question before: https://yabb.jriver.com/interact/index.php/topic,117453.msg812448.html#msg812448

So, after 4 or 5 years, can we still not open a file within JRiver's Linux interface unto an external application program?

The external program (i.e. image editor) seems to start alright but the filename parameter entry remains invalid.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2661

"[Filename]" doesn't seem right, but I can't find documentation on the proper syntax.

Try removing the quotes and seeing if the correct path is provided to GIMP. If it's still trying to prepend your home directory then you may need to trim the front of the filename. There are several ways to do this but you may be able to get away with a regex to strip the first two directory components (path to your home directory):

Untested:
Code: [Select]
Regex([Filename], /#^(?:[^/]+/){2}(.*)$#/, 1)
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13870

You could check MC's log too. The path might be in there.
Logged

carlismysecondname

  • World Citizen
  • ***
  • Posts: 101

Been a while since I used regex, but I suspected more manually specific entry may be needed… I’ll review my past notes on JR’s regex and do a bit more trial & error when I get back home. Thanks
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033

On Windows "[Filename]" is perfectly valid parameter to feed file for external program
Logged

carlismysecondname

  • World Citizen
  • ***
  • Posts: 101

Eh.... Turns out I just had to remove the extra " " characters and now it opens into the assigned external program. Solution was far simpler than I thought.  :o

Thank you to all who replied, anyway.
Logged
Pages: [1]   Go Up