2017-01-30 15:23 GMT+03:00 Simon McVittie <[email protected]>:

> I can't help thinking that a desktop environment should really be able to
> start up without writing to disk, and that writes to $XDG_CONFIG_HOME
> should
> only happen when some interesting event occurs (like a user changing
> configuration).
>
If we will use XDG_CONFIG_DIRS and XDG_CONFIG_DIR, then no problem.
At the start desktop environment will look for files in the following order:
  1. ~/.config/${XDG_CONFIG_PREFIX}xdg-settings.ini
  2. ~/.config/xdg-settings.ini
  3. /etc/xdg/${XDG_CONFIG_PREFIX}xdg-settings.ini
  4. /etc/xdg/xdg-settings.ini

So, if user config not exists  then global settings will be used from
/etc/xdg.

>
> --
Best regards,
Alexander.
_______________________________________________
xdg mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to