Date: Tue, 14 Apr 2009 12:01:05 +0900 From: Daichi GOTO <daichi@ongs.co.jp> To: gnome@FreeBSD.org Subject: Suggest: gdm_lang flag for gdm startup language Message-ID: <49E3FC71.7090904@ongs.co.jp>
next in thread | raw e-mail | index | archive | help
Hi gnome guys, I want to suggest follow patch to /usr/local/etc/rc.d/gdm RGng script setting default startup language. With follow patch, someone want to use gdm as non-English default, e.g., adding gdm_lang="ja_JP.UTF-8" to /etc/rc.conf is anwser. It is bothering me every day first time I must set Japanese when gdm login display. Do you have any ideas? If you have no objection, I want to commit to /usr/ports/x11/gdm/files/gdm.in Thanks :) --- gdm.orig 2009-04-14 11:55:01.000000000 +0900 +++ gdm 2009-04-14 11:54:36.000000000 +0900 @@ -15,6 +15,7 @@ gdm_enable=${gdm_enable-${gnome_enable}} gdm_preserve_base_pam_conf=${gdm_preserve_base_pam_conf-NO} +gdm_lang=${gdm_lang-${LANG}} export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin @@ -54,7 +55,7 @@ sleep 1 iter=$(expr ${iter} + 1) done - ${command} ${gdm_flags} ) & + LANG=${gdm_lang} ${command} ${gdm_flags} ) & } load_rc_config ${name} -- Daichi GOTO, http://people.freebsd.org/~daichi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49E3FC71.7090904>