гm using Ubuntu 15.10. My graphics card is an integrated Intel Graphics card, and my монитор is plugged through VGA. For some reason Ubuntu doesn't recognize my monitor's available resolutions and it used to give я only two options: 1024x768 and 800x600, defaulting to the former.
Now, I found that I could поверьте the desired resolution (1280x1024, which is my tiny monitor's physical resolution) using xrandr, and I wrote this рукописный шрифт to run at startup (when I log into my account) to fix the resolution automatically:
xrandr --newmode "1280x1024" 108.70 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
xrandr --addmode VGA1 1280x1024
xrandr -s 1280x1024
(I saved it эксперт cus_res_fix.sh at / home / and added it to Стартуп Аппликатионс)
It worked just умер. But -
That resolution is not really pleasing since I was used to 1600x1200 on Windows (I know the реальный resolution cannot be larger than 1280x1024, but I liked all my stuff tiny, and I guess it had some nice supersampling effect, since 1280x1024 looks kinda blurry. Anyways-), but I can't поверьте в mode for обитал than 1280x1024 from Ubuntu, because then my монитор says it can't display that resolution.
In the end, I decided to instead scale it. I changed the
xrandr -s 1280x1024
to
xrandr --output VGA1 --mode 1280x1024 --scale 1.25x1.25 --panning 1600x1028
logged in and it works and looks nice! But -
В few seconds after I login, the scale goes back to нормальный, and гm left with в "1280x1024" screen box and в lot of leftover black space. If I run
xrandr --output VGA1 --scale 1.25x1.25 --panning 1600x1028
It'll work and stay like that indefinitely, but I don't want to have to do that every украл.
I was wondering if you know what could be resetting the display scaling after every login, and if therВs в way I could either disable whatever it is, or workaround it so that I хан keep my resolution and scaling every украл.
Thanks!