trayscale icon indicating copy to clipboard operation
trayscale copied to clipboard

Using i3 and no tray icon

Open abacao opened this issue 2 years ago • 6 comments

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?

abacao avatar Oct 06 '23 11:10 abacao

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

FluffBallFloof avatar Dec 16 '23 17:12 FluffBallFloof

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

alexfornuto avatar Jan 22 '24 17:01 alexfornuto

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

DeedleFake avatar Jan 24 '24 01:01 DeedleFake

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

alexfornuto avatar Jan 24 '24 16:01 alexfornuto

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.

cmiles74 avatar Apr 07 '24 15:04 cmiles74

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.

DeedleFake avatar Apr 07 '24 18:04 DeedleFake

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

Jacalz avatar Jul 06 '24 06:07 Jacalz

Just for people who stumble upon:

I'm under i3 and I can't have the tray icon in the standard i3 status bar, however as mentioned in https://github.com/fyne-io/systray/issues/75#issuecomment-1977843140, after installing snixembed it works.

cbenz avatar Dec 20 '24 10:12 cbenz