From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iLnENXCxIWTucwEASxT56A (envelope-from ) for ; Mon, 27 Mar 2023 17:08:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ILsMNnCxIWS8QwAA9RJhRA (envelope-from ) for ; Mon, 27 Mar 2023 17:08:32 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 912354D17 for ; Mon, 27 Mar 2023 17:08:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgoRy-0008EF-ME; Mon, 27 Mar 2023 11:07:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgoRx-0008Dx-6H for help-guix@gnu.org; Mon, 27 Mar 2023 11:07:57 -0400 Received: from mail-ua1-x930.google.com ([2607:f8b0:4864:20::930]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgoRt-00057I-H8 for help-guix@gnu.org; Mon, 27 Mar 2023 11:07:56 -0400 Received: by mail-ua1-x930.google.com with SMTP id e12so6594611uaa.3 for ; Mon, 27 Mar 2023 08:07:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679929672; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=jGLVIZ4U7bf2gF6/vKVslkjkxWZiKavRfR/hwGwJr7I=; b=dAvQ4X90oxF0oRwIB0qEta2rQLDzZLjZtCwBUM0wD1PXMx4xDiTjuoVe1nf0DlaKUi efBUogjfEFWUXtpiKoikOz3fJZOimxRAXyVaVEN6fi12CUuqwsZKv8Nyga1EQ/xkyVpq JoXPIx25lrHdQsZVcu4OBG2xRJQXdXHRoVY9+mXtiZCfPfJJuBMBgSmRN1ebsgVQRpgP T5lDiYMplKq8aIvONcwTUEqXvAIR3B6vhF34yamdUuafZYKy2mjFXsHYDxTVuE5/5sX/ Vuax59Xyi8Z9dzSxND1yX9KPwp9q9xxysU5t5MEhDn+o+fFfkSZWlozr079l/wuHV4WI OW1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679929672; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jGLVIZ4U7bf2gF6/vKVslkjkxWZiKavRfR/hwGwJr7I=; b=iAZT38gp6kwQgCVJmEJ/rl0M2+0vGjEOrlZiUlYb09KdxU0DwDdXfCFQxO6vqr3aqH k8sE0qB7d04QQ1VSxwbhBbFbX4A2Ia9xlcmbV3lK1teHeih9DphqN5IOF+t+7N4XQiG8 yGgKuVwT6kTPIujNHHd/pwnNCfQvwJsqzy1HQOQJQD95BbZqkGCKdggW4S9DyijDfH5s S+XMbXCtjPNPBtpSoMkwXlgPKBBDisOlOR2ov8Cy8H1YQunY4gaA34wxH60Xj8d+XK2n jIwzEJKDRGVfYFDbX081bxX22xPCOGzR2CyEnqX9USQn4WVWevFMonq/sAbnwv+xHB3L KT2Q== X-Gm-Message-State: AAQBX9cUiSI7In8h+ei7QkpDMEbiobtHx30o/SlGnQzoYv6dvBohvSob iVBm3ymJPjkRJVpXF14SMuIu0ukkJ3SuiXQ5k6j4JgfFUEY= X-Google-Smtp-Source: AKy350aNnQkhHxzA0P0JIQsX2GOmw/JP5DErRIGtBmvRqyU2TnZDeza+rYgs1ZD9hATMzU7HTKFLkha6v6wdSKsk8Dw= X-Received: by 2002:ab0:6f11:0:b0:68b:923a:d6f4 with SMTP id r17-20020ab06f11000000b0068b923ad6f4mr8296362uah.2.1679929671952; Mon, 27 Mar 2023 08:07:51 -0700 (PDT) MIME-Version: 1.0 From: Rodrigo Morales Date: Mon, 27 Mar 2023 15:07:35 +0000 Message-ID: Subject: ibus-rime: Pressing F4 doesn't show RIME options in some applications To: help-guix@gnu.org Received-SPF: pass client-ip=2607:f8b0:4864:20::930; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-ua1-x930.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679929704; a=rsa-sha256; cv=none; b=mtFsS8Rd7rX13jAUTOdG8dCK2vqvXG9J2LezITH8dEweuFIdSZ39oqNw37XUAvDp0HKWRj lseONV0R4c6hWDBwr5Q8vuYk4zEAwvj1wHTs80RNUySBqZs7vYYEFw+QGxCFbNZYvpc5i4 2qT1WYldCoTKVi4g6c2e5mx45aeBu3N7ULetrBtyDt4yzKgJ0m5Qh+q2ZIjs1Pf5kYCCCY ZlF3lxKb6L6l92uRP/vbV8z33v9T72Gk+toRCpInnIed78m7L+UNAUV8gS3bBrlg27VfFr cl3m9XSiXDxTydhns9xJxSLali+CZ29G8+Hkrk1FAYJAW0wL7EwW8nHo8Ro6yA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=dAvQ4X90; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679929704; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dCBZLEPnTjsLNCdayJZx3FwNVvTpQ/s3DsGRY1qFzQw=; b=syXyLfXhWZ+Nw2H+UGVwXogojSx+siml7iLQNanRNlLGKTjZHQfVp/NeqKc/Q/+QPn6Dc+ GXFWihumrrtKwtAwOnq6AcsYe484HqLK92RBY3cwzEdI1cPGgietSzXumAGj9374c75Ipn RoSkuLAlvIGEiYkOdWsmkM0GCBTrLEaf08HeyevwUHTLi4zrxnJAASnc6ccRJmwMjj3mjm 5263IS7WQ3BTBrH26Mn0o7DEfl8oX9DaUTg5NqsW2MdFhRutWyt7sWFDCDp0rjwXZm+YxU rBRaqc4FHEeT+IL021vPU7LNTPD4TGLalP3lfnRg/rKwCcJYqOLQDsCxqEAr0g== Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=dAvQ4X90; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 0.57 X-Spam-Score: 0.57 X-Migadu-Queue-Id: 912354D17 X-TUID: 0sCo1T7rq596 Table of Contents _________________ 1. The problem 2. What I've tried 1 The problem ============= I've installed the package `ibus-rime'. The expected behavior is F4 to show a dialog for choosing RIME options (see this screenshot of that dialog which I took in my other Arch Linux system where I also use RIME: [4]). However, in my system that uses Guix System, pressing F4 doesn't show such dialog in some applications (please see list of applications below). Pressing F4 shows dialog with RIME options in + flameshot [1] + okular + vlc Pressing F4 doesn't show dialog with RIME options in + audacity * + chromium * + fontforge [2] [3] + gedit * + inkscape * + libreoffice * + thunar * + xournalpp * + zathura * ,* The asterisk mean that I was able to use RIME in another system that uses Arch Linux and have RIME installed. [1] flameshot is used for taking screenshots on the fly so this app doesn't have noticeable input boxes. You can make it show an input box by trying to save a screenshot to a location instead of copying it to the clipboard. [2] fontforge is used for previewing fonts. One way to show an input box is to click on (menu bar) "Element" > "Font Info" > "Copyright". [3] fontforge was the only application where F4 didn't show the pop-up dialog in my other system that uses Arch Linux. [4] < https://upload.wikimedia.org/wikipedia/commons/2/2b/RIME_options_inside_LibreOffice.png > 2 What I've tried ================= I tried setting the following environment variables in my guix home configuration both in `home-environment-variables-service-type' (which adds them to `~/.guix-home/setup-environment') and in `home-bash-configuration' (which adds them to `~/.bash_profile'). Below you can read the relevant part (just in case this helps, you can find my complete configuration in ) ,---- | (home-environment | | (... some omitted lines ...) | | (services | (list | (simple-service | 'some-useful-env-vars-service | home-environment-variables-service-type | '(("EDITOR" . "emacsclient") | ("GTK_IM_MODULE" . "ibus") | ("XMODIFIERS" . "@im=ibus") | ("QT_IM_MODULE" . "ibus"))) | (service | home-bash-service-type | (home-bash-configuration | (environment-variables | `(("GTK_IM_MODULE" . "ibus") | ("QT_IM_MODULE" . "ibus") | ("XMODIFIERS" . "@im=ibus") | ("GUIX_GTK2_IM_MODULE_FILE" . "/run/current-system/profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache") | ("GUIX_GTK3_IM_MODULE_FILE" . "/run/current-system/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache"))) | (aliases | '(("grep" . "grep --color=auto") | ("ll" . "ls -l") | ("ls" . "ls -p --color=auto") | ("d" . "cd ~/Downloads"))))) | | (... some omitted lines ...) | | ) | | (... some omitted lines ...)) `---- I've set those environment variables because that's what `ibus-setup' recommends setting when you execute it without having executed `ibus-daemon' beforehand. This means that if I execute the following commands. ,---- | pkill ibus-daemon | ibus-setup `---- The following dialog is shown. ,---- | The IBus daemon is not running. Do you wish to start it? | [No] [Yes] `---- If I press `[Yes]', the following dialog, which contains information about the environment variables, is shown. ,---- | IBus has been started! If you cannot use IBUS, add the following lines to your $HOME/.bashrc; then relog into your desktop. | | export GTK_IM_MODULE=ibus | export XMODIFIIERS=@im=ibus | export QT_IM_MODULE=ibus | | [OK] `---- In addition to that, I found [this guide] and [this guide] that provides instructions on how to install ibus on GuixSystem. Both guides also set those environment variables. [this guide] [this guide]