Tips for adjusting the position of the screen in X-Window

Source: Internet
Author: User
Tips for adjusting the screen display position in X-Window-Linux general technology-Linux technology and application information. The following is a detailed description. When you start X-Window, you will often find that the screen is not displayed in the center of the monitor, always slightly biased. Although we can adjust the position of the screen by adjusting the button on the monitor, X provides a program named xvidtune to adjust the position of the screen. The following uses Fedora Core as an example to explain how to use this program to adjust the display position.

First open a console and use the su command to switch to the root user.
$ Su-
Password:
#

Then run the xvidtune program on the console.
# Xvidtune

When the program is started, a warning dialog box is displayed, which means that abnormal parameter adjustment may damage the cloudmonitor. Ignore this and click OK.
Click the Left, Right, Wider, Narrower, Up, Down, Shorter, and Taller buttons on the interface. You can see that the parameters of the monitor change accordingly, click the Apply button to view the display position of the current parameter. After adjustment, click the Show button to display the currently used display parameters in the console.

"1280x1024" 108.00 1280 1348 1460 1688 1024 1025 1028 1066 + hsync + vsync

Then close the xvidtune program and open the configuration file of X.

# Vi/etc/X11/xorg. conf
Find the Monitor section and use the ModeLine command to write the result displayed in xvidtune to this section:

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1280x1024"
HorizSync 31.5-67.0
VertRefresh 50.0-75.0
Option "dpms"
ModeLine "1280x1024" 108.00 1280 1348 1460 1688 1024 1025 1028 1066 + hsync + vsync
EndSection

Then press Ctrl + Alt + BackSpace to restart X, and you can see that the display position is normal.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.