#51 Do not pollute the user's home folder with configuration files or directories

Kapalı
carlos.garcia tarafından 8 yıl önce kere açıldı · 0 yorum
Carlos Garcia 8 yıl önce olarak yorumlandı

The best location to save configuration data is not directly in the home folder. Instead, as suggested by the XDG Base Directory Specification (https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html), the best location is defined by the environmental variable $XDG_CONFIG_HOME. If empty, the default is $HOME/.config.

Summarizing, the autosaves, background images or any other configuration should go in $HOME/.config

The best location to save configuration data is not directly in the home folder. Instead, as suggested by the XDG Base Directory Specification (https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html), the best location is defined by the environmental variable $XDG_CONFIG_HOME. If empty, the default is $HOME/.config. Summarizing, the autosaves, background images or any other configuration should go in $HOME/.config
Giriş yap bu konuşmaya katılmak için.
Kilometre Taşı Yok
Atanan Kişi Yok
1 Katılımcı
Yükleniyor...
İptal
Kaydet
Henüz bir içerik yok.