|
|
I've reinstalled arch and haven't typed a single word of Chinese yet.
I don't want to go back to scim so I'm trying ibus.
I'm also trying out gnome. Kind of stupid huh. Anyway, I'm now using gnome as DE and have put this in ~/.xinitrc
- GTK_IM_MODULE=ibus
- QT_IM_MODULE=ibus
- #What is this??
- if [ -z "$IBUS_SESSION_ID" ]; then
- export IBUS_SESSION_ID=`mktemp -u XXXXXXXX`
- fi
- if [ -n "${GTK_IM_MODULE}" ]; then
- export GTK_IM_MODULE
- else
- export GTK_IM_MODULE=xim
- fi
- if [ -n "${QT_IM_MODULE}" ]; then
- export QT_IM_MODULE
- else
- export QT_IM_MODULE=xim
- fi
- export XMODIFIERS=@im=ibus
- ibus-daemon --xim -d &
- xbindkeys &
- xmodmap .Xmodmap &
- exec gnome-session
复制代码
Basically it's just the same as
- export IBUS_SESSION_ID=`mktemp -u XXXXXXXX`
- export GTK_IM_MODULE=ibus
- export QT_IM_MODULEe=ibus
- export XMODIFIERS=@im=ibus
- ibus-daemon --xim -d &
- xbindkeys &
- xmodmap .Xmodmap &
- exec gnome-session
复制代码
With ibus-setup the Shortcut for "enable or disable" is Ctrl+Space, but I can't bring it up, although the ibus icon did appear at the notify area.
My locale is "en_US.utf-8", is this a known bug with this locale or is it something about the .xinitrc file?
Jiong... |
|