You are not logged in.

#1 2014-02-20 15:35:28

RubenKelevra
Member
Registered: 2013-03-01
Posts: 41

Gnome DPI-Problems [Display size wrong]

Hello,

I've got some problems with Gnome... I think the Problem ground on the assumption that the Display is 7" tall, which it's not.

See Post #10:

https://bbs.archlinux.org/viewtopic.php … 7#p1384527


How to I fix the size of the monitor to fix all this problems at once?


Best regards,

Ruben

Last edited by RubenKelevra (2014-02-22 17:33:57)

Offline

#2 2014-02-20 15:50:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Gnome DPI-Problems [Display size wrong]

Please use thumbnails rather than huge screenshots: https://wiki.archlinux.org/index.php/Fo … s_and_Code

Offline

#3 2014-02-20 16:06:44

RubenKelevra
Member
Registered: 2013-03-01
Posts: 41

Re: Gnome DPI-Problems [Display size wrong]

Ah thanks smile

Offline

#4 2014-02-20 18:10:33

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Gnome DPI-Problems [Display size wrong]

Here you can calculate the real DPI/PPI for your screen;
http://www.sven.de/dpi/

An then set it in the file .Xresources like so:

Xft.dpi:	49

I don't think it will solve all fontsizes everywhere though.

Last edited by swanson (2014-02-20 18:12:17)

Offline

#5 2014-02-20 19:29:56

RubenKelevra
Member
Registered: 2013-03-01
Posts: 41

Re: Gnome DPI-Problems [Display size wrong]

Well I tried this before posting here:

https://wiki.archlinux.org/index.php/Xo … ze_and_DPI

Creating a file at /etc/X11/xorg.conf.d/90-monitor.conf with

Section "Monitor"
    Identifier             "<default monitor>"
    DisplaySize             x y   # In millimeters
EndSection

Best regards

Ruben

Offline

#6 2014-02-20 19:40:29

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Gnome DPI-Problems [Display size wrong]

RubenKelevra wrote:

Well I tried this before posting here:

https://wiki.archlinux.org/index.php/Xo … ze_and_DPI

Creating a file at /etc/X11/xorg.conf.d/90-monitor.conf with

Section "Monitor"
    Identifier             "<default monitor>"
    DisplaySize             x y   # In millimeters
EndSection

You have to change the x and y to the actual values you want, and the name of your monitor in the Identifier class...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-02-20 21:24:28

RubenKelevra
Member
Registered: 2013-03-01
Posts: 41

Re: Gnome DPI-Problems [Display size wrong]

Well right, I has actual done this before ...

[ruben@delling ~]$ cat /etc/X11/xorg.conf.d/90-monitor.conf 
Section "Monitor"
    Identifier             "<default monitor>"
    DisplaySize            480 260    # In millimeters
EndSection

But this did not change anything.

Last edited by RubenKelevra (2014-02-20 21:25:12)

Offline

#8 2014-02-20 21:26:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Gnome DPI-Problems [Display size wrong]

And the actual name of your monitor is "<default monitor>"?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2014-02-20 22:25:57

RubenKelevra
Member
Registered: 2013-03-01
Posts: 41

Re: Gnome DPI-Problems [Display size wrong]

I don't know how my default monitor is, I thought that is an variable for the first monitor. Everywhere else on this wikipage is "Monitor0" quoted, there is "<default monitor>"... this is a bit confusing.

Set the Identifier to "Monitor0" does not change anything.

---

This are my Screen specs:

1360 x 768
~21.5"
48cmx26cm
72 dpi x 75 dpi

[ruben@delling ~]$ xdpyinfo | grep -B2 resolution
screen #0:
  dimensions:    1360x768 pixels (479x270 millimeters)
  resolution:    72x72 dots per inch

Last edited by RubenKelevra (2014-02-21 01:42:56)

Offline

#10 2014-02-22 17:26:37

RubenKelevra
Member
Registered: 2013-03-01
Posts: 41

Re: Gnome DPI-Problems [Display size wrong]

I tested the same monitor via VGA ... no problem here, gnome "thinks" now this is an 19" Display and does other sizes for objects.

VGA with scale factor: 1.0 HDMI with scale factor: 1.0
ejxsyk7uelzp.png8xzc8ola54q8.png

VGA with scale factor: 1.0 HDMI with scale factor: 1.0
21yvnlcq8fb1.pngv1o3wpo4x7v3.png
This Bug is fairly new, the small images on the right side does not appear that small, with the version before of mutter.
I reported that:
https://bugzilla.gnome.org/show_bug.cgi?id=724959

VGA with scale factor: 1.0 HDMI with scale factor: 1.0
bxeeuilznxq5.pngk73phey1rfac.png

VGA with scale factor: 1.0 HDMI with scale factor: 1.0
fseqcwn48ug9.png6h159tq9lta.png

VGA with scale factor: 1.0 HDMI with scale factor: 1.0
ngw18vjl7hi.png9pu7oic68olk.png
So the DPI from XServer seems not be the values which gnome uses to determine the screen size.


Booting with VGA switching to HDMI after login fix the problem, but this cant be the right solution wink

I reported it:
https://bugzilla.gnome.org/show_bug.cgi?id=724960

Last edited by RubenKelevra (2014-02-22 17:50:43)

Offline

Board footer

Powered by FluxBB