[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XDG directory compliance?
From: |
Arsen Arsenović |
Subject: |
Re: XDG directory compliance? |
Date: |
Sun, 29 Oct 2023 20:18:38 +0100 |
Gavin Smith <gavinsmith0123@gmail.com> writes:
> On Wed, Oct 25, 2023 at 07:46:01PM +0100, Gavin Smith wrote:
>> One thing I've been thinking of doing for a while is to make Texinfo
>> programs meet the XDG standard:
>>
>> https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
>>
>> The only file I'm aware of is .infokey for the info program, but there
>> may be others. This would mean that the file moves from '$HOME/.infokey'
>> to '$HOME/.config/infokey' or possibly '$HOME/.config/texinfo/infokey'.
>>
>> I feel it makes it easier when moving between different computers to
>> minimise the number of "dotfiles" in one's home directory and knowing
>> what is disposable and what should be kept.
>>
>> Does anybody have any thoughts on this?
>
> I've done this. I made it look under a subdirectory "texinfo" rather
> than directly in .config as that seemed the common way of using this
> directory.
That is, indeed, convention. No need to presume we'll stay on one file.
> I also implemented looking for the infokey file in XDG_CONFIG_DIRS for
> completeness, although it didn't seem as important as XDG_CONFIG_HOME.
That's good. That way, the sysadmins can set up defaults.
Thanks for doing this.
Have a lovely night.
--
Arsen Arsenović
signature.asc
Description: PGP signature