Configuration files for SN25P - AMD64

From Elvanör's Technical Wiki
Jump to navigation Jump to search

Here is a list of the different main configuration files I am using on my SN25P box.


/etc/make.conf

This file controls the configuration and compilation process while installing new packages with Portage.As such, it is essential.

CFLAGS="-O2 -pipe -march=k8 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

USE="-arts -oss -esd aac alsa apache2 apm avi bash-completion bzip2 cdr cups cvs doc dri dvd dvdr ffmpeg fftw
firefox flac ftp gtk2 hal iconv ieee1394 imagemagick imap innodb iODBC java javascript joystick jpeg jpeg2k kde ldap mad matroska
mime mmap mp3 mpeg mplayer multilib mysql mysqli ncurses nls nptl nptlonly odbc ogg openal opengl pam pdf perforce php png posix
python qt3 qt4 readline real ruby sdk sdl sql sse sse2 ssl subversion tetex theora
unicode usb videos vorbis wifi win32codecs X x264 xine xinerama xml xv xvid zlib"

# No 3dnow USE flag since AMD64 can use faster sse/sse2 instructions

LINGUAS="en fr ru es"

# Mirror

ALSA_CARDS="ice1724"

INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nv nvidia"

/etc/rc.conf

This file contains global startup script configuration settings.

# UNICODE specifies whether you want to have UNICODE support in the console.
# If you set to yes, please make sure to set a UNICODE aware CONSOLEFONT and
# KEYMAP in the /etc/conf.d/consolefont and /etc/conf.d/keymaps config files.

UNICODE="yes"

# Set EDITOR to your preferred editor.
# You may use something other than what is listed here.

EDITOR="/bin/nano"
#EDITOR="/usr/bin/vim"
#EDITOR="/usr/bin/emacs"

# What display manager do you use ?  [ xdm | gdm | kdm | entrance ]
DISPLAYMANAGER="kdm"

# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit.  The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to.  The support scripts are smart enough to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enlightenment" can also work.  This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
# 
# NOTE:  1) this behaviour is overridden when a ~/.xinitrc exists, and startx
#           is called.
#        2) even if ~/.xsession exists, if XSESSION can be resolved, it will
#           be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (look in /etc/X11/Sessions/)
# Xsession - will start a terminal and a few other nice apps

#XSESSION="kde-3.5.2"

/etc/conf.d directory

This directory contains many important configuration files, such as clock, keymaps, net.

/boot/grub/grub.conf

This file contains configuration settings for booting.

#
# Sample boot menu configuration file
#

# Boot automatically after 30 secs.
timeout 15

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# For booting GNU/Linux

title Gentoo Linux
root (hd0,1)
kernel /boot/kernel-2.6.16.16 root=/dev/sda2 vga=0x31B video=vesafb:mttr:3,ywrap

# For booting Windows XP

title Windows XP SP2
rootnoverify (hd0,2)
makeactive
chainloader  +1

# For loading DOS if Windows NT is installed
# chainload /bootsect.dos

# Change the colors.
#title Change the colors
#color light-green/brown blink-red/blue