* Re: [gentoo-user] thunderbird small fonts on hidpi
2020-06-25 8:59 [gentoo-user] thunderbird small fonts on hidpi Valmor de Almeida
@ 2020-06-25 8:40 ` Michael
2020-06-25 15:19 ` Valmor de Almeida
2020-06-25 14:42 ` Andrew Udvare
1 sibling, 1 reply; 7+ messages in thread
From: Michael @ 2020-06-25 8:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 831 bytes --]
On Thursday, 25 June 2020 09:59:46 BST Valmor de Almeida wrote:
> Hello,
> Does anyone know how to fix Thunderbird UI fonts on a HiDPI
> Gentoo/OpenBox system with no desktop?
> A similar problem exists with Firefox but it can be fixed using a CSS
> file (userChrome.css). However I can't get Thunderbird to work using a
> similar fix. The UI fonts are so small that the app is useless.
> Thanks,
> --
> Valmor
Hi Valmor, I'd think TB also uses CSS to modify the look of the GUI - but I
don't have it installed on this PC to check its file structure. This post
suggests so:
https://support.mozilla.org/en-US/questions/1269224#answer-1282444
I also found this Addon which claims to do just what you're after, but I have
not tried it out:
https://addons.thunderbird.net/en-US/thunderbird/addon/theme-font-size-changer-for-tb/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] thunderbird small fonts on hidpi
@ 2020-06-25 8:59 Valmor de Almeida
2020-06-25 8:40 ` Michael
2020-06-25 14:42 ` Andrew Udvare
0 siblings, 2 replies; 7+ messages in thread
From: Valmor de Almeida @ 2020-06-25 8:59 UTC (permalink / raw
To: gentoo-user
Hello,
Does anyone know how to fix Thunderbird UI fonts on a HiDPI
Gentoo/OpenBox system with no desktop?
A similar problem exists with Firefox but it can be fixed using a CSS
file (userChrome.css). However I can't get Thunderbird to work using a
similar fix. The UI fonts are so small that the app is useless.
Thanks,
--
Valmor
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] thunderbird small fonts on hidpi
2020-06-25 8:59 [gentoo-user] thunderbird small fonts on hidpi Valmor de Almeida
2020-06-25 8:40 ` Michael
@ 2020-06-25 14:42 ` Andrew Udvare
2020-06-25 17:40 ` [SOLVED] " Valmor de Almeida
1 sibling, 1 reply; 7+ messages in thread
From: Andrew Udvare @ 2020-06-25 14:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 606 bytes --]
On 25/06/2020 04:59, Valmor de Almeida wrote:
> Hello,
> Does anyone know how to fix Thunderbird UI fonts on a HiDPI
> Gentoo/OpenBox system with no desktop?
> A similar problem exists with Firefox but it can be fixed using a CSS
> file (userChrome.css). However I can't get Thunderbird to work using a
> similar fix. The UI fonts are so small that the app is useless.
> Thanks,
> --
> Valmor
>
Do you have an ~/.Xresources file? It can have something like:
Xft.dpi: 144
Which is also passed to Xorg for me: -dpi 144 (Plasma does this by
modifying SDDM service file(s) to systemd).
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] thunderbird small fonts on hidpi
2020-06-25 8:40 ` Michael
@ 2020-06-25 15:19 ` Valmor de Almeida
0 siblings, 0 replies; 7+ messages in thread
From: Valmor de Almeida @ 2020-06-25 15:19 UTC (permalink / raw
To: gentoo-user
On Thu, Jun 25, 2020 at 3:42 AM Michael <confabulate@kintzios.com> wrote:
>
> On Thursday, 25 June 2020 09:59:46 BST Valmor de Almeida wrote:
> > Hello,
> > Does anyone know how to fix Thunderbird UI fonts on a HiDPI
> > Gentoo/OpenBox system with no desktop?
> > A similar problem exists with Firefox but it can be fixed using a CSS
> > file (userChrome.css). However I can't get Thunderbird to work using a
> > similar fix. The UI fonts are so small that the app is useless.
> > Thanks,
> > --
> > Valmor
>
> Hi Valmor, I'd think TB also uses CSS to modify the look of the GUI - but I
> don't have it installed on this PC to check its file structure. This post
> suggests so:
>
> https://support.mozilla.org/en-US/questions/1269224#answer-1282444
>
> I also found this Addon which claims to do just what you're after, but I have
> not tried it out:
>
> https://addons.thunderbird.net/en-US/thunderbird/addon/theme-font-size-changer-for-tb/
Thanks Michael.
The CSS info is more detailed than what I had. Initially it did not
help but I noticed the cyan color appeared on the menu bar. Hence I
increased font sizes to 25 and 30 and it made a difference.
However various places still have the small fonts; e.g. dialog windows
for say, configuring an email account, etc. This will require some
fine tuning...
Later,
--
Valmor
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [SOLVED] [gentoo-user] thunderbird small fonts on hidpi
2020-06-25 17:40 ` [SOLVED] " Valmor de Almeida
@ 2020-06-25 16:52 ` Andrew Udvare
2020-06-25 20:10 ` Valmor de Almeida
0 siblings, 1 reply; 7+ messages in thread
From: Andrew Udvare @ 2020-06-25 16:52 UTC (permalink / raw
To: gentoo-user
> On 2020-06-25, at 13:40, Valmor de Almeida <val.gentoo@gmail.com> wrote:
>
> On Thu, Jun 25, 2020 at 9:43 AM Andrew Udvare <audvare@gmail.com> wrote:
>>
>> On 25/06/2020 04:59, Valmor de Almeida wrote:
>>> Hello,
>>> Does anyone know how to fix Thunderbird UI fonts on a HiDPI
>>> Gentoo/OpenBox system with no desktop?
>>> A similar problem exists with Firefox but it can be fixed using a CSS
>>> file (userChrome.css). However I can't get Thunderbird to work using a
>>> similar fix. The UI fonts are so small that the app is useless.
>>> Thanks,
>>> --
>>> Valmor
>>>
>>
>> Do you have an ~/.Xresources file? It can have something like:
>>
>> Xft.dpi: 144
>>
>> Which is also passed to Xorg for me: -dpi 144 (Plasma does this by
>> modifying SDDM service file(s) to systemd).
>>
>
> No I don't have it. I thought the line
>
> xrandr --dpi 192 &
> or
> xrandr --output eDP-1 --mode "3840x2160" --scale "0.75x0.75"
>
> in ~/.xinitrc was sufficient to fix Firefox; it doesn't fix TB.
>
> I just added
> Xft.dpi: 192
> to ~/.Xresources and not only TB works but LibreOffice works too.
> Of course all of this defies the purpose of having an HiDPI laptop but
> it is either that or no use at all.
For Qt apps you might want these environment variables in .xinitrc:
QT_SCREEN_SCALE_FACTORS=DVI-I-0=1.5;DVI-I-1=1.5;HDMI-0=1.5;DP-0=1.5;DP-1=1.5;DP-2=1.5;DP-3=1.5;DP-4=1.5;DP-5=1.5;
(These device names are the same as what xrandr shows.)
QT_AUTO_SCREEN_SCALE_FACTOR=0
Currently I have an issue where opening Qt apps from certain contexts results in resetting the DPI scale to 2 instead of 1.5. Primarily this happens when Chrome launches a Qt-based viewer such as Kate, and sometimes it happens from Konsole. Have yet to file bugs.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [SOLVED] Re: [gentoo-user] thunderbird small fonts on hidpi
2020-06-25 14:42 ` Andrew Udvare
@ 2020-06-25 17:40 ` Valmor de Almeida
2020-06-25 16:52 ` [SOLVED] " Andrew Udvare
0 siblings, 1 reply; 7+ messages in thread
From: Valmor de Almeida @ 2020-06-25 17:40 UTC (permalink / raw
To: gentoo-user
On Thu, Jun 25, 2020 at 9:43 AM Andrew Udvare <audvare@gmail.com> wrote:
>
> On 25/06/2020 04:59, Valmor de Almeida wrote:
> > Hello,
> > Does anyone know how to fix Thunderbird UI fonts on a HiDPI
> > Gentoo/OpenBox system with no desktop?
> > A similar problem exists with Firefox but it can be fixed using a CSS
> > file (userChrome.css). However I can't get Thunderbird to work using a
> > similar fix. The UI fonts are so small that the app is useless.
> > Thanks,
> > --
> > Valmor
> >
>
> Do you have an ~/.Xresources file? It can have something like:
>
> Xft.dpi: 144
>
> Which is also passed to Xorg for me: -dpi 144 (Plasma does this by
> modifying SDDM service file(s) to systemd).
>
No I don't have it. I thought the line
xrandr --dpi 192 &
or
xrandr --output eDP-1 --mode "3840x2160" --scale "0.75x0.75"
in ~/.xinitrc was sufficient to fix Firefox; it doesn't fix TB.
I just added
Xft.dpi: 192
to ~/.Xresources and not only TB works but LibreOffice works too.
Of course all of this defies the purpose of having an HiDPI laptop but
it is either that or no use at all.
Thank you Andrew.
--
Valmor
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [SOLVED] [gentoo-user] thunderbird small fonts on hidpi
2020-06-25 16:52 ` [SOLVED] " Andrew Udvare
@ 2020-06-25 20:10 ` Valmor de Almeida
0 siblings, 0 replies; 7+ messages in thread
From: Valmor de Almeida @ 2020-06-25 20:10 UTC (permalink / raw
To: gentoo-user
On Thu, Jun 25, 2020 at 11:52 AM Andrew Udvare <audvare@gmail.com> wrote:
>
>
> > On 2020-06-25, at 13:40, Valmor de Almeida <val.gentoo@gmail.com> wrote:
> >
> > On Thu, Jun 25, 2020 at 9:43 AM Andrew Udvare <audvare@gmail.com> wrote:
> >>
> >> On 25/06/2020 04:59, Valmor de Almeida wrote:
> >>> Hello,
> >>> Does anyone know how to fix Thunderbird UI fonts on a HiDPI
> >>> Gentoo/OpenBox system with no desktop?
> >>> A similar problem exists with Firefox but it can be fixed using a CSS
> >>> file (userChrome.css). However I can't get Thunderbird to work using a
> >>> similar fix. The UI fonts are so small that the app is useless.
> >>> Thanks,
> >>> --
> >>> Valmor
> >>>
> >>
> >> Do you have an ~/.Xresources file? It can have something like:
> >>
> >> Xft.dpi: 144
> >>
> >> Which is also passed to Xorg for me: -dpi 144 (Plasma does this by
> >> modifying SDDM service file(s) to systemd).
> >>
> >
> > No I don't have it. I thought the line
> >
> > xrandr --dpi 192 &
> > or
> > xrandr --output eDP-1 --mode "3840x2160" --scale "0.75x0.75"
> >
> > in ~/.xinitrc was sufficient to fix Firefox; it doesn't fix TB.
> >
> > I just added
> > Xft.dpi: 192
> > to ~/.Xresources and not only TB works but LibreOffice works too.
> > Of course all of this defies the purpose of having an HiDPI laptop but
> > it is either that or no use at all.
>
> For Qt apps you might want these environment variables in .xinitrc:
>
> QT_SCREEN_SCALE_FACTORS=DVI-I-0=1.5;DVI-I-1=1.5;HDMI-0=1.5;DP-0=1.5;DP-1=1.5;DP-2=1.5;DP-3=1.5;DP-4=1.5;DP-5=1.5;
>
> (These device names are the same as what xrandr shows.)
>
> QT_AUTO_SCREEN_SCALE_FACTOR=0
>
> Currently I have an issue where opening Qt apps from certain contexts results in resetting the DPI scale to 2 instead of 1.5. Primarily this happens when Chrome launches a Qt-based viewer such as Kate, and sometimes it happens from Konsole. Have yet to file bugs.
>
>
Thank you. Got those in too. Helpful when I start looking at other X apps.
--
Valmor
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-06-25 19:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-25 8:59 [gentoo-user] thunderbird small fonts on hidpi Valmor de Almeida
2020-06-25 8:40 ` Michael
2020-06-25 15:19 ` Valmor de Almeida
2020-06-25 14:42 ` Andrew Udvare
2020-06-25 17:40 ` [SOLVED] " Valmor de Almeida
2020-06-25 16:52 ` [SOLVED] " Andrew Udvare
2020-06-25 20:10 ` Valmor de Almeida
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox