Sorry, I do not use ubuntu. At most you'd have to use one command though: "sudo apt-get install nvidia-glx" in the terminal and then press control-alt-backspace to restart X (sweet that you don't have to completely turn the machine off eh?). You can take a look at a slightly modified xorg.conf I had in kubuntu:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Feb 26 23:38:46 PST 2007
# /etc/X11/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(5) 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 "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on"
EndSection
Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 96.0
VertRefresh 43.0 - 60.0
Option "DPMS"
DisplaySize 508 317.5
EndSection
Section "Device"
Identifier "nVidia Corporation G71.7 [GeForce Go 7950 GTX]"
Driver "nvidia"
Option "Coolbits" "1"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation G71.7 [GeForce Go 7950 GTX]"
Monitor "Generic Monitor"
DefaultDepth 24
Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 1
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 4
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 8
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 15
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 16
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 24
Modes "1920x1200"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
This is stored in /etc/X11/xorg.conf and you want to make a backup before you start trying anything fancy. The terminal is your friend. There are tweaks in this xorg to help with desktop compositing and to help the system identify your GPU. Other tweaks as well but they arent really important. Sorry that I do not have a better xorg but this is just the baseline xorg I used to use. There are forums such as ubuntu forums or the linux forums here that you may find more useful answering your questions.