From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yH7tB4k6cmJKcQEAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 10:34:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IAkgB4k6cmIzWAAAG6o9tA (envelope-from ) for ; Wed, 04 May 2022 10:34:17 +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 AF192903E for ; Wed, 4 May 2022 10:34:16 +0200 (CEST) Received: from localhost ([::1]:53400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmASd-00073W-Rm for larch@yhetil.org; Wed, 04 May 2022 04:34:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmARV-00071q-8i for bug-guix@gnu.org; Wed, 04 May 2022 04:33:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmART-0001Dz-5h for bug-guix@gnu.org; Wed, 04 May 2022 04:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmART-00020O-3K for bug-guix@gnu.org; Wed, 04 May 2022 04:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48796: Guix on Debian 11 - Cant run or find applications from Guix in Desktop Menus Resent-From: Giovanni Biscuolo Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 04 May 2022 08:33:03 +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: moreinfo To: Liliana Marie Prikler , Maxim Cournoyer , bo0od Cc: 48796@debbugs.gnu.org Received: via spool by 48796-submit@debbugs.gnu.org id=B48796.16516531437644 (code B ref 48796); Wed, 04 May 2022 08:33:03 +0000 Received: (at 48796) by debbugs.gnu.org; 4 May 2022 08:32:23 +0000 Received: from localhost ([127.0.0.1]:41732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmAQp-0001zE-BB for submit@debbugs.gnu.org; Wed, 04 May 2022 04:32:23 -0400 Received: from ns13.heimat.it ([46.4.214.66]:39248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmAQn-0001yy-GQ for 48796@debbugs.gnu.org; Wed, 04 May 2022 04:32:22 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id DBE32300F9C; Wed, 4 May 2022 08:32:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3drbP_prDR5W; Wed, 4 May 2022 08:31:55 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.171.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 59194300E26; Wed, 4 May 2022 08:31:55 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id D5DCC1A57FCB; Wed, 4 May 2022 10:31:54 +0200 (CEST) Received: (nullmailer pid 18885 invoked by uid 1000); Wed, 04 May 2022 08:31:54 -0000 From: Giovanni Biscuolo In-Reply-To: <871qxcf6ak.fsf@xelera.eu> Organization: Xelera.eu References: <87zgs3jxvr.fsf@gmail.com> <87pml1gpw8.fsf@xelera.eu> <59eff3512f8726c4ac0ee4071d878536b197d31f.camel@gmail.com> <871qxcf6ak.fsf@xelera.eu> Date: Wed, 04 May 2022 10:31:53 +0200 Message-ID: <875ymlem12.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651653256; 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: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; bh=iP59+IaLX+AiIvI7mVVRayWvKe6+kAOsqVgjIz5MFtY=; b=S2g73Yck/iNR2uy8cwQNOYQWF0NE6Wp1GgHwL+/BOh6GywMKo+7k+v7Q7Z797R4HAwZHoU fln0XAnOtL8cRPE8ojjiDQ9LRkJjB+VMwMxxhp9QSO8QMyMdCLGfqZpR+sBkaD8GqMn3Wg YiaW4ET2uroUNtmpqdiUvGf/89NWyY5UkcOl8ouV69pLzBHD15ltJZGgegIRdf42+PnHEW JkZU6JEBa1rrc2kgMo6f7IKwLFjuZRThaId07OuzXnx4tqzC5NkmlY2/ak8gChU3zKJDJ2 zSj+gmM+YZrxgPycdtINXKy/h2sLg5nhs3KPejZ7VoLBDcozuY03ISSkE8josw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651653256; a=rsa-sha256; cv=none; b=epNmm+iegNq+OtcVmti/QKbKSCyAfb/Qh56rQ1uNP1o2Aluf8uXOrpCS0hGq6B3Uu2swMr Dbmd1qw0iPiQXEGu/BUbj8cEQ2B5qZ9xc+ygM1qYRvi0stSchaijiRRJh8cEkKcFeFEvHU m8fJyplLyt5prrA+4XZMuRuMWya/+3W2w9lXt36GXAbEpR0Faqmig0rA2GxhOoxNNRKeBf dvhpG3AhqAkx0o4G8TQ/kaCgZe6ffD2H+xAuqjqpDAO/9k4m5usCpIgsGCo8hN0t0+yzig zoA72de5o1WfquR/ZdkPaRhcO7nTFEyAnKqBOV8tE6AcIXyoYPMljfEwhEcv/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.58 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AF192903E X-Spam-Score: -1.58 X-Migadu-Scanner: scn1.migadu.com X-TUID: Helo8nf1RW0u --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Liliana Marie, Giovanni Biscuolo writes: [...] > There is obviously a non zero chance it depends on my poor > understanding, please forgive me in this case. my "workaround" is an instance of this case, sorry (see below) [...] > Yes: there is something in the default systemd/xsession configuration > of Debian 11 that resets XDG_DATA_DIR. I'm still pretty sure this is what's happening, but i still don't know why > Please is there some user with a default Debian 11 xsession [...] >>> The main point of this workaround is that I configure XDG_DATA_HOME, >>> described in the specifications: >> And that is evil. > > Please can you expand what do you mean with "evil"? I'll answer myself: because XDG_DATA_HOME (and $XDG_CONFIG_HOME obviously) must be writeable by user (processes) to store data (and config); Guix profiles are (and obviously must be) write-only (they are stateless, while data and config are (obviously) /status/. My workaround simply messes up /every/ application that follows the XDG standard (not all, but many) to save data and config, e.g. TelegramDesktop The one and ONLY solution to this problem is to get XDG_DATA_DIR properly configured; Guix does this if $HOME/.guix-profile/etc/profile is sourced in the user profile, but as I told "something" resets XDG_DATA_DIR (AFAIU by default on Debian 11) in the "desktop manager" profile to a "hardcoded" value. I reverted the "workaround" and now my XDG_DATA_HOME points to the default value $HOME/.local/share: applications are happy again but again I cannot see Guix installed applications in the LXDE menu [...] >> Other than that, restarting your shell (if running on X) might be a >> more lightweight way of refreshing the menu. > > Restarting the shell means restarting the desktop environment? > > I know how to do it with i3 (reload config) but I don't know hot to do > it with LXDE (or mate, Gnome3, ecc.) I tried "bash -l -c 'lxpanelctl restart'" but applications still don't appear [...] I'm still lost in environment :-( Thanks! Gio' =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmJyOfoMHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSdskQAIzJzDBHyMTW45c73mw/NFB+v9R9/aIFOMoC9Ek4 PghqMqZuWakRjtkGG0LIxZytmqgrqIUuYLn2ljIG/BDvP4FGaYxmnPIK2XR+SZ6l KxYZoaT93oEDV34lj1Vkk9FMFMGXOrEhgmfFQsxvuWgEO8YARU2dKqlHWCNrWm4t gbnIGCldbO58W/NtVJGybQKR1b8v0SbmgFGKwv2hSFQVPH0PN7+svzu0rfNu+nGT SsKgQJYLMWvbe1H6sIYzjwsD5NPiA2xGXhUMWpNl4K4PlyvA/jwWqUrpFPjPNd3g cSzFZhfwNfnZVHjmPD5l951J8G7Q3gd4qmejQXD11M4goVtEHpG1YhcgzM7xoIiY 24D5YPAVKc5lLnl41Z5XiWYT8i13+32J9Kluc/3JW+3lfYZTmRb5YAsQpby9ROJA ozeGBbJpNW8xf7zOa63uQB97cugeYvAztBddeLS4xyQhEWOC8l/m1he+7sNQu1kd XZBZV1emSg2Us4WTNjwBVuunGZpoS4iCMXO0hsF4kggjoTYDeFezWFzDzZEYdS2p 4L5W6IRRDon6H1P+E+bAPFNsvpN6BvZJUldHD4bgT+VIIwVuR87ZJV+TmJd4jT/9 fycpfZ8WrDavLY2IJWpr0s0qYBp0ePsfplPnNxtIr1jwq1z8mBvgTB3e8QBzZdAQ wrvz =9Zbm -----END PGP SIGNATURE----- --=-=-=--