View Single Post
Old 26. Jun 2009, 05:46 AM   #3 (permalink)
bk_7312
Senior Member
 
Join Date: Feb 2009
Location: 3rd largest island, smallest country there.
Posts: 234
Default

Quote:
Originally Posted by debtboy View Post
Hi bk,
I'm no expert on Xserver but, I'll tell you what I think it's doing.

First of all, the Xserver is the base interface/platform that graphical
environments like KDE and Gnome run on and Xsession.d is like
a start-up directory where things are automatically started when
the Xserver is initiated (run level 5, booting into a graphical environment).

Exporting variables makes those variables available to any child processes
initiated from the source process. For example, I start a bash shell and
export a varible, then initiate another bash shell from the original and that
"child" shell can read the variable that the parent exported.

In the script 3 language or language classification/category variables
are set to (I assume chinese?) then a particular
X input manager daemon (fcitx) is kicked off or started.
After that XMODIFIERS environment variable is set and exported
telling X clients running on the X server to receive their input via
fcitx input manager (@im=fcitx).

Sorry, I know nothing about fcitx as I've never used it.
Hi debtboy,
Yes, those 3 language or language classification/category variables are chinese. fcitx is a "very small, easy to use X input method server, similar to MS IME" (according to the HowTo guide) and it is a "Free Chinese Input Toy for X (XIM) fcitx is a simplified Chinese input server. It supports WuBi, Pinyin and QuWei input method. It's small and fast" (according to Synaptic Package Manager)

So, from what you're saying, everything in MEPIS is changed to chinese and instead of displaying the default language (english), they display chinese and everything is controlled by fcitx input manager?

That explains a lot, thanks. So will removing that script solve my problem? And if I do remove it, will MEPIS still be able to display and input chinese text? When I say 'display and input chinese text', I mean 'show chinese text instead of boxes and weird symbols', not 'change everything to chinese'.

Well, I'm not going to wait, I'm just gonna try removing that script and see what happens. I'll post back in a couple of minutes...
bk_7312 is offline   Reply With Quote