I thought this detail would be in the Info Center, but the only similar info I can find there (under Graphical Information -> X Server) is just showing the current resolution, not the details on what the hardware supports.
The reason I need this is because I was trying out a game (Berusky) and it set my monitor resolution extremely low, and didn't reset it when exiting. I know my native resolution is either 1366x768 or 1360x768, but the difference is small enough (six pixels) that I can't tell visually which one is "correct." (The monitor is my built-in laptop monitor, by the way.)
Where is this information available? I would like to know how to find it both via the GUI, and via the command line, if that is possible.
I'm using Kubuntu 20.04 which I know is not supported yet, but I would accept answers that only apply to 19.10. (I would be surprised if the methods for finding out this info have changed, anyway.)
Obviously I can search the internet for my particular model of hardware and look up the specs that way, but I would like to know how to do this "inside" the OS if at all possible.
Technically every monitor has special I2C device, from where Extended Display Identification Data (EDID) can be read.
You can install the
read-edid
package and check the manufacturer's data inside the panel with commands below:Example: for my 1366x768 I get the following output (it is really single line, as there are no other modes):
For external monitors these commands return more data. Something like:
About ModeLines you can read on ArchWiki if interested.