2

Last week, fonts in Ubuntu 20.04 have grown a lot bigger. How do I revert them to the old size? I can't find desktop icon font size in settings or tweak tool.

xiota
  • 5,038
Christine
  • 481

2 Answers2

6

you can try this out to change font size on ubuntu 20.04:

  1. Option One:

    • open settings.

    • go to universal access.

    • check if Large Text is on - if it is, turn it off.

  2. Option Two:

    • use gnome tweaks.

    • use sudo apt install gnome-tweaks to install the tool.

    • after installation open the app.

    • then change the scaling factor value to 1.0 (wich is the default value).

  3. Option Three:

    • using terminal to increase or decrease text size.

    • gsettings set org.gnome.desktop.interface text-scaling-factor (value) - value 1 its the default value.

    • gsettings reset org.gnome.desktop.interface text-scaling-factor - to reset the value to his default size.

    • this link found helpful to solve the problem How do I change the font DPI settings? (added after edit).

johncli
  • 329
0

For me the problem was that suddenly GTK applications(*) - on Wayland - started consulting Xrdb for the Xft.dpi setting. Due to some old shenanigans, I had the ~/.Xresources set on my system with a Xft.dpi value set to 120 - which was the real problem, and once I removed that file - it went back to how it was supposed to look, with a native DPI of 96:

$ xrdb -q | grep -i xft
Xft.antialias:  1
Xft.dpi:        96
Xft.hinting:    1
Xft.hintstyle:  hintslight
Xft.rgba:       rgb

Another thing that may cause similar behavior is if you have the xsettingsd daemon running and providing Xft settings, and that has a DPI set incorrectly - check ~/.xsettingsd and see what "DPI" settings you have there. Note that ~/.xsettingsd has the settings in "mibi-DPI", i.e. the DPI value time 1024, so 96 DPI is "98304".

*) But not all of them? Eclipse was still looking fine while other SWT applications exhibited the same behavior as GTK apps.

Guss
  • 3,775