Tkinter works natively under X11, and in the new supported labwc, it uses a translation service called "XWayland".
Switch to an X11 desktop (raspi-config), and try again.
Your code is small enough to change it to QT6.
Tkinter doesn't have any plans to support Wayland.
Or just sacrifice that one function (or replace) that messes with the program.
Switch to an X11 desktop (raspi-config), and try again.
Your code is small enough to change it to QT6.
Tkinter doesn't have any plans to support Wayland.
Or just sacrifice that one function (or replace) that messes with the program.
Statistics: Posted by robertojguerra — Tue Nov 25, 2025 12:29 am