[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:47601] Re: Can't input Japanese on Etch
長南洋一 san,
>>
>
> 今までずっと etch で日本語入力ができていたのですね。
yes, using canna+kinput2.
> そして、今でも日本語表示は問題ないのですね。
Almost ok, but something wrong. For examples, gnome-panel/clock-applet
can't show year(nen), month(tsuki), day(nichi) but shows ??? ( three
question marks ).
>
> 日本語が入力できないのは、どんなアプリケーションですか。
> ターミナルエミュレータ(kterm, xterm or gnome-terminal?)や
> Emacs ではどうなのですか。
gnome-terminal, firefox, openoffice.org, and all except
XEmacs21-gnome-mule-canna-wnn.
>
> まずホームディレクトリにある .xsession-errors を見せてください。
om-lin@nomura:~$ cat .xsession-errors
/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -w
/var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l
":0" "nomura"
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=C.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to
/etc/X11/xinit/xinput.d/default.
???????? gnome-terminal ?????? "--login" ???????????;
????????????????????????? "--window-with-profile" ???????????
?????: "1500"
SESSION_MANAGER=local/tom-lin:/tmp/.ICE-unix/6897
(process:6964): GLib-WARNING **: gdate.c:1493Error converting results of
strftime to UTF-8: Invalid byte sequence in conversion input
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
??????????? epiphany.desktop (???????? ) ??????
** (update-notifier:6986): WARNING **: no cdrom: disk
** (update-notifier:6986): WARNING **: no cdrom: disk
** (update-notifier:6986): WARNING **: no cdrom: disk
** (update-notifier:6986): WARNING **: no cdrom: disk
I: [i386 chroot] Running command: "/usr/local/seamonkey/seamonkey"
note: I can't see ????? correctly, even though I change character code
to EUC-JP, Shft-JIS, JIS or UTF-8 on gnome-terminal.
> それから ls -l .xinput.d と grep XIM .Xresources の結果も
tom-lin@nomura:~$ ls -l .xinput.d
ls: .xinput.d: ??????????????????????
note: There is no .xinput.d on ~/.
tom-lin@nomura:~$ cat .Xresources
! XIM サーバーの名前を定義する
#define XIM kinput2
!Kinput2*conversionStartKeys: Shift<Key>space \n\
! Ctrl<Key>o \n\
! Ctrl<Key>backslash \n\
! Alt<Key>Zenkaku_Hankaku
Kinput2*conversionStartKeys: Shift<Key>space
skkinput*conversionStartKey: Shift<Key>space
! xemacs21 のフォント設定 (あまりうまく動かないけど)
xemacs*font: -sazanami-gothic-medium-r-normal--16-*-iso8859-1
xemacs*romanKanaFont: -sazanami-gothic-medium-r-normal--16-*-jisx0208.1983-0
xemacs*kanjiFont: -sazanami-gothic-medium-r-normal--16-*-jisx0208.1983-0
xemacs*boldFont: -sazanami-gothic-bold-r-normal--16-*-iso8859-1
xemacs*romanKanaBoldFont:
-sazanami-gothic-bold-r-normal--16-*-jisx0208.1983-0
xemacs*kanjiBoldFont: -sazanami-gothic-bold-r-normal--16-*-jisx0208.1983-0
!XEmacs.default.attributeFont: -*-fixed-medium-r-normal--16-*-*-*-*-*-*-*
!XEmacs.default.attributeFont: -*-fixed-medium-r-normal--14-*-*-*-*-*-*-*
! emacs から kinput2 が起動しないように。
XEmacs*xnlLanguage: C
!XEmacs*xnlLanguage: ja_JP.UTF-8
> ($HOME/.Xresources は全文でもよい)。.xsession や .gnomerc も
> 見せてもらった方がよいかもしれません。調べることはほかにもある
> かもしれませんが、とりあえずそんなところから。
tom-lin@nomura:~$ cat .xsession
# ---- language-env DON'T MODIFY THIS LINE!
# $TERMINAL_EMULATOR
TERMINAL_EMULATOR="gnome-terminal --login"
# $WINDOW_MANAGER
LANG=ja_JP.UTF-8
export LANG
PATH=$HOME/bin:$PATH
#=======================================================================
XIM=kinput2
XIM2=-canna
if type $XIM &> /dev/null
then
$XIM $XIM2 &
fi
XMODIFIERS=@im=$XIM
export XMODIFIERS
#=======================================================================
#
#-----------------------------------------------------------------------
if [ -z "$TERMINAL_EMULATOR" ] ; then
if type krxvt &> /dev/null ; then
XMODIFIERS=@im=$XIM krxvt -ls &
elif type kterm &> /dev/null ; then
kterm -ls &
elif type rxvt &> /dev/null ; then
XMODIFIERS=@im=$XIM rxvt -ls &
elif type Eterm &> /dev/null ; then
Eterm -l &
elif type gnome-terminal &> /dev/null ; then
gnome-terminal --login &
elif type uxterm &> /dev/null ; then
uxterm -ls &
elif type xterm &> /dev/null ; then
xterm -ls &
fi
elif [ "$TERMINAL_EMULATOR" != "NONE" ] ; then
$TERMINAL_EMULATOR 1500 0 &
fi
#=======================================================================
#xsetroot -cursor /usr/include/X11/bitmaps/left_ptr
/usr/include/X11/bitmaps/left_ptrmsk
#
#=======================================================================
if [ -x "$WINDOW_MANAGER" ]; then
realstartup=$WINDOW_MANAGER
elif [ -x /usr/bin/x-session-manager ]; then
realstartup=x-session-manager
elif [ -x /usr/bin/x-window-manager ]; then
realstartup=x-window-manager
elif [ -x /usr/bin/x-terminal-emulator ]; then
realstartup=x-terminal-emulator
fi
exec $realstartup
# ---- language-env end DON'T MODIFY THIS LINE!
#alias xterm='xterm -bg black -fg white'
>
> # im-switch は必ずインストールされるんでしたっけ。念のため、
> # dpkg -l im-switch もやってみてください。
>
>
yes, version 1.11 installed.
I suppose font and kinput2 affected something wrong, because Xorg.0.log
shows;
--------------------------------
Could not init font path element /usr/share/fonts/truetype/kochi,
removing from list!
Could not init font path element /usr/share/fonts/truetype/sazanami,
removing from list!
Could not init font path element /usr/share/fonts/truetype/freefont,
removing from list!
Could not init font path element /usr/share/fonts/truetype/ttf-dejavu,
removing from list!
Could not init font path element /usr/share/fonts/ms, removing from list!
---------------------------------
Best Regards,
Tomoo Nomura
--
****** Nomura Technical Management Office Ltd. *****************
Tomoo Nomura nomura@xxxxxxxxx http://www.tmo.co.jp/
Phone: +81-78-797-0240 Fax: +81-78-797-0241
Worldwide Airline Timetable 'Flight Planner'
European Electronic Timetable 'HAFAS' ValueFax Support
****************************************************************