Skip to content
Advertisement

How could I find the resolution of a display running Python3 on Linux?

I’ve tried the following methods but none would work on Linux

JavaScript
JavaScript

Advertisement

Answer

Try using tkinter, like:

JavaScript
Advertisement