Location of ini/config files in linux/unix?

前端 未结 7 1088
自闭症患者
自闭症患者 2020-12-04 06:05

Two questions, really:

  1. Is there a standard/convention regarding the placement on configuration files?

    For system or quasi-system programs they see

7条回答
  •  孤城傲影
    2020-12-04 06:37

    For user configuration I've noticed a tendency towards moving away from individual ~/.myprogramrc to a structure below ~/.config. For example, Qt 4 uses ~/.config// with the default settings of QSettings. The major desktop environments KDE and Gnome use a file structure below a specific folder too (not sure if KDE 4 uses ~/.config, XFCE does use ~/.config).

提交回复
热议问题