Chinaunix首页 | 论坛 | 博客
  • 博客访问: 63818
  • 博文数量: 31
  • 博客积分: 631
  • 博客等级: 上士
  • 技术积分: 320
  • 用 户 组: 普通用户
  • 注册时间: 2011-12-15 09:33
文章分类
文章存档

2011年(31)

我的朋友

分类: 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&


总结:配置locales后,在当前用户~/.xinput.d下做链接就可以了,配置locales时候如果某项改变不了,查看一下/etc/environment
阅读(793) | 评论(0) | 转发(0) |
0

上一篇:mms

下一篇:ALSA

给主人留下些什么吧!~~