Emacs 24.3 with FCITX input methods[Resolved in 14.2]

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
tsuren
Posts: 206
Joined: 7. Jun 2009, 17:32
Location: France

Re: Emacs 24.3 with FCITX input methods[09/17 Update]

Post by tsuren »

I am using fcitx-4.2.7 as I could not compile for 4.2.9. You can recompile with djemos' SLKBUILD.

After testing some time, I see consistently IME works twice on emacs. And from the third time on, the IME stops working. To make it work again, I have to restart the sesson.
'Tommorow is like today, just happens tomorrow.'
zw963
Posts: 82
Joined: 13. Mar 2014, 18:36

Re: Emacs 24.3 with FCITX input methods[09/17 Update]

Post by zw963 »

tsuren wrote:I am using fcitx-4.2.7 as I could not compile for 4.2.9. You can recompile with djemos' SLKBUILD.

After testing some time, I see consistently IME works twice on emacs. And from the third time on, the IME stops working. To make it work again, I have to restart the sesson.
Very thanks.

I install djemos' fcitxx-4.27, but can not active fcitx in my terminal. unless right menu
change input method to X input method.

when I run emacsclient first time, it can work, exit, and run again, input method broken.
I am very pool understood input method, so it even more bad than before.
zw963
Posts: 82
Joined: 13. Mar 2014, 18:36

Re: Emacs 24.3 with FCITX input methods[09/17 Update]

Post by zw963 »

tsuren wrote:I am using fcitx-4.2.7 as I could not compile for 4.2.9. You can recompile with djemos' SLKBUILD.

After testing some time, I see consistently IME works twice on emacs. And from the third time on, the IME stops working. To make it work again, I have to restart the sesson.
Could you tell me how to restore Terminal right menu -> input methods -> system to X Input Method ?
I uninstall 4.2.7, reboot system, but it still show me System is FCITX.

yesterday, because this reason, I reinstall my Salix two time, I can't google meaningful result for this.
User avatar
tsuren
Posts: 206
Joined: 7. Jun 2009, 17:32
Location: France

Re: Emacs 24.3 with FCITX input methods[09/17 Update]

Post by tsuren »

I install djemos' fcitxx-4.27, but can not active fcitx in my terminal. unless right menu
change input method to X input method.
You have to restart session or restart your machine.
'Tommorow is like today, just happens tomorrow.'
User avatar
tsuren
Posts: 206
Joined: 7. Jun 2009, 17:32
Location: France

Re: Emacs 24.3 with FCITX input methods[09/17 Update]

Post by tsuren »

zw963 wrote:
tsuren wrote:I am using fcitx-4.2.7 as I could not compile for 4.2.9. You can recompile with djemos' SLKBUILD.

After testing some time, I see consistently IME works twice on emacs. And from the third time on, the IME stops working. To make it work again, I have to restart the sesson.
Could you tell me how to restore Terminal right menu -> input methods -> system to X Input Method ?
I uninstall 4.2.7, reboot system, but it still show me System is FCITX.

yesterday, because this reason, I reinstall my Salix two time, I can't google meaningful result for this.
You do not need to reinstall Salix... I assume you are using xfce4, correct?

In general, after installing IME, you have to do several things. For example, first to uninstall ibus related packages. Second, restart to see:

Code: Select all

export XIM=fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
is properly done.

Third, update gtk immodulme cache.
'Tommorow is like today, just happens tomorrow.'
User avatar
tsuren
Posts: 206
Joined: 7. Jun 2009, 17:32
Location: France

Re: Emacs 24.3 with FCITX input methods[09/17 Update]

Post by tsuren »

And what is your locale by default?
'Tommorow is like today, just happens tomorrow.'
User avatar
tsuren
Posts: 206
Joined: 7. Jun 2009, 17:32
Location: France

Re: Emacs 24.3 with FCITX input methods[09/17 Update]

Post by tsuren »

By the way, perhaps it's better you recompile it for your system.

Create a directory, and put SLKBUILD, fcitx-4.2.7_dict.tar.xz and profile.d.tar.gz there.
Then 'sudo slkbuild -X' to recompile.
'Tommorow is like today, just happens tomorrow.'
zw963
Posts: 82
Joined: 13. Mar 2014, 18:36

Re: Emacs 24.3 with FCITX input methods[09/17 Update]

Post by zw963 »

tsuren wrote:By the way, perhaps it's better you recompile it for your system.

Create a directory, and put SLKBUILD, fcitx-4.2.7_dict.tar.xz and profile.d.tar.gz there.
Then 'sudo slkbuild -X' to recompile.
Thanks very much!
I lose this step,
Third, update gtk immodulme cache.
when I update to this, default change to XIM.

my locale settings is:

Code: Select all

export LANG=en_US.utf8
export LC_CTYPE=zh_CN.utf8
I will tried it tomorrow, here is 3:30 middle of night anyway.

Thanks.
zw963
Posts: 82
Joined: 13. Mar 2014, 18:36

Re: Emacs 24.3 with FCITX input methods[09/17 Update]

Post by zw963 »

tsuren wrote:I am using fcitx-4.2.7 as I could not compile for 4.2.9. You can recompile with djemos' SLKBUILD.

After testing some time, I see consistently IME works twice on emacs. And from the third time on, the IME stops working. To make it work again, I have to restart the sesson.
Any one can help out to hack this Salix specify undesirable behavior ?

Thanks.
User avatar
tsuren
Posts: 206
Joined: 7. Jun 2009, 17:32
Location: France

Re: Emacs 24.3 with FCITX input methods[09/17 Update]

Post by tsuren »

Hi zw963, I still think it is a Salix specific problem. Perhaps people who use emacs do not use external IMEs, as it seems that emacs offers its own IME. I've just tried the emacs IME and it works OK. Have you already asked other Chinese colleagues if emacs and fcitx work well together?
'Tommorow is like today, just happens tomorrow.'
Post Reply