mirror of
https://github.com/mayfrost/guides.git
synced 2024-11-28 02:11:46 +00:00
Update X.md
This commit is contained in:
parent
bdb2ce8f23
commit
da882beace
9
X.md
9
X.md
@ -42,6 +42,9 @@ __OPTION 2__
|
|||||||
Or you can create specific configuration files under the _"/etc/X11/xorg.conf.d/"_ directory for particular cases.
|
Or you can create specific configuration files under the _"/etc/X11/xorg.conf.d/"_ directory for particular cases.
|
||||||
|
|
||||||
### SCREEN RESOLUTION
|
### SCREEN RESOLUTION
|
||||||
|
To make changes you generally need to know supported resolutions.
|
||||||
|
* List supported resolutions
|
||||||
|
`xrandr`
|
||||||
* Generate a modeline
|
* Generate a modeline
|
||||||
`cvt <WIDTH> <HEIGHT> <REFRESH_RATE>`
|
`cvt <WIDTH> <HEIGHT> <REFRESH_RATE>`
|
||||||
* Use that ouput to add changes on the configuration file _"/etc/X11/xorg.conf"_
|
* Use that ouput to add changes on the configuration file _"/etc/X11/xorg.conf"_
|
||||||
@ -53,15 +56,15 @@ EndSection
|
|||||||
|
|
||||||
Section "Monitor"
|
Section "Monitor"
|
||||||
Identifier "<MONITOR_NAME>"
|
Identifier "<MONITOR_NAME>"
|
||||||
Modeline "<CVT_OUTPUT>
|
Modeline "<CVT_OUTPUT>
|
||||||
Option "PreferredMode" "<RESOLUTION_YOU_WANT>"
|
Option "PreferredMode" "<RESOLUTION_YOU_WANT>"
|
||||||
Option "Enable" "True"
|
Option "Enable" "True"
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
Section "Screen"
|
Section "Screen"
|
||||||
Identifier "<DEFAULT_SCREEN>"
|
Identifier "<DEFAULT_SCREEN>"
|
||||||
Monitor "<MONITOR_NAME>"
|
Monitor "<MONITOR_NAME>"
|
||||||
Device "<DEVICE_NAME>"
|
Device "<DEVICE_NAME>"
|
||||||
SubSection "Display"
|
SubSection "Display"
|
||||||
Modes "<RESOLUTION_YOU_WANT>"
|
Modes "<RESOLUTION_YOU_WANT>"
|
||||||
EndSubSection
|
EndSubSection
|
||||||
|
Loading…
Reference in New Issue
Block a user