Icons in app menu, but not in dock (on Linux/Fedora/GNOME).

edited 3 days ago
Hi,

I have Zotero 7.0.13 (64-bit) tarball installed on Linux/Fedora 41 (with GNOME) and everything is working well, except one thing: the Zotero icon does appear in app menu (dash), but once launched, the icons in the dock is the unknown/standard one (see screenshot). And yes, I did follow the installation instructions here: https://www.zotero.org/support/installation

The flatpak version doesn't have this specific problem but the integration is not working with LibreOfffice.

Any idea someone? Thanks!

https://s3.amazonaws.com/zotero.org/images/forums/u16260019/nil2wpr9t423bh7oyrsf.png
  • Check the path to the icon in the desktop file.
  • Thank you for helping, but I double-checked in the zotero.desktop and the path is OK, as it is pointing to the appropriate png icon file.

    Again, the Zotero icon appears in the dash (GNOME application picker), but once launched, it does not appear in the dock (only the unknown icon type is displayed).

    Additional observation: If I pin the Zotero app in the dock to keep it there even when not launched, the appropriate icon appears, but when I launch it, the distinct unknown icon appears next to it, as if it was a different app...
  • Oh, I missed that it's appearing correctly in the app menu.

    I'm not seeing this in Fedora 41, FWIW.
    If I pin the Zotero app in the dock to keep it there even when not launched, the appropriate icon appears, but when I launch it, the distinct unknown icon appears next to it, as if it was a different app...
    You can try changing the 'zotero' script to add an exec at the beginning of the last line.

    You can also try just using a hard-coded Exec line pointing at zotero in zotero.desktop instead of the bash command.

    We're going to be changing how we handle the desktop file in an upcoming version to try to simplify this and improve compatibility with different distros. Again, though, it's working for me in Fedora 41.
  • edited 2 hours ago
    I finally fixed the problem after re-reading the installation instructions, and moving the zotero app folder out of the .local/share/applications (it is now in .local/share) and just symlinking the zotero.desktop to .local/share/applications. Now, the Zotero icon appears in the dock.

    I didn't know that this was problematic to put the app folder in .local/share/applications, since I do have other app folders/files there and I'm not experiencing this problem... My bad!

    Thanks again for your help.
Sign In or Register to comment.