On my Raspberry Pi I have created a tkinter application with one button and configured Chromium to start in kiosk mode.

In my python application I set the following:

root.wm_attributes("-topmost", 1)

But the window of my application is only in front of any other window when I start the other applications normally. When i start Chromium in full-screen or kiosk mode my application window is not displayed in front of chromium.

How can I solve this problem?


I solved this with wmctrl. Every 60 seconds i switch to my python window.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.