Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI cannot activate input method fcitx even if disabled C-SPC #37

Closed
cmal opened this issue Jun 29, 2012 · 6 comments
Closed

GUI cannot activate input method fcitx even if disabled C-SPC #37

cmal opened this issue Jun 29, 2012 · 6 comments

Comments

@cmal
Copy link

cmal commented Jun 29, 2012

ubuntu 12.04 LTS amd64
ibus works perfectly in emacs23
but when I uninstall ibus and switch to fcitx, fcitx cannot be activated when using GUI.
fcitx works perfectly in other places.
I have added (global-set-key (kbd "C-SPC") 'nil) in custom.el
when hit C-SPC, minibuffer shows: C-SPC is undefined.
when using "emacs -nw" or "emacs -Q" to start emacs, fcitx works perfectly and does not have any problems.

@purcell
Copy link
Owner

purcell commented Jun 29, 2012

I'm not familiar with ibus or fcitx, but custom.el is the wrong place to add that "global-set-key" setting. Try putting it in init.el instead, and restart emacs.

-Steve

@redguardtoo
Copy link

@caml, use shift-space as hotkey of fcitx, this config works for me perfectly for ages.
This is part of my ~/.config/fcitx/config

[Hotkey]
# Hot key of Triggering Input Method
TriggerKey=SHIFT_SPACE
# Hotkey of Switching Chinese and English Mode
ChnEngSwitchKey=L_CTRL

BTW, you can use eim when fcitx not available.

@cmal
Copy link
Author

cmal commented Jun 29, 2012

thank you, chen bin.
and thank you, Steve.
Your methods both works. Thanks a lot.

@cmal cmal closed this as completed Jun 29, 2012
@gadmyth
Copy link

gadmyth commented Nov 21, 2013

I don't think it's a good solusion. I NEED use the C-SPC to swtich the input-method like ibus. So the real problem is how to stop emacs to capture C-SPC event. Even If we (global-unset-key (kbd "C-SPC")), emacs still catch the event and throw "C-SPC is undifined message" !!

@purcell
Copy link
Owner

purcell commented Nov 21, 2013

@gadmyth That doesn't sound specific to this emacs.d config, though, right?

qioixiy pushed a commit to qioixiy/emacs.d that referenced this issue Aug 5, 2017
* lispy.el (lispy-forward): Bind to "C-M-n" as well.
(lispy-backward): Bind to "C-M-p" as well.

These functions do almost the same as `forward-list' and
`backward-list', except they throw a lot less.

This makes it easier to unbind "[" and "]" if the user wishes.

re purcell#37
@oKarolMoroz
Copy link

To anyone struggling with this issue: you have to set LC_CTYPE to something Chinese (zh_TW.UTF-8 did the trick in my case).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants