From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: sirgazil <sirgazil@zoho.com>
Cc: 35594@debbugs.gnu.org
Subject: bug#35594: GNOME: Application icons are not displayed immediately after installation
Date: Tue, 03 Nov 2020 12:44:58 -0500 [thread overview]
Message-ID: <87eelaz65h.fsf@gmail.com> (raw)
In-Reply-To: <16a8a4b4c07.ad1f7a9a40480.985002149086753257@zoho.com> (sirgazil@zoho.com's message of "Sun, 05 May 2019 18:19:11 -0500")
Hello,
sirgazil <sirgazil@zoho.com> 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
next prev parent reply other threads:[~2020-11-03 17:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-05 23:19 bug#35594: GNOME: Application icons are not displayed immediately after installation sirgazil
2019-05-06 2:21 ` Mark H Weaver
2019-05-06 11:34 ` sirgazil
2020-11-03 17:44 ` Maxim Cournoyer [this message]
2020-11-03 19:14 ` Maxim Cournoyer
2020-11-03 22:33 ` Maxim Cournoyer
2020-11-04 16:54 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eelaz65h.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=35594@debbugs.gnu.org \
--cc=sirgazil@zoho.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.