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 icon not working #3

Open
Z-Diva opened this issue Dec 11, 2024 · 4 comments
Open

Tray icon not working #3

Z-Diva opened this issue Dec 11, 2024 · 4 comments

Comments

@Z-Diva
Copy link

Z-Diva commented Dec 11, 2024

Im getting the following error when i enable tray icon , is there anyway i can fix this

(rgb_config_acer_gkbbl_0.py:7296): Gtk-CRITICAL **: 20:26:27.882: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
@Z-Diva
Copy link
Author

Z-Diva commented Dec 11, 2024

Fyi im using EndeavourOS + Hyprland

@x211321
Copy link
Owner

x211321 commented Dec 11, 2024

Hi, thanks for your feedback.

The non-functional tray icon is a known problem of wxWidgets/wxPython (which this app is based on) under wayland. Currently there is little I can do about that.

As a workaround you can run the app with the X11 backend by setting the GDK_BACKEND environment variable accordingly.

$ GDK_BACKEND=x11 rgb_config_acer_gkbbl_0

Please let me know if this works for you.

@Z-Diva
Copy link
Author

Z-Diva commented Dec 12, 2024

i have already tried
GDK_BACKEND=x11 rgb_config_acer_gkbbl_0
i do not get the error anymore when i enable tray icon but nothing shows up in waybar

@x211321
Copy link
Owner

x211321 commented Dec 12, 2024

Unfortunately tray icon support under different desktop environments is very inconsistent. If it's still not working for you then we have to assume the wxWidgets tray icon implementation to be incompatible with your setup.

I myself am not familiar with Hyprland and Waybar and I probably won't have time to look into those any time soon.

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

No branches or pull requests

2 participants