From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id i28GD8F7I2GUwQAAgWs5BA (envelope-from ) for ; Mon, 23 Aug 2021 12:43:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sOsOCsF7I2FrQgAAB5/wlQ (envelope-from ) for ; Mon, 23 Aug 2021 10:43:13 +0000 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 983CA2F21D for ; Mon, 23 Aug 2021 12:43:12 +0200 (CEST) Received: from localhost ([::1]:45058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mI7Q6-00040v-T4 for larch@yhetil.org; Mon, 23 Aug 2021 06:43:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mI7Py-00040X-RT for bug-guix@gnu.org; Mon, 23 Aug 2021 06:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57270) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mI7Py-0003qF-Jy for bug-guix@gnu.org; Mon, 23 Aug 2021 06:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mI7Py-00083I-FW for bug-guix@gnu.org; Mon, 23 Aug 2021 06:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48796: Guix on Debian 11 - Cant run or find applications from Guix Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 23 Aug 2021 10:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48796 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: bo0od Received: via spool by 48796-submit@debbugs.gnu.org id=B48796.162971535830911 (code B ref 48796); Mon, 23 Aug 2021 10:43:02 +0000 Received: (at 48796) by debbugs.gnu.org; 23 Aug 2021 10:42:38 +0000 Received: from localhost ([127.0.0.1]:40581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mI7PW-00082M-3L for submit@debbugs.gnu.org; Mon, 23 Aug 2021 06:42:38 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:41634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mI7PR-000823-6m for 48796@debbugs.gnu.org; Mon, 23 Aug 2021 06:42:33 -0400 Received: by mail-wr1-f45.google.com with SMTP id e5so9017577wrp.8 for <48796@debbugs.gnu.org>; Mon, 23 Aug 2021 03:42:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=NWadA05+vRee0XSSFQjOKCsfbcqjHjX7wmLPCkjSa/k=; b=eAKx5t9XkmlrMOnvO42CPoxapR2IBr8v/L+TZH23FxmlZQd4anEG8yEwRbkw6Bs7d5 G4HLbJ84oL2lQIePNR6iPUJ4HtOPVDN9TUbq2oqkUm+gWCPrJcTpOceTGsgUKSqwD0Tx jMQ3WR62As6q0oJlaPQ4is9cFt1WT47L0Ie1J1TCL0aidZpbrF661hUrzC+xb6E2+e7A Kfup8hU+pYEDGLxPRo9YyAeVJcH0jlEbhHRafdnRHnUj7V6vzj5u8UdtqACy+ealo0OJ Sv1FI3FZjM52OdxMVNsSw91/maQIXqbJ9hWDjC2Y8WlFCNCb1BsPhweBZGdHeVd/s2JP WbAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=NWadA05+vRee0XSSFQjOKCsfbcqjHjX7wmLPCkjSa/k=; b=jVWbu2QAo/oLFuaRPlgpCLQTqpS6dmWcRWVFY+lIM8fMsvaoh/v9CdMp9U1hDzELVe +GPmjjPgjCrtkoklFBYAKWG0xeqQ0cO0giSdCY0EBOE9j1CarYuISLXZMMDRIxT6g1Hl AffSWqEK4GvRooG3CDEKMQ+r/ZnRfEU6HcOwsqwrGXd5bXaFTgxcV/HreZIiUGuR0Uv+ tGRapbyuxDewe0qxCIofMCnNEGzE19h9UdYhcct+WnTNzL1Zj8jVZWX40UHrWaVNxgH2 uSlPAXVxvGEaYhN+z6+XQTiNWOXTIM+RhmoKpKT+rXmfmSOb7fchCOyCQsasqBu4De5v qX6Q== X-Gm-Message-State: AOAM532kpZqzIu/tFs88Ni929dqwJMWN6L8vIJXp1p/bpSNuJZRoY1d4 PkN3yThCqSr2We/UCX6qzTO35/hdHxk= X-Google-Smtp-Source: ABdhPJxH0LMUBcWpfH8NGzxaOKytygPBJPrQ0E5SHuPudUNXcmgnoJ4P1GcHsWG47AoXDQ+6C9lbsw== X-Received: by 2002:a05:6000:1808:: with SMTP id m8mr12504721wrh.272.1629715343133; Mon, 23 Aug 2021 03:42:23 -0700 (PDT) Received: from pfiuh02 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id k17sm18241391wmj.0.2021.08.23.03.42.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Aug 2021 03:42:22 -0700 (PDT) From: zimoun References: <87im1sn0dh.fsf@gmail.com> <3ec187dc-b525-a92a-f278-2aeb87d2f003@riseup.net> Date: Mon, 23 Aug 2021 12:42:15 +0200 In-Reply-To: <3ec187dc-b525-a92a-f278-2aeb87d2f003@riseup.net> (bo0od@riseup.net's message of "Thu, 15 Jul 2021 13:09:24 +0000") Message-ID: <87bl5owigo.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 48796@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629715392; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NWadA05+vRee0XSSFQjOKCsfbcqjHjX7wmLPCkjSa/k=; b=PrGNlYCVFwHhNq+GvblJFx+PqKWCP3ujZp5dMUeF6t5eY84uL4iE72TtqF1ebNHzWzD5QC rEu1T5ysJz7rDIkZpajPHbpHNHrihYV7eRiefNdvsAhtdc606kFWjREQ/4GxX8XEDXMk71 6DJmy92ottTvqanl8XvfYG9Xi9b2mx3u7Mvm8ZkLPjV++N3gOWEVzCc8c/A+0YCmZKdgc1 3t3dA88m7xuR6dxHhoeqBqVE3ysl+NqA9hIokycEeaM3E6C6E2uCZ8aWQXmG/Y/IYvpjK9 YtH76lS0z0xpU96dwZmHPI89GRconJiIpxE7QLlCoNfIrvd2cD0J0zKXZAcDJg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629715392; a=rsa-sha256; cv=none; b=f2fu1TcXV6IUpE85g4vuVrHVUq8Xwo8tm/ua4JKtprvL9kVynn/oYST7M6pfb3yYIjSdFY 1AsjpQe5yxsLk4+s/D800rhQTn1k4lTzCCH7i0Aq8eQCJk2IcKVJe7XkYvlpiu/Ez/YPiR jY1RDGirAaNhu5RWPrlIfsgEA5TPla0E8QVPi4p1pFCDU1TuHVm1OgLcjg9d7ZGXEXHoAa h3APmC3+rZ3TaB/eXFzwEAPSU3Yyh/KaseCwMx0ABRz8lXCM5wlC7rFfMPJcd29qDEcU22 yf1Ej9GCXyAyVvYwD49DwX8jLaUVcIlXwwXpj+bH2Dtvnp7DhxtflFgYLoq9WQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=eAKx5t9X; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 0.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=eAKx5t9X; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 983CA2F21D X-Spam-Score: 0.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: VnQieBUg+hUp Hi, On Thu, 15 Jul 2021 at 13:09, bo0od wrote: >> Does this message [1] fix your issue? > > "If you type "source ~/.guix-profile/etc/profile" from a Bash shell, it l= oads > the needed environment variable" > > yes it worked, but thats not really what im asking as this is workaround = for > the issue but im asking for a solution to the users as they can type the = app > name and it should run and icon should be shown somewhere on application = menu > or desktop or so. > > flatpak , snap which work almost similarly to guix can do that then guix > should do that as well. I have never used Flatpack but from the doc, I read: --8<---------------cut here---------------start------------->8--- $ flatpak run org.gimp.GIMP --8<---------------cut here---------------end--------------->8--- Then reading: I am not convinced that Guix should follow the Flatpack approach by default. And somehow, it is not what =E2=80=9Cguix pack=E2=80=9D already d= oes. ;-) About Snap, I have not been able to get the right doc. > otherwise guix should mention that there wont be icons nor ability to run= the > applications from terminal unless you do 1 2 3 after guix app installaion > which is sadly a downside for new comers. As Mark explained, In order to set your environment variables appropriately for your entire desktop environment, you must arrange for the environment variable settings to be loaded before the desktop session is launched. I don't remember off-hand how to do this in Debian. I seem to recall that one approach is to create an ~/.xsessionrc file, which should be an executable Bash script that loads the needed environment variable settings and then launches the desktop environment. Maybe there's a better way. I'm surprised this isn't well-trodden territory, long ago documente= d in our manual, but I guess it isn't. It would be good if some Debian expert(s), or at least someone who runs Guix on top of Debian, would step forward to fill in the details. it is possible to have the icons and run them from the desktop launcher. The configuration has to be done manually though. Therefore, a section should be added to the manual under =C2=ABApplication Setup=C2=BB, IMHO. All the best, simon