[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:47619] Re: Can't input Japanese on Etch [¡Z¡Z¡Z¡Z¡Z
æ¦è—¤ï¼ Debianã·ã‚ã˜ã‡ãã¨ã§ã™ã€‚
At Wed, 8 Nov 2006 02:14:23 +0900,
Keni Matsuda wrote:
> > > ã“れ㯠ja_JP.UTF-8 ã§ã¯ãªã㦠C ã«è¨å®šã—ã¦æ—¥æœ¬èªžå…¥åŠ›ãŒã§ãるよã†ã«ãªã£
> > > ãŸã¨ã„ã†ã“ã¨ã§ã—ょã†ã‹?
> > ã¯ã„。/etc/default/localã§ã¯ã€Cã§ã™ã€‚ã“れ㯠rootã‚„postgresqlã§Cã§ãªã„ã¨
> > ã¾ãšã„ã®ã§ãã†ã—ã¦ã„ã¾ã™ã€‚
>
> å‚è€ƒæƒ…å ±ã§ã™ãŒã€/etc/default/locale 㯠/etc/init.d/gdm ã§
> . (ドット) コマンドã§å‘¼ã³è¾¼ã¾ã‚Œã¦ã„ã¾ã™ã€‚
>
> > 但ã—ã€~/.xsessionã§ã€LANG=ja_JP.UTF-8 ã«ã—ã¦ã„ã¾ã™ã€‚
>
> ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯ãŠãらã一番最後ã«å‘¼ã°ã‚Œã‚‹ã®ã§ã¯ãªã„ã§ã—ょã†ã‹ã€‚
>
> > > Setting IM through im-switch for locale=all_ALL.
> > >
> > > ã¨è¡¨ç¤ºã•ã‚Œã¦ã„ã¾ã™ã‹ã‚‰ã€æ‰‹å…ƒã® Debian unstable ã®ãƒ‘ッケージ im-switch 1.11
> > > ã® /etc/X11/Xsession.d/90im-switch ã®ãƒã‚¸ãƒƒã‚¯ã‚’ã¿ã‚‹é™ã‚Šã€ä½•ã‹ãŠã‹ã—ã„
> > > よã†ãªæ°—ãŒã—ã¾ã™ã€‚(LC_ALL, LC_CTYPE, LANG 全部ãŒã€æœªå®šç¾©ã‹ã‚ã‚‹ã„ã¯é•·ã• 0
> > > ã®æ–‡å—列ã«ãªã£ã¦ã„ãªã„é™ã‚Šã€all_ALL ã¯è¨å®šã•ã‚Œãªã„ã¯ãšãªã®ã§ã™ãŒ)
> > ã‚ã‹ã‚‰ãªããªã£ã¦ãã¾ã—ãŸã。
> > 90im-switch ã®å…ˆé ã§debugã—ã¦ã¿ã¾ã™ã¨ã€
> >
> > LC_ALL= ; LC_CTYPE= ; LANG= ;
> >
> > ã§ã—ãŸã€‚
>
> ã¨ã„ã†ã“ã¨ã¯ã€ã©ã“ã‹ã§èª°ã‹ãŒã“れらをリセットã—ã¦ã„ã‚‹ã‚“ã§ã—ょã†ã‹ã。
>
> gdm 自身 (ãƒã‚°ã‚¤ãƒ³ç”»é¢ã§è¨€èªžã‚’é¸æŠžã™ã‚‹ã¨ GDM_LANG ã¨ã‹ LC_*, LANG ã«
> 強制的ã«å€¤ãŒè¨å®šã•ã‚Œã‚‹?) ã‹ã€/etc/gdm/Xsession ã‚ã‚‹ã„ã¯ã“ã“ã‹ã‚‰å‘¼ã°ã‚Œ
> る別ã®ã‚¹ã‚¯ãƒªãƒ—トã‹ã‚‚ã—ã‚Œãªã„ã§ã™ã€‚
タイミングã‹ã‚‰è¦‹ã¦ã€/etc/default/localeã‚’èªã‚€ã‚ˆã†ã«ãªã£ãŸgdm 2.16.1-1ãŒ
testingã«å…¥ã£ãŸ(11月4日付ã‘)ã“ã¨ã«ã‚ˆã‚‹å½±éŸ¿ã§ã—ょã†ã。
詳細ã¯nomuraã•ã‚“ã®ç’°å¢ƒã‚’å†ç¾å®Ÿé¨“ã—ãªã„ã¨ã‚ã‹ã‚Šã¾ã›ã‚“ãŒ(手元ã§ã¯æ™®é€šã«
å‹•ã„ã¦ã‚‹)ã€/etc/default/localeã‚’ã”ã¡ã‚ƒã”ã¡ã‚ƒã„ã˜ã‚‹ã®ã¯ãã‚‚ãã‚‚ãŒç‹ã®
良ããªã„ã“ã¨ã§ã¯ãªã„ã‹ã¨ã„ã†æ°—ãŒã—ã¾ã™ã€‚pgsqlãŒèµ·å‹•æ™‚言語変数ã«å·¦å³ã•ã‚Œã€
ãれを指示ã™ã‚‹å¿…è¦ãŒã‚ã‚‹ã¨ã„ã†ã®ã§ã‚ã‚Œã°pgsqlã«/etc/default/postgresql
ãªã©ã§è¨€èªžè¨å®šã™ã‚‹æ©Ÿèƒ½ã‚’用æ„ã—ã¦ãれるよã†ãƒã‚°ãƒªãƒãƒ¼ãƒˆã™ã‚‹ã®ãŒ
よã‚ã—ã„ã‹ã¨ã€‚
gdmã§ã¯/etc/default/localeãŒ2回èªã¿è¾¼ã¾ã‚Œã¾ã™ã€‚
/etc/init.d/gdmã§ã®èªã¿è¾¼ã¿ã¯ã€gdmã®ãƒã‚°ã‚¤ãƒ³ç”»é¢ã®åœ°åŸŸåŒ–ã®ãŸã‚ã§ã€
ãƒã‚°ã‚¤ãƒ³å¾Œç’°å¢ƒã«ã¯å½±éŸ¿ã—ã¾ã›ã‚“。
ãƒã‚°ã‚¤ãƒ³å¾Œã®åœ°åŸŸåŒ–ã¯ã€pamã«ã‚ˆã£ã¦è¡Œã‚ã‚Œ(ã“ã‚ŒãŒæ–°ã—ãå…¥ã£ãŸæ©Ÿèƒ½)ã€
環境変数を/etc/default/localeã‹ã‚‰èªã¿è¾¼ã‚€ã‚ˆã†ã«ãªã£ã¦ã„ã¾ã™ã€‚
ã“ã®ã»ã‹ã«/etc/environmentã€gdmã§ã®è¨€èªžé¸æŠžã®å½±éŸ¿ã‚‚å—ã‘ã¾ã™ã€‚
--
æ¦è—¤ å¥å¿—ï¼ kmuto @ kmuto.jp
Debian/JPプãƒã‚¸ã‚§ã‚¯ãƒˆ (kmuto@debian.org, kmuto@debian.or.jp)
æ ªå¼ä¼šç¤¾ãƒˆãƒƒãƒ—スタジオ (kmuto@xxxxxxxxxxxxxxx)
URI: http://kmuto.jp/ (Debianãªè©±é¡Œãªã©)