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

tray not working with error: Method RegisterStatusNotifierHost is not implemented #3111

Open
ogios opened this issue Apr 4, 2024 · 1 comment
Labels

Comments

@ogios
Copy link

ogios commented Apr 4, 2024

log:

$ waybar
[2024-04-04 11:30:05.482] [info] Using configuration file /home/ogios/.config/waybar/config
[2024-04-04 11:30:05.485] [info] Using CSS file /home/ogios/.config/waybar/style.css
basic_string::_M_create
[2024-04-04 11:30:05.502] [info] Found device AT Translated Set 2 keyboard at '/dev/input/event5'
[2024-04-04 11:30:05.531] [info] Found device Razer Razer DeathAdder Essential at '/dev/input/event11'
[2024-04-04 11:30:05.578] [warning] module sway/language: Disabling module "sway/language", Socket path is empty
[2024-04-04 11:30:05.742] [info] Bar configured (width: 1920, height: 30) for output: eDP-1
[2024-04-04 11:30:05.743] [error] Host: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method RegisterStatusNotifierHost is not implemented

tray config:

...
    "tray": {
        "icon-size": 21,
        "spacing": 10
    },
...

how should i solve this?

@xi
Copy link
Contributor

xi commented Aug 16, 2024

Trays consist of two components: A StatusNotifierWatcher that keeps track of all status icons, and a StatusNotifierHost which actually displays the icons. There can be multiple hosts, but only one watcher. Could it be that you already have some watcher running that doesn't allow additional hosts to register?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants