From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method Date: Sun, 06 Dec 2020 09:56:14 -0800 Message-ID: <875z5eom2p.fsf@ericabrahamsen.net> References: <55F2493F.5070007@acreman.net> <87k0tztaka.fsf@gnus.org> <87zh2u932t.fsf@ericabrahamsen.net> <87pn3pnbib.fsf@gnus.org> <877dpxo2x2.fsf@ericabrahamsen.net> <87mtyrdqqc.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39646"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 21456@debbugs.gnu.org, Zachary Acreman To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 06 18:57:18 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klyHc-000A9u-Kd for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Dec 2020 18:57:16 +0100 Original-Received: from localhost ([::1]:56900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klyHb-00084V-Mm for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Dec 2020 12:57:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klyHP-000842-2X for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 12:57:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klyHN-0002w8-SJ for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 12:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klyHN-000096-Qp for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2020 12:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Dec 2020 17:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21456 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 21456-submit@debbugs.gnu.org id=B21456.1607277384513 (code B ref 21456); Sun, 06 Dec 2020 17:57:01 +0000 Original-Received: (at 21456) by debbugs.gnu.org; 6 Dec 2020 17:56:24 +0000 Original-Received: from localhost ([127.0.0.1]:51157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klyGm-00008D-Gs for submit@debbugs.gnu.org; Sun, 06 Dec 2020 12:56:24 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:43448 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klyGk-000080-S6 for 21456@debbugs.gnu.org; Sun, 06 Dec 2020 12:56:23 -0500 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 886B4FA08F; Sun, 6 Dec 2020 17:56:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1607277376; bh=DTRsSW8UVIvwgnZuHfhat5VrWeag6qZVGl7onbdMNj8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=aCvfHVix/WYfXUrSD5BrVFA1B6mRt2SwIi45Tom6HvwfyPL/FJnqm4S00f9nEJE43 oMZE+gFK74fEYAnbVGDDHP7bWylvyOtSC4xHOxdkBkgYC39gjwDg1kiH5nE1e0Ks6V kmNrqhZ953jhSnLEuFfO3rhWOYWoenJda//QkHG8= In-Reply-To: <87mtyrdqqc.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 06 Dec 2020 14:11:07 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:195143 Archived-At: On 12/06/20 14:11 PM, Lars Ingebrigtsen wrote: > Eric Abrahamsen 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 " 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