Skip to content

[linux] setting icon works, but only sometimes #9

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

Open
jakub-stefaniak opened this issue Jan 25, 2022 · 1 comment
Open

[linux] setting icon works, but only sometimes #9

jakub-stefaniak opened this issue Jan 25, 2022 · 1 comment

Comments

@jakub-stefaniak
Copy link

Hey, I ran into an issue testing the example project on a virtual machine running Ubuntu 20.04.3 LTS.

I tested the app on 2 virtual machines on different PCs. One works like a charm and the other one shows the tray icon only sometimes.

I tried launching the example app from the terminal on the problematic vm to see logs, and it throws:
GLib-GIO-CRITICAL **: 16:15:43.425: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
whenever I try to set the tray icon.

One PC has Intel CPU and the second one has AMD CPU. I don't know if that's relevant, but it works as expected on intel.

@G-Ray
Copy link

G-Ray commented Apr 23, 2025

This might probably depend if you flutter app is running on wayland or X11.
You can try to start the app with GDK_BACKEND=x11. Obviously, x11 should not be use anymore.

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