From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ELDCCWqXoV8EUAAA0tVLHw (envelope-from ) for ; Tue, 03 Nov 2020 17:46:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KIq2BWqXoV/QVgAAB5/wlQ (envelope-from ) for ; Tue, 03 Nov 2020 17:46:18 +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 AB8B39403A6 for ; Tue, 3 Nov 2020 17:46:17 +0000 (UTC) Received: from localhost ([::1]:51058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ka0Ns-00058Y-K4 for larch@yhetil.org; Tue, 03 Nov 2020 12:46:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ka0Nh-00058F-Ii for bug-guix@gnu.org; Tue, 03 Nov 2020 12:46:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34794) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ka0Ne-0000td-Ge for bug-guix@gnu.org; Tue, 03 Nov 2020 12:46:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ka0Ne-000796-EA for bug-guix@gnu.org; Tue, 03 Nov 2020 12:46:02 -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 17:46:02 +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.160442550827401 (code B ref 35594); Tue, 03 Nov 2020 17:46:02 +0000 Received: (at 35594) by debbugs.gnu.org; 3 Nov 2020 17:45:08 +0000 Received: from localhost ([127.0.0.1]:46340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ka0Mm-00077r-3w for submit@debbugs.gnu.org; Tue, 03 Nov 2020 12:45:08 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:34766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ka0Mk-000772-0h for 35594@debbugs.gnu.org; Tue, 03 Nov 2020 12:45:07 -0500 Received: by mail-qk1-f176.google.com with SMTP id x20so15557427qkn.1 for <35594@debbugs.gnu.org>; Tue, 03 Nov 2020 09:45: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; bh=PSoD9YM847poRF/XNZf2+w+w5nNdRIG+R/v/uD0N2Ss=; b=HOnBkB+q8K9Zm38x2KUO3wCTQTdmKP1z9QMHrR3ui5qIhm55bVacby6iyExtkfYsUM 9Bn2P+RnGtlBZifnIHMzktUiW6d4qbDLr8Npk9V4/mPYbhGZHYZJqKTKvJB+gYvS22aO h/Z1nFVMmuXn7TP0Vcv7qtUEYTn/ruVfc0SJatK2IAjkjpjODEd6C1G3ggVPr/deUuLc 5oH/Z30L5xZfalRryHX0EUZUBzq3ZzYLr7JEtd9Ie6m42xXruArnKpTDh58CPWhlDgIq GE+HQdJiQZ0gOn7Rv78t1e8OhDwi9Kw7tFJP2t7Ds+KtZ1oSJpTU52H7i/0q+Z0JYO0R pOpQ== 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=PSoD9YM847poRF/XNZf2+w+w5nNdRIG+R/v/uD0N2Ss=; b=Wg62Oh+ee8zBi6mj6WQd2ldd2UCuyfUNd6GeVlhcFx2HGBQr9tCAs7TUrhCcqPAHcZ YVItqfztVGWeo9BqHGlO2/ysyFSQAmY7KzXKjZBU5NNFJjh6tDeEsAz65sR2RNg6Air4 umqB1wOHWuMoYprE1trjdfw+Sv7wAytQnwVulsr/QI49i8OQwiMs1FN7fntS3YbgZy8K YOzZMANYYC0bUToisqCVjU5V12w8e8e4jjQRGgZDFJbsN7oo2f4e6bm1mxgGaXbk8ulT i1vCsXcB3vEuwIJiStrlwtnmpVXR+K02KElLZTBi4ScumbObbKFul5ahLiUNQJIvf+PH pj9g== X-Gm-Message-State: AOAM530pSD+4X9ATrmrEb0uGFQvFNLVWvxyU60OlApqfqPX2vfYRFIRn pNd5g9FyqApiE1/J+BESwn7waOEI1gk= X-Google-Smtp-Source: ABdhPJwxxrXGseaocqHAn1UapDQ7QYj+1TluOFwhr2l1R3UOmE9mVA5J3ikD+n9JOOTtsQ7+u7CjxQ== X-Received: by 2002:a05:620a:112a:: with SMTP id p10mr21120216qkk.446.1604425500472; Tue, 03 Nov 2020 09:45:00 -0800 (PST) Received: from hurd (dsl-236-123-206.b2b2c.ca. [207.236.123.206]) by smtp.gmail.com with ESMTPSA id d133sm9523175qke.106.2020.11.03.09.44.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 09:44:59 -0800 (PST) From: Maxim Cournoyer References: <16a8a4b4c07.ad1f7a9a40480.985002149086753257@zoho.com> Date: Tue, 03 Nov 2020 12:44:58 -0500 In-Reply-To: <16a8a4b4c07.ad1f7a9a40480.985002149086753257@zoho.com> (sirgazil@zoho.com's message of "Sun, 05 May 2019 18:19:11 -0500") Message-ID: <87eelaz65h.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=HOnBkB+q; 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: ofVVZBBVVTZA Hello, sirgazil writes: > Hi, > > I installed the GNU system in a real machine using Guix 1.0 ISO > installer > (https://ftp.gnu.org/gnu/guix/guix-system-install-1.0.0.x86_64-linux.iso.xz). > > Whenever I install a desktop application, the application icon does > not show up immediately in the list of available applications. I have > to log out and log in again to be able to see it. > > > ## Steps to reproduce > > 1. Install a desktop application (I tried GIMP, Scribus, Inkscape, Audacity) > 2. Click on "Activities". > 3. Click on "Show Applications" (the button with nine dots). > > > ## Unexpected result > > The icon of the installed application is not in the list. > > > ## Expected result. > > The icon of the installed application is in the list. 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: --8<---------------cut here---------------start------------->8--- $ 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/ --8<---------------cut here---------------end--------------->8--- 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. Maxim