Arch Linux

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!
Tasklist

FS#25278 - [kdm] Allow run KDM with correct locale

Attached to Project: Arch Linux
Opened by Vladimir (_v_l) - Wednesday, 27 July 2011, 02:02 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 05 September 2012, 14:32 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
By default all daemons are run with LOCALE=C, this leads to wrong time representation for KDM.

I suggest to add file /etc/conf.d/kdm like
[file="/etc/conf.d/kdm"]
LOCALE=ru_RU.UTF-8
[/file]

and add a line into /etc/rc.d/kdm:
[file="/etc/rc.d/kdm"]
#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions
. /etc/conf.d/kdm

<<THE REST>>
[/file]

Thanks in advance
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 05 September 2012, 14:32 GMT
Reason for closing:  Upstream
Additional comments about closing:  https://bugs.kde.org/show_bug.cgi?id=164 311
Comment by Andrea Scarpino (BaSh) - Wednesday, 27 July 2011, 07:20 GMT
Have you tried setting DAEMON_LOCALE="yes" in rc.conf?
Comment by Vladimir (_v_l) - Wednesday, 27 July 2011, 10:21 GMT
Hi Andrea.
No, I didn't tried (but I could try it later this week), of course I could set 'DAEMON_LOCALE="yes"' in '/etc/rc.conf' but AFAIU (from comment in the file) this will affect ALL daemons (in my '/etc/rc.conf' I have 'LOCAL=ru_RU.utf8' for obvious reason). This is not I want. IMHO, [system] daemons should be run with "LOCALE=C" but KDM should be more "user-friendly" :).

P.S. I maintain two host with Archlinux (x86_64). Usual users use KDM to log into system and use standard graphical DE.
Long ago I notice that only time string on KDM screen is not localized. Searching for the reason I found that KDM themes uses '%c' (reasonable). This is my workaround.

P.P.S. I didn't find any researches on shortcomings to run all daemons with "LOCALE\neqC" (except font problem).
Comment by Piotr K (sargath) - Friday, 09 December 2011, 07:44 GMT
Problem with locale exist and with time presentation. I've noticed that when settings are done by system settings in kde with login manager, manager sets the locale in kdmrc like LANG=pl rather than pl_PL, so you have to edit the kdmrc to correct set. You can set it in /usr/share/config/kdm/kdmrc. I had to change language=pl to pl_PL, so after any changes in login manager in system settings you must make changes in file.

Loading...