PDA

View Full Version : [ubuntu] configure /etc/X11/xorg.conf



cccc
November 4th, 2009, 02:35 AM
hi

I've installed Ubuntu 9.04 with Gnome on the Desktop DELL Optiplex GX270 with the graphic card Intel(R) 82865G.
Howto configure /etc/X11/xorg.conf?

my /etc/X11/xorg.conf


cat /etc/X11/xorg.conf

# 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 30-80
VertRefresh 50-75

EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Modes " 1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

cccc
November 6th, 2009, 12:16 AM
Howto configure /etc/X11/xorg.conf automatically?

Carlos Lang
November 6th, 2009, 12:57 AM
try

$ sudo Xorg :1 -configurewhich produces a xorg.conf.new file.

Then move that file to /etc/X11/xorg.conf.

re: from Xorg man page:
-configure
When this option is specified, the Xorg server loads all video
driver modules, probes for available hardware, and writes out
an initial xorg.conf(5) file based on what was detected. This
option currently has some problems on some platforms, but in
most cases it is a good way to bootstrap the configuration
process. This option is only available when the server is run
as root (i.e, with real-uid 0).
best of luck.