Wayland not working in Bookworm, X11 does though.
allphasepi opened this issue · 2 comments
Has anyone got PiGui working in Wayland I had to revert to X11 to get it working. It wouldn't load the preference screen even though there was an icon in the drop down menu. No battery icon either. I installed Bookworm to one of my Pi 4s which has a PiJuice hat.
The tray icon only works when you restart the desktop after changing the setting to OpenBox + X11.
Also the default installation does not detect 32-bit vs 64-bit correctly on a Pi3, Pi4 and Pi5.
See e.g. issue #1000
For me the Gui works fine on a Pi5
pijuice_gui.py depends on Tk as the graphics toolkit. However Tk is not supported under wayland, only under X11.
For wayland pijuice_gui has to be completely rewritten using a different graphics toolkit supported by wayland, e.g. Pyqt5.
Patches welcome.
Closing this issue for now.