FS#20109 - [kdebase-workspace] kdm not load non-english locales
Attached to Project:
Arch Linux
Opened by Michał Maciej Różański (2M1R) - Thursday, 08 July 2010, 10:49 GMT
Last edited by Tom Gundersen (tomegun) - Thursday, 23 June 2011, 14:00 GMT
Opened by Michał Maciej Różański (2M1R) - Thursday, 08 July 2010, 10:49 GMT
Last edited by Tom Gundersen (tomegun) - Thursday, 23 June 2011, 14:00 GMT
|
Details
Description:
kdm not load non-english locales at start. Line 10 in /etc/rc.d/kdm is wrong. Additional info: Old script: #!/bin/bash . /etc/rc.conf . /etc/rc.d/functions PID=$(pidof -o %PPID /usr/bin/kdm) case "$1" in start) stat_busy "Starting KDE Desktop Manager" [ -z "$PID" ] && /usr/bin/kdm &>/dev/null if [ $? -gt 0 ]; then stat_fail else add_daemon kdm stat_done fi ;; stop) stat_busy "Stopping KDE Desktop Manager" [ ! -z "$PID" ] && kill $PID &> /dev/null if [ $? -gt 0 ]; then stat_fail else rm_daemon kdm stat_done fi ;; restart) $0 stop sleep 3 $0 start ;; *) echo "usage: $0 {start|stop|restart}" esac exit 0 Steps to reproduce: Line: [ -z "$PID" ] && /usr/bin/kdm &>/dev/null must be change to: [ -z "$PID" ] && LANG="$LOCALE" /usr/bin/kdm &>/dev/null |
This task depends upon
Comment by Ionut Biru (wonder) -
Thursday, 08 July 2010, 11:14 GMT
Comment by Pierre Schmitz (Pierre) -
Thursday, 08 July 2010, 12:46 GMT
Comment by Greg (dolby) - Friday, 04
March 2011, 04:52 GMT
Comment by Tom Gundersen (tomegun) -
Sunday, 08 May 2011, 18:32 GMT
there are two ways of running kdm. as a daemon in rc.conf (which
kinda suck) and inittab way(proper way imo)
Indeed; kdm shouldn't be run as daemon via rc.conf. People want to
kept it for backwards compatibility though. (using kdm this way
causes other problems, too)
Cant the /etc/rc.d/kdm file be dropped completely?
Have you tried setting DAEMON_LOCALE="yes" in rc.conf? Does using
inittab fix the problem (I would be surprised if it does, so
please let me know).