Removing Eye of Gnome .desktop file

I previously removed the “Eye of Gnome” application from my L5 as it was outdated, and replaced it with Loupe to get support for more image types. However, after a system update, PureOS seems to have added a .desktop file for eog even though it is not installed. It shows up as a question mark titled “image viewer” as shown in the screenshot below.

2025-05-06-195527 (Edited)

I am unable to find a .desktop file in /usr/share/applications nor ~/.local/share/applications and I am not sure where else to look.

Obviously it is relatively harmless to have the icon in my app drawer, but it is also a little annoying to have it take up space when it is not needed. Any advice on how to get rid of it?

1 Like

You can try purging eog using apt:

sudo apt purge eog

That didn’t work. I

sudo apt purge eog
[sudo] password for purism:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package ‘eog’ is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I also tried to install eog and then sudo apt purge eog but the icon remains.

1 Like

What specifically were you doing to attempt that?

As an example
grep -l 'Name=Image Viewer' *.desktop
gives output
org.gnome.eog.desktop

but obviously I haven’t done what you have done.

There could be some caching going on but the desktop (phonetop?) seems to be highly responsive. As root using vi I just edited one of the legitimate .desktop files in order to change the name and the desktop changed immediately to reflect the new name and the changed order of applications. I didn’t have to reboot or restart anything in order to see the change.

1 Like

My bad. I’ll fix it in the next librem5-base release. Meanwhile you can remove /usr/share/librem5/applications/org.gnome.eog.desktop to get rid of the icon.

4 Likes