Ubuntu8.04 configure the video card and resolution after installation

Source: Internet
Author: User
After Ubuntu8.04 is installed, the configuration method is different from 7.10. Than the previous command sudodpkg-reconfigurexserver-xorg. Not now. The resolution can be changed after logon, but it is a personal setting. The resolution when xorg is started is not suitable. I have a 17-inch flat display, and it's hard to see the words on half of the screen. Manually modify/etc/X11/xorg. conf, which does not have any default options, and must be manually added. Then add it. At the beginning, only horizontal and vertical scans were added.

After Ubuntu8.04 is installed, the configuration method is different from 7.10. Compared with the previous command sudo dpkg-reconfigure xserver-xorg. Not now.
The resolution can be changed after logon, but it is a personal setting. The resolution when xorg is started is not suitable. I have a 17-inch flat display, and it's hard to see the words on half of the screen.
Manually modify/etc/X11/xorg. conf, which does not have any default options, and must be manually added. Then add it.
At the beginning, only the horizontal and vertical scan frequencies were added (only this item was manually modified at 710). After the restart, the appropriate driver was not found, so you can manually select or add the driver. Dizzy
Finally, the Controller terminal is overwritten with/etc/X11/xorg. conf of 7.10. Everything is OK.
Leave nothing to say. paste the/etc/X11/xorg. conf of 7.10 to save the trouble of finding it later.

Cat/etc/X11/xorg. conf
# Xorg. conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# Values from the debconf database.
#
# Edit this file with caution, and see the xorg. conf manual page.
# (Type "man xorg. conf" at the shell prompt .)
#
# This file is automatically updated on xserver-xorg package upgrades * only *
# If it has not been modified since the last upgrade of the xserver-xorg
# Package.
#
# If you have edited this file but wowould like it to be automatically updated
# Again, run the following command:
# Sudo dpkg-reconfigure-phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" "dvorak"
Option "XkbOptions" "lv3: ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Intel Corporation 82845G/GL [Brookdale-G]/GE Chipset Integrated Graphics Device"
Driver "intel"
BusID "PCI: 0: 2: 0"
EndSection

Section "Monitor"
Identifier "HKC775XX"
Option "DPMS"
HorizSync 30-75
VertRefresh 60-85
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82845G/GL [Brookdale-G]/GE Chipset Integrated Graphics Device"
Monitor "HKC775XX"
DefaultDepth 24
SubSection "Display"
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection

Related Article

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.