LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 893|回复: 1

A question about fcitx in debian

[复制链接]
发表于 2005-7-24 09:17:35 | 显示全部楼层 |阅读模式
Hi, all.
I have installed the debian system(sarge version) on my computer successsfully, and I noticed that the input method of fcitx has been installed as well. The file fcitx locates in the directory of /usr/bin, ans when I double click it, the input method appears. Yet, it seems that it cannot work. I cannot input Chinese words in gnome.

I set up a new file 95im-launch in the directory of /etc/X11/Xsession.d, and add the following code to the file,
export XMODIFIERS=@im=fcitx
fcitx

but when I relogin used the normal user ID, error appeared, and it told me to see the file  of .xsession.error of the current user's directory.
That is the contents of the .xsession.error file:

/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "bowlder"
/etc/gdm/Xsession: Beginning session setup...
SESSION_MANAGER=local/wgy-debian:/tmp/.ICE-unix/4320
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
manager.c/1151: mount_all: mounting /dev/hda1
Error: device /dev/hda1 is not removable

** (gnome-cups-icon:4426): WARNING **: IPP request failed with status 1280

** (gnome-cups-icon:4426): WARNING **: IPP request failed with status 1280
manager.c/1151: mount_all: mounting /dev/hda2
manager.c/557: /org/freedesktop/Hal/devices/block_3_2 already mounted, not mounting again
manager.c/1151: mount_all: mounting /dev/hda3
Error: device /dev/hda3 is not removable
manager.c/1151: mount_all: mounting /dev/hda4
Warning: device /dev/hda4 is already handled by /etc/fstab, supplied label is ignored
mount: only root can mount /dev/hda4 on none

(nautilus:4418): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)
manager.c/1151: mount_all: mounting /dev/hda5
Error: device /dev/hda5 is not removable
manager.c/1151: mount_all: mounting /dev/hda6
Error: device /dev/hda6 is not removable

(gnome-terminal:4472): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)

(gnome-terminal:4472): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)

(gnome-terminal:4472): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)

(gnome-terminal:4472): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)

(gnome-terminal:4472): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)

(gnome-terminal:4472): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)

(gnome-terminal:4472): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)

(gnome-terminal:4472): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)

(gnome-terminal:4472): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)

** (gnome-cups-icon:4426): WARNING **: 无法启动打印机系统托盘图标,因为连接不到 CUPS 服务器。
窗口管理器警告:窗口 0x220000f 上的属性 _NET_WM_NAME 包含无效的 UTF-8
窗口管理器警告:窗口 0x220000f 上的属性 _NET_WM_ICON_NAME 包含无效的 UTF-8窗口管理器警告:窗口 0x2200021 上的属性 _NET_WM_NAME 包含无效的 UTF-8
窗口管理器警告:窗口 0x2200021 上的属性 _NET_WM_ICON_NAME 包含无效的 UTF-8


I am a new linuxer. So, who can give me some suggestions about the problem?

Many thanks for your kind and help.

bowlders
 楼主| 发表于 2005-7-25 21:08:50 | 显示全部楼层
问题解决了,locale没有选好。
zh_CN.UTF-8
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表