Caprine: TrayIcon does not appear at all (Debian)

Created on 30 Mar 2020  路  10Comments  路  Source: sindresorhus/caprine

After installation via deb package, Caprine works flawlessly, but the Tray Icon never appears. Closing the application seems to lead to a complete exit, and restarting it leads to an additional thread ..


Caprine 2.44.0
Electron 8.0.0
linux 4.19.0-1-amd64
XFCE 4.12
Locale: de

All 10 comments

@ginsterbusch Have you enabled "File -> Caprine Settings -> Launch Minimized" ?

Anw, the tray icon seems only works for few minutes. It could disappear suddenly. When I check whether app is running or not via Task Monitor, I still see "caprine".

Install xfce4-statusnotifier-plugin.
Works for now.
icontray

Install xfce4-statusnotifier-plugin.
Works for now.
icontray

What is that? Some non-Debian package?
Addition: Apparently talking about this one: https://docs.xfce.org/panel-plugins/xfce4-statusnotifier-plugin
Without any compilation or installation instructions supplied its a mostly useless suggestion though.

Nope. Won't work. Compilation not possible, because of apparently outdated libraries. Won't recompile XFCE4 just out of a whim .. this being my main work environment .. :-1:

@ginsterbusch Have you enabled "File -> Caprine Settings -> Launch Minimized" ?

Anw, the tray icon seems only works for few minutes. It could disappear suddenly. When I check whether app is running or not via Task Monitor, I still see "caprine".

I dont see the tray icon at all, but certainly, htop, pgrep and ps show me that caprine is running. It also pops open whenever I run the caprine binary again .. still spawning another thread ..

My workaround so far is leaving the window minimized, but that kind of contradicts that "minimize to tray" option, doesnt it? :) :(

cu, w0lf.

Install xfce4-statusnotifier-plugin.
Works for now.
icontray

What is that? Some non-Debian package?
Addition: Apparently talking about this one: https://docs.xfce.org/panel-plugins/xfce4-statusnotifier-plugin
Without any compilation or installation instructions supplied its a mostly useless suggestion though.

Nope. Won't work. Compilation not possible, because of apparently outdated libraries. Won't recompile XFCE4 just out of a whim .. this being my main work environment ..

It is debian package:
https://packages.debian.org/search?keywords=+xfce4-statusnotifier-plugin&searchon=names&suite=stable&section=all

You can find in you package installer.
Here is it in MX Linux 19.1:
image

sudo apt-get install xfce4-statusnotifier-plugin ;)

Install xfce4-statusnotifier-plugin.
Works for now.
icontray

What is that? Some non-Debian package?
Addition: Apparently talking about this one: https://docs.xfce.org/panel-plugins/xfce4-statusnotifier-plugin
Without any compilation or installation instructions supplied its a mostly useless suggestion though.
Nope. Won't work. Compilation not possible, because of apparently outdated libraries. Won't recompile XFCE4 just out of a whim .. this being my main work environment ..

It is debian package:
https://packages.debian.org/search?keywords=+xfce4-statusnotifier-plugin&searchon=names&suite=stable&section=all

You can find in you package installer.
Here is it in MX Linux 19.1:
image

No, I cannot. It is MX Linux 18.3, NOT 19. 19 is based on Debian 10, while 18.x is still based on Debian 9.

sudo apt-get install xfce4-statusnotifier-plugin ;)

Let's try that, shall we? Result is as expected:

https://packages.debian.org/search?suite=stretch&searchon=names&keywords=xfce4-statusnotifier-plugin

It doesnt work in Debian Stretch nor MX Linux 18 now. But did it ever work before? Ie. was it always broken in XFCE / Debian? If not, then I wouldn't mind downgrading just to get this working properly.

cu, w0lf.

Sorry, you didn't specify you actually don't have the package for your distro version.

Basically, electron requires that package when using Xfce4 for Tray icons to work properly (issue).
Going with this comment on that issue (recap part), there is some alternative to that package but it seems you would still have to do some building (?).

Edit: Blind shot, don't @ me on this advice but you could download that package as .deb file from buster and try installing it manually sudo dpkg -i then hope that 1) the dependencies are there, 2) it works.

As I can see from this thread, installing xfce4-statusnotifier-plugin fixes the issue. Weather installation/compilation fails or not on some specific distro version is not related to Caprine. I will close this now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Martina-Neumayer picture Martina-Neumayer  路  4Comments

charlwillia6 picture charlwillia6  路  4Comments

vogu66 picture vogu66  路  3Comments

kingmustard picture kingmustard  路  3Comments

petersng picture petersng  路  3Comments