'What different from 'Xrandr' and 'XineramaQueryScreens'
The default resolution is 1280x720. Only one screen on my system (20.04.1-Ubuntu)
When I adjust the 'fractional scaling' to 125%. I get the different value about resolution.
First, I query the result with extension API 'XineramaQueryScreens', return
2048x1152
When I using the command:
$ xrandr |grep \* |awk '{print $1}'
it return:
1280x720
I want to get actual resolution. If I understand correctly, the actual resolution is always 1280x720, no matter how adjust 'factional scaling' .
- Why there are different result?
- '
XineramaQueryScreens' return2048x1152, it is not 125% times of default resolution1280x720. why?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
