I used the Chinese Input Method in the Ubuntu English environment. I uninstalled the cute fcitx and changed it to the scim input method. Installing scim is a little more difficult than installing fcitx. However, it is said that after the source is updated, select chinese in the language support and change the default language to chinese, scim will be automatically installed and configured, this is very convenient, but I don't think it will automatically install the five-stroke input method. The official installation is as follows: $ sudoapt-getinstallscimscim-modules-
I used the Chinese Input Method in the Ubuntu English environment. I uninstalled the cute fcitx and changed it to the scim input method.
Installing scim is a little more difficult than installing fcitx. However, it is said that after the source is updated, select chinese in the language support and change the default language to chinese, scim will be automatically installed and configured, this is very convenient, but I don't think it will automatically install the five-stroke input method.
The official installation is as follows:
$ Sudo apt-get install scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh scim-input-pad
$ Sudo sh-c "echo 'export XMODIFIERS = @ im = SCIM; export GTK_IM_MODULE =" scim "; export QT_IM_MODULE =" scim "; scim-d'>/etc/X11/Xsession. d/95 xinput"
$ Sudo chmod + 755/etc/X11/Xsession. d/95 xinput
# Note: The last two steps are omitted under Dapper.
# Note: In Dapper, you can directly select system> System Management> language support. If you select Chinese, scim is automatically installed and configured.
Let's take a look:
Install scim Input Method Platform
Sudo apt-get install scim
Scim is an input method platform. It is installed by default. However, it cannot be used to enter Chinese characters. You also need to install the input method. When installing the system, it is not on the network, scim can only enter English and internal code (what is it ?).
Sudo apt-get install scim-pinyin
This should be to install the Pinyin Input Method for scim.
If you use five, install scim-tables-zh.
Sudo apt-get install scim-tables-zh
At the same time, two input methods, such as cangjie, can be installed. In scim settings, unused input methods can be disabled to activate the required input methods, such as Pinyin and five. Otherwise, switching will be very difficult.
The other several files do not know what to do, and may provide support for some software to use scim.
The second step is to enable scim to start at random. You can use Ctrl + space to call up the output method. In the/etc/X11/Xsession. d/directory, create a file named 95 xinput.
Export XMODIFIERS = @ im = SCIM;
Export GTK_IM_MODULE = "scim ";
Export QT_IM_MODULE = "scim ";
Scim-d
The two sentences in the middle mean that scim supports GTK and QT software.
You can also directly use gedit to edit the file.
I used a netizen method, sudo apt-get install scim-gtk2-immodule to let scim support GTK software.
Sudo gedit/etc/X11/Xsession. d/95 xinput
/Usr/bin/scim-d
XMODIFIERS = "@ im = SCIM"
Export XMODIFIERS
My God, you can also call up scim directly on the English interface. You should use the key to select the input method as scim. My God, right-click in firefox and cannot select the input method?
Let's talk about it later.
Later, when I re-installed the system, I found that when I connected the network to select Chinese support, scim will be automatically configured, there are five input methods and random start, very convenient, I hope that the above complex manual installation is not mistaken.