On 14.07.23 20:28, Harry van der Wolf wrote:

> Using ./lux-1.1.6-x86_64.AppImage
> ~/128GB/Afbeeldingen/1JTG/1tifpanos/2003-0713-0608\
> zomervakantie-Thisted-0725-0728_Thisted-038-Thisted-051-overall.tif
> does work.
>
> Using ./lux-1.1.6-x86_64.AppImage
> "~/128GB/Afbeeldingen/1JTG/1tifpanos/2003-0713-0608
> zomervakantie-Thisted-0725-0728_Thisted-038-Thisted-051-overall.tif"
> doesn't work.
>

On 14.07.23 20:40, Harry van der Wolf wrote:

You use:
$APPDIR/usr/bin/lux -w $APPDIR/usr/share/lux/fonts/NotoSans-Regular.ttf "$@"

Please try with:
$APPDIR/usr/bin/lux -w $APPDIR/usr/share/lux/fonts/NotoSans-Regular.ttf ${1+"$@"} &

I have doubts whether the tilde will work as expected inside the double quotes. If you use /home/... instead of the tilde, embedded ws is no problem with "$@". According to this:

https://unix.stackexchange.com/questions/151850/why-doesnt-the-tilde-expand-inside-double-quotes

inside double quotes, the tilde has no special meaning, so the second invocation you attempt will try and find file names containing literal tilde characters. If you try your invocation containing a tilde inside double quotes with plain lux, it won't work either. I think your second invocation (the one labeled 'doesn't work') is incorrect in the first place.

There are two good ways to deal with complicated file paths with lux:

1. cd to the folder and use relative names instead

2. echo the files and use lux in streaming mode:

  ls ~/awful\ folder\ with\ spaces/*.JPG | lux -

Note the trailing '-' in lux' argument list. This switches it to 'streaming mode' where it accepts image file names from stdin. If these names contain ws, it's no problem.

Knowing streaming mode is good anyway - I often work up a set of images in a folder, which then contains mixed file names like IMG_1234.JPG, IMG_1234_IMG_1236.jpg and IMG_1234.lux.1.jpg. Then I make a file list, like

ls *.JPG *.jpg | sort > file.lst

Then, later on, to look at the image, I do

lux - < file.lst

For a slide show, throw in arguments like

--show_status_line=no --slide_interval=4 --slideshow_on=yes

Streaming mode is a cool tool to go through entire directory trees, as well. Try:

find ~/Pictures -name '*.jpg' -print | lux -d1 -

All of the above should work with the AppImage instead of plain lux' as well. The AppImage makes an attempt to 'blend in' an behave exactly as the contained binary would.

Kay

--
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/1de837b7-a3e3-269b-ae93-221d8f0c2595%40yahoo.com.
  • [hugin-ptx] lu... 'kfj' via hugin and other free panoramic software
    • Re: [hugi... David W. Jones
      • Re: [... 'Kay F. Jahnke' via hugin and other free panoramic software
        • R... 'kfj' via hugin and other free panoramic software
          • ... Harry van der Wolf
            • ... 'Kay F. Jahnke' via hugin and other free panoramic software
              • ... 'Kay F. Jahnke' via hugin and other free panoramic software
                • ... 'Kay F. Jahnke' via hugin and other free panoramic software
                • ... Harry van der Wolf
                • ... Harry van der Wolf
                • ... 'Kay F. Jahnke' via hugin and other free panoramic software
              • ... David W. Jones
                • ... 'Kay F. Jahnke' via hugin and other free panoramic software
                • ... 'Kay F. Jahnke' via hugin and other free panoramic software
                • ... 'kfj' via hugin and other free panoramic software

Reply via email to