DeedleFake / trayscale

An unofficial GUI wrapper around the Tailscale CLI client.
MIT License
392 stars 14 forks source link

Using i3 and no tray icon #90

Closed abacao closed 2 days ago

abacao commented 9 months ago

Hello all,

First, thank for the tool. :tada:

I'm having issues having the flatpak app in the tray. Can I do some debugging why isn't the app appearing?

FluffBallFloof commented 6 months ago

Can confirm the same issue on my fedora box, here's the relevant lines from the terminal.

2023/12/16 12:20:35 Critical: Adwaita: adw_application_window_set_content: assertion 'gtk_widget_get_parent (content) == NULL' failed 2023/12/16 12:20:47 systray error: failed to request name: org.freedesktop.DBus.Error.ServiceUnknown 2023/12/16 12:20:47 systray error: failed to register our icon with the notifier watcher (maybe no tray is running?): The name is not activatable

alexfornuto commented 5 months ago

Same issue using Pop! with i3 and polybar with the tray module:

2024/01/22 11:41:32 systray error: failed to request name: org.freedesktop.DBus.Error.ServiceUnknown
2024/01/22 11:41:32 systray error: failed to register our icon with the notifier watcher (maybe no tray is running?): The name is not activatable
DeedleFake commented 5 months ago

Do you see org.freedesktop.Notifications and org.kde.StatusNotifierWatcher in the session bus via something like D-Spy?

alexfornuto commented 5 months ago

org.freedesktop.Notifications is "Activatable" with a PID.

cmiles74 commented 3 months ago

I'm also using i3, polybar is not displaying the icon in the "tray" module. I don't know if this helps, but waybar (running under Hyperlan) does correctly display the icon.

DeedleFake commented 3 months ago

I believe that this is related to polybar/polybar#2010. Trayscale only has support, via fyne.io/systray, for the newer D-Bus-based StatusNotifier tray icons. It doesn't support the legacy X11-based tray icon system. It looks like Polybar doesn't support the StatusNotifier icons yet, so this probably just won't work until support for those is added, or maybe fyne.io/systray gets support for the legacy icon system.

Jacalz commented 3 days ago

I suppose this should be closed due to the same reason as https://github.com/DeedleFake/trayscale/issues/85#issuecomment-2211499721?