分类: LINUX
2011-12-19 16:39:53
从以下各服务器列表内容中选择一段替换文件中的所有内容,一般来说加入一至两组即可,加多了影响更新速度。为防止非官方源中软件包不全的问题,请在sources.list文件中尾部添加一组官方源。
# deb file:/cdrom/ etch main contrib
#------------------------------------------------------------
deb stable contrib main
non-free
deb-src stable contrib main
non-free
deb lenny main non-free
contrib
deb-src lenny main non-free
contrib
#deb lenny main non-free
contrib
#deb-src lenny main non-free
contrib
#deb lenny
non-free
#
#----------------------------------------------------杂谈---------
deb lenny main non-free
deb-src lenny main non-free
#
deb lenny main contrib
non-free
deb-src lenny main contrib
non-free
#
#ustc-------------------------------------------------------------------------------
#deb ftp://debian.ustc.edu.cn/debian etch main non-free
contrib
#deb-src ftp://debian.ustc.edu.cn/debian etch main non-free
contrib
#deb ftp://debian.ustc.edu.cn/debian-security etch/updates
main
#ustc-multimedia
#deb ftp://debian.ustc.edu.cn/debian-multimedia stable main
#deb-src ftp://debian.ustc.edu.cn/debian-multimedia stable
main
#sjtu
#deb etch main contrib non-free
lenny
#
#deb http://security.debian.org/ etch/updates main contrib lenny
non-free
#deb-src http://security.debian.org/ etch/updates main contrib
lenny non-free
#
#
#----------------------------------------------------杂谈---------
deb lenny main non-free contrib
#deb etch main
#deb stable main
#-------------------------------------------------------------
deb stable main
deb stable contrib
deb stable non-free
deb lenny main
deb lenny contrib
deb lenny-proposed-updates non-free
contrib main
deb http://security.debian.org/ lenny/updates non-free contrib
main
deb lenny non-freede
apt-get dist-upgrade
#mplayer
解码器:
#配置fcitx:
#dpkg-reconfigure locales
$ ls -ahl /etc/alternatives/|grep
input
$ ls -ahl /etc/X11/xinit/xinput.d/
$ ls -ahl
~/.xinput.d/
──if no such file or directory then:$cd $HOME
$mkdir .xinput.d
$cd .xinput.d
$ln -s /etc/X11/xinit/xinput.d/fcitx en_US
vi
/etc/gtk-2.0/gtk.immodules
#(change all 'xim' like this:
"/usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh
)
#If you have upgraded you system
:/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules
#(vi /etc/X11/Xsession.d/55gnome-session_gnomerc : )
#fcitx
export XIM_PROGRAM=fcitx
export XIM=fcitx
export XMODIFIERS="@im=fcitx"
fcitx&