From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 470BD1382C5 for ; Thu, 25 Jun 2020 16:52:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4969E08C4; Thu, 25 Jun 2020 16:52:07 +0000 (UTC) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8950EE089A for ; Thu, 25 Jun 2020 16:52:07 +0000 (UTC) Received: by mail-qt1-x82f.google.com with SMTP id i3so5121353qtq.13 for ; Thu, 25 Jun 2020 09:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=M3/50ulQ4hGTW7gy5wkpJ9DwQ5VUxkFKTWSPfEIbI4w=; b=ayHkSHDmfjaKPCt0WfHV6XG7p4tjOPsA67EMkPmilSIi0ofjnC5jx25PsunoYZ6eQ3 TrSnk79Kja0UaiVKZ4Kgpd7tOVjCTLDW/DVw+6s2wh+ZvkNe+DC+hg9AWfuwTovHMwAL zTKFcBwmV6XLyCZBrL2INBfF6OXQW1sLG+3c9G1AIZomtDYnh/QgsU1oe+qNUfLoEMge BJDM2RII6k7FfZNiOs2sOv7y2EoLctdqI0LZ3F94bKoNT26ojEqVuVFnUHlvz5YQqByK TnnqgVW9NEbN1oEIARSWRJD172ie6LWCh1jDLn61o5MmLDEJ+wSaJKAcKTOtr7gijYeS 25+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=M3/50ulQ4hGTW7gy5wkpJ9DwQ5VUxkFKTWSPfEIbI4w=; b=VTNHC1Gyvi3kwYn9CV+Kgvevggemom143ujxORc09Q/LhAc54/H+EPH8SsvDH6Nd1K OXEQnFNOoCTHUhoupWSusy+DZXcOC28fYDMtERe2gERqX1QvA6n8ovUA8AQIyG5qrGzX 7bdVEUclN+mTQTJWP5DWcWj5aVScZ9pTNt0SkmJrXHj6B28CPVRVX3A15hgSjad9gLcY fvbWapj81E89+NHLahNhWtGQWESi8GA0gZDUQsPLqJvx7Jt6Chmyw357AkwagqB23xZC tZR08lQz0+e/Uz6sC/JV0L3VAUG6mjb7e0WX/hgAw9ZH3k2dfKTgOa+U1iwQJcF3ICfC ONWA== X-Gm-Message-State: AOAM531sl1++rblBj1kVPtpAZgQHYrzKG9J3rERItRuuwVUHLqdIetut iQUVlYpvWCh2bmfB/ViyoQ+yN+ssULM= X-Google-Smtp-Source: ABdhPJxlbRFgcVGTAxaBMPb5HYsaTZ+6L8ZYbdS1sBexIyKtXKbLv/ss/01og9shbG4NBeQ2UXuYlQ== X-Received: by 2002:ac8:1c09:: with SMTP id a9mr28457664qtk.64.1593103925806; Thu, 25 Jun 2020 09:52:05 -0700 (PDT) Received: from ?IPv6:2602:47:3469:e602:f869:77d3:ad73:2ec5? ([2602:47:3469:e602:f869:77d3:ad73:2ec5]) by smtp.gmail.com with ESMTPSA id z60sm6602524qtc.30.2020.06.25.09.52.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jun 2020 09:52:04 -0700 (PDT) From: Andrew Udvare Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [SOLVED] [gentoo-user] thunderbird small fonts on hidpi Date: Thu, 25 Jun 2020 12:52:03 -0400 References: To: gentoo-user@lists.gentoo.org In-Reply-To: Message-Id: <3127CC4F-910E-48F0-9E8D-F32DC067C873@gmail.com> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Archives-Salt: d3153d64-ea62-4aea-8f7a-b7761050e643 X-Archives-Hash: 231f87cde9bb2d8600d492fe0c95651f > On 2020-06-25, at 13:40, Valmor de Almeida = wrote: >=20 > On Thu, Jun 25, 2020 at 9:43 AM Andrew Udvare = wrote: >>=20 >> 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 >>>=20 >>=20 >> Do you have an ~/.Xresources file? It can have something like: >>=20 >> Xft.dpi: 144 >>=20 >> Which is also passed to Xorg for me: -dpi 144 (Plasma does this by >> modifying SDDM service file(s) to systemd). >>=20 >=20 > No I don't have it. I thought the line >=20 > xrandr --dpi 192 & > or > xrandr --output eDP-1 --mode "3840x2160" --scale "0.75x0.75" >=20 > in ~/.xinitrc was sufficient to fix Firefox; it doesn't fix TB. >=20 > 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=3DDVI-I-0=3D1.5;DVI-I-1=3D1.5;HDMI-0=3D1.5;DP-0=3D= 1.5;DP-1=3D1.5;DP-2=3D1.5;DP-3=3D1.5;DP-4=3D1.5;DP-5=3D1.5; (These device names are the same as what xrandr shows.) QT_AUTO_SCREEN_SCALE_FACTOR=3D0 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.