coolreader icon indicating copy to clipboard operation
coolreader copied to clipboard

XDG Base Directory on Linux

Open paolomi opened this issue 3 years ago • 2 comments

On Linux, in order to reduce the clutter in the user's home directory, coolreader should use the XDG Base Directory specification for its configuration directory.

For backwards compatibility, the configuration would be read initially from the current location (~/.cr3). If not found, it would be read from $XDG_CONFIG_HOME/cr3, with $XDG_CONFIG_HOME defaulting to $HOME/.config if not set.

Thanks a lot.

paolomi avatar Feb 05 '22 22:02 paolomi

Yes, do it please.

butyoutried avatar Feb 22 '22 07:02 butyoutried

I also would appreciate this

elmuz avatar Jan 06 '23 20:01 elmuz