slackware 配置

My computer's hardware:
cpu: pentium4 2.4G
memory: 256+512/M
graphic card: nVidia GForce MX 400
harddisk:sumsung40 + 40G

slackware version: 12.1
other os: windowsXP

1, After all softwares contained in CD, I install the driver for the nvidia card :
Ctrl + Alt + backspace : shut the kde,
then ,
#cd ~ ; ./NVIDIA-Linux-x86-96.43.11-pkg1.run
when the installation of the driver completed, #startx.

then make the mouse's wheel work:

#vim /etc/X11/xorg.conf
find the

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

set the "Option protocol" as IMPS/2
Option "Protocol" "IMPS/2"




2, Download the wenquanyi fonts and install it following the install instruction in the directory extracted from the tarball.

3, SCIM configuration: #vim ~/.xinitrc and add the following lines:

scim -d &
export LANG=en_US.UTF-8
export LC_CTYPE=zh_CN.UTF-8
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=SCIM
export QT_IM_MODULE=SCIM

before the "startkde"

4, wget :
#vim /etc/wgetrc
uncomment the
“http_proxy=....” and “ftp_proxy=...”
input your proxy behind the "="
then turn the "use_proxy=off" on.

5,my simple .bashrc
#vim ~/.bashrc

PS1 ='\[\033[1;33;44m\]\u@\h:\w\$\[\033[0m\]'

alias ls="/bin/ls --color=auto --classify"
alias ll="ls -l"
alias all="ls -all"
alias g++opencv=g++ `pkg-config opencv --libs --cflags opencv`

reboot my computer

0 评论:

Post a Comment