flathub / in.cinny.Cinny

https://flathub.org/apps/details/in.cinny.Cinny
8 stars 6 forks source link

Cinny has no icon in the system tray #74

Open K4LCIFER opened 11 months ago

K4LCIFER commented 11 months ago

Describe the bug

Cinny has no icon icon in the system tray as shown below: cinny

Reproduction

  1. Launch Cinny
  2. Observe that, when put in the system tray, Cinny is given no icon.

Expected behavior

I would expect an icon in the system tray.

Platform and versions

- OS: Arch Linux, Kernel v6.5.8-arch1-1
- DE: KDE Plasma v5.27.8, Wayland
- Downloaded From: Flatpak

Additional Context

This issue was copied from https://github.com/cinnyapp/cinny-desktop/issues/215, as suggested by this comment.

HEPOSHEIKKI commented 8 months ago

Seems like running export $(dbus-launch) before running cinny from the same enviroment fixes this issue with a 50/50 chance. I wouldn't consider this a solution however. I'll see if I can find a fix for this and submit a PR.

In the meantime, if you are still having this issue, you can use this. Additionally, I haven't tested this yet but I think if you are on X11 you could change your .xinitrc form exec [your DE/wm] to exec dbus-launch [your DE/wm] according to your setup, but I'm not sure if this will work and if it will cause other issues.