Caprine: Caprine Icon Problem

Created on 9 Dec 2019  路  24Comments  路  Source: sindresorhus/caprine

---Caprine Icon does not show in Application Menu and Dock. I am using Elementary OS 5.1 Hera.

Caprine 2.41.1
Electron 7.1.1
linux 5.0.0-37-generic
Locale: en-US

Most helpful comment

I am seeing the same issue with the .deb. Ubuntu 19.10.
Screenshot from 2020-02-07 11-37-29

Edit: I fixed this by doing the following:

  1. download https://github.com/sindresorhus/caprine/blob/master/media/Icon.png and rename to caprine.png
  2. copy this file to /usr/share/icons

All 24 comments

I'm seeing this issue in both the latest appimage as well as the .deb ... I tried installing the latest snap, but it wouldn't launch.

I am seeing the same issue with the .deb. Ubuntu 19.10.
Screenshot from 2020-02-07 11-37-29

Edit: I fixed this by doing the following:

  1. download https://github.com/sindresorhus/caprine/blob/master/media/Icon.png and rename to caprine.png
  2. copy this file to /usr/share/icons

@chrisjimallen thanks, now I just need to remember this when I get home.

This could be fixed by adding the appropriate sizes to /usr/share/icons/hicolor/x/apps/caprine.png in the .deb file. The only one icon now is at /usr/share/icons/hicolor/0x0/apps/caprine.png which makes no sense to me.

I have located the issue and will make a pull request soon

i cannot confirm this one on kde's plasma. all of you guys are on gtk de?
Screenshot_20200425_154337
edit:
https://github.com/sindresorhus/caprine/issues/1331

@alekksander I think you need to add a plugin for extra notification icons in current Gnome (unsure of others)... was kind of a pain iirc... Been on windows for a couple months because of work, will probably switch back soon-ish.

I made a deb that has just the Caprine icons and fixes it here. If you want to extract it to make sure I'm not installing malicious code, you can do dpkg-deb -R <path to deb>

@BananaManCJ Thanks for the .deb. I could install it w/o any issue and icons are where they're expected. Though Caprine's systray icon is still missing for me =( What else can I try to fix the issue?

@BananaManCJ Thanks for the .deb. I could install it w/o any issue and icons are where they're expected. Though Caprine's systray icon is still missing for me =( What else can I try to fix the issue?
Let me take a look

@BananaManCJ Thanks for the .deb. I could install it w/o any issue and icons are where they're expected. Though Caprine's systray icon is still missing for me =( What else can I try to fix the issue?

Try removing the folder /usr/share/icons/hicolor/0x0

@BananaManCJ no luck =( I'm on Linux Mint 18.3 Sylvia with Mate as DE.

I wonder how do I debug Caprine. It doesn't output any messages to stdout/stderr when ran from CLI...

I'm on GNOME and the systray icon works fine, try running it with --debug. It's an electron app so that should work.

No output with --debug %-\

You do have "Show Tray Icon" enabled in the Caprine settings, right?

Yeah, definitely I do. It's working fine up until (including) version 2.43.0 of Caprine. Any newer version fails to show systray icon. I've read through a bunch of issues here and in Electron repo and no workaround worked for me =( Thanks for helping though.

If you run it from source you can debug it

Saw that this fixes the icon problem

Saw that this fixes the icon problem

Is this something that should be done during build or a user can incorporate it after install or something?

Saw that this fixes the icon problem

Is this something that should be done during build or a user can incorporate it after install or something?

What distro are you using?

Saw that this fixes the icon problem

Is this something that should be done during build or a user can incorporate it after install or something?

What distro are you using?

Linux Mint 18.3 Sylvia (Ubuntu 16.04).

@yermulnik a missing system tray icon is a different issue, make a new issue

The app icon problem (desktop icon) is a bug in Electron Builder that builds the app for Linux. This is a bug that is present for a few years now and still is not fixed which is really bad. For now on Linux AFAIK deb package has an icon problem but AppImage and Snap don't have that problem or Arch in it's repositories. To fix it follow instructions in this issue or this comment.

Regarding tray icon, install libappindicator and if you're using Gnome install KStatusNotifierItem/AppIndicator Support extension.

As all issues are resolved or have a workaround, I'll close this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PanagiotisGts picture PanagiotisGts  路  4Comments

dmythro picture dmythro  路  4Comments

Martina-Neumayer picture Martina-Neumayer  路  4Comments

Yukaii picture Yukaii  路  3Comments

Vexorify picture Vexorify  路  3Comments