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 oHpcBoXeol84YwAA0tVLHw (envelope-from ) for ; Wed, 04 Nov 2020 17:01:57 +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 iMMqAoXeol+xIQAA1q6Kng (envelope-from ) for ; Wed, 04 Nov 2020 17:01:57 +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 52496940148 for ; Wed, 4 Nov 2020 17:01:56 +0000 (UTC) Received: from localhost ([::1]:47918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaMAU-0005Ir-M5 for larch@yhetil.org; Wed, 04 Nov 2020 12:01:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaM4n-0007U9-Vy for bug-guix@gnu.org; Wed, 04 Nov 2020 11:56:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kaM4n-0004Fe-M0 for bug-guix@gnu.org; Wed, 04 Nov 2020 11:56:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kaM4n-0007aS-Lh for bug-guix@gnu.org; Wed, 04 Nov 2020 11:56:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#35594: GNOME: Application icons are not displayed immediately after installation Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 04 Nov 2020 16:56: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: Maxim Cournoyer Received: via spool by 35594-submit@debbugs.gnu.org id=B35594.160450890729064 (code B ref 35594); Wed, 04 Nov 2020 16:56:01 +0000 Received: (at 35594) by debbugs.gnu.org; 4 Nov 2020 16:55:07 +0000 Received: from localhost ([127.0.0.1]:50448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaM3t-0007Yf-NE for submit@debbugs.gnu.org; Wed, 04 Nov 2020 11:55:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaM3r-0007Y1-FV for 35594@debbugs.gnu.org; Wed, 04 Nov 2020 11:55:03 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43265) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaM3m-0003v3-40; Wed, 04 Nov 2020 11:54:58 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56794 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kaM3l-0001E7-Gt; Wed, 04 Nov 2020 11:54:57 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <16a8a4b4c07.ad1f7a9a40480.985002149086753257@zoho.com> <87eelaz65h.fsf@gmail.com> <87a6vyz20u.fsf@gmail.com> <875z6myssx.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 Brumaire an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 04 Nov 2020 17:54:56 +0100 In-Reply-To: <875z6myssx.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 03 Nov 2020 17:33:18 -0500") Message-ID: <875z6l83kv.fsf@gnu.org> 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: -2.3 (--) 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: sirgazil , 35594@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=none; dmarc=pass (policy=none) header.from=gnu.org; 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.01 X-TUID: F3rM7OjlPTS0 Hello! Maxim Cournoyer skribis: > The case of interest here is the default user profile or > $HOME/.guix-profile, which gets added to XDG_DATA_DIRS via /etc/profile > (on Guix System). Because of the indirect links to the store, and the > mutable /var/guix/profiles/per-user/$USER directory used to store the > profile links, it is possible to have inotify work correctly. The > algorithm described above would resolve $HOME/.guix-profile into > /var/guix/profiles/per-user/$USER, and /run/current-system into /run. > > While adding a watch to /run is not optimal, it's not dramatic either > given the watch is not recursive and only watch for specific actions: > > #define IP_INOTIFY_DIR_MASK > (IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_DELETE|IN_CREATE|IN_DE= LETE_SELF|IN_UNMOUNT|IN_MOVE_SELF|IN_CLOSE_WRITE) > > (from gio/inotify/inotify-path.c) I think our messages crossed. :-) I agree with your conclusions. I posted a preliminary patch following our discussion: https://issues.guix.gnu.org/36376#2 It=E2=80=99s only taking care of ~/.guix-profile, not /run, because I think that=E2=80=99s the most common case. (Usually you=E2=80=99d only add appli= cations to /run when reconfiguring, and then you may reboot shortly after in a laptop kind of setting. Also, one typically doesn=E2=80=99t *add* applicat= ions to /run.) Thoughts? Ludo=E2=80=99.