Skip to main content
Topic: No systray in sway (Read 371 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

No systray in sway

Anybody experienced this? No systray at all in sway, I'm using the standard bar that comes with sway. Here's output from trying to start remmina in case something useful pops up there (there's a lot of unrelated errors though, most other apps started in traymode give no output at all). Could it be some service that is missing? Other than that apps are running when started in tray mode, like safeeyes -e and nm-applet can be started in tray mode and they are running even though their trays don't show up.

Code: [Select]
$ export G_MESSAGES_DEBUG=all
$ pkill remmina
$ remmina -i
** (process:4118): DEBUG: 19:39:15.391: (remmina_file_manager_init) - Initialized the "/home/myuser/.local/share/remmina" data folder
(process:4118): GLib-GIO-DEBUG: 19:39:15.392: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
Load modules from /usr/lib/remmina/plugins
** (process:4118): DEBUG: 19:39:15.433: (remmina_plugin_entry) - gfx_h264_available: 1
** (process:4118): DEBUG: 19:39:15.433: (remmina_rdp_settings_kbd_init) - rdp_keyboard_remapping_list: (null)
Remmina plugin glibsecret (type=Secret) has been registered, but is not yet initialized/activated. The initialization order is 2000.
Failed to load plugin: /usr/lib/remmina/plugins/remmina-plugin-www.so.
Error: libwebkit2gtk-4.1.so.0: cannot open shared object file: No such file or directory
** Message: 19:39:15.496: [X2GO] X2Go plugin loaded.
Failed to load plugin: /usr/lib/remmina/plugins/remmina-plugin-kwallet.so.
Error: libKF5Wallet.so.5: cannot open shared object file: No such file or directory
(process:4118): GLib-GIO-DEBUG: 19:39:15.502: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(process:4118): libsecret-CRITICAL **: 19:39:15.503: secret_service_load_collections_sync: assertion 'paths != NULL' failed
[glibsecret] unable to get secret service: Unknown error.
(process:4118): GLib-DEBUG: 19:39:15.504: unsetenv() is not thread-safe and should not be used after threads are created
(org.remmina.Remmina:4118): GLib-GIO-DEBUG: 19:39:15.509: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(org.remmina.Remmina:4118): GLib-GIO-DEBUG: 19:39:15.512: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.512: watch_fast: "/org/gnome/desktop/interface/" (establishing: 0, active: 0)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.512: watch_fast: "/org/gnome/desktop/peripherals/mouse/" (establishing: 0, active: 0)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.512: watch_fast: "/org/gnome/desktop/sound/" (establishing: 0, active: 0)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.512: watch_fast: "/org/gnome/desktop/privacy/" (establishing: 0, active: 0)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.512: watch_fast: "/org/gnome/desktop/wm/preferences/" (establishing: 0, active: 0)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.512: watch_fast: "/org/gnome/desktop/a11y/" (establishing: 0, active: 0)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.512: watch_fast: "/org/gnome/desktop/a11y/interface/" (establishing: 0, active: 0)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.513: watch_established: "/org/gnome/desktop/interface/" (establishing: 1)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.513: watch_established: "/org/gnome/desktop/peripherals/mouse/" (establishing: 1)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.513: watch_established: "/org/gnome/desktop/sound/" (establishing: 1)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.513: watch_established: "/org/gnome/desktop/privacy/" (establishing: 1)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.513: watch_established: "/org/gnome/desktop/wm/preferences/" (establishing: 1)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.513: watch_established: "/org/gnome/desktop/a11y/" (establishing: 1)
(org.remmina.Remmina:4118): dconf-DEBUG: 19:39:15.513: watch_established: "/org/gnome/desktop/a11y/interface/" (establishing: 1)
(org.remmina.Remmina:4118): Gdk-DEBUG: 19:39:15.545: Compositor prefers decoration mode 'server'
(org.remmina.Remmina:4118): GLib-DEBUG: 19:39:15.584: unsetenv() is not thread-safe and should not be used after threads are created
(org.remmina.Remmina:4118): Gtk-DEBUG: 19:39:15.584: Connecting to session manager
(org.remmina.Remmina:4118): Gtk-DEBUG: 19:39:15.584: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned
(org.remmina.Remmina:4118): Gtk-DEBUG: 19:39:15.585: Failed to get the Xfce session proxy: The name org.xfce.SessionManager is not owned
** INFO: 19:39:15.588: StatusNotifier/Appindicator support in “sway”: not supported natively by your Desktop Environment. libappindicator will try to fallback to GtkStatusIcon/xembed
Warning: Remmina is running without a secret plugin. Passwords will be saved in a less secure way.
** (org.remmina.Remmina:4118): DEBUG: 19:39:15.596: (remmina_icon_connection_changed_cb) - Indicator connection changed to: 0

(org.remmina.Remmina:4118): Gtk-CRITICAL **: 19:39:15.704: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
^C
Code: [Select]
$ sudo rc-status
Runlevel: default
 dbus                                                                                                                                                       [  started 00:10:12 (0) ]
 seatd                                                                                                                                                      [  started 00:10:12 (0) ]
 ufw                                                                                                                                                                    [  started  ]
 NetworkManager                                                                                                                                                         [  started  ]
 netmount                                                                                                                                                               [  started  ]
 ntpd                                                                                                                                                       [  started 00:10:10 (0) ]
 local                                                                                                                                                                  [  started  ]
 agetty.tty2                                                                                                                                                [  started 00:10:10 (0) ]
 agetty.tty4                                                                                                                                                [  started 00:10:10 (0) ]
 agetty.tty6                                                                                                                                                [  started 00:10:10 (0) ]
 agetty.tty3                                                                                                                                                [  started 00:10:10 (0) ]
 agetty.tty1                                                                                                                                                [  started 00:10:10 (0) ]
 agetty.tty5                                                                                                                                                [  started 00:10:10 (0) ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
Dynamic Runlevel: manual

$      

 

Re: No systray in sway

Reply #1
A different error message send me in the right direction:

Code: [Select]
(nm-connection-editor:22285): Gdk-WARNING **: 11:24:42.657: Failed to read portal settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop

Found the solution: https://wiki.gentoo.org/wiki/Sway

Instead of starting sway with
Code: [Select]
exec sway
I needed to
Code: [Select]
dbus-run-session sway
.