Kubuntu, --configdir and --cachedir how and where

Hi.

I’ve just started my adventure with Linux.

I would like to run darktable with the parameters --configdir and --cachedir.
Where should I enter these parameters?
I guess it’s probably in this window in the Arguments line.

image

And then this is what would look like :
run --branch=stable --arch=x86_64 --command=/app/bin/darktable --file-forwarding org.darktable.Darktable @@u %U @@ --configdir /media/darek/Samsung 512/darktable/dt_lib49/ --cachedir /media/darek/Samsung 512/darktable/dt_cache49/

However, when I try to save this window, I get a message that I don’t have permissions.

  1. Is this the right place to enter the --configdir and --cachedir parameters?
  2. How do I get permissions to write to this window?

Did you install the flakpak to your user space or system space?

In this window

first something like install flatpak, close this window, install flathub.

And installing darktable. Just click, click.

I assume that is the system, which I can’t tell from the screenshot, but would explain why you can’t edit the .desktop file. You can always create a new .desktop, but really the cache and databases should be on your fastest disk.

Arguments line - is this right place for these parameters ?

This Samsung pendrive is very fast (400MB/s read speed) and it is portable.
I can use the same data set on my other computer.
But this is not the matter of my question.

It looks correct at a glance. Have you tried it? What does the terminal output say?

If you are only getting started, maybe you should go with the simplest option: get the official AppImage, make it executable, and run it with the default parameters. Why complicate things?

As I mention before, I am starting with linux.
terminal is this Konsole window ? It says nothing because it is closed.

I won’t give up easily.
I’ll try with flatpak installation.
If that doesn’t work, I’ll switch to AppImage.

Right. Your choice. But even if you go with the flatpak (which, unlike the AppImage, is a sandboxed environment with potential permission issues), why change the locations from the defaults?

Moving library and cache to pendrive gives me the same data on my other computers (e.g. in my homework when I have some free time).

Yes, Konsole is one of many terminal emulators.

You are using flatpak already.

You likely need to adjust the flatpak permissions. I’m not near my PC for 2 weeks. I think it is called flat seal.

By the way, I don’t think what you want to do will work (config, cache and images in a pendrive) since the PC likely have different hardware.

Images on nas.
config files and cache on pendrive.
It worked properly with 3 windows machines.
Just because of curiosity one of these computres it is linux system.

–configdir and --cachedir worked but g-man You are right.
I have problem with addressing.
On windows my photos have addresses Z:\Zdjecia\ , and these addresses are stored in library file, but on linux /media/zdjecia/.
On windows I can remap addresses to //synology/zdjecia/ but for now I do not know how to do in linux.

As I see darktable’s import window do not offers look to network drives, only mounted folders

You may want to use local copies, syncing them to the NAS.

https://darktable-org.github.io/dtdocs/en/overview/sidecar-files/local-copies/

1 Like