Manjaro Difference between revisions of "Did X.server recognise your monitor correctly?"

Difference between revisions of "Did X.server recognise your monitor correctly?"

From Manjaro
imported>Handy
(Created page with "= A Quick Test to Validate these X.server Settings:= It is certainly worthwhile checking that the X.server has recognised your monitor correctly. If the X.server can't recog...")
(No difference)

Revision as of 02:06, 31 December 2012

A Quick Test to Validate these X.server Settings:

It is certainly worthwhile checking that the X.server has recognised your monitor correctly. If the X.server can't recognise your monitor or incorrectly recognises your monitor your display will not be optimal.


The Test:

Enter the following command in the Terminal:


xdpyinfo | grep -B2 resolution


These are the results from my machine; fortunately they are correct:


[handy@jarmano ~]$ xdpyinfo | grep -B2 resolution
screen #0:
dimensions:    1920x1200 pixels (524x321 millimeters)
resolution:    93x95 dots per inch


What if the X.server got it wrong?

If the X.server can't work out what your screen size is it will set your DPI at the default of 75 x 75. If so, you will need to manually create a file like so:

/etc/X11/xorg.conf.d/90-monitor.conf 

to which you must add the pertinent details (see below).


Getting Your Monitor's Specifications:

Probably the easiest way to get the required details is from the technical specifications supplied in the monitor's manual.

If you don't have the manual, you can search for the specifications of your monitor online; most maker's have a section on their sites for archived manuals.

There are also other sites out there that carry such information.


What do I do with the Specifications:

Enter the following into the Terminal to call your favourite text editor as root & create an initially empty file with the right path & name:

sudo <text.editor.name> /etc/X11/xorg.conf.d/90-monitor.conf

Then copy the following into your editor's blank page:


/etc/X11/xorg.conf.d/90-monitor.conf

Section "Monitor"
    Identifier             "Monitor0"
    DisplaySize             286 179    # In millimeters
EndSection


You MUST replace the DisplaySize numbers with the ones for your monitor.

After you have done that, save the file & reboot. The next time X starts the X.server will have calculated your DPI values from the numbers that you put in the DisplaySize line above.

To test that the X.server has done what it has supposed to do & also that there were no typo's, run the test from the start of this wiki again.


What if I can't find the Manufacturer's Specifations?

You can measure your monitor & input the numbers that way, though your measurements will most likely be different than manufacturer's.

If you can't find the manufacturer's specifications on the web, have a look at this page as you still have options available to you:

https://wiki.archlinux.org/index.php/Xorg#Display_Size_and_DPI

Cookies help us deliver our services. By using our services, you agree to our use of cookies.