Ubuntu – How to reset Display and Monitor > Display Configuration > Scale Display

16.04displaykde5kubuntunvidia

On upgrading to 16.04 from 15.10, my font size was tiny. Somewhere I found the suggestion to go to:

System Settings > Display and Monitor > Display Configuration > Scale Display

And change the scale setting. I did this (changed it to 3), it change the size of the GUI but not the font, and I eventually fixed the font size by setting the DPI in the xorg.conf generated by nvidia-settings. I would now like to undo the scale display setting. But I can't because now the GUI is so large that that part of the Display and Monitor window is off the screen. (In fact, I can only get to Display and Monitor by changing System Settings to the tree view, otherwise it's off the screen as well.) There is a scroll bar, but it won't scroll far enough.

I though I had found the file where this is stored in, ~/.config/startupconfig, which has the line:

kdeglobals_kscreen_scalefactor=3

However, when I change the 3 to a 1, it turns back to a 3 next time I restart KDE and the problem persists.

I tried running systemsettings5 using ssh to display it on another computer, but it crashes as soon as I go into the Display and Monitor part.

Any idea of where this is stored or how I could reset it without losing all my other KDE settings?

Best Answer

In case anyone else runs into this, this is what I did (though I imagine there must be a better way): I got a spare monitor and connected it to the computer (after turning it off), along with the original monitor. (Fortunately my video card had multiple plugs.) On rebooting, I used nvidia-settings to move the new monitor's position to below the other one. That gave enough room for all (or at least enough) of the System Settings window to be visible, so I could get to the Scale Display bit and reset it back to 1. Then I shutdown the computer and removed the extra monitor. On restart, the GUI was back to normal size and I could see all of the System Settings window.

Related Question