This article is probably incomplete because, at the time of writing, I still wasn't convinced that I had got the input methods working correctly.
The goal of this exercise was to be able to enter Chinese script while using a computer operating the SuSE 9.2 version of GNU/Linux and the KDE desktop. This is supposed to be a relatively trivial thing to achieve so it is with some regret that I must first confess that it isn't yet working as well as I would like.
CJK (Chinese Japanese Korean) text entry is accomplished by installing a new input method. In this case I used the tool called “scim” in conjunction with the KDE front-end called “skim”; both these packages need to be installed using the YaST software installation tools. Additionally it would be a good idea to install some fonts containing Chinese characters.
Having installed the necessary packages I found that the input methods software (scim and skim) would be started whenever KDE started and it could also be configured. However I was completely unable to make it “pop‑up” on demand using any of the key combinations supposedly allocated for that purpose.
After much experimentation I was able to have the input method windows “pop‑up” when using OpenOffice and I was able to create OpenOffice documents containing Chinese script. I was not, however, able to type Chinese script when using other sotware such as the Opera web browser or the Kate file editor. Both of these latter programs would accept Chinese script pasted into them but the input methods windows simply wouldn't perform for them.
To have Chinese text entry with OpenOffice I had to edit several configuration files. The contents of each of these files is listed below.
# # File name: ~/.xim # This file should be placed in the user's "home" directory and called ".xim" # export XMODIFIERS=@im=SCIM export GTK_IM_MODULE=scim export QT_IM_SWITCHER=imsw-multi export QT_IM_MODULE=scim skim -d
# # File name: ~/.scim/config # The user's home directory should have a subdirectory called ".scim" and # this file should be placed in there and called "config". # /DefaultConfigModule = kconfig /DefaultIMEngineFactory/en_GB = 05235cfc-43ce-490c-b1b1-c5a2185276ae /DefaultPanelProgram = scim-panel-kde /DisabledIMEngineFactories = 33a8f7ff-b05a-4a54-b617-a73cd53583bd,107dcd74-b06a-4fcd-ac29-4b3136358eb7,17ebfb4f-2cc5-44da-a440-5c28c68997cf,98e4ca3b-8321-4903-a59d-84abce22f95a,8a6975df-6a78-4c7e-91d5-889da6c2fd80,a6a6ec50-675c-4609-9466-a4f32733e16e,11cb2711-6225-49ca-bde4-472d2ca8aaef,a9eb5dd7-8e8a-4d1c-b486-2f59bbd12ef0,81f04456-5274-4d0d-96c2-8bb2f3be69b8,a82d50ad-7995-4db7-9b34-3e9e4e31e4d7,2ffa6ab6-8ebc-4e8d-95a2-7ee6b7ffb9bd,a93845cd-6e00-44fc-8928-22d2590bbb61 #
# # This file is encoded in UTF-8 encoding. # File name: /etc/scim/config # /FrontEnd/Keys/NextFactory = Control+Alt+Down,Control+Shift_R,Control+Shift_L /FrontEnd/Keys/PreviousFactory = Control+Alt+Up,Shift+Control_R,Shift+Control_L /FrontEnd/Keys/ShowFactoryMenu = Control+Alt+l,Control+Alt+m,Control+Alt+s,Control+Alt+Right /FrontEnd/Keys/Trigger = Control+space,Shift+space /FrontEnd/Keys/ValidKeyMask = Shift+Control+Alt+Lock /FrontEnd/Socket/ConfigReadOnly = false /FrontEnd/Socket/MaxClients = 512 /FrontEnd/X11/BrokenWchar = true /FrontEnd/X11/Dynamic = false /FrontEnd/X11/OnTheSpot = true /FrontEnd/X11/ShowStatusBox = false /FrontEnd/X11/ServerName = SCIM /Panel/Gtk/Color/ActiveBackground = light sky blue /Panel/Gtk/Color/ActiveText = black /Panel/Gtk/Color/NormalBackground = #F7F3F7 /Panel/Gtk/Color/NormalText = black /Panel/Gtk/Font = default /Panel/Gtk/DefaultSticked = false /Panel/Gtk/LookupTableEmbedded = true /Panel/Gtk/LookupTableVertical = false /Panel/Gtk/ShowStatusBox = false /Panel/Gtk/ShowTrayIcon = true /Panel/Gtk/ToolBar/AlwaysShow = false /Panel/Gtk/ToolBar/AutoSnap = true /Panel/Gtk/ToolBar/HideTimeout = 2 /Panel/Gtk/ToolBar/POS_X = -1 /Panel/Gtk/ToolBar/POS_Y = -1 /Panel/Gtk/ToolBar/ShowHelpIcon = true /Panel/Gtk/ToolBar/ShowFactoryIcon = true /Panel/Gtk/ToolBar/ShowFactoryName = true /Panel/Gtk/ToolBar/ShowSetupIcon = true /Panel/Gtk/ToolBar/ShowStickIcon = true /IMEngine/RawCode/Languages = default /IMEngine/Table/FullWidthLetterKey = Shift+space /IMEngine/Table/FullWidthPunctKey = Control+period /IMEngine/Table/ModeSwitchKey = Alt+Shift_L,Alt+Shift_R,Shift+Shift_L+KeyRelease,Shift+Shift_R+KeyRelease /IMEngine/Table/LongPhraseFirst = false /IMEngine/Table/ShowPrompt = false /IMEngine/Table/UserTableBinary = true /IMEngine/Table/ShowKeyHint = false #