The dpkg bot in #debian knows it all.
From squeeze onwards, you can often use an <empty xorg.conf>. Configure your keyboard layout for both X and console in
/etc/default/console-setup or "dpkg-reconfigure console-setup" (not xorg.conf).
If you have further things you wish to configure, use "X -configure" ("X -configure :1" if server is already active) to produce a xorg.conf template. Ask me about.
http://wiki.debian.org/XStrikeForce/InputHotplugGuide
To use an NVIDIA graphics card with Debian, see
http://wiki.debian.org/NvidiaGraphicsDrivers
The nvidia drivers currently in squeeze are compatible with the squeeze kernel. No need for a testing/unstable mix now. Use either
module-assistant or DKMS to compile them. They are incompatible with <nouveau> <KMS> (nouveau kernel module blacklisted as of nvidia-kernel-common 20100522).
nvidia m-a
For Lenny and Squeeze users. Ensure you have <non-free sources> added.
Code: Select all
aptitude install module-assistant && m-a a-i nvidia-kernel
After successful module compilation,
Code: Select all
aptitude install nvidia-glx nvidia-xconfig && nvidia-xconfig -o /etc/X11/xorg.conf
nvidia-dkms
For Squeeze users. Ensure you have <non-free sources> added.
Code: Select all
aptitude -r install linux-headers-2.6-`uname -r | sed 's,.*-,,'` nvidia-glx nvidia-xconfig && nvidia-xconfig -o /etc/X11/xorg.conf
Or even easier just use
smxi
do, as root:
Code: Select all
cd /usr/local/bin && wget smxi.org/smxi.zip && unzip smxi.zip && smxi
or (#2)
you can also just download the file and run it, like so:
Code: Select all
cd /usr/local/bin && wget -Nc smxi.org/smxi && chmod +x smxi && smxi