|
Hey there. I often save a copy or 5 or 6 important system files after installing a Debian desktop. In the interest of perpetuating this wonderful Linux operating system I thought I would post the contents of my laptop specific system files. Being that installing Debian is so quick and simple, I only really save a good copy of these files in the even that somehow one or all of them become corrupted on a daily-use machine and a simple mv -f /backup/directory/good-copy /etc/location/good-copy can fix that up right-quick.
/etc/modules This is on my laptop, of course. # /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
loop
cpufreq-userspace
powernow-k7
/etc/apt/sources.list Now, I am in New England, USA -- you should find a mirror closest to you for all of your apt sources. deb http://ftp.us.debian.org/debian/ etch main non-free contrib
deb-src http://ftp.us.debian.org/debian/ etch main contrib non-free
#E-17
# deb http://debian.uchicago.edu/debian/ etch main contrib non-free
# deb-src http://debian.uchicago.edu/debian/ etch main contrib non-free
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
deb http://deb.opera.com/opera/ etch non-free
deb http://mirror.home-dn.net/debian-multimedia/ etch main
deb-src http://mirror.home-dn.net/debian-multimedia/ etch main
# deb http://www.debian-multimedia.org/ etch main
# deb http://ftp.debian.org/debian/ etch main non-free contrib
# deb-src http://edevelop.org/debian/ sid main
# deb http://edevelop.org/debian/ sid main /etc/X11/xorg.conf My laptop is an Acer Aspire 5003 wmli with no glx. This system uses the sis760/761 display and for Linux there is no 3D accelleration, no dri # /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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
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" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
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"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "sis"
BusID "PCI:1:0:0"
EndSection
#Section "Monitor"
# Identifier "Generic Monitor"
# Option "DPMS"
# HorizSync 28-64
# VertRefresh 43-60
#EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-81
VertRefresh 56-75
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
#Section "DRI"
# Mode 0666
#EndSection
/etc/fstab This is specific to me -- on my laptop, however, you may get something out of it # /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
/dev/hda2 / ext3 defaults,errors=remount-ro 0 1
/dev/hda4 /home ext3 defaults 0 2
/dev/hda3 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
#/dev/hda1 /mnt/windows ntfs user,ro,exec,umask=0222 0 0
my.domain.org:/music /mnt/tunage nfs rw,hard,intr,sync,users,noatime 0 0
my.domain.org:/home/uname /mnt/uname nfs rw,hard,intr,sync,users,noatime 0 0 /etc/resolv.conf I use openDNS nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 24.151.8.210
nameserver 24.151.8.211
nameserver 66.189.130.5
/etc/hosts 127.0.0.1 localhost hostname
127.0.1.1 lapbox.domain.org hostname
192.168.0.100 my.domain.org
64.14.68.29 www.debiantutorials.org
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts In reality backing up good copies of these files is a waste of time on a desktop. Unless you really need the reference; For instance, x won't start for whatever reason. It's simple enough to ctrl+alt+F3 for another tty enabling you to correct your xorg.conf file. See Linux conventions. --machiner 19Feb2007 See the forum entry
|