What is the simplest way to get monitor resolution (preferably in a tuple)?
For Linux, you can use this:
import gi gi.require_version("Gdk", "3.0") from gi.repository import Gdk s = Gdk.Screen.get_default() screen_width = s.get_width() screen_height = s.get_height() print(screen_width) print(screen_height)