Answer the question
In order to leave comments, you need to log in
How can I make Linux automatically recognize the monitor's native resolution?
There is a relatively old laptop with a built-in Intel video card and an external monitor (D-SUB, classic 1280x1024, it has a D-SUB port and a DVI port in addition to D-SUB, but only D-SUB in the laptop). The monitor under Linux (XUbuntu 15.10) is recognized only at 1024x768 (under Windows it is detected correctly). To get 1280x1024 you have to run two commands each time:
sudo xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
sudo xrandr --addmode VGA1 1280x1024_60.00
Answer the question
In order to leave comments, you need to log in
Once I wrote an article on habr to determine and automatically set the maximum resolution for the monitor when connected in a gentoo + i3wm environment via xrandr
https://habrahabr.ru/post/229167/
I hope it helps
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question