I'm working on developing a python application for Ubuntu that enables a user to have their desired resolution without requiring graphics drivers.
In order to do this I've been using
xrandr, which so far, has been pretty useful
However, I now have a problem; how can I detect the monitor name? I was intending to use a terminal command through
os.system, modifying the terminal output to get the required monitor output, and then storing it within the program. Unfortunately, despite much searching, I have been unable to find out how I can do this.
Is there any way in which I can do this?
To sum it up: I'm looking for a terminal command that gives me the monitor name, such