Trouble with GNOME Seahorse

I’m having lots of trouble getting GNOME Seahorse working on Fedora 39.

First try:

sudo dnf install seahorse

Install is successful, but the app doesn’t have any icon:

image

The file /usr/share/applications/org.gnome.seahorse.Application.desktop contains

Icon=org.gnome.seahorse.Application

and this is the result of fd -g "*org.gnome.seahorse.Application*" /:

/var/lib/flatpak/runtime/org.fedoraproject.Platform/x86_64/f39/b79f75cea9f5f52f2e72c0f66a926a6ddd518a9b8f36b9258e2b1d61b511cfac/files/share/app-info/icons/fedora/128x128/org.gnome.seahorse.Application.png
/var/lib/flatpak/runtime/org.fedoraproject.Platform/x86_64/f39/b79f75cea9f5f52f2e72c0f66a926a6ddd518a9b8f36b9258e2b1d61b511cfac/files/share/app-info/icons/fedora/64x64/org.gnome.seahorse.Application.png
/var/lib/flatpak/appstream/fedora/x86_64/icons/128x128/org.gnome.seahorse.Application.png
/var/lib/flatpak/appstream/fedora/x86_64/icons/64x64/org.gnome.seahorse.Application.png
/var/lib/flatpak/appstream/flathub/x86_64/0eead54d2d21fb66df9335bc975b55d8acfba0675b0e9b7d5b53720ec5e8298d-62a4a819046bf03e0574df377e261b4a9b09aaa72182c94b3d168ca6795fc470/icons/64x64/org.gnome.seahorse.Application.png
/var/lib/flatpak/appstream/flathub/x86_64/0eead54d2d21fb66df9335bc975b55d8acfba0675b0e9b7d5b53720ec5e8298d-62a4a819046bf03e0574df377e261b4a9b09aaa72182c94b3d168ca6795fc470/icons/128x128/org.gnome.seahorse.Application.png
/var/lib/flatpak/repo/refs/heads/deploy/app/org.gnome.seahorse.Application/
/var/lib/flatpak/repo/refs/remotes/fedora/app/org.gnome.seahorse.Application/
/usr/share/metainfo/org.gnome.seahorse.Application.appdata.xml
/usr/share/icons/hicolor/symbolic/apps/org.gnome.seahorse.Application-symbolic.svg
/usr/share/icons/hicolor/scalable/apps/org.gnome.seahorse.Application.svg
/usr/share/help/uk/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/hu/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/sv/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/C/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/pt_BR/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/ru/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/pl/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/id/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/fr/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/gl/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/eu/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/da/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/de/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/el/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/es/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/ca/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/help/cs/seahorse/media/org.gnome.seahorse.Application.svg
/usr/share/dbus-1/services/org.gnome.seahorse.Application.service
/usr/share/applications/org.gnome.seahorse.Application.desktop
/usr/share/app-info/icons/fedora/128x128/org.gnome.seahorse.Application.png
/usr/share/app-info/icons/fedora/64x64/org.gnome.seahorse.Application.png
/run/user/1000/systemd/transient/dbus-:1.2-org.gnome.seahorse.Application@0.service
/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/app.slice/dbus-:1.2-org.gnome.seahorse.Application@0.service/

Shouldn’t it pick up /usr/share/icons/hicolor/scalable/apps/org.gnome.seahorse.Application.svg?

Next, I try installing through Flatpak.

sudo dnf remove seahorse
flatpak install seahorse

I choose the Fedora Flatpak:

Looking for matches…
Remotes found with refs similar to ‘seahorse’:

   1) ‘fedora’ (system)
   2) ‘flathub’ (system)

Which do you want to use (0 to abort)? [0-2]: 1
Found ref ‘app/org.gnome.seahorse.Application/x86_64/stable’ in remote ‘fedora’ (system).
Use this ref? [Y/n]: y

Result: app appears in flatpak list, and it has an icon when I search for it in the GNOME search, but when I click the icon, nothing happens. It does work, though, when I run flatpak run org.gnome.seahorse.Application.

The file

/var/lib/flatpak/app/org.gnome.seahorse.Application/current/active/export/share/applications/org.gnome.seahorse.Application.desktop

contains

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=seahorse --file-forwarding org.gnome.seahorse.Application @@u %u @@

I don’t know what the @@u %u @@ at the end means. When I run the command without it, it works.

When I install the app from Flathub, it has the same behavior (icon looks fine, but clicking it does nothing).

NB: I originally used GNOME Software for the install. I don’t remember what I did precisely, but at some point the app was installed through Flatpak (e.g., the desktop file was present), yet flatpak list didn’t list it and flatpak remove didn’t work. I had to manually clean up /var/lib/flatpak/. (PS: To be honest, after this, I ended up uninstalling GNOME Software, which was also pretty sluggish.)

Have you tried this fix for Seahorse Flatpak?

If ~/.gnupg/common.conf does not exist, you need to create it as an empty file.

That worked, indeed, thank you! Should I open a bug for these two problems? I didn’t find anything on https://bugzilla.redhat.com/buglist.cgi?quicksearch=seahorse.

Well, I spoke too fast. It did allow Seahorse to launch, but now I can’t sign Git commits anymore:

error: gpg failed to sign the data:
gpg: skipped "A3F0F60B893397FE": No secret key
[GNUPG:] INV_SGNR 9 A3F0F60B893397FE
[GNUPG:] FAILURE sign 17
gpg: signing failed: No secret key

fatal: failed to write commit object

gpg --list-keys lists nothing – it should list my personal key. I’m going to re-add use-keyboxd for now.