From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kd7LAXMgo1+oNgAA0tVLHw (envelope-from ) for ; Wed, 04 Nov 2020 21:43:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oBLiOHIgo18mZQAA1q6Kng (envelope-from ) for ; Wed, 04 Nov 2020 21:43:14 +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 75AC19401BF for ; Wed, 4 Nov 2020 21:43:14 +0000 (UTC) Received: from localhost ([::1]:42248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaQYi-0005xR-LH for larch@yhetil.org; Wed, 04 Nov 2020 16:43:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaQYY-0005vT-Db for bug-guix@gnu.org; Wed, 04 Nov 2020 16:43:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kaQYY-0007Mw-3V for bug-guix@gnu.org; Wed, 04 Nov 2020 16:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kaQYY-0004DT-0Q for bug-guix@gnu.org; Wed, 04 Nov 2020 16:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#35594: bug#36376: Application menu of desktop environment not automatically updated Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 04 Nov 2020 21:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35594 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Prikler Received: via spool by 35594-submit@debbugs.gnu.org id=B35594.160452612716135 (code B ref 35594); Wed, 04 Nov 2020 21:43:01 +0000 Received: (at 35594) by debbugs.gnu.org; 4 Nov 2020 21:42:07 +0000 Received: from localhost ([127.0.0.1]:50817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaQXf-0004C8-6B for submit@debbugs.gnu.org; Wed, 04 Nov 2020 16:42:07 -0500 Received: from mail-qv1-f48.google.com ([209.85.219.48]:45716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaQXd-0004Bc-ME; Wed, 04 Nov 2020 16:42:06 -0500 Received: by mail-qv1-f48.google.com with SMTP id w5so10651799qvn.12; Wed, 04 Nov 2020 13:42:05 -0800 (PST) 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=IUVs2FcsLpDo0mRLUJPPqOH8SkCfGj6g8fu6WRpeUN4=; b=TMjW7Z6v2bUO2UgEVJVBQci6y0erKRZilp+o96jeVF7pZ1vt4+DrYrOHJoYM1QRpfP 54HLDQVdLMCF3KtUbE47AxZW2psW95i+g0Nw3xh0hkVPK97KDP2CLCdXi3scR1XjrInI Y3OhOZTvXA4rJrsdRq++2ffwcRA+RdvbY9gCIFBYrzrwWVk3ASCXEyupqoFbLp2CDVEo RwqnNO1oLOeQegIOMHy1Hcx4vuQxTbEdtz8ib+JqkBR/QUvVNosXk7Pc2wXwm0OSW4ng 04YuvEXW1zYVT4RVLnEHuZFs4M1AY5a9re/bKyt3hg1UaRlhviUVMzqovUo96GD0KjEg /zGA== 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=IUVs2FcsLpDo0mRLUJPPqOH8SkCfGj6g8fu6WRpeUN4=; b=i9dUbgl5B9x/WL8uiK/7UVDdHMDdp4W4na8f4u3jQdCpxQfGn6Lh8eHNk2jDwF/llf dKtf85XQ5rYIroYhZNNFjltPMTKCNYsbVk4jR9baJlPCMvAWjsCWJfrafcA9PL3ouvtT KyfblGMPM8GDPk7JfjrFFEyxpRbdYdI1Si4gAdU2Vl8vGQtYdyyTWC10M3xs3wO888PP jrQIvkaEfyevG85yxOroKUj4sVF0qKYj1/J8B5Oh4NZd+yNEkX+05GY5EJPDmfnbRKik CITLKx3WHXjiH/zWMGfcgRkNEZjAI4aQZbhvBTPNqegZKArFpxcQP2TzB+NroHXWRx+D e++A== X-Gm-Message-State: AOAM533rPpLMXR+ATU/3F06wk0sa9bZdVMzmGSKUcZyyVxI5UiiGxIds CJ7VVCt2IuQS6CXrdZDZ/XXVFyUYTd8= X-Google-Smtp-Source: ABdhPJxYwOTfpXfagHsnYqVEw6248ZNzmQ3Sfr1mr4QYPnKx4SonL1vuN377YvqDY5JbFalgQrMPCQ== X-Received: by 2002:a0c:edb1:: with SMTP id h17mr32651997qvr.7.1604526119830; Wed, 04 Nov 2020 13:41:59 -0800 (PST) Received: from hurd (dsl-154-213.b2b2c.ca. [66.158.154.213]) by smtp.gmail.com with ESMTPSA id z2sm652021qkg.76.2020.11.04.13.41.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 13:41:59 -0800 (PST) From: Maxim Cournoyer References: <871rzhn483.fsf@gnu.org> <87o8keawju.fsf@gnu.org> <63d4101b796673602872997b7680d6b04a189de3.camel@student.tugraz.at> Date: Wed, 04 Nov 2020 16:41:58 -0500 In-Reply-To: <63d4101b796673602872997b7680d6b04a189de3.camel@student.tugraz.at> (Leo Prikler's message of "Wed, 04 Nov 2020 00:28:51 +0100") Message-ID: <87v9ekyf2x.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 35594@debbugs.gnu.org, 36376@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=TMjW7Z6v; 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-Spam-Score: 0.09 X-TUID: SHSXgCKwNDjj Hello Ludovic and Leo, Leo Prikler writes: > Hi Ludo, > > Am Dienstag, den 03.11.2020, 23:46 +0100 schrieb Ludovic Court=C3=A8s: >> Ludovic Court=C3=A8s skribis: >>=20 >> > This is not news to us, but as >> > notes, >> > the >> > application menu of desktop environments is not automatically >> > updated >> > when a package is installed or removed. It=E2=80=99d be great if we c= ould >> > somehow notify the desktop environment. >>=20 >> We=E2=80=99ve investigated today on IRC with Maxim and Leo P. and here= =E2=80=99s the >> summary of our findings: > Seeing my name thrown around more and more lately makes me blush a > little. >> [...] >>=20 >> The GLib patch below is an attempt to monitor ~/.guix-profile and to >> treat changes to that symlink as if they were changes to >> ~/.guix-profile/share/applications (which contains =E2=80=98.desktop=E2= =80=99 files.) >> It actually builds but I haven=E2=80=99t tested it yet. :-) >>=20 >> WDYT? Pretty cool! It'd keep on working even if we even clean up /etc/profile from the hardcoded defauts environment variables (say, if we merge one of the proposed solution of https://issues.guix.gnu.org/22138). > Not having tested it either, I think that we should also listen on > /run/current-system/ (if it exists), so that changes to the system as > done by `reconfigure` are picked up. This includes most importantly > changes to the GNOME ecosystem itself. I agree that it seems useful and important to add a monitor on the /run/current-system as well. Thank you! Maxim