OS/2, eCS & ArcaOS - Technical > Applications

To .config or not .config

<< < (3/4) > >>

Dave Yeo:

--- Quote from: Martin Iturbide on October 03, 2022, 08:34:35 pm ---Hi

I also have a different question but related. Will it work to declare "XDG_CONFIG_HOME" to change the location (obviously for application that respect that) like:
  SET XDG_CONFIG_HOME=C:\HOME\MARTIN\.config;

Regards

--- End quote ---

Only for programs that have implemented it. Grepping sources here, not many.
Amoebax, lastpass-cli, mercurial, pango, qemu, OpenTTD and some QT5 stuff.
Sure there is more but most don't seem to have implemented it.

Martin Iturbide:
Hi

I get back to this subject in my mind everything I see my /Home directory. I personally prefer all the configuration of linux ported programs goes to .config.

For example, what can I say to the Dooble author so  things got stored on /Home/.config/.dooble ?
That he should adhere to use $XDG_CONFIG_HOME to store configuration files? And link him to something like https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Regards

Dave Yeo:
You could try suggesting it. Problem is that it will break every install where the profile is already in .dooble, not good. You could always set DOOBLE_HOME to point to your preference.
Remember too that a leading dot in a file name on *nix systems means hidden file, so most file managers on *nix will not show these configuration files.

Martin Iturbide:
Hi Dave, thanks for the feedback

SET XDG_CONFIG_HOME=C:\HOME\.config;
and
SET DOOBLE_HOME=C:\HOME\.config;

Both didn't help me to put the \.dooble inside \.config. It didn't work for me.

Regards

Dave Yeo:
Perhaps SET DOOBLE_HOME=C:\HOME\.config\Dooble
Maybe need / instead of \

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version