Closed BrunoDSL closed 5 years ago
Thanks for the issue @MR4Y ! Sent you a couple LBC on Discord for filing this, it's a good find.
Right now, in Linux, only Debian systems are supported.
Could you please post the output of the following command:
pacman -Qi libappindicator1
. I could probably use the info to add tray
icon support in arch Linux systems.
-Regards -Amit Tulshyan
On Nov 14, 2017 11:23 PM, "Thomas Zarebczan" notifications@github.com wrote:
Thanks for the issue @MR4Y https://github.com/mr4y ! Sent you a couple LBC on Discord for filing this, it's a good find.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lbryio/lbry-app/issues/740#issuecomment-344341912, or mute the thread https://github.com/notifications/unsubscribe-auth/AQxPZhfT6deqfQHvPaz2iZB3H_TOA2gdks5s2dOQgaJpZM4QdXsW .
Output:
error: package 'libappindicator1' was not found
Updated lbry-app-bin to 0.18.2-1. Still no tray icon.
18.2 was a patch release which fixed a specific new user issue, nothing else was changed.
@MR4Y I believe Electron only supports tray icons in Linux distributions that support libappindicator1
.
Both Discord AUR buids have tray icons.
Off-topic: I would like to request any information you have regards to building to Arch for a proposal of addition to the instructions if able to resolve this. @MR4Y can we PM on discord?
Yes.
@etisdew sorry, not sure which MR you are >_<
@etisdew @MR4Y as far as I know, Electron tray icons will only display if libappindiactor1
is available. See:
Can you guys clarify this issue? Is it:
If it's 1, we ought to try to debug it a bit further then open with Electron. If it's 2, we can look to modify the set up process. If it's 3, I'm not sure there's much we can do.
OK so I got some time to look at the issue, and this is my diagnosis.
1) libappindicator1 indicator is not installed in the system (pacman -Qi libappindicator1
returned negative).
2) Also the app explicitly checks for libappindicator1 in Debian based
systems(https://github.com/lbryio/lbry-app/blob/master/app/main.js#L522)
3) We install dependencies for debian(
https://github.com/lbryio/lbry-app/blob/master/package.json#L56), which I
think would need to be changed to support arch, fedora etc. systems.
4) We cannot remove the check completely because other quitting
functionality depends on this. We would need to include custom checks for
different systems.
On Nov 27, 2017 8:01 PM, "Jeremy Kauffman" notifications@github.com wrote:
@etisdew https://github.com/etisdew @MR4Y https://github.com/mr4y as far as I know, Electron tray icons will only display if libappindiactor1 is available. See:
- webtorrent/webtorrent-desktop#383 https://github.com/webtorrent/webtorrent-desktop/issues/383
- electron-userland/electron-builder#375 https://github.com/electron-userland/electron-builder/issues/375
Can you guys clarify this issue? Is it:
- You have libappindiactor1 installed, but it doesn't work.
- You do not have libappindiactor1 installed, and the LBRY install process didn't try to install it.
- You do not have libappindaictor1 installed, the LBRY app tried to install it, but it's not available on your system.
If it's 1, we ought to try to debug it a bit further than open with Electron. If it's 2, we can look to modify the set up process. If it's 3, I'm not sure there's much we can do.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lbryio/lbry-app/issues/740#issuecomment-347198180, or mute the thread https://github.com/notifications/unsubscribe-auth/AQxPZsrl5-RiVKhiqMEJmfuBb654UQ84ks5s6sengaJpZM4QdXsW .
@kauffj As I explained earlier all AUR builds of Discord have tray icons. None of them require libappindicator1. Discord uses libnotify instead.
Trying to reproduce the issues, and it's not applied to the latest version. The tray icon is showing up as expected. I guess just close the issue, or did I miss something here?
Woohoo, we may have fixed it up some other icon changes we made. Closing... Thanks @vv181
Title explains the issue.
Steps to reproduce
Expected behaviour
Much like every other Electron app, if the app has a tray icon, it should appear in the tray when the application opens.
Actual behaviour
No tray icon shows up. Closing the app shuts down the daemon and closes the app.
System Configuration
Anything Else
Tested using XFCE