You are not logged in.

#1 2017-03-06 12:18:28

Scriptor
Member
Registered: 2011-01-16
Posts: 144

[SOLVED] GNOME - Xresources dpi and dimensions ignored

Hello,

I am having troubles with setting the correct dpi. I am using the intel driver (with vulkan-intel). The driver xf86-video-intel isn't installed. With xdpyinfo | grep -B2 resolution I get:

screen #0:
  dimensions:    2560x1440 pixels (677x381 millimeters)
  resolution:    96x96 dots per inch

Here is my /etc/X11/xorg.conf.d/10-monitor.conf

Section "Monitor"
    Identifier             "Screen0"
    DisplaySize         569 338
    Option                 "DPI" "117 x 117"

Here is my /etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
	Identifier "Intel Graphics"
	Driver "modesetting"
EndSection

I am using gnome and gdm with wayland

Hardware:

Intel 4770k
Monitor Dell U2515H

Thank you very much in advance

Last edited by Scriptor (2017-03-06 17:01:27)

Offline

#2 2017-03-06 15:29:50

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: [SOLVED] GNOME - Xresources dpi and dimensions ignored

I am using gnome and gdm with wayland

...
Whatever you put into /etc/X11/* is irrelevant and xdpyinfo will run on a (in doubt "short term") "emulation" - xwayland.
Smells like an xy problem: do you actually want to impat the resolution of ("only") X11 clients or are you unhappy with the resolution of gnome/applications in general?
In case of the latter you'll have to use the gnome settings (control center) here.

Offline

#3 2017-03-06 16:01:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: [SOLVED] GNOME - Xresources dpi and dimensions ignored

How do you expect your X resources to be honored while you are using GNOME on Wayland? On Wayland the compositor (in this case GNOME) are what define these properties and there should be either a GNOME settings module or some hidden gsetting somewhere

Edit: I really should refresh/hit preview or similar before posting roll

Last edited by V1del (2017-03-06 16:02:50)

Offline

#4 2017-03-06 16:25:21

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: [SOLVED] GNOME - Xresources dpi and dimensions ignored

Thank you for your answers. Indeed you are right. I noticed that you could set the dpi scale in wayland. But since my dpi is of 117, in the weston.ini file, I assume I should use "1" and not "2" as a scale ? since only integers seem to be accepted.

Thank you very much in advance.

Last edited by Scriptor (2017-03-06 16:30:27)

Offline

#5 2017-03-06 16:46:10

corner578
Member
Registered: 2012-06-16
Posts: 11

Re: [SOLVED] GNOME - Xresources dpi and dimensions ignored

Offline

#6 2017-03-06 17:01:04

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: [SOLVED] GNOME - Xresources dpi and dimensions ignored

Thank you very much smile

Offline

Board footer

Powered by FluxBB