[SOLVED] Re: [gentoo-user] thunderbird small fonts on hidpi

2020-06-25 Thread Valmor de Almeida
On Thu, Jun 25, 2020 at 9:43 AM Andrew Udvare  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



Re: [gentoo-user] thunderbird small fonts on hidpi

2020-06-25 Thread Andrew Udvare
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).



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] thunderbird small fonts on hidpi

2020-06-25 Thread Valmor de Almeida
On Thu, Jun 25, 2020 at 3:42 AM Michael  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



Re: [gentoo-user] thunderbird small fonts on hidpi

2020-06-25 Thread Michael
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/

signature.asc
Description: This is a digitally signed message part.