On Wed, Jul 24, 2024 at 10:40:00AM GMT, José Matos wrote: > Hi, > this is not a pressing issue but it is something that has been > nagging me for a while. > > The user directory is linux/unix systems is by default ~/.lyx > > That was the historical location for all programs. The problem with > this approach is that it clutters the home directory for the user. > > The amount of dot files and dot directories could be absurd, in the > orders of hundreds. > > The solution for this came from free desktop standards with the > creation of a template with several standard dot directories: > > ~/.config > ~/.local > > The idea is that inside those directories all the files are visible > (this not dot files). > > > What I would likt to and my main concern regarding this is how can we > detect that? And if ~/.config exists privilege that location as the > default location for lyx. > > > So my proposal is for new installations to migrate for this location > keeping, of course, compatibility with previous location if it exists. > > What do you think? Any idea about this?
I don't know much about this, but from what I understand the environment variable XDG_DATA_HOME can be useful. If I recall, if it's not set, things work as normal; and if it is set, programs use it to find config files. Scott
signature.asc
Description: PGP signature
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel