lua-scripts icon indicating copy to clipboard operation
lua-scripts copied to clipboard

How do you set the path to the Hugin executable (Linux)

Open BeetrootShoulders opened this issue 1 year ago • 11 comments

Title says it all really - I've enabled the script but it can't find the executable. I can see no obvious way to do so.

BeetrootShoulders avatar Aug 15 '24 17:08 BeetrootShoulders

How do you have hugin installed?

On Linux the path is checked for the executables so unless you installed some kind of pagkaged format (snap, appimage, flatpak) then it should just find it.

Can you open a terminal, type in hugin, and get it to start?

wpferguson avatar Aug 15 '24 17:08 wpferguson

It is installed via Flatpak. It doesn't run in the terminal, just suggests installing with apt get.

BeetrootShoulders avatar Aug 15 '24 17:08 BeetrootShoulders

There's a reason I don't use package formats :smile:

You can start executable_manager from script_manager. It's in the tools folder. Click the dropdown and select hugin. Click the file selector and find the flatpak hugin. Stop the hugin script, then restart it and it should know where the executable is and use it. Whether the flatpak will cooperate is another question.

Please let me know how it turns out...

wpferguson avatar Aug 15 '24 17:08 wpferguson

I think I've selected the right hugin program file from the many in the folder, but when I go to export it says "No file selected" in DT

BeetrootShoulders avatar Aug 15 '24 18:08 BeetrootShoulders

Did you select the files you want to stitch before clicking export?

wpferguson avatar Aug 15 '24 18:08 wpferguson

Yes, yes I did :)

BeetrootShoulders avatar Aug 15 '24 18:08 BeetrootShoulders

In a terminal run darktable -d lua

Send me the output and I'll see what's happening

wpferguson avatar Aug 15 '24 18:08 wpferguson

Well, that won't work because, you guessed it - Darktable is installed via Flatpak too :)

BeetrootShoulders avatar Aug 15 '24 18:08 BeetrootShoulders

:rofl:

I think this falls in the area of making one flatpak talk to another, and I don't have a clue how to do that. I'm pretty sure it can be done, but I don't know the specifics.

wpferguson avatar Aug 15 '24 18:08 wpferguson

Ah well. It's not that much of an extra step just to export TIFFs and import them into Hugin tbh

BeetrootShoulders avatar Aug 15 '24 18:08 BeetrootShoulders

Unix/Linux was built on the concept of lots of programs doing one thing well and then working together to accomplish larger tasks. Unfortunately the package systems make it run a lot more like windows than unix.

Maybe a photo processing flatpak that includes darktable, hugin, gimp, etc, etc, etc all in one package.

wpferguson avatar Aug 15 '24 18:08 wpferguson

Rolled up into #614

wpferguson avatar Dec 05 '25 21:12 wpferguson