@paolomi thinks it should not be in ~/ so as to reduce clutter in the user's home directory.
On 26.3.2023 07:25, Edward K. Ream wrote:
- The home directory is a natural place for this data. - The home directory often contains subdirectories starting with `.<app-name>'. Both Linux and Windows hide such directories by default.
The initial request seems to conflate 'reducing $HOME clutter' with 'adopting the XDG directory specification' in regards to where data, config, state files (and so on) are stored.
There are places in the code where purpose-specific files and folders are directly derived from g.app.homeLeoDir, so redesigning leo (and plugins) to redistribute files across different locations will be burdensome.
1) To prevent cluttering $HOME, would it not be enough to specify the location of homeLeoDir to somewhere else?
2) Is there currently no way to customize the location of homeLeoDir? If not, perhaps it would be convenient to have the ability to customize it at startup, e.g. via command line parameter or environment variable.
For reference, here is a listing with software which does not comply with the XDG Directory Specification, but allow customizing the file system paths they read/write in some way: https://wiki.archlinux.org/title/XDG_Base_Directory#Partial
-- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/3f79d673127ce537a76cf6eca6d22735%40purelymail.com.
