[lxqt-config-locale] why duplicate settings?
Opened this issue · 3 comments
Vladimir-csp commented
Given that lxqt-config-locale is not DE-independent, and all language variables are known, I fail to see the need of separate $XDG_CONFIG_HOME/lxqt/lxqt-config-locale.conf
Just look in session.conf for locale-related vars directly, and ditch separate lxqt-config-locale.conf.
Vladimir-csp commented
To elaborate:
- The absence of locale-related variables in session.conf should be treated as "no change" in locale, and "Detailed settings" disabled.
- the presence of
LANG=[some locale]
in session.conf should invariantly be treated as locale is set to [some locale] and "Detailed settings" disabled. - the presence of any of LC_* variable in session.conf should show "Detailed settings" as enabled, with appropriately selected locales.
gfgit commented
@Vladimir-csp Hi, this idea seems interesting! Do you think there might be some edge cases in which this approach would be less functional than the current one?
Vladimir-csp commented
Only if locale config extends beyond LANG
+ LC_*
environment vars.