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 8H1iHAvooV9cfgAA0tVLHw (envelope-from ) for ; Tue, 03 Nov 2020 23:30:19 +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 2F/sFwvooV8DWAAA1q6Kng (envelope-from ) for ; Tue, 03 Nov 2020 23:30:19 +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 8364B9407E5 for ; Tue, 3 Nov 2020 23:30:18 +0000 (UTC) Received: from localhost ([::1]:40926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ka5kn-0002mV-I7 for larch@yhetil.org; Tue, 03 Nov 2020 18:30:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ka5ka-0002mL-7Y for bug-guix@gnu.org; Tue, 03 Nov 2020 18:30:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ka5kY-00053p-CW for bug-guix@gnu.org; Tue, 03 Nov 2020 18:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ka5kY-0005Ij-8j for bug-guix@gnu.org; Tue, 03 Nov 2020 18:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#36376: Application menu of desktop environment not automatically updated Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 03 Nov 2020 23:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36376 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 36376@debbugs.gnu.org Received: via spool by 36376-submit@debbugs.gnu.org id=B36376.160444615120298 (code B ref 36376); Tue, 03 Nov 2020 23:30:02 +0000 Received: (at 36376) by debbugs.gnu.org; 3 Nov 2020 23:29:11 +0000 Received: from localhost ([127.0.0.1]:46785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ka5jj-0005HJ-5Q for submit@debbugs.gnu.org; Tue, 03 Nov 2020 18:29:11 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:57366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ka5jT-0005GX-AZ for 36376@debbugs.gnu.org; Tue, 03 Nov 2020 18:29:10 -0500 Received: from nijino.local (217-149-162-161.nat.highway.telekom.at [217.149.162.161]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4CQmFH67jhz3wL9; Wed, 4 Nov 2020 00:28:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1604446132; bh=DXBC852UUZuriZvSGdnCQA3qSyV0l2N7Mxik5N3f2dY=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=j2tgtT1o+ViOa564M0c8hW/jnmNu257R54hgO4A1a41d9gnzS7G7orZMuL1vsXBls GZ/LxCQvi7bJc0ycmf+2h37dfAd27EL7T/7daLV6w3905Ps8quLMKMnx3+1mmnPaIB opIa16RaETi5F6I2ARfOQn1CHybgoRNkAKP1rPqg= Message-ID: <63d4101b796673602872997b7680d6b04a189de3.camel@student.tugraz.at> From: Leo Prikler Date: Wed, 04 Nov 2020 00:28:51 +0100 In-Reply-To: <87o8keawju.fsf@gnu.org> References: <871rzhn483.fsf@gnu.org> <87o8keawju.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxim Cournoyer 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=tugraz.at header.s=mailrelay header.b=j2tgtT1o; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (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: svvOJ1t3vczK Hi Ludo, Am Dienstag, den 03.11.2020, 23:46 +0100 schrieb Ludovic Courtès: > Ludovic Courtès skribis: > > > 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’d be great if we could > > somehow notify the desktop environment. > > We’ve investigated today on IRC with Maxim and Leo P. and here’s the > summary of our findings: Seeing my name thrown around more and more lately makes me blush a little. > [...] > > 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 ‘.desktop’ files.) > It actually builds but I haven’t tested it yet. :-) > > WDYT? 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. Regards, Leo