Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#16282 - [slim] overrides locale settings, doesn't pass LANG (fix included)
Attached to Project:
Arch Linux
Opened by Alex Ferguson (B_Lizzard) - Sunday, 20 September 2009, 12:28 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 06 December 2009, 22:59 GMT
Opened by Alex Ferguson (B_Lizzard) - Sunday, 20 September 2009, 12:28 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 06 December 2009, 22:59 GMT
|
DetailsDescription:
slim overrides the LANG variable, leading to problems with several applications (problems experienced with XFCE Terminal and OpenOffice.org at least). Additional info: Tested with version 1.3.1-2. Terminal couldn't display international characters due to encoding issues when started with slim as the session manager. When started in plain X, Terminal worked fine. I concluded this was because slim didn't pass some locale settings. Debian bug #441630 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441630) also helped. The issue is fixed in the /etc/pam.d/slim file, making pam read the /etc/profile.d/locale.sh file, which is automatically generated during startup according to the settings in /etc/rc.conf. Attached is a patch that adds the line in slim.pam and fixes the issue. I've been using slim like this for a month and I've seen no side-effects. |
This task depends upon
slim-lang-fix.patch
Setting up login_cmd in slim.conf to launch a session directly (e.g. 'exec startxfce4', not 'exec /bin/bash -login ~/.xinitrc') without xinit made slim to override the settings provided by the environment. I set the system up that way to avoid possible (even minor) overhead, as I imagined slim was perfectly capable of setting it's own environment up. It won't.
Feel free to close this, I'll document my stupidity on the wiki.