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 MCBMDtisoV8TFAAA0tVLHw (envelope-from ) for ; Tue, 03 Nov 2020 19:17:44 +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 KL8nCtisoV91KwAA1q6Kng (envelope-from ) for ; Tue, 03 Nov 2020 19:17:44 +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 D79DD9400D3 for ; Tue, 3 Nov 2020 19:17:43 +0000 (UTC) Received: from localhost ([::1]:49382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ka1oL-00008a-GI for larch@yhetil.org; Tue, 03 Nov 2020 14:17:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ka1lm-00081k-D6 for bug-guix@gnu.org; Tue, 03 Nov 2020 14:15:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ka1lm-0004mx-0c for bug-guix@gnu.org; Tue, 03 Nov 2020 14:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ka1ll-0000zU-SM for bug-guix@gnu.org; Tue, 03 Nov 2020 14:15:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#35594: GNOME: Application icons are not displayed immediately after installation Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 03 Nov 2020 19:15: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: sirgazil Received: via spool by 35594-submit@debbugs.gnu.org id=B35594.16044308593731 (code B ref 35594); Tue, 03 Nov 2020 19:15:01 +0000 Received: (at 35594) by debbugs.gnu.org; 3 Nov 2020 19:14:19 +0000 Received: from localhost ([127.0.0.1]:46457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ka1l5-0000y7-3x for submit@debbugs.gnu.org; Tue, 03 Nov 2020 14:14:19 -0500 Received: from mail-qk1-f169.google.com ([209.85.222.169]:36445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ka1l2-0000xt-BC for 35594@debbugs.gnu.org; Tue, 03 Nov 2020 14:14:18 -0500 Received: by mail-qk1-f169.google.com with SMTP id r7so16051446qkf.3 for <35594@debbugs.gnu.org>; Tue, 03 Nov 2020 11:14:16 -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; bh=6VpOM7PH1jnatVX2gU3oZHtD1IyZzkfpeeQn2jkBNGo=; b=kcqu4Mc5KB6D16pYi4Eo8cEK3c1r9zVsw/1Q45jkJsRK48ME8Bepx7S0q4C0+b+CAx shmBxnU6/rDJvJHCrVmg6v0DEKu/Wuo4vw2T40k600Q4rYh3vF/BpYwUxB2KYP65kMqM X6vfPnDh2sq56o5G6YOPe5fwWA9ckYgDrGO08zC2Cmug8Jmy06RyP+LnAsEwkoaNF9GN iA3O1UN5VieE7osTE2yHG3yC36FLuV/I3U6PPvLHZq41EtDNbi7diS1/PvM/+wDrAf2v +QLSH8DYueckAX/HJLZNtKkzMxXDT+13oaSt8qmC6l5PDOeh4BPPrLpYcyIr41P57HmD cS5w== 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; bh=6VpOM7PH1jnatVX2gU3oZHtD1IyZzkfpeeQn2jkBNGo=; b=D1QoOxzbl/xJhiVBQli3XeNi5IIFEsvPGzIC40H6zokm5g1LRWDNSby5duAsbcG6ov ccwGL7EiJOy8V82IM6J5cLpuTX9WKl3Y/cSD6xHWNBOIqfagEAt38Izg4NnNFnwMynkH Zx2vAWoYiQhscYB6fo/S1ey39iJSCgqI2w00yKsFY2s5JAJyTWrkrTsyW+F0qQ8d4h0d q7qSTe6ZPNabYNHrqAuc+W2gSWu5i0NM9UbygaoRssq85oP/FXY7adRG90QvmaiZa+Pk zIGeUBsaXu2BoDCcncCbcLnzo9vi/YiEy0NjbM9DukfasEvk7YfhKikgBrxu3JVm4vgM Lkhg== X-Gm-Message-State: AOAM53282HD3p9OaLgw5nbFbqeELcMi/7cZ77KtA1opLaO0rY04rAUHL gFLpImf7nMmHHqHxUwV30+D/I2i11Mk= X-Google-Smtp-Source: ABdhPJxRC1PtcV2BEIfYKPaq0P5wG16HjVIuzidfnHNh0QJXVgSKWXTCcjxileL1Ic1t6+ph9SmO3Q== X-Received: by 2002:a37:6610:: with SMTP id a16mr16433146qkc.118.1604430850617; Tue, 03 Nov 2020 11:14:10 -0800 (PST) Received: from hurd (dsl-236-123-206.b2b2c.ca. [207.236.123.206]) by smtp.gmail.com with ESMTPSA id x75sm11551055qka.59.2020.11.03.11.14.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 11:14:09 -0800 (PST) From: Maxim Cournoyer References: <16a8a4b4c07.ad1f7a9a40480.985002149086753257@zoho.com> <87eelaz65h.fsf@gmail.com> Date: Tue, 03 Nov 2020 14:14:09 -0500 In-Reply-To: <87eelaz65h.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 03 Nov 2020 12:44:58 -0500") Message-ID: <87a6vyz20u.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 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=kcqu4Mc5; 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: xZrmCLktB/m+ Hello, Maxim Cournoyer writes: > After asking in the #gnome channel on freenode, the problem is likely > caused by GNOME Shell using inotify to watch the $XDG_DATA_DIRS > referenced $HOME/.guix-profile/share/applications directory. The > problem is that the inode of such directory will never change, as it > points to the current profile under /gnu/store: > > $ ls -id $HOME/.guix-profile/share/applications > 72653730 /home/maxim/.guix-profile/share/applications/ > maxim@hurd ~/src/guix$ realpath $HOME/.guix-profile/share/applications > /gnu/store/ph6a7fy735w5nycmf3za77m6v3g0r7xb-profile/share/applications > maxim@hurd ~/src/guix$ ls -id /gnu/store/ph6a7fy735w5nycmf3za77m6v3g0r7xb-profile/share/applications > 72653730 /gnu/store/ph6a7fy735w5nycmf3za77m6v3g0r7xb-profile/share/applications/ > > Any applications making use of inotify to discover changes (to plugins, > for example) is at risk of having the same problem in Guix. > > I don't currently have an idea of how we can fix this. Watching of the directory is done via Glib's GAppInfoMonitor (gpio/gdesktopappinfo.c). A suggested idea from #gnome-shell would be to patch its desktop_file_dir_init() procedure with Guix-specifics; I don't know *how* yet. The folks in #gtk may provide some clues. Maxim