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

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

From Manjaro
(Created page with "==Получение технических характеристик вашего монитора:==")
(Updating to match new version of source page)
Line 11: Line 11:




  xdpyinfo | grep -B2 resolution
  <div class="mw-translate-fuzzy">
xdpyinfo | grep -B2 resolution
</div>




Line 17: Line 19:




  [handy@jarmano ~]$ xdpyinfo | grep -B2 resolution
  <div class="mw-translate-fuzzy">
[handy@jarmano ~]$ xdpyinfo | grep -B2 resolution
  screen #0:
  screen #0:
  dimensions:    1920x1200 pixels (524x321 millimeters)
  dimensions:    1920x1200 pixels (524x321 millimeters)
  resolution:    93x95 dots per inch
  resolution:    93x95 dots per inch
 
</div>


{{BoxInfo|Примечание|Если вы используете более одного монитора - этот тест, скорее всего, предоставит результаты, созданные путем объединения мониторов, подключенных к вашему компьютеру, и рассматривая их как один монитор!}}  
{{BoxInfo|Примечание|Если вы используете более одного монитора - этот тест, скорее всего, предоставит результаты, созданные путем объединения мониторов, подключенных к вашему компьютеру, и рассматривая их как один монитор!}}  
Line 33: Line 36:
Если X.server не может определить размер вашего экрана - он установит DPI по умолчанию 75 x 75. В этом случае вам нужно будет вручную создать файл следующего вида:  
Если X.server не может определить размер вашего экрана - он установит DPI по умолчанию 75 x 75. В этом случае вам нужно будет вручную создать файл следующего вида:  


  /etc/X11/xorg.conf.d/90-monitor.conf  
  <div class="mw-translate-fuzzy">
/etc/X11/xorg.conf.d/90-monitor.conf
</div>


к которому вы должны добавить соответствующие детали ''(см. ниже)''.
к которому вы должны добавить соответствующие детали ''(см. ниже)''.
Line 40: Line 45:
==Получение технических характеристик вашего монитора:==
==Получение технических характеристик вашего монитора:==


Probably the easiest way to get the required details is from the technical specifications supplied in the monitor's manual.  
<div lang="en" dir="ltr" class="mw-content-ltr">
Probably the easiest way to get the required details is from the technical specifications supplied in the monitor's manual.
</div>


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.  
<div lang="en" dir="ltr" class="mw-content-ltr">
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.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
There are also other sites out there that carry such information.
There are also other sites out there that carry such information.
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
==What do I do with the Specifications:==
==What do I do with the Specifications:==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
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:
</div>


  sudo <text.editor.name> /etc/X11/xorg.conf.d/90-monitor.conf
  <div lang="en" dir="ltr" class="mw-content-ltr">
{{UserCmd|command=sudo <text.editor.name> /etc/X11/xorg.conf.d/90-monitor.conf}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Then copy the following into your editor's blank page:
Then copy the following into your editor's blank page:
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
'''/etc/X11/xorg.conf.d/90-monitor.conf'''
'''/etc/X11/xorg.conf.d/90-monitor.conf'''
</div>


  Section "Monitor"
  <div lang="en" dir="ltr" class="mw-content-ltr">
Section "Monitor"
     Identifier            "Monitor0"
     Identifier            "Monitor0"
     DisplaySize            286 179    # In millimeters
     DisplaySize            286 179    # In millimeters
  EndSection
  EndSection
</div>




You '''MUST''' replace the '''DisplaySize''' numbers with the ones for your monitor.  
<div lang="en" dir="ltr" class="mw-content-ltr">
You '''MUST''' replace the '''DisplaySize''' numbers with the ones for your monitor.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
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.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
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.
</div>




<div lang="en" dir="ltr" class="mw-content-ltr">
==What if I can't find the Manufacturer's Specifations?==
==What if I can't find the Manufacturer's Specifations?==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
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.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
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]
</div>


=Поддержка=
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]


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

Revision as of 05:25, 13 February 2023

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

Быстрый тест для проверки этих настроек X.server:

Конечно, стоит проверить, правильно ли X.server распознал ваш монитор. Если X.server не может распознать монитор или распознает его неправильно - отображение не будет оптимальным.


Тест:

Введите следующую команду в Терминал:


xdpyinfo | grep -B2 resolution


Вот результаты, полученные на моей машине; к счастью, они верны:


[handy@jarmano ~]$ xdpyinfo | grep -B2 resolution

screen #0:
dimensions:    1920x1200 pixels (524x321 millimeters)
resolution:    93x95 dots per inch


Примечание
Если вы используете более одного монитора - этот тест, скорее всего, предоставит результаты, созданные путем объединения мониторов, подключенных к вашему компьютеру, и рассматривая их как один монитор!

Поэтому вам может понадобиться выполнить некоторые арифметические действия, ИЛИ, конечно, вы можете просто подключать один монитор за раз для теста. ;)


== Что, если X.server ошибся?

Если X.server не может определить размер вашего экрана - он установит DPI по умолчанию 75 x 75. В этом случае вам нужно будет вручную создать файл следующего вида:

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

к которому вы должны добавить соответствующие детали (см. ниже).


Получение технических характеристик вашего монитора:

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:

user $ sudo <text.editor.name> /etc/X11/xorg.conf.d/90-monitor.conf <span class="mw-ui-button copy-to-clipboard-button" style="float: right; cursor: pointer; border-radius:5px; margin-top:5px" role="button" data-clipboard-text=" sudo <text.editor.name> /etc/X11/xorg.conf.d/90-monitor.conf " aria-disabled="false">COPY TO CLIPBOARD

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]

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