Closed didrocks closed 6 years ago
Here is an example: http://paste.ubuntu.com/p/8rv7jg7HZv/
Note the xrandr lines are generally: 1920x1080 59.93*+
1920x1080 59.93*+
But some other form (multiple frequencies with some hardware) are possible: 3840x2160 30.00*+ 25.00 24.00 23.98
3840x2160 30.00*+ 25.00 24.00 23.98
And also: 1920x1080 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98.
1920x1080 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98
We should support those (the regexp is restrictive in that form). Will add a test with the above example xrandr.
After more research, you can have:
1366x768 60.02 + … 1280x720 60.00 59.99 59.86* 59.74
The selected is the one with *, preferred is the first one.
Here is an example: http://paste.ubuntu.com/p/8rv7jg7HZv/
Note the xrandr lines are generally:
1920x1080 59.93*+
But some other form (multiple frequencies with some hardware) are possible:
3840x2160 30.00*+ 25.00 24.00 23.98
And also:
1920x1080 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98
.We should support those (the regexp is restrictive in that form). Will add a test with the above example xrandr.