Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: High resolution on a 13 inch screen
Date: Mon, 04 Sep 2017 20:53:19
Message-Id: ookee1$ui7$1@blaine.gmane.org
In Reply to: Re: [gentoo-user] Re: High resolution on a 13 inch screen by Grant
1 On 04/09/17 23:26, Grant wrote:
2 >>> Is there a way to digitally discover the true height and width of your
3 >>> screen in mm?
4 >>
5 >> Yes. xdpyinfo shows the information:
6 >>
7 >> xdpyinfo | grep -B2 resolution
8 >>
9 >> If the information is wrong, that usually means one of two things (sometimes
10 >> even both): a) the video driver is reporting the wrong size to Xorg, and/or
11 >> b) the screen is reporting the wrong size to the driver.
12 >
13 > I'm getting strange results from xdpyinfo. I always get 96x96 DPI and
14 > the screen size changes along with the resolution. When I run 'xrandr
15 > --dpi 200x200' and check xdpyinfo, it reports correctly. But if I log
16 > out and back in to xfce4 without doing anything else, it gives me
17 > 96x96 again.
18
19 XFCE is probably forcing 96DPI by default. This is usually done by
20 desktop environments that don't support DPI scaling very well. I just
21 found this (sort of flame-war-ish) thread:
22
23 https://forum.xfce.org/viewtopic.php?id=7734
24
25 and indeed XFCE doesn't seem to have very good support for this. Maybe
26 you can find some of the settings listed there useful though.
27
28 Other than that, if you want working DPI scaling, you'll have much
29 better luck with KDE 5 / Plasma.

Replies

Subject Author
Re: [gentoo-user] Re: High resolution on a 13 inch screen Grant <emailgrant@×××××.com>