Correct syntax for custom directories

Hi all.
I’m trying to start an appimage version of darktable with custom parameters so that I can have separate library/database files for different versions of the app.
At the moment, the default launch parameters for the appimage are:

/opt/appimages/Darktable-4.7.0+98.gbce83d51a9-x86_64_539e07069cca646986d5ec3b2aaa1088.AppImage %U

What I’d LIKE to add, is something along these lines…

--library ~/.config/darktable/4.7/ --datadir ~/.config/darktable/4.7/ --configdir ~/.config/darktable/4.7/

… but I suspect I’ve got something wrong, because when I add the above parameters, darktable won’t launch.
Can anybody spot my ‘deliberate’ mistake?
Thanks in advance.

(Also, not sure if this board uses the code html. Guess I’ll find out when I hit ‘create topic’…)

Would the manual be of any help?

First thing I notice: you give a directory where a file (possibly with its path) is expected (--library).
Also your --datadir looks suspect (though you do give a directory there)

That said, I don’t know how appimages handle command line parameters.

Although I DID check the manual, I think you’ve nailed it. I’ve listed a directory but not a filename.
I’m currently running an import routine on a large folder. As soon as that finishes, I’ll give it a whirl with filenames in the arguments.
Thanks for the tip!

Well… nope.
That wasn’t it. :frowning:
And after checking the manual again, it specifically says to give a directory as the argument, not a file.
Anyway, it’s 23:30 here… time this muppet was in bed.
Night all.

That depends on the parameter…

But for your case with appimages, do you really need to specify more than the --configdir (which does indeed want a directory)?

Good question. I’ll give that a go.

Yep, that did the trick! Thank you!