PDA

View Full Version : [ubuntu] Why is Ubuntu's default xorg.conf so funky?



amn108
September 5th, 2008, 07:41 PM
So, everywhere on Internet are comprehensive tutorials on setting up the xorg.conf file, which as far as I understand mandates the video, mouse and keyboard drivers in use by the system. So why does my xorg.conf (which I did not touch, appears to be the default version) looks so sparse:

(Intel X3100 video on IBM/Lenovo Thinkpad T61 laptop)



# xorg.conf (X.Org 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 would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

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

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "SHMConfig" "on"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
EndSection


Looking at my file, where does one deduce the video options? Not does it show the driver name, nor any option at all. So, where do the settings come from if not from xorg.conf? Does Ubuntu do away with this type of configuration altogether in favour for some other, perhaps more modern one?

Therion
September 5th, 2008, 07:58 PM
I'm not sure what you were expecting to see, but the xorg.conf file is really just a... how do I put this... It's really just a bootstrap file that initializes "X"; the real "grunt work" is done by the specific hardware driver.

xorg.conf's Modules and DRI sections refer to modules loaded by the X server for such purposes as 3-D acceleration and font support. These, in turn, are dependent on resources compiled in the kernel and are supplied by various libraries added during installation process.

Does that help at all?

maybeway36
September 5th, 2008, 08:06 PM
It used to be that you had to specify all your graphics hardware in xorg.conf. It's still possible (and sometimes necessary), but usually Xorg can autodetect everything now, hence the sparse xorg.conf in Ubuntu 8.04.

mahuyar
September 5th, 2008, 10:33 PM
A little OT: They got rid of the use of xorg.conf in the X Server 1.5, which was just recently released.

amn108
September 6th, 2008, 11:41 AM
Thanks guys. Now I get it. So xorg.conf is gradually losing its importance, I assume?

Therion, it did help, but not much :-) I know what xorg.conf CAN do, but I asked why mine did not specify any DRI, font, and similiar options. It is basically useless, apart from mouse and keyboard config. But I appreciate your trying to explain.