On Xfce4 desktop started kedit
[Ctrl]+[space] no effect. Chinese editing did not start.
How do you start kedit, from command line in xterm or from xfce desktop menu?
Because you export environment variables manually from the console, only applications from the same shell can see these variables, so you need to start kedit/kate/kwrite from command line in the same console. If you start editors from the desktop menu, the editors will not see these variables.
To overcome this, I set the LANG variable globally in /etc/profile.d/lang.sh
(or /etc/profile.d/lang.csh if you are using csh)
# File: /etc/profile.d/lang.sh
Also I put these lines in my ~/.bashrc
# File: .bashrc
Lastly, I create ~/.bash_profile
, and put these lines.
if [ -f ~/.bashrc ]; then
For autostart scim in xfce, I create an autostart file called startscim
and put it into $HOME/Desktop/Autostart
# File: ~/Desktop/Autostart/startscim
# Auto start scim from XFCE
Make it executable
chomd +x ~/Desktop/Autostart/startscim
Then restart X, you will be able to trigger Chinese input with Ctrl+space in the following applications.
1. In Firefox when the cursor is in the address bar.
2. In Google when the cursor is in the search box.
3. when the cursor is in the any other input box.
4. In editors such as gedit, kate, kedit.
However, in many KDE applications, some of the Chinese characteres are not viewed correctly, they are displayed as 'dot' or 'box'. My experience is change the font from KDE control center to 'sans serif'.
IMO, Gnome has better Chinese support than KDE.
Hope this helps.