On Sunday, March 26, 2023 at 6:25:34 AM UTC-4 Edward K. Ream wrote:

On Sat, Mar 25, 2023 at 8:36 PM Thomas Passin <[email protected]> wrote:

@paolomi has requested that Leo's user's home directory be moved - on Linux 
- from the location it has always had to a new one.  The current location 
is ~/.leo.  @paolomi thinks it should not be in ~/ so as to reduce clutter 
in the user's home directory.  Existing installations would not be changed. 
The issue for the request is XDG Base Directory on Linux #3213 
<https://github.com/leo-editor/leo-editor/issues/3213>.


I don't like this proposal:

- It's not needed.
- It might create problems for existing users.

*It would not affect any existing installation, only fresh ones that have 
no existing ~/.leo directory.* 

- The home directory is a natural place for this data.

*The XDG spec doesn't want the home directory to be used like this.  But 
it's a fact that a lot of other programs do anyway.  The original requester 
wants to declutter his home directory, but if a dozen other programs put 
their own directories there **(as @Felix's screen shot demonstrates)**, 
moving .leo out won't accomplish much decluttering .  From the XDG Spec 
<https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html>:*

*$XDG_DATA_HOME defines the base directory relative to which user-specific 
data files should be stored. If $XDG_DATA_HOME is either not set or empty, 
a default equal to $HOME/.local/share should be used.*

*$XDG_CONFIG_HOME defines the base directory relative to which 
user-specific configuration files should be stored. If $XDG_CONFIG_HOME is 
either not set or empty, a default equal to $HOME/.config should be used.*

- The home directory often contains subdirectories starting with 
`.<app-name>'.
Both Linux and Windows hide such directories by default.

*I always tell the file manager to show the hidden directories, though, and 
I imagine many other Linux users do too.* 

At this time I prefer that we leave the location unchanged, but let's wait 
a little to let anyone else speak up.

-- 
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/c36aa6b9-9cd9-4075-82d2-80bbdfd84cd0n%40googlegroups.com.

Reply via email to