Evolution does not appear in applications menu when installed from rpm

I have exactly the same problem here and now:

> Last metadata expiration check: 0:35:07 ago on Mon 15 Jul 2024 01:06:41 PM CEST.
> Installed Packages
> Name         : evolution
> Version      : 3.52.3
> Release      : 1.fc40
> Architecture : x86_64
> Size         : 17 M
> Source       : evolution-3.52.3-1.fc40.src.rpm
> Repository   : @System
> From repo    : updates
> Summary      : Mail and calendar client for GNOME
> URL          : https://gitlab.gnome.org/GNOME/evolution/-/wikis/home
> License      : GPL-2.0-or-later AND GFDL-1.3-or-later
> Description  : Evolution is the GNOME mailer, calendar, contact manager and
>              : communications tool.  The components which make up Evolution
>              : are tightly integrated with one another and act as a seamless
>              : personal information-management tool.

Is /usr/share/applications/org.gnome.Evolution.desktop present? If that file is present (with valid contents) and sudo update-desktop-database -v /usr/share/applications works, then I think the icon should show.

2 Likes

Unfortunately, it doesn’t solve the problem.

I think there must be something different about that .desktop file and the others in that directory that do work. Can you check the permissions on the file, both the Unix mode bits (ls -al /usr/share/applications/org.gnome.Evolution.desktop) and the SELinux permissions (ls -Z /usr/share/applications/org.gnome.Evolution.desktop) and compare those to how other .desktop files are set?

There are the same permissions, also with selinux, as the other files.

How about verifying that the contents of the file are as they are supposed to be with the following command:

rpm -qVf /usr/share/applications/org.gnome.Evolution.desktop

With the above command, “no news is good news” (Unix Philosophy). It will only print something if the file isn’t what it is supposed to be.

Assuming all that is in order, I don’t know what else could be wrong. You might try copying the file to your ~/.local/share/applications directory and then running update-desktop-database -v ~/.local/share/applications as a workaround.

Also, make sure there isn’t a .desktop file in your ~/.local/share/applications containing Name=Evolution and Hidden=true (it is highly unlikely, but that might cause what you are seeing).

1 Like

You are the man! This does the Trick. Thank You very much.

1 Like

I had the same problem after installing the evolution flatpak, uninstalling it, then installing the rpm. Copying the desktop file to ~/.local/share/applications was the only thing I found that would fix the problem.

Thanks for the help