Re: Certain font sizes can't be configured permanently

Tony Houghton <[email protected]> Sat, 12 Sep 2020 14:56:10 +0100
Newsgroups gmane.comp.gnome.general
Message-ID <CA+GXpVXp-f8QSSUGBVnPb+_FqjodmFGf_=Nm_GcQZaBbp_qGMQ@mail.gmail.com>
--===============6242021604679379015==
Content-Type: multipart/alternative; boundary="00000000000091ee1a05af1e2a77"

--00000000000091ee1a05af1e2a77
Content-Type: text/plain; charset="UTF-8"

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? This implies that the setting is being saved
correctly, but another part of GNOME is failing to honour it at start-up.
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. If the first two are not empty/zero, I bet that's what's
causing the problem. 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.

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?
>
> Cheers,
> Volker
> _______________________________________________
> gnome-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gnome-list
>


-- 
TH

--00000000000091ee1a05af1e2a77
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">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 y=
ou change it, then change it back to 1.6? This implies that the setting is =
being saved correctly, but another part of GNOME is failing to honour it at=
 start-up. Fractional scaling is quite a new feature, so maybe some old int=
eger-only settings have been left behind and are clashing. Try running thes=
e commands:<div><br></div><div>gsettings get org.gnome.settings-daemon.plug=
ins.xsettings overrides<br></div><div>gsettings get org.gnome.desktop.inter=
face scaling-factor<br></div><div>gsettings get org.gnome.desktop.interface=
 text-scaling-factor<br></div><div><br></div><div>Based on the Arch wiki pa=
ge for hidpi, I think the first two are obsolete integer settings and the t=
hird is for fractional scaling, so you want the first to show an empty list=
 (&#39;@a{sv} {}&#39;), or at least not contain=C2=A0&#39;Gdk/WindowScaling=
Factor&#39;, and the second to be zero. The last should show 1.6. If the fi=
rst two are not empty/zero, I bet that&#39;s what&#39;s causing the problem=
. You should be able to fix it with:</div><div><br></div><div>gsettings set=
 org.gnome.settings-daemon.plugins.xsettings overrides &quot;[]&quot;<br>gs=
ettings set org.gnome.desktop.interface scaling-factor 0<br></div><div><br>=
</div><div>Monitor drivers never really existed, they were just files that =
contained mode information in the &quot;old days&quot; 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 inste=
ad. I&#39;m quite sure they are of no relevance to your current issue.</div=
></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr"=
>On Fri, 11 Sep 2020 at 16:17, Volker Wysk &lt;<a href=3D"mailto:post@volke=
r-wysk.de" target=3D"_blank">[email protected]</a>&gt; wrote:<br></div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br>
<br>
I have a 4k monitor, which means that all the font sizes must be<br>
adjusted. I&#39;m leaving the font sizes in gnome-tweaks alone, and am<br>
setting a scaling factor of 1.6 instead. This worked fine until about a<br>
week ago.<br>
<br>
But now, after I log in, the configured font sizes don&#39;t seem to be in<=
br>
effect. The fonts of the top bar, and of the icons on the desktop, are<br>
tiny again. <br>
<br>
When I change the scaling factor, in gnome-tweaks, the fonts are back<br>
to the configured size immediately. It&#39;s enough to increase it by 0,01<=
br>
and set it back to 1.6 again.<br>
<br>
But the next time I log in, it&#39;s all back to tiny fonts again.<br>
<br>
Is there any Gnome configuration magic, for how to set it permanently?<br>
<br>
Cheers,<br>
Volker<br>
_______________________________________________<br>
gnome-list mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">gnome-list@gnome.=
org</a><br>
<a href=3D"https://mail.gnome.org/mailman/listinfo/gnome-list" rel=3D"noref=
errer" target=3D"_blank">https://mail.gnome.org/mailman/listinfo/gnome-list=
</a><br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
><div dir=3D"ltr">TH<div><br></div></div></div>

--00000000000091ee1a05af1e2a77--

--===============6242021604679379015==
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

--===============6242021604679379015==--