LinuxSir.cn,穿越时空的Linuxsir!

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

Please help me with my ibus and ibus-pinyin.

[复制链接]
发表于 2009-11-8 12:40:53 | 显示全部楼层 |阅读模式
Sorry for posting in English, but I cannot use my Chinese input method.

I cannot find any clues on the web and finally ask for help here. Please help me with the strange problem.

Thank you very much.


This is a new installation of Gentoo on my new Thinkpad T400.

I have emerged ibus and ibus-pinyin. Without any configurations (like XIM etc.), An icon of ibus (keyboard with an earth) appears on the toolbar(notification area) of Gnome.

I can use the "Shou Xuan Xiang" button or ibus-setup command to setup it. But it can NOT SAVE any changes.

I tried many times to add the ibus-pinyin as the default input method, but nothing happens. Every time I launch ibus-setup again, and see the input method list keeping blank.

The version information:

dev-lang/python-2.6.2-r1  USE="berkdb gdbm ncurses readline sqlite ssl threads xml -build -doc -examples -ipv6 -tk -ucs2 -wininst"
app-i18n/ibus-1.2.0.20091024  USE="nls -doc"
app-i18n/ibus-pinyin-1.2.0.20090915  USE="nls"



PS:

Other information maybe useful:

My googleearth(4.2.205.5730) on the same enviroment cannot save settings too. I add a place for my apartment, and close googleearth and start it again. The place setting disappears.

Another Gentoo system on an old laptop(Acer TM280) has a similar problem. The ibus works well on it, but the Firefox always forgets bookmarks which are newly added. It works correctly sometimes when I get a good luck.

Another Gentoo system on my desktop has met a similar problem too. This time it turn to Gnome. A new user sometimes lost icons on the desktop and toolbars after creating it and rebooting.
 楼主| 发表于 2009-11-8 12:42:41 | 显示全部楼层
Following is the emerge info:

# emerge --info
Portage 2.1.6.13 (hardened/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5-20091030 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-20091030-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 08 Nov 2009 03:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.wetzlmayr.com/"
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="zh_CN zh en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="R X a52 aac acl acpi alsa amd64 amr amrnb amrwb ansi apache2 applet archive ass audio autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cleartype cli clisp consolekit context corefonts cracklib crypt cups custom-optimization cxx dbus dga dia dirac directfb djvu dri dts dv dvb dvd dvdr dvi dvipdfm eds emboss enca encode esd espeak evo exif expat extra fam fasttrack fbcon ffmpeg fftw firefox flac fontconfig fortran gcj gd gdbm gif gmp gnome gnutls gphoto2 gpm graphics gs gsm gstreamer gtk hal hardened hdaps hdri hpn html iconv ieee1394 imagemagick jack java jbig jpeg jpeg2k justify kerberos kpathsea lapack laptop latex latex3 lcms ldap libedit libnotify live lm_sensors lua lyx lzma lzo mad math mdnsresponder-compat mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql nautilus ncurses network networkmanager nls nptl nptlonly nsplugin ntp octave odbc ogg opengl openmp osdmenu pam pcre pdf perl php pic plotutils png ppds pppd pstricks publishers pulseaudio pvr python qq qqwry qt3 qt3support qt4 quicktime rar raw readline reflection rle samba schroedinger science sdl server session skey smp sndfile socks5 sparse speex spell spl sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification svg sysfs tcpd tex4ht theora threads thunar tiff truetype unicode urandom usb v4l v4l2 vhook video vim-syntax vim-with-x vorbis wifi wmf wxwidgets x264 x509 xetex xft xinerama xml xorg xpm xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh en" USERLAND="GNU" VIDEO_CARDS="intel vesa radeon radeonhd fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-8 12:43:43 | 显示全部楼层
Following is the uname information:

# uname -a
Linux gongmingmobile 2.6.30-gentoo-r5-20091030 #2 SMP PREEMPT Fri Oct 30 23:54:40 EDT 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz GenuineIntel GNU/Linux
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-8 12:54:59 | 显示全部楼层
Is there any other information needed?

Thank you all !
回复 支持 反对

使用道具 举报

发表于 2009-11-8 13:22:50 | 显示全部楼层
建议你 emerge fcitx,用中文说明一下情况,然后再慢慢装ibus。

by the way,俺不用ibus,帮不上什么忙。
回复 支持 反对

使用道具 举报

发表于 2009-11-8 13:45:56 | 显示全部楼层
看 emerge 完 ibus 之后的输出信息。另外,也许还需要 export LC_CTYPE=zh_CN.utf8
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-9 09:14:43 | 显示全部楼层
The message after emerge is:

>>> Messages generated by process 6540 on 2009-11-07 22:38:02 EST for package app-i18n/ibus-1.2.0.20091024:

LOG: postinst
To use ibus, you should:
1. Get input engines from sunrise overlay.
   Run "emerge -s ibus-" in your favorite terminal
   for a list of packages we already have.

2. Setup ibus:

   $ ibus-setup

3. Set the following in your user startup scripts
   such as .xinitrc, .xsession or .xprofile:

   export XMODIFIERS="@im=ibus"
   export GTK_IM_MODULE="ibus"
   export QT_IM_MODULE="xim"
   ibus-daemon -d -x



My problem is on the 2nd step. I have tried to put the scripts(and the LC_CTYPE you have metioned) in .xsession and .xprofile. The problem is still there, and nothing happens.



Post by SDE;2043722
看 emerge 完 ibus 之后的输出信息。另外,也许还需要 export LC_CTYPE=zh_CN.utf8
回复 支持 反对

使用道具 举报

发表于 2009-11-10 00:45:12 | 显示全部楼层
ibus-setup有出来ibus设置界面吗?
回复 支持 反对

使用道具 举报

发表于 2009-11-10 07:54:36 | 显示全部楼层
在终端运行ibus-setup,操作过程中看终端的输出信息可能会找到问题所在。我觉得有可能是目录写入权限的问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-10 09:53:07 | 显示全部楼层
Post by acevery;2044165
ibus-setup有出来ibus设置界面吗?


Yes. It looks normal but cannot save settings.
回复 支持 反对

使用道具 举报

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

本版积分规则

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