In Linux, adjust the display screen offset and update rate-Linux general technology-Linux technology and application information. The following is a detailed description. After installing the Linux operating system, some monitors may show an offset on the screen.
You can combine xvidtune and xorg. conf to solve the problem at one time. The steps are as follows:
1. Run on the terminal
# Xvidtune
Then there will be a graphic window for setting the display screen. Click the Auto button, and then click the Left, Right, Up, Down buttons to adjust the position of the screen, adjust to a satisfactory position and update rate.
Click Show. the following line appears on the terminal:
"1024x768" 94.50 1024 1088 1184 1376 768 769 772 + hsync + vsync
2. use vim to open/etc/X11/xorg. conf configuration file (this file will have different file names under different platforms, but it should all be under the/etc/X11/directory. My Debian Linux, X server is xorg, some releases are xfree86 ).
# Vim/etc/X11/xorg. conf // you must have the root permission to modify the configuration file.
Then you can find the following Section: (or the ModeLine line may not exist)
Section "Monitor"
Identifier "PHILIPS 107 T"
Option "DPMS"
Modeline "1024x768" 94.50 1024 1076 1172 1376 768 769 772 + hsync + vsync
EndSection
If there is a ModeLine line, add a # comment out this line at the beginning of this line. Then paste the line value obtained in step 1 into Section "Monitor" and start with ModeLine. Then press the Esc key and press ENTER wq to save the settings.
The following is the final result:
Section "Monitor"
Identifier "PHILIPS 107 T"
Option "DPMS"
# Modeline "1024x768" 94.50 1024 1076 1172 1376 768 769 772 808 + hsync + vsync
However, for newer versions of X.org Releases and Releases later than Releases/7.0, the syntax of xorg. conf is somewhat changed. The result is as follows:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.