public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Valmor de Almeida <val.gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [SOLVED] [gentoo-user] thunderbird small fonts on hidpi
Date: Thu, 25 Jun 2020 15:10:45 -0500	[thread overview]
Message-ID: <CAMpmEiGyHsiHBDJsauMA9Pvenc2WmOpxkziZS-kZP5RF5OHxFA@mail.gmail.com> (raw)
In-Reply-To: <3127CC4F-910E-48F0-9E8D-F32DC067C873@gmail.com>

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


      reply	other threads:[~2020-06-25 19:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMpmEiGyHsiHBDJsauMA9Pvenc2WmOpxkziZS-kZP5RF5OHxFA@mail.gmail.com \
    --to=val.gentoo@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox