Displaying 1 result from an estimated 1 matches for "pathunix".
Did you mean:
pam_unix
2010 Sep 08
4
edit in external image editor
...e cannot be opened due to a wrong file path and slashes/backslashes:
/usr/bin/C:\users\aerilius\Temp\texture1.jpg could not be opened.
My idea was to add in SketchUp's preferences the path to a shell script which passes the corrected file path to Gimp:
Code:
#!/bin/sh
PATHWIN="$*"
PATHUNIX="~/.wine/dosdevices/${PATHWIN//\\//}"
gimp "$PATHUNIX"
exit 0
But SketchUp says "image editor could not be launched". Is there a mistake in the script (my first shell script), or is it not possible that way? Have there already been similar situations with other prog...