SCIM + English Locales
Moderator: Forums Team
SCIM + English Locales
Can anyone tell me how to use scim in english gnome?
I have changed the locale to the following but it still can work.
LANG=en_US.UTF-8
LC_CTYPE=zh_TW.Big5
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
I have changed the locale to the following but it still can work.
LANG=en_US.UTF-8
LC_CTYPE=zh_TW.Big5
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
localhost ~ # export
declare -x CLASSPATH="."
declare -x COLORTERM="gnome-terminal"
declare -x CONFIG_PROTECT="/usr/lib/mozilla/defaults/pref /usr/lib/X11/xkb"
declare -x CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo"
declare -x CVS_RSH="ssh"
declare -x DESKTOP_SESSION="gnome"
declare -x DESKTOP_STARTUP_ID=""
declare -x DISPLAY=":0.0"
declare -x EDITOR="/bin/nano"
declare -x GCC_SPECS=""
declare -x GDK_USE_XFT="1"
declare -x GDMSESSION="gnome"
declare -x GDM_XSERVER_LOCATION="local"
declare -x GNOME_DESKTOP_SESSION_ID="Default"
declare -x GNOME_KEYRING_SOCKET="/tmp/keyring-Q7Wgap/socket"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2"
declare -x G_BROKEN_FILENAMES="1"
declare -x HOME="/root"
declare -x HOSTNAME="localhost"
declare -x INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info"
declare -x JAVAC="/opt/sun-jdk-1.4.2.09/bin/javac"
declare -x JAVA_HOME="/opt/sun-jdk-1.4.2.09"
declare -x JDK_HOME="/opt/sun-jdk-1.4.2.09"
declare -x LESS="-R"
declare -x LESSOPEN="|lesspipe.sh %s"
declare -x LOGNAME="root"
declare -x MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man::/opt/sun-jdk-1.4.2.09/man"
declare -x MOZILLA_FIVE_HOME="/usr/lib/mozilla"
declare -x OLDPWD
declare -x OPENGL_PROFILE="xorg-x11"
declare -x PAGER="/usr/bin/less"
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.6:/opt/sun-jdk-1.4.2.09/bin:/opt/sun-jdk-1.4.2.09/jre/bin:/opt/sun-jdk-1.4.2.09/jre/javaws"
declare -x PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8"
declare -x PWD="/root"
declare -x PYTHONPATH="/usr/lib/portage/pym"
declare -x SESSION_MANAGER="local/localhost:/tmp/.ICE-unix/7100"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_AGENT_PID="7115"
declare -x SSH_AUTH_SOCK="/tmp/ssh-nrpaEE7100/agent.7100"
declare -x TERM="xterm"
declare -x USER="root"
declare -x USERNAME="root"
declare -x WINDOWID="35651627"
declare -x XAUTHORITY="/root/.Xauthority"
declare -x XINITRC="/etc/X11/xinit/xinitrc"
localhost ~ # ps -A
PID TTY TIME CMD
1 ? 00:00:00 init
2 ? 00:00:00 migration/0
3 ? 00:00:00 ksoftirqd/0
4 ? 00:00:00 events/0
5 ? 00:00:00 khelper
6 ? 00:00:00 kthread
8 ? 00:00:00 kacpid
102 ? 00:00:00 kblockd/0
170 ? 00:00:00 pdflush
171 ? 00:00:00 pdflush
105 ? 00:00:00 khubd
172 ? 00:00:00 kswapd0
173 ? 00:00:00 aio/0
761 ? 00:00:00 kseriod
809 ? 00:00:00 ata/0
812 ? 00:00:00 khpsbpkt
816 ? 00:00:00 knodemgrd_0
857 ? 00:00:00 reiserfs/0
905 ? 00:00:00 udevd
4358 ? 00:00:00 ipw2200/0
4471 ? 00:00:00 kjournald
6669 ? 00:00:00 login
6674 ? 00:00:00 login
6675 tty3 00:00:00 agetty
6676 tty4 00:00:00 agetty
6677 tty5 00:00:00 agetty
6678 tty6 00:00:00 agetty
6888 tty1 00:00:00 bash
6924 tty2 00:00:00 bash
6929 ? 00:00:00 gdm
6930 ? 00:00:00 gdm
6935 ? 00:00:54 X
7100 ? 00:00:00 gnome-session
7115 ? 00:00:00 ssh-agent
7117 ? 00:00:00 gconfd-2
7120 ? 00:00:00 gnome-keyring-d
7122 ? 00:00:00 bonobo-activati
7124 ? 00:00:01 metacity
7126 ? 00:00:00 gnome-settings-
7140 ? 00:00:01 gnome-panel
7142 ? 00:00:00 nautilus
7148 ? 00:00:00 gnome-vfs-daemo
7155 ? 00:00:00 mapping-daemon
7164 ? 00:00:02 wnck-applet
7170 ? 00:00:00 clock-applet
7172 ? 00:00:00 mixer_applet2
7174 ? 00:00:00 gnome-netstatus
7176 ? 00:00:00 gweather-applet
7178 ? 00:00:00 battstat-applet
14100 ? 00:00:00 uim-helper-serv
14206 ? 00:00:01 anjuta
14224 ? 00:00:00 mozilla-launche
14238 ? 00:00:22 firefox-bin
14273 ? 00:00:00 gnome-terminal
14274 ? 00:00:00 gnome-pty-helpe
14275 pts/0 00:00:00 bash
14279 pts/0 00:00:00 ps
localhost ~ # gtk-query-immodules-2.0
# GTK+ Input Method Modules file
# Automatically generated file, do not edit
# Created by gtk-query-immodules-2.0 from gtk+-2.6.8
#
# ModulesPath = /root/.gtk-2.0/2.4.0/i686-pc-linux-gnu/immodules:/root/.gtk-2.0/2.4.0/immodules:/root/.gtk-2.0/i686-pc-linux-gnu/immodules:/root/.gtk-2.0/immodules:/usr/lib/gtk-2.0/2.4.0/i686-pc-linux-gnu/immodules:/usr/lib/gtk-2.0/2.4.0/immodules:/usr/lib/gtk-2.0/i686-pc-linux-gnu/immodules:/usr/lib/gtk-2.0/immodules
#
"/usr/lib/gtk-2.0/2.4.0/immodules/im-ipa.so"
"ipa" "IPA" "gtk20" "/usr/share/locale" ""
"/usr/lib/gtk-2.0/2.4.0/immodules/im-am-et.so"
"am_et" "Amharic (EZ+)" "gtk20" "/usr/share/locale" "am"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so"
"uim" "uim" "uim" "/usr/share/locale" "ja:ko:zh:*"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-cedilla.so"
"cedilla" "Cedilla" "gtk+" "/usr/share/locale" "az:ca:co
gv:oc:pt:sq
wa"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.so"
"thai_broken" "Thai (Broken)" "gtk20" "/usr/share/locale" ""
"/usr/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.so"
"inuktitut" "Inuktitut (Transliterated)" "gtk20" "/usr/share/locale" "iu"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-viqr.so"
"viqr" "Vietnamese (VIQR)" "gtk20" "/usr/share/locale" "vi"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-ti-er.so"
"ti_er" "Tigrigna-Eritrean (EZ+)" "gtk20" "/usr/share/locale" "ti"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-ti-et.so"
"ti_et" "Tigrigna-Ethiopian (EZ+)" "gtk20" "/usr/share/locale" "ti"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.so"
"cyrillic_translit" "Cyrillic (Transliterated)" "gtk20" "/usr/share/locale" ""
"/usr/lib/gtk-2.0/immodules/im-scim.so"
"scim" "SCIM Input Method" "scim" "/usr/share/locale" "ko:ja:zh"
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
localhost ~ # export
declare -x CLASSPATH="."
declare -x COLORTERM="gnome-terminal"
declare -x CONFIG_PROTECT="/usr/lib/mozilla/defaults/pref /usr/lib/X11/xkb"
declare -x CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo"
declare -x CVS_RSH="ssh"
declare -x DESKTOP_SESSION="gnome"
declare -x DESKTOP_STARTUP_ID=""
declare -x DISPLAY=":0.0"
declare -x EDITOR="/bin/nano"
declare -x GCC_SPECS=""
declare -x GDK_USE_XFT="1"
declare -x GDMSESSION="gnome"
declare -x GDM_XSERVER_LOCATION="local"
declare -x GNOME_DESKTOP_SESSION_ID="Default"
declare -x GNOME_KEYRING_SOCKET="/tmp/keyring-Q7Wgap/socket"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2"
declare -x G_BROKEN_FILENAMES="1"
declare -x HOME="/root"
declare -x HOSTNAME="localhost"
declare -x INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info"
declare -x JAVAC="/opt/sun-jdk-1.4.2.09/bin/javac"
declare -x JAVA_HOME="/opt/sun-jdk-1.4.2.09"
declare -x JDK_HOME="/opt/sun-jdk-1.4.2.09"
declare -x LESS="-R"
declare -x LESSOPEN="|lesspipe.sh %s"
declare -x LOGNAME="root"
declare -x MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man::/opt/sun-jdk-1.4.2.09/man"
declare -x MOZILLA_FIVE_HOME="/usr/lib/mozilla"
declare -x OLDPWD
declare -x OPENGL_PROFILE="xorg-x11"
declare -x PAGER="/usr/bin/less"
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.6:/opt/sun-jdk-1.4.2.09/bin:/opt/sun-jdk-1.4.2.09/jre/bin:/opt/sun-jdk-1.4.2.09/jre/javaws"
declare -x PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8"
declare -x PWD="/root"
declare -x PYTHONPATH="/usr/lib/portage/pym"
declare -x SESSION_MANAGER="local/localhost:/tmp/.ICE-unix/7100"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_AGENT_PID="7115"
declare -x SSH_AUTH_SOCK="/tmp/ssh-nrpaEE7100/agent.7100"
declare -x TERM="xterm"
declare -x USER="root"
declare -x USERNAME="root"
declare -x WINDOWID="35651627"
declare -x XAUTHORITY="/root/.Xauthority"
declare -x XINITRC="/etc/X11/xinit/xinitrc"
localhost ~ # ps -A
PID TTY TIME CMD
1 ? 00:00:00 init
2 ? 00:00:00 migration/0
3 ? 00:00:00 ksoftirqd/0
4 ? 00:00:00 events/0
5 ? 00:00:00 khelper
6 ? 00:00:00 kthread
8 ? 00:00:00 kacpid
102 ? 00:00:00 kblockd/0
170 ? 00:00:00 pdflush
171 ? 00:00:00 pdflush
105 ? 00:00:00 khubd
172 ? 00:00:00 kswapd0
173 ? 00:00:00 aio/0
761 ? 00:00:00 kseriod
809 ? 00:00:00 ata/0
812 ? 00:00:00 khpsbpkt
816 ? 00:00:00 knodemgrd_0
857 ? 00:00:00 reiserfs/0
905 ? 00:00:00 udevd
4358 ? 00:00:00 ipw2200/0
4471 ? 00:00:00 kjournald
6669 ? 00:00:00 login
6674 ? 00:00:00 login
6675 tty3 00:00:00 agetty
6676 tty4 00:00:00 agetty
6677 tty5 00:00:00 agetty
6678 tty6 00:00:00 agetty
6888 tty1 00:00:00 bash
6924 tty2 00:00:00 bash
6929 ? 00:00:00 gdm
6930 ? 00:00:00 gdm
6935 ? 00:00:54 X
7100 ? 00:00:00 gnome-session
7115 ? 00:00:00 ssh-agent
7117 ? 00:00:00 gconfd-2
7120 ? 00:00:00 gnome-keyring-d
7122 ? 00:00:00 bonobo-activati
7124 ? 00:00:01 metacity
7126 ? 00:00:00 gnome-settings-
7140 ? 00:00:01 gnome-panel
7142 ? 00:00:00 nautilus
7148 ? 00:00:00 gnome-vfs-daemo
7155 ? 00:00:00 mapping-daemon
7164 ? 00:00:02 wnck-applet
7170 ? 00:00:00 clock-applet
7172 ? 00:00:00 mixer_applet2
7174 ? 00:00:00 gnome-netstatus
7176 ? 00:00:00 gweather-applet
7178 ? 00:00:00 battstat-applet
14100 ? 00:00:00 uim-helper-serv
14206 ? 00:00:01 anjuta
14224 ? 00:00:00 mozilla-launche
14238 ? 00:00:22 firefox-bin
14273 ? 00:00:00 gnome-terminal
14274 ? 00:00:00 gnome-pty-helpe
14275 pts/0 00:00:00 bash
14279 pts/0 00:00:00 ps
localhost ~ # gtk-query-immodules-2.0
# GTK+ Input Method Modules file
# Automatically generated file, do not edit
# Created by gtk-query-immodules-2.0 from gtk+-2.6.8
#
# ModulesPath = /root/.gtk-2.0/2.4.0/i686-pc-linux-gnu/immodules:/root/.gtk-2.0/2.4.0/immodules:/root/.gtk-2.0/i686-pc-linux-gnu/immodules:/root/.gtk-2.0/immodules:/usr/lib/gtk-2.0/2.4.0/i686-pc-linux-gnu/immodules:/usr/lib/gtk-2.0/2.4.0/immodules:/usr/lib/gtk-2.0/i686-pc-linux-gnu/immodules:/usr/lib/gtk-2.0/immodules
#
"/usr/lib/gtk-2.0/2.4.0/immodules/im-ipa.so"
"ipa" "IPA" "gtk20" "/usr/share/locale" ""
"/usr/lib/gtk-2.0/2.4.0/immodules/im-am-et.so"
"am_et" "Amharic (EZ+)" "gtk20" "/usr/share/locale" "am"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so"
"uim" "uim" "uim" "/usr/share/locale" "ja:ko:zh:*"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-cedilla.so"
"cedilla" "Cedilla" "gtk+" "/usr/share/locale" "az:ca:co
"/usr/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.so"
"thai_broken" "Thai (Broken)" "gtk20" "/usr/share/locale" ""
"/usr/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.so"
"inuktitut" "Inuktitut (Transliterated)" "gtk20" "/usr/share/locale" "iu"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-viqr.so"
"viqr" "Vietnamese (VIQR)" "gtk20" "/usr/share/locale" "vi"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-ti-er.so"
"ti_er" "Tigrigna-Eritrean (EZ+)" "gtk20" "/usr/share/locale" "ti"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-ti-et.so"
"ti_et" "Tigrigna-Ethiopian (EZ+)" "gtk20" "/usr/share/locale" "ti"
"/usr/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.so"
"cyrillic_translit" "Cyrillic (Transliterated)" "gtk20" "/usr/share/locale" ""
"/usr/lib/gtk-2.0/immodules/im-scim.so"
"scim" "SCIM Input Method" "scim" "/usr/share/locale" "ko:ja:zh"
我的設定也是spartacus wrote: 看來跟我的不一樣,我的是
"/usr/lib/gtk-2.0/immodules/im-scim.so"
"scim" "SCIM Input Method" "scim" "/usr/share/locale" "*"
Code: Select all
"/usr/lib/gtk-2.0/immodules/im-scim.so"
"scim" "SCIM Input Method" "scim" "/usr/share/locale" "ko:ja:zh"
真是太奇怪了
