Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make config and log files conform to the XDG Base Directory Specification #96

Open
bastidest opened this issue Aug 6, 2021 · 0 comments
Labels
enhancement New feature or request
Projects

Comments

@bastidest
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I noticed that a log file (~/.fotokilof.log) is created in my home directory every time I start the application. Seeing log files there is very unusual on most Linux distributions.

Describe the solution you'd like
I suggest to follow the XDG Base Directory Specification when running on Linux. This allows the user to define directories where logs, settings and data are stored. For this application this would mean:

  • save log files in $XDG_STATE_HOME/fotokilof/... or $HOME/.local/state/fotokilof/... if the XDG_STATE_HOME environment variable is not defined
  • save config files in $XDG_CONFIG_HOME/fotokilof/... or $HOME/.config/fotokilof/... if the XDG_CONFIG_HOME environment variable is not defined
@TeaM-TL TeaM-TL added the enhancement New feature or request label Aug 6, 2021
@TeaM-TL TeaM-TL added this to To do in FotoKilof via automation Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
FotoKilof
  
To do
Development

No branches or pull requests

2 participants