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
m (added languages and translate tags)
(Marked this version for translation)
Line 2: Line 2:
__TOC__
__TOC__
<translate>
<translate>
= A Quick Test to Validate these X.server Settings:=  
= A Quick Test to Validate these X.server Settings:= <!--T:1-->


<!--T:2-->
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.  
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:==
==The Test:== <!--T:3-->


<!--T:4-->
Enter the following command in the Terminal:
Enter the following command in the Terminal:




  xdpyinfo | grep -B2 resolution
  <!--T:5-->
xdpyinfo | grep -B2 resolution




<!--T:6-->
These are the results from my machine; fortunately they are correct:
These are the results from my machine; fortunately they are correct:




  [handy@jarmano ~]$ xdpyinfo | grep -B2 resolution
  <!--T:7-->
[handy@jarmano ~]$ xdpyinfo | grep -B2 resolution
  screen #0:
  screen #0:
  dimensions:    1920x1200 pixels (524x321 millimeters)
  dimensions:    1920x1200 pixels (524x321 millimeters)
Line 24: Line 29:




<!--T:8-->
'''Note:''' If you are running more than one monitor, this test will most likely provide results that are created by combining the monitors that you have connected to your machine & treating them as though they are one monitor!  
'''Note:''' If you are running more than one monitor, this test will most likely provide results that are created by combining the monitors that you have connected to your machine & treating them as though they are one monitor!  


<!--T:9-->
So you may need to do some arithmetic, OR, of course you could just connect one monitor at a time for the test. ;)
So you may need to do some arithmetic, OR, of course you could just connect one monitor at a time for the test. ;)


<!--T:10-->
<br clear="all"/>
<br clear="all"/>


==What if the X.server got it wrong?==
==What if the X.server got it wrong?== <!--T:11-->


<!--T:12-->
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:  
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  
  <!--T:13-->
/etc/X11/xorg.conf.d/90-monitor.conf  


<!--T:14-->
to which you must add the pertinent details ''(see below)''.
to which you must add the pertinent details ''(see below)''.




==Getting Your Monitor's Specifications:==
==Getting Your Monitor's Specifications:== <!--T:15-->


<!--T:16-->
Probably the easiest way to get the required details is from the technical specifications supplied in the monitor's manual.  
Probably the easiest way to get the required details is from the technical specifications supplied in the monitor's manual.  


<!--T:17-->
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.  
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.  


<!--T:18-->
There are also other sites out there that carry such information.
There are also other sites out there that carry such information.




==What do I do with the Specifications:==
==What do I do with the Specifications:== <!--T:19-->


<!--T:20-->
Enter the following into the Terminal to call your favourite text editor as root & create an initially empty file with the right path & name:
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
  <!--T:21-->
sudo <text.editor.name> /etc/X11/xorg.conf.d/90-monitor.conf


<!--T:22-->
Then copy the following into your editor's blank page:
Then copy the following into your editor's blank page:




<!--T:23-->
'''/etc/X11/xorg.conf.d/90-monitor.conf'''
'''/etc/X11/xorg.conf.d/90-monitor.conf'''


  Section "Monitor"
  <!--T:24-->
Section "Monitor"
     Identifier            "Monitor0"
     Identifier            "Monitor0"
     DisplaySize            286 179    # In millimeters
     DisplaySize            286 179    # In millimeters
Line 65: Line 84:




<!--T:25-->
You '''MUST''' replace the '''DisplaySize''' numbers with the ones for your monitor.  
You '''MUST''' replace the '''DisplaySize''' numbers with the ones for your monitor.  


<!--T:26-->
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.
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.


<!--T:27-->
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.
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?==
==What if I can't find the Manufacturer's Specifations?== <!--T:28-->


<!--T:29-->
You can measure your monitor & input the numbers that way, though your measurements will most likely be different than manufacturer's.
You can measure your monitor & input the numbers that way, though your measurements will most likely be different than manufacturer's.


<!--T:30-->
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]
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]




=Support=
=Support= <!--T:31-->


<!--T:32-->
Following is a link to this page's forum counterpart where you can post any related feedback: [https://forum.manjaro.org/t/wiki-did-x-server-recognise-your-monitor-correctly/17653]
Following is a link to this page's forum counterpart where you can post any related feedback: [https://forum.manjaro.org/t/wiki-did-x-server-recognise-your-monitor-correctly/17653]
</translate>
</translate>


[[Category:Contents Page{{#translation:}}]]
[[Category:Contents Page{{#translation:}}]]

Revision as of 16:34, 7 September 2021

Other languages:
English • ‎Türkçe • ‎русский

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


Note: If you are running more than one monitor, this test will most likely provide results that are created by combining the monitors that you have connected to your machine & treating them as though they are one monitor!

So you may need to do some arithmetic, OR, of course you could just connect one monitor at a time for the test. ;)


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: [1]


Support

Following is a link to this page's forum counterpart where you can post any related feedback: [2]

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