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

[Feature Request]: libayatana-appindicator1 as a replacement/alternative to libappindicator1 #27527

Closed
3 tasks done
vali-um opened this issue Jan 28, 2021 · 5 comments · Fixed by #36333
Closed
3 tasks done
Labels
enhancement ✨ platform/linux status/confirmed A maintainer reproduced the bug or agreed with the feature

Comments

@vali-um
Copy link

vali-um commented Jan 28, 2021

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description

The package libappindicator1 is not available in the upcoming debian release (bullseye) anymore [1]. also other debian based distributions will maybe switch.
as far as i can tell this is the library to handle tray icons in linux that is suported right now now and is also set as a default deb dependency by electron builder[2].
This leads to a situation in which an electron app with the default dependencies from electron builder can not be installed on debian bullseye. with the dependency removed it can be installed but the tray icon might not work without changes.

Proposed Solution

Use libayatona-appindicator1 as an alternative for libappindicator1 either by default or optional.
See https://ayatanaindicators.github.io/about/ for more information.

Alternatives Considered

Making libappindicator1 an optional dependency by default. this would enable installation on debian bullseye but may still leave the installations without a working system tray icon.

Additional Information

references:
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895037
[2] https://www.electron.build/configuration/linux#debian-package-options

@vali-um
Copy link
Author

vali-um commented Jan 28, 2021

a sample electron application with this issue is signal-desktop, see signalapp/Signal-Desktop#4761

@ckerr ckerr added enhancement ✨ platform/linux status/confirmed A maintainer reproduced the bug or agreed with the feature labels Jan 28, 2021
@ckerr
Copy link
Member

ckerr commented Jan 28, 2021

Agreed, this would be a Good Thing.

@mimi89999
Copy link

I think that the correct place to report this is develar/app-builder#51

Svallinn added a commit to FreeTubeApp/FreeTube that referenced this issue Apr 24, 2021
Closes: #1229
Relevant issue:
* electron/electron#27527

The libappindicator package will not be available in the upcoming
Debian "bullseye" release and no appropriate alternative has been
implemented by default in electron / electron-builder.

This is a temporary measure until this issue is dealt with upstream.
@hilga007
Copy link

Just ran into this issue on Debian testing (12). Without investigating, I figured it had to be something broken in Testing.

Reformat and re-installed with Debian Stable (11)

Issue persists in Debian bullseye.
amd64 architecture.

Can some sort of (if / then) statement be included so that a .deb file can contain versions for pre-bullseye and post-bullseye?

Looks like snarky has a decent start

@zerothi
Copy link

zerothi commented Feb 18, 2022

This would be very welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ platform/linux status/confirmed A maintainer reproduced the bug or agreed with the feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants