tips:how-to-disable-utf-8-in-console
Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
tips:how-to-disable-utf-8-in-console [05.08.2012 22:52] vergo |
tips:how-to-disable-utf-8-in-console [07.08.2012 01:37] (current) vergo |
</code> | </code> |
| |
===== Ubuntu 12.04 (and possibly Debian too) appendix ===== | ===== Ubuntu 12.04 (and possibly also Debian) appendix ===== |
| |
//(status as of 5.8.2012)//\\ | //(status as of 5.8.2012)//\\ |
A change done in January 2012 that was introduced in Ubuntu 12.04 causes the file //.pam_environment// to be created to the user home directory usually when logging in X. The content of that file is created from ///etc/default/locale// but .UTF-8 is forced after each entry even if the original didn't contain such. This results UTF-8 getting forced even if it has been disabled in ///etc/default/locale//. The easiest way to fix this is to edit (as root) ///usr/share/language-tools/save-to-pam-env/ and add the following before "exit 0" near the end of the file: | A change done in January 2012 that was introduced in Ubuntu 12.04 causes the file //.pam_environment// to be created to the user home directory usually when logging in X. The content of that file is created from ///etc/default/locale// but .UTF-8 is forced after each entry even if the original didn't contain such. This results UTF-8 getting forced even if it has been disabled in ///etc/default/locale//. The easiest way to fix this is to edit (as root) ///usr/share/language-tools/save-to-pam-env// and add the following before "exit 0" near the end of the file: |
| |
<code> | <code> |
| |
Log out and back in again. Now the //.pam_environment// shouldn't anymore contain traces of UTF-8. | Log out and back in again. Now the //.pam_environment// shouldn't anymore contain traces of UTF-8. |
| |
| Bug report in Launchpad: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1033698 |
| |
tips/how-to-disable-utf-8-in-console.1344196332.txt.gz · Last modified: 05.08.2012 22:52 by vergo