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

Changing default locale to "en_US.utf8" #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vinipsmaker
Copy link

There was positive feedback regarding this change in the forums and I know no reason why someone wouldn't want to use Unicode.

I started a thread to find out the Angstrom way of setting a locale, but an old thread suggests the profile.d way and I cannot find much info in the wiki. Documentation of Angstrom is not even close to the quality of other distro such as ArchLinux.

@vinipsmaker
Copy link
Author

Debian uses file /etc/default/locale to indicate the default profile. The OpenEmbedded was based on Debian and we're going back to Debian in the next device (Pyra), then this file is a good place to put the default locale info.

@vinipsmaker
Copy link
Author

The list of files that source /etc/default/locale in Pandian is:

  • /etc/init.d/keyboard-setup
  • /etc/init.d/mountall.sh
  • /etc/init.d/lightdm
  • /etc/init.d/console-setup
  • /etc/init.d/kbd
  • /etc/con.daily/apt
  • /etc/pam.d/lightdm
  • /etc/pam.d/login
  • /etc/pam.d/su
  • /etc/pam.d/polkit-1
  • /etc/pam.d/lightdm-autologin
  • /etc/pam.d/lightdm-greeter
  • /etc/pam.d/sshd

So, there is no central place to propagate locale env vars.

Next step is to look which script starts the XFCE session in SuperZaxxon and change it to take locale env vars in account. Possibly (but unlikely) other scripts/services will need to change also.

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

Successfully merging this pull request may close these issues.

1 participant