unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 21456@debbugs.gnu.org, Zachary Acreman <zakk@acreman.net>
Subject: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method
Date: Sun, 06 Dec 2020 09:56:14 -0800	[thread overview]
Message-ID: <875z5eom2p.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87mtyrdqqc.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 06 Dec 2020 14:11:07 +0100")


On 12/06/20 14:11 PM, Lars Ingebrigtsen wrote:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Start fcitx, configure it to toggle between English and Chinese, note
>> the "trigger key" (I've set mine to F7). Start Emacs, hit the trigger
>> key, and Emacs tells me "<f7> is undefined". In all other applications,
>> F7 toggles the input method.
>
> I've never used any of that stuff, so bear with me:
>
> I say
>
> $ fcitx
> [...]
> (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-x11.conf
> (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-vk.conf
> (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-classic-ui.conf
> (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-xkb.conf
> (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-keyboard.conf
> (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-notificationitem.conf
> (ERROR-1295180 ime.c:432) fcitx-keyboard-in-tel-kagapa already exists
> (ERROR-1295180 ime.c:432) fcitx-keyboard-cm-mmuock already exists
> $
>
> Now what?  I don't see any way to configure anything, and "man fcitx" is
> singularly unhelpful.

Sorry, I could have given more useful directions. What system are you
on? Are these errors preventing fcitx from starting up at all?

On Arch Linux I installed the "fcitx", "fcitx-libpinyin", and
"fcitx-googlepinyin" libraries -- the last two each have a dependency,
"libpinyin" and "libgooglepinyin", respectively. libpinyin and
libgooglepinyin are redundant with each other, as far as I can tell
either one should display the erroneous behavior, but you might have an
easier time installing one over the other.

There's also a "fcitx-configtool" which provides a GTK view on the
config files, that might be more work than it's worth.

On my machine the TriggerKey config is set in ~/.config/fcitx/config.
You might have to look around, but try to find the TriggerKey item. Once
fcitx is running, that's your hotkey for toggling input.

If fcitx won't start at all... I'm not sure how to debug that.

Eric





  reply	other threads:[~2020-12-06 17:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-11  3:23 bug#21456: 24.5; Emacs does not respect fcitx as GTK input method Zachary Acreman
2020-12-03 11:04 ` Lars Ingebrigtsen
2020-12-03 18:06   ` Eric Abrahamsen
2020-12-04  9:53     ` Lars Ingebrigtsen
2020-12-04 18:13       ` Eric Abrahamsen
2020-12-06 13:11         ` Lars Ingebrigtsen
2020-12-06 17:56           ` Eric Abrahamsen [this message]
2020-12-07 13:48             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875z5eom2p.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=21456@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=zakk@acreman.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).