From unknown Fri Jun 20 07:14:51 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#44997 <44997@debbugs.gnu.org> To: bug#44997 <44997@debbugs.gnu.org> Subject: Status: Flatpaks are invisible to application launchers Reply-To: bug#44997 <44997@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:14:51 +0000 retitle 44997 Flatpaks are invisible to application launchers reassign 44997 guix submitter 44997 guixuser6392 severity 44997 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 01 15:33:59 2020 Received: (at submit) by debbugs.gnu.org; 1 Dec 2020 20:33:59 +0000 Received: from localhost ([127.0.0.1]:33335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkCLX-0003Mp-HW for submit@debbugs.gnu.org; Tue, 01 Dec 2020 15:33:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:51166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkCLW-0003Mi-KS for submit@debbugs.gnu.org; Tue, 01 Dec 2020 15:33:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkCLW-00036j-B7 for bug-guix@gnu.org; Tue, 01 Dec 2020 15:33:58 -0500 Received: from mail-03.mail-europe.com ([91.134.188.129]:51862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkCLT-0003rG-2M for bug-guix@gnu.org; Tue, 01 Dec 2020 15:33:58 -0500 Date: Tue, 01 Dec 2020 20:33:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1606854827; bh=MtHwBCTxMQmqOeWeyO8myHSHPvNBozhEc1Ny5XcSII0=; h=Date:To:From:Reply-To:Subject:From; b=lJU+5/LOGAVSf+aZyflCkK79TcgddRiHeE+8rSyfrXa4anpFYYsF5izEGR28Pa09J wT7qXaiiu04SlRL+WXh8fKbSVl584zNIpffzEN2i0uMWSvZ1Ym3BGpnyYG0MW6AZ2a ZdPPB9wg1UUcVtfHbjaj5++yslZbi3pzZ7vqqUqY= To: "bug-guix@gnu.org" From: guixuser6392 Subject: Flatpaks are invisible to application launchers Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.7 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=91.134.188.129; envelope-from=guixuser6392@protonmail.com; helo=mail-03.mail-europe.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 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, FREEMAIL_REPLYTO_END_DIGIT=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: guixuser6392 Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Applications installed by Flatpak can't be discovered by application launch= ers. A fix to this is to add the directories '/var/lib/flatpak/exports/shar= e' and '$HOME/.local/share/flatpak/exports/share' to the search path set by= the XDG_DATA_DIRS environment variable. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 17 06:15:33 2021 Received: (at 44997) by debbugs.gnu.org; 17 Mar 2021 10:15:33 +0000 Received: from localhost ([127.0.0.1]:42113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMTDA-00064J-P4 for submit@debbugs.gnu.org; Wed, 17 Mar 2021 06:15:33 -0400 Received: from sender4-of-o56.zoho.com ([136.143.188.56]:21671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMTD8-000649-9Z for 44997@debbugs.gnu.org; Wed, 17 Mar 2021 06:15:31 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1615976126; cv=none; d=zohomail.com; s=zohoarc; b=NNWkCwOlvu5B+L74Dr56xI08V+uwHeDGJf/VguvDXUvNBCcqvB3RatT7Q3uhk/NZzcGRsK0JJvr8KPMvVd9aY1n7T+CAUU6WO4KUP+92NlApqiBc449eh4ldnLEoZA4p1VHedkvnyRUk/8X1Kt7mEWzn7NVceMn/Oq13NjO6eyw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615976126; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=ObPRQMGXZ1VgAxJyYEKQedoDvRFRFl6sFZm+b+Jk4u0=; b=CzTr3urueaXiyVVYsKmeOp45F7owwzAdffl6W4qUPRlnh33gycyIS2ezFH0L3mMTMnVS5s2J8L5m1/7UAPBJ1tmY32rJqUxhrnG/ntZjocwqHh4tLhov/WZXffoGQktaH/Ej5fdGIjuaDOqx43kkgbCvj12AIzYtRwdcx3daC9E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=issues.guix.gnu.org@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1615976126; s=zoho; d=elephly.net; i=issues.guix.gnu.org@elephly.net; h=MIME-Version:Content-Type:From:To:Date:Message-ID:Subject; bh=ObPRQMGXZ1VgAxJyYEKQedoDvRFRFl6sFZm+b+Jk4u0=; b=HgtGSvmJszV70k2bNQR3eZ2RVAw9xMX3Q/JKJKk0R2UWqCNYbxY+fM6PbrOnrEIu ex4QONwGA9/ug5FFnM++PWuwZ/EYwXLXLvMVXYohi3vUHn7R2Tm2WwjT94yrVer0j0j /seh+hS8luiLMAb7tmX+zIeVKHhhc3bzhWQ3tJRs= Received: from localhost (185.220.101.144 [185.220.101.144]) by mx.zohomail.com with SMTPS id 1615976122436351.80243526520155; Wed, 17 Mar 2021 03:15:22 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 From: guixuser8421 via web To: 44997@debbugs.gnu.org Date: Wed, 17 Mar 2021 11:15:17 +0100 Message-ID: <7f9bd999e860.96a6f4b44efb7ec@guile.gnu.org> Subject: Flatpaks are invisible to application launchers X-ZohoMailClient: External X-Spam-Score: 4.2 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Flatpak does export /etc/profile.d/flatpak.sh, that should set up XDG_DATA_DIRS. But I don't think there's a canonical way of using it in guix. Another way is to modify the package to do exactly what [...] Content analysis details: (4.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [136.143.188.56 listed in list.dnswl.org] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [136.143.188.56 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 3.0 AC_FROM_MANY_DOTS Multiple periods in From user name X-Debbugs-Envelope-To: 44997 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) Flatpak does export /etc/profile.d/flatpak.sh, that should set up XDG_DATA_DIRS. But I don't think there's a canonical way of using it in guix. Another way is to modify the package to do exactly what you said. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 16 23:01:44 2021 Received: (at 44997) by debbugs.gnu.org; 17 Aug 2021 03:01:44 +0000 Received: from localhost ([127.0.0.1]:51252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFpMG-0007Kj-CU for submit@debbugs.gnu.org; Mon, 16 Aug 2021 23:01:44 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:30146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFpMF-0007KV-3p for 44997@debbugs.gnu.org; Mon, 16 Aug 2021 23:01:43 -0400 Date: Tue, 17 Aug 2021 03:01:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1629169296; bh=XaxpmmBqcoxejIgHeTG47HSHykRUyWX2W39YuRfaG4g=; h=Date:To:From:Reply-To:Subject:From; b=BEXgtGcARs4MK5jQIiPkEp2y7nZc11BcYbvETGyCk3VpP0g8023jQWCxQKX/NFQbg MxWdySK2lAWIcE7BT18aTBGgHCNw+Yn8+UPk+Tpz+HSW2+cDUFs4O7xIneoie4tZrp XKK9VMcuSb/ghV4cUSmvQWJOQLUkHpEAWJ9kPrv4= To: "44997@debbugs.gnu.org" <44997@debbugs.gnu.org> From: John Kehayias Subject: Flatpaks are invisible to application launchers Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44997 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: John Kehayias Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I agree this should be exported by the flatpak package. I haven't hit any o= ther packages putting anything in /etc/profile.d, though that does happen I= know (so perhaps Guix should incorporate or patch such things?). Flatpak i= s also due for an update soon I think, so that would be a good time to make= the modification perhaps. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 16 00:15:33 2025 Received: (at 44997) by debbugs.gnu.org; 16 Apr 2025 04:15:33 +0000 Received: from localhost ([127.0.0.1]:60386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u4uBR-0008TJ-7c for submit@debbugs.gnu.org; Wed, 16 Apr 2025 00:15:33 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58761) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u4uBN-0008S7-PY for 44997@debbugs.gnu.org; Wed, 16 Apr 2025 00:15:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 94D20240101 for <44997@debbugs.gnu.org>; Wed, 16 Apr 2025 06:15:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1744776921; bh=jDGbrchnulbEMIQUUkcD1aRCCF5A+js0sXweowxE/Ls=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=rzKxIw0j9QKxemkQETAcO/3Yayu8ezr3x+a0NHZgHyh3bgjtDh9ASM/B+WJIyEsXM rtOYUs9+zhhI3SUn3OsB1ssWahVt1szSA0orFHj9BY4UPibn0PmB0AX6fA7jXWvwGy wmGB6Mmo/ZhblhIcQpD/M6SjlXWaywLbloB2sFPSi7u7HGbPXOzPeLr8mGSFkkuUmQ m89wCn1op6MPm6QZ2j+xF5g7cBEDVrXZinYbFc/HQaRgct6gtdDmshhOemIMX8Yomu l6Jdo9OM7p16Cfl8zSzpEuE5pf/CO1RVVfrJJKWgOffyvY3bKCrcC+mfyOKh4ZMVmP whWiAHnGN2JyQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZcnkJ3hLlz9rxB; Wed, 16 Apr 2025 06:15:19 +0200 (CEST) From: Olivier Rojon To: John Kehayias Subject: Re: bug#44997: Flatpaks are invisible to application launchers In-Reply-To: (John Kehayias's message of "Tue, 17 Aug 2021 03:01:35 +0000") References: Date: Wed, 16 Apr 2025 04:15:18 +0000 Message-ID: <871ptsyc6h.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44997 Cc: "44997@debbugs.gnu.org" <44997@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hej, I understand it has been some time since this issue has been opened and I suppose that in the meantime, the mentioned Flatpak update has already taken place (quite presumptuous, I know ;-)). However, on my end, it is still the case that the directories '/var/lib/flatpak/exports/share' and '/home/hapster/.local/share/flatpak/exports/share' are not exported which results in them not being shown in applications launchers such as the one incorporated in the GNOME Shell. Is it possible there now is a solution that does not incorporate adding search paths to the package? Because if there isn't, I don't see why the package should not be altered in order to just export those paths -- it seems like a solution that is much cleaner than me exporting them in shell init files or in the guix home environment. Have a good day :) John Kehayias writes: > I agree this should be exported by the flatpak package. I haven't hit any other packages > putting anything in /etc/profile.d, though that does happen I know (so perhaps Guix should > incorporate or patch such things?). Flatpak is also due for an update soon I think, so > that would be a good time to make the modification perhaps. From debbugs-submit-bounces@debbugs.gnu.org Sun May 18 07:37:09 2025 Received: (at 44997) by debbugs.gnu.org; 18 May 2025 11:37:09 +0000 Received: from localhost ([127.0.0.1]:56023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uGcKL-0008IN-7U for submit@debbugs.gnu.org; Sun, 18 May 2025 07:37:09 -0400 Received: from cross.elm.relay.mailchannels.net ([23.83.212.46]:58821) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uGcKH-0008IC-Kc for 44997@debbugs.gnu.org; Sun, 18 May 2025 07:37:06 -0400 X-Sender-Id: dreamhost|x-authsender|dannym@friendly-machines.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1FED578281F; Sun, 18 May 2025 11:37:04 +0000 (UTC) Received: from pdx1-sub0-mail-a211.dreamhost.com (100-112-106-2.trex-nlb.outbound.svc.cluster.local [100.112.106.2]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6A9ED7827BA; Sun, 18 May 2025 11:37:03 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1747568223; a=rsa-sha256; cv=none; b=Wxv8nkprlJfbjvOPdA/suBELHkZovFgHZNHiMoA4t7RYQ9X2eXkDWXmuGeG1+MwCUG/QtS 2Kqz3olaqAdKnTWbe9twJhzVTFelnXsCjzPCWmkqSKynruh8E5jYEFpPC+yLxF5i3bWXWd XAEqdp3Sy9Lrf03CYDYye40Fyn7sRcNoTJhUZzf/COhKpQ/74IoNFXtu2oamoKCkUxuiqq yrS08WZu09Oe6b2LgGZx2hF1Gt8bYpmVcfw/2pGNInXdTa+fqzsSlKR7SJiQ9DafXeNX6B 7LXKR4SsQ21jUbnXruIDP6OrAcm7icp3UbZ+umVWWN4v3HPW64VsCjsCRCDvLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1747568223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=VsltxrtcKFlclYP1KoJ9/+Jen8FdcXr7IXlciwH/SgU=; b=k2e4vkXx7Y77/R5uxS15UFsWhXHAD3RSyLmNH+vAU5IzovTI0iay1iqyJqlgOkhp0ZCnaW Uhp3f5yX7W/OkG2H+++1qvTaBotsGW0zxC9NZd5ACdWkwFJfXRjomAsQ0Ojo4h63qJrR3Z tS+SlZ9/fOveZxlmdusa1FwKmpojZSJZ5sN2l8fZjJdYcLsYR1X/6NR+Le8wafmf7uTrwA /ME9CyR/ZMv3cgCb/3LlvClLfGWAHP1bXQ80pEVBFN7Y79NzHCXQrVE7XaXKYuFImcPws9 G4chKcgF681A3/mloLwPf39nuJohhvQ756DxEbBw7emhH+ZA0qaI198rMBMhvw== ARC-Authentication-Results: i=1; rspamd-5b49d78d5-gx22d; auth=pass smtp.auth=dreamhost smtp.mailfrom=dannym@friendly-machines.com X-Sender-Id: dreamhost|x-authsender|dannym@friendly-machines.com X-MC-Relay: Neutral X-MC-Copy: stored-urls X-MailChannels-SenderId: dreamhost|x-authsender|dannym@friendly-machines.com X-MailChannels-Auth-Id: dreamhost X-Bubble-Print: 6b63c0c14bdd123d_1747568223818_1632151908 X-MC-Loop-Signature: 1747568223818:289332698 X-MC-Ingress-Time: 1747568223818 Received: from pdx1-sub0-mail-a211.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.112.106.2 (trex/7.0.3); Sun, 18 May 2025 11:37:03 +0000 Received: from nova (84-115-226-251.cable.dynamic.surfer.at [84.115.226.251]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dannym@friendly-machines.com) by pdx1-sub0-mail-a211.dreamhost.com (Postfix) with ESMTPSA id 4b0f1B25yjzLq; Sun, 18 May 2025 04:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=friendly-machines.com; s=dreamhost; t=1747568223; bh=n20OBUL8KEBzDz0fzD05m16Jw6xbAM+dzasWe7C3PZg=; h=From:To:Cc:Subject:Date:Content-Type; b=MEBLzDQoafdk4dyn060DVPS7XUSTDBHGQir3TSCkPddHCEzAR1kXGFmIfEOxBnY9x +7TXiaq/LF6iwfdtygovqGkArrw2pumXEw3bzOXhYTqV52Iwe382scoWsAoylGMHHP BSITOi0QNU+rBiAP/FNsB70mt2TprUlDumyNZY6U+D+NJwNdoB//glY1hfTY006g6m FkrIGAkwyeNZKZGN056udRjzARPOPluqC34tOgkw/VDBCIWQblxME25itC2wMvEPjY mppJ2FzHHgwaGwV417Wy9TsuGptUsp9Lz/Szqs6KWzDCUvVNjUXXcBZwf7AV2H2ayh 1fNPUXXQvWX9w== From: Danny Milosavljevic To: Olivier Rojon Subject: Re: bug#44997: Flatpaks are invisible to application launchers User-Agent: mu4e 1.12.9; emacs 29.4 Date: Sun, 18 May 2025 13:36:58 +0200 Message-ID: <87h61itajp.fsf@friendly-machines.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, >Is it possible there now is a solution that does not incorporate adding search paths to the package? I've just put the following line in ~/.bash_profile (which is generated by guix-home in my case--but it doesn't matter much): Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [23.83.212.46 listed in bl.score.senderscore.com] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [84.115.226.251 listed in zen.spamhaus.org] 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [23.83.212.46 listed in sa-trusted.bondedsender.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [23.83.212.46 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H5 RBL: Excellent reputation (+5) [23.83.212.46 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 44997 Cc: John Kehayias , "44997@debbugs.gnu.org" <44997@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, >Is it possible there now is a solution that does not incorporate adding search paths to the package? I've just put the following line in ~/.bash_profile (which is generated by guix-home in my case--but it doesn't matter much): Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [23.83.212.46 listed in sa-accredit.habeas.com] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [84.115.226.251 listed in zen.spamhaus.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [23.83.212.46 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H5 RBL: Excellent reputation (+5) [23.83.212.46 listed in wl.mailspike.net] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [23.83.212.46 listed in bl.score.senderscore.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hi, >Is it possible there now is a solution that does not incorporate adding search paths to the package? I've just put the following line in ~/.bash_profile (which is generated by guix-home in my case--but it doesn't matter much): . ~/.guix-home/profile/etc/profile.d/flatpak.sh It works fine (in sway on Wayland, using nwggrid). I'm using flatpak quite a bit. You could also put it in ~/.profile . >Because if there isn't, I don't see why the package should not be altered in order to just export those paths -- it seems like a solution that is much cleaner than me exporting them in shell init files or in the guix home environment. I used to think that, but nowadays I prefer when it's me exporting them in a shell init file. The guix home installer could just automatically add the command (see above) to a (managed or not) bash_profile (and some disgruntled users can remove it again ;) ). Also, if we would set native-search-paths in a guix package, we could only set it to refer to some file within a guix package. And ${HOME}/.local/share/flatpak is not within any guix package. We could do it in a profile hook--but that would mean we'd have to have a flatpak profile hook and guix would ALWAYS have to check flatpak--even if the user doesn't use flatpak. It would be possible--but I don't think we want to have a hard-coded dependency on flatpak in all cases. Also, auto-exporting XDG_DATA_DIRS would take control from the user (which order should the XDG_DATA_DIRS environment variable be amended in--and thus which package source should be preferred?). In summary, we are trying to be modular and this XDG_DATA_DIRS=/home/xx/random_directory is NOT modular. flatpak needs it for its own stuff--but it doesn't have an activate script. The flatpak.sh is the closest thing, kinda like a venv activate script. Why not use it? That said, I haven't used GNOME in a very long time. For all I know they could not load ~/.bash_profile in the first place or something... (that would be dumb) From debbugs-submit-bounces@debbugs.gnu.org Mon May 19 19:27:41 2025 Received: (at 44997) by debbugs.gnu.org; 19 May 2025 23:27:41 +0000 Received: from localhost ([127.0.0.1]:47656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uH9tU-0004Qi-W1 for submit@debbugs.gnu.org; Mon, 19 May 2025 19:27:41 -0400 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:45222) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uH9tS-0004Q9-5y for 44997@debbugs.gnu.org; Mon, 19 May 2025 19:27:38 -0400 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-7390d21bb1cso4523538b3a.2 for <44997@debbugs.gnu.org>; Mon, 19 May 2025 16:27:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747697251; x=1748302051; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=NQgWyPVyDyMPehdOzTQqjd6e6vDMxmOPdeidiP/GwiI=; b=WAUp66KTTDJgmt95qDLJe+MarVgIGIliHMKRandlBhWL0Qog7ltO4LBqptg+P4cpnl dvskVygOwsZEuxIHFYYjwU0mD2tcO46EelEqiQekohWZTFqFuI0JBpBi1jqMMIMzNHx9 7GyvosC66nzsoyuo5anay3ghvTYbDtFlHnadEJKPbVnqPpNwwUEQxVK9exk1AWgk3Rfn eHU1XgP9m+uAurlQcq24ZIIuUXO8afeIspXLFCOaARc97f8hkwO+dyW01HKEZnUsXiFg +QiXg/cA0KI04n3Qd80tckFo12y9OhQbUT7tMmkv4zVkuWXfNKzB/8/c51fVhNT8KQXD zqAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747697251; x=1748302051; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NQgWyPVyDyMPehdOzTQqjd6e6vDMxmOPdeidiP/GwiI=; b=Z+B+yITTvyEecne+FWUZp20kzppAiLoUtBMBTPgd6XW1y1+VZxzOLEUuQXh1ZgOcNW 94vXseJakNhEPDc10eN3J8/gcGeuGWBOxPNd5/Jqps7/HRT8dCJeckcTqIBIESEKr0sh wZpznTc9Rf++sH/QkLD7sMu1vv654KrUc/hOPlGYPjvWnpp6HpZ9RoTkAmCrYbDHsL6L kghdc1fFPm4ev89J1KxOad2JEgDNlzNQcDfypaIjriOfZGj97egtEjpNnrbvbf5rPRSg nAOCI8EFTaF5PcS0wG0obUtYkJ+/9L5AdhnhUjjEQr+iMwNSI1cJN/GgKV1m0nXeOT94 wVdg== X-Forwarded-Encrypted: i=1; AJvYcCVO/QiPb6PWd+MHhKWJc94Qrrlp5qPhmrgs3Wr8LuxmVbKjKVZG/DF56li0dAUHXYx9BPDwAg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwipOL09dXHq7ejUqnPlL6/Qp0wdtP7dzj1emjJ+RzJfAsm2oFI ZIWxl1nCa1m9OvEljsSnOZj3gSclOMvF2UYAgtZ6BSyN34KZYuIa/LDO5i3+Mw== X-Gm-Gg: ASbGncsMd5+6sTgHBxzJ5BeEe5vED9Fj7j8rlbxcZ5klODW2NquwyLmBeL9dgiH9Mad se1IlJ8u619ynGMmBff90uGPtcddyQLq+Ejiu+H6y0WUwzk2kB5NfI/DJaDxSNy5LmnP6YJ403x rmclRSSFNrQs3IJL+8aheIadr9aFriR9hYRDblOu9fJp1h1kfWLQ6yydkb5kcwT+nn+5oxo9jbt uQL4QoZo/xO/ii2vb3dRQjuD0ps8ReqXOMpmkwAyYNlpZBX+aGyi+USqhA2rhGrX3DgntQCfw3Z qBd6GXQQnvVbpf0ljjC+kMa/WIMZ9BGn59z6NbWotuz1KOfUbZjxp+Zy+Ya7 X-Google-Smtp-Source: AGHT+IHseDNSsu6ZJd4mG0KWxZLidcXbhGhqKsIcI3cEBQ+cFXqZRKCFEk2X3wrF8e4rYqy1KZ/TjQ== X-Received: by 2002:a05:6a00:6f56:b0:736:9e40:13b1 with SMTP id d2e1a72fcca58-742a98ddc4amr18612451b3a.23.1747697251048; Mon, 19 May 2025 16:27:31 -0700 (PDT) Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-742a9877056sm6948334b3a.143.2025.05.19.16.27.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 May 2025 16:27:30 -0700 (PDT) From: Maxim Cournoyer To: Danny Milosavljevic Subject: Re: bug#44997: Flatpaks are invisible to application launchers In-Reply-To: <87h61itajp.fsf@friendly-machines.com> (Danny Milosavljevic's message of "Sun, 18 May 2025 13:36:58 +0200") References: <87h61itajp.fsf@friendly-machines.com> Date: Tue, 20 May 2025 08:27:27 +0900 Message-ID: <87frh0chb4.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44997 Cc: John Kehayias , "44997@debbugs.gnu.org" <44997@debbugs.gnu.org>, Olivier Rojon X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Danny Milosavljevic writes: > Hi, > >>Is it possible there now is a solution that does not incorporate adding search paths to the package? > > I've just put the following line in ~/.bash_profile (which is > generated by guix-home in my case--but it doesn't matter much): > > . ~/.guix-home/profile/etc/profile.d/flatpak.sh I think the new etc-bashrc-d-service-type proposed in bug#78308 could be used for that, if you'd like to try it out/review it. -- Thanks, Maxim