Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrayIcon does not appear at all (Debian) #1317

Closed
ginsterbusch opened this issue Mar 30, 2020 · 10 comments
Closed

TrayIcon does not appear at all (Debian) #1317

ginsterbusch opened this issue Mar 30, 2020 · 10 comments

Comments

@ginsterbusch
Copy link

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

@toantk238
Copy link

toantk238 commented Apr 6, 2020

@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".

@GiORdANio
Copy link

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

@ginsterbusch
Copy link
Author

ginsterbusch commented Apr 9, 2020

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 .. 👎

@ginsterbusch
Copy link
Author

ginsterbusch commented Apr 9, 2020

@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.

@GiORdANio
Copy link

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

@wereii
Copy link

wereii commented Apr 10, 2020

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

@ginsterbusch
Copy link
Author

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.

@ginsterbusch
Copy link
Author

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.

@wereii
Copy link

wereii commented Apr 10, 2020

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.

@dusansimic
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants