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

[lxqt-config-locale] why duplicate settings? #506

Open
Vladimir-csp opened this issue Nov 11, 2015 · 3 comments
Open

[lxqt-config-locale] why duplicate settings? #506

Vladimir-csp opened this issue Nov 11, 2015 · 3 comments

Comments

@Vladimir-csp
Copy link

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
Copy link
Author

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.

@agaida agaida transferred this issue from lxqt/lxqt Jul 19, 2019
@gfgit
Copy link
Member

gfgit commented Jan 17, 2024

@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
Copy link
Author

Only if locale config extends beyond LANG + LC_* environment vars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants