Zotero icon in desktop pane is not visible with dark adwaita, XFCE 4.20 and Debian 13

See the image below. Next to the XFCE menu Applications (top left corner), the Zotero task in the task bar/xfce4-panel (4.20.4) is almost not visible (I would expect at least a red Z).
My theme is Adwaita-dark (Gtk3,Gtk2) on Debian 13. I've just installed Zotero, so default settings and no plugins.

https://s3.amazonaws.com/zotero.org/images/forums/u6735168/hy9o3tgpqfovxwma9swh.png
  • dstillman Zotero Team
    We distribute a desktop file in the tarball that specifies an icon. If you've run the set_launcher_icon script properly, you should see the icon in your launcher. Beyond that, you'd have to know how icons work in your desktop environment.
  • edited 10 days ago
    The icon is correctly specified in the zotero.desktop file (I've run the set_launcher_icon script):

    Icon=/opt/zotero/icons/icon128.png

    That icon exists and is correct. But, independent on the theme, I always see the same square icon

    https://s3.amazonaws.com/zotero.org/images/forums/u6735168/h820fkg9bc9179multsv.png

    The Zotero version I installed is the one you distribute in the tarball and this issue does not happen with other applications (and also did not happen with Zotero 6)
  • dstillman Zotero Team
    But the point is that you'll need to debug this yourself. We provide a desktop file and an icon. You'd have to figure out what controls the icons in that taskbar in your desktop environment. Executables on Linux don't have built-in icons the way that Mac and Windows program do — it's entirely external to the executable.
  • edited 2 days ago
    Copying the zotero icon files as follows solved the issue:

    cp /opt/zotero/icons/icon32.png ~/.local/share/icons/hicolor/32x32/apps/zotero.png
    cp /opt/zotero/icons/icon64.png ~/.local/share/icons/hicolor/64x64/apps/zotero.png
    cp /opt/zotero/icons/icon128.png ~/.local/share/icons/hicolor/128x128/apps/zotero.png
  • edited 3 days ago
    Thanks a lot, iagogv! I had the same problem, which had been nagging me for over a year. Copying the icons solved the issue.

    For future reference, note that if Zotero has been installed via zotero-deb, the icons are located in /usr/lib/zotero/icons.

    All best!
  • @iagogov
    Two notes: first you have a typo (.~/local -> ~/.local) and second is that you may create symbolic links (shortcuts speaking in Losedows terminology) instead of copying. This gives you copies for free. This is possible by replacing cp with ln -s.
  • Thanks! @KaKooDa. I had thought indeed replacing cp with ln -s, but I didn't test yet.
Sign In or Register to comment.