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?


1 Answer 1


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

  • 1
    Please accept your own answer with a click on the tick on its left side. Only this will finish the question and it will not pop up again year for year.
    – Ingo
    Jan 20, 2020 at 12:28

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.