You are not logged in.

#21 2017-05-30 17:44:46

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: 4k and Openbox

Try this file in /etc/X11/xorg.conf.d/00-dpifix.conf (call it whatever you want, the name is unimportant):

Section "Monitor"
    Identifier "Monitor0"
    Option "DPI" "120 x 120"
EndSection

If that doesn't work, try:

Section "Device"
    Driver "amdgpu"
    Identifier "Device0"
    Option "DPI" "120 x 120"
EndSection

(I am presuming that the amdgpu driver is in use, change the name in the file if this is not the case)

Offline

#22 2017-05-31 06:07:50

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,872

Re: 4k and Openbox

Okay excellent, thank you for that.  I am guessing correctly that Monitor0 should actually be the name of the monitors on my system, in my case DisplayPort-0 and HDMI-A-0?  How should this be implemented to work for dual monitors or will Monitor0 suffice for both?

Last edited by Head_on_a_Stick (2017-05-31 07:14:10)


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#23 2017-05-31 07:13:55

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: 4k and Openbox

Dobbie03 wrote:

I am guessing correctly that Monitor0 should actually be the name of the monitors on my system, in my case DisplayPort-0 and HDMI-A-0?

No, just use what I have posted.

How should this be implemented to work for dual monitors or will Monitor0 suffice for both?

For another monitor I think you would add another stanza with Monitor1 as the Identifier but I've never even had one monitor so I'm not completely sure.

Perhaps just try the Device section first then as that should apply to all monitors.

There is also the option of specifying the monitor size explicitly in the configuration file, that should set the DPI automatically then.

See https://wiki.archlinux.org/index.php/Xo … ze_and_DPI for more on this.

Offline

#24 2017-05-31 08:04:18

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,872

Re: 4k and Openbox

OKay thanks Hoas, I will test.

Thanks for you patience.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

Board footer

Powered by FluxBB