Re: Certain font sizes can't be configured permanently
Tony Houghton <[email protected]> Sat, 12 Sep 2020 19:10:02 +0100
| Newsgroups | gmane.comp.gnome.general |
|---|---|
| Message-ID | <CA+GXpVVzx=VLbwnJghG5HgaGPVt8OAyU9z0dWtaagMJprfpGUw@mail.gmail.com> |
--===============8957368148027571289== Content-Type: multipart/alternative; boundary="0000000000006db40805af21b6b0" --0000000000006db40805af21b6b0 Content-Type: text/plain; charset="UTF-8" There's something you could try, but it's more of a sticking plaster or workaround than a proper fix. Create a file ~/.config/autostart/scaling.desktop containing: [Desktop Entry] Type=Application Exec=gsettings set org.gnome.desktop.interface text-scaling-factor 1.6 Hidden=false X-GNOME-Autostart-enabled=true Name=Fix Scaling Comment=Set text scaling factor to 1.6 I haven't tested that, but hopefully it will work for you, or you will be able to fix it if there's something wrong. For more information, lookup "XDG autostart". On Sat, 12 Sep 2020 at 15:49, Volker Wysk <[email protected]> wrote: > Am Samstag, den 12.09.2020, 14:56 +0100 schrieb Tony Houghton: > > Do you mean that when you load gnome-tweaks, it shows the scaling > > factor to be 1.6, but the desktop does not use that setting until you > > change it, then change it back to 1.6? > > Exactly. > > > This implies that the setting is being saved correctly, but another > > part of GNOME is failing to honour it at start-up. > > Yes, I've thought it was something like that, too. > > > Fractional scaling is quite a new feature, so maybe some old integer- > > only settings have been left behind and are clashing. Try running > > these commands: > > > > gsettings get org.gnome.settings-daemon.plugins.xsettings overrides > > gsettings get org.gnome.desktop.interface scaling-factor > > gsettings get org.gnome.desktop.interface text-scaling-factor > > > > Based on the Arch wiki page for hidpi, I think the first two are > > obsolete integer settings and the third is for fractional scaling, so > > you want the first to show an empty list ('@a{sv} {}'), or at least > > not contain 'Gdk/WindowScalingFactor', and the second to be zero. The > > last should show 1.6. > > $ gsettings get org.gnome.settings-daemon.plugins.xsettings overrides > @a{sv} {} > > $ gsettings get org.gnome.desktop.interface scaling-factor > uint32 0 > > $ gsettings get org.gnome.desktop.interface text-scaling-factor > 1.6000000000000001 > > > If the first two are not empty/zero, I bet that's what's causing the > > problem. > > Well, they are... > > > You should be able to fix it with: > > > > gsettings set org.gnome.settings-daemon.plugins.xsettings overrides > > "[]" > > gsettings set org.gnome.desktop.interface scaling-factor 0 > > > > Monitor drivers never really existed, they were just files that > > contained mode information in the "old days" before EDID etc made it > > all automatic. They were called drivers to make it simpler for > > Windows users to understand. In Linux you used to have to edit X > > config files instead. I'm quite sure they are of no relevance to your > > current issue. > > Yes, it doesn't affect the whole screen. Only font sizes are > affected... This doesn't look like a "driver" issue to me, too. > > > > On Fri, 11 Sep 2020 at 16:17, Volker Wysk <[email protected]> > > wrote: > > > Hi! > > > > > > I have a 4k monitor, which means that all the font sizes must be > > > adjusted. I'm leaving the font sizes in gnome-tweaks alone, and am > > > setting a scaling factor of 1.6 instead. This worked fine until > > > about a > > > week ago. > > > > > > But now, after I log in, the configured font sizes don't seem to be > > > in > > > effect. The fonts of the top bar, and of the icons on the desktop, > > > are > > > tiny again. > > > > > > When I change the scaling factor, in gnome-tweaks, the fonts are > > > back > > > to the configured size immediately. It's enough to increase it by > > > 0,01 > > > and set it back to 1.6 again. > > > > > > But the next time I log in, it's all back to tiny fonts again. > > > > > > Is there any Gnome configuration magic, for how to set it > > > permanently? > > > Regards, > Volker > > -- TH --0000000000006db40805af21b6b0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">There's something you could try, but it's more of = a sticking plaster or workaround than a proper fix. Create a file <font fac= e=3D"monospace">~/.config/autostart/scaling.desktop</font> containing:<br><= br><font face=3D"monospace">[Desktop Entry]<br>Type=3DApplication<br>Exec= =3Dgsettings set org.gnome.desktop.interface text-scaling-factor 1.6<br>Hid= den=3Dfalse<br>X-GNOME-Autostart-enabled=3Dtrue<br>Name=3DFix Scaling<br>Co= mment=3DSet text scaling factor to 1.6</font><br><br>I haven't tested t= hat, but hopefully it will work for you, or you will be able to fix it if t= here's something wrong. For more information, lookup "XDG autostar= t".<div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail= _attr">On Sat, 12 Sep 2020 at 15:49, Volker Wysk <<a href=3D"mailto:post= @volker-wysk.de">[email protected]</a>> wrote:<br></div><blockquote cl= ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid= rgb(204,204,204);padding-left:1ex">Am Samstag, den 12.09.2020, 14:56 +0100= schrieb Tony Houghton:<br> > Do you mean that when you load gnome-tweaks, it shows the scaling<br> > factor to be 1.6, but the desktop does not use that setting until you<= br> > change it, then change it back to 1.6? <br> <br> Exactly.<br> <br> > This implies that the setting is being saved correctly, but another<br= > > part of GNOME is failing to honour it at start-up. <br> <br> Yes, I've thought it was something like that, too.<br> <br> > Fractional scaling is quite a new feature, so maybe some old integer-<= br> > only settings have been left behind and are clashing. Try running<br> > these commands:<br> > <br> > gsettings get org.gnome.settings-daemon.plugins.xsettings overrides<br= > > gsettings get org.gnome.desktop.interface scaling-factor<br> > gsettings get org.gnome.desktop.interface text-scaling-factor<br> > <br> > Based on the Arch wiki page for hidpi, I think the first two are<br> > obsolete integer settings and the third is for fractional scaling, so<= br> > you want the first to show an empty list ('@a{sv} {}'), or at = least<br> > not contain 'Gdk/WindowScalingFactor', and the second to be ze= ro. The<br> > last should show 1.6. <br> <br> $ gsettings get org.gnome.settings-daemon.plugins.xsettings overrides<br> @a{sv} {}<br> <br> $ gsettings get org.gnome.desktop.interface scaling-factor<br> uint32 0<br> <br> $ gsettings get org.gnome.desktop.interface text-scaling-factor<br> 1.6000000000000001<br> <br> > If the first two are not empty/zero, I bet that's what's causi= ng the<br> > problem. <br> <br> Well, they are...<br> <br> > You should be able to fix it with:<br> > <br> > gsettings set org.gnome.settings-daemon.plugins.xsettings overrides<br= > > "[]"<br> > gsettings set org.gnome.desktop.interface scaling-factor 0<br> > <br> > Monitor drivers never really existed, they were just files that<br> > contained mode information in the "old days" before EDID etc= made it<br> > all automatic. They were called drivers to make it simpler for<br> > Windows users to understand. In Linux you used to have to edit X<br> > config files instead. I'm quite sure they are of no relevance to y= our<br> > current issue.<br> <br> Yes, it doesn't affect the whole screen. Only font sizes are<br> affected... This doesn't look like a "driver" issue to me, to= o.<br> <br> <br> > On Fri, 11 Sep 2020 at 16:17, Volker Wysk <<a href=3D"mailto:post@v= olker-wysk.de" target=3D"_blank">[email protected]</a>><br> > wrote:<br> > > Hi!<br> > > <br> > > I have a 4k monitor, which means that all the font sizes must be<= br> > > adjusted. I'm leaving the font sizes in gnome-tweaks alone, a= nd am<br> > > setting a scaling factor of 1.6 instead. This worked fine until<b= r> > > about a<br> > > week ago.<br> > > <br> > > But now, after I log in, the configured font sizes don't seem= to be<br> > > in<br> > > effect. The fonts of the top bar, and of the icons on the desktop= ,<br> > > are<br> > > tiny again. <br> > > <br> > > When I change the scaling factor, in gnome-tweaks, the fonts are<= br> > > back<br> > > to the configured size immediately. It's enough to increase i= t by<br> > > 0,01<br> > > and set it back to 1.6 again.<br> > > <br> > > But the next time I log in, it's all back to tiny fonts again= .<br> > > <br> > > Is there any Gnome configuration magic, for how to set it<br> > > permanently?<br> <br> <br> Regards,<br> Volker<br> <br> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= class=3D"gmail_signature"><div dir=3D"ltr">TH<div><br></div></div></div></= div></div> --0000000000006db40805af21b6b0-- --===============8957368148027571289== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gnome-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-list --===============8957368148027571289==--