免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1133 | 回复: 0
打印 上一主题 下一主题

收集使用的技巧-debian4.0r1 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-11-29 17:42 |只看该作者 |倒序浏览

                                                                由于近来好于淡忘些东东........ ,特收集相关文章和自己的使用心得来撰写此文!如有不当之处还请你多请教!
注:由于我是通过第一张安装盘安装的系统,所以安装之后并不是最好的,这里只介绍相关的美化和优化技巧.
1. [color="#000000"]apt-get install rcconf   通过rcconf来管理你要启动的服务
#rcconf   执行它以去掉多余服务
[color="#000000"]
2. [color="#000000"]安装编译驱动所需的环境(不做相关工作,此步可有可无!)[color="#000000"]
apt-get update[color="#000000"]
apt-get install module-assistant build-essential[color="#000000"]
apt-get install fakeroot dh-make debconf libstdc++5 linux-headers-$(uname -r)
3.[color="#000000"]安装字体[color="#000000"]
apt-get install ttf-bitstream-vera ttf-arphic-uming[color="#000000"]  xfonts-wqy
4.[color="#000000"] 删除一些字体
apt-get --purge remove xfonts-100dpi xfonts-75dpi xfonts-scalable[color="#000000"]
删除不存在的字体路径
vi /etc/X 11/xorg.conf[color="#000000"]
Section "Files"[color="#000000"]
    FontPath "/usr/share/fonts/X11/misc"[color="#000000"]
    FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"[color="#000000"]
EndSection
[color="#000000"]像这样,其他的删除.
5.使用 [color="#000000"]dpkg-reconfigure xserver-xorg 来配置你的显卡驱动相关的(不清楚的话选vesa)  :)
6.使用fcitx:
[color="#000000"]#apt-get install fcitx im-switch[color="#000000"]
#im-switch -s fcitx -z default
7.[color="#000000"]本地的ntfs fat磁盘自动挂载[color="#000000"].
首先
apt-get install ntfs-3g  (使用默认)
编辑 /etc/fstab [color="#000000"]
/dev/sda1 /wins/c ntfs-3g utf8,umask=000,user 0 0[color="#000000"]
/dev/sda5 /wins/d ntfs-3g utf8,umask=000,user 0 0[color="#000000"]
/dev/sda6 /wins/e vfat utf8,umask=000,user 0 0[color="#000000"]
[color="#000000"]象上面这样加[color="#000000"]
如我的c:\ 是ntfs 那么就这样[color="#000000"]
[color="#000000"]/dev/sda1 /wins/c ntfs-3g utf8,umask=000,user 0 0[color="#000000"]
我的e:\是fat32 那么就这样[color="#000000"]
/dev/sda6 /wins/e vfat utf8,umask=000,user 0 0[color="#000000"]
保存
建立挂载点
# mkdir -p /wins/{c,d,e}
[color="#000000"]测试
# mount -a  (挂载)
# umount -a (卸载)
8. 为你的火狐狸安装一个插件
install_flash_player_9_linux.tar.gz
因为我不太喜欢用系统自带的浏览器,所以我把它们都 over 掉了
手动为 火狐狸找了个家 然后也是手动安装的
flash_player
  :)
[color="#000000"]
9.chm阅读器
apt-get install gnochm
个人认为此阅读器还是很不错!  呵呵.....
10. 我用的源:
deb http://security.debian.org/ testing/updates main contrib
deb-src http://security.debian.org/ testing/updates main contrib
deb http://debian.cn99.com/debian testing main contrib non-free
deb http://debian.cn99.com/debian-security testing/updates main contrib non-free
deb-src http://debian.cn99.com/debian testing main contrib non-free
deb http://update.inlsd.org/debian-multimedia testing main
deb-src http://update.inlsd.org/debian-multimedia testing main
deb http://www.debsir.org/download debs/
这些源还可以。_。 就凑合着用吧
11. 使用预链接加速程序启动速度
[color="#000000"]#apt-get install prelink[color="#000000"]
#prelink -a -m[color="#000000"]
12. 禁止自动挂接的硬盘图标在桌面上显示
#gconf-editor
找到 /apps/nautilus/desktop/volumes_visible 设置为 FALSE (单击即可)
[color="#000000"]
13.清理:
#aot-get autoclean  好像清除的并不彻底!
#apt-get clean (清理你apt-get install 所下载的包,在/var/cache/apt/archives/partial下面)
14. 自动清除多余的locale
#apt-get install localepurge
或执行
# dpkg-reconfigure localepurge  进行相关的相关的设置之后,以后你安装任何软件时,只要有多余的locale,它自动会帮你清除并显示节省的磁盘空间.
15. Debian4 默认安装之后 在桌面上单击右键的菜单中没有 “打开终端” 一项   需安装一个插件
#apt-get install nautilus-open-terminal
退出重新登录x即可
16. XMMS 菜单及歌名的中文显示
#ln -s /etc/gtk/gtkrc.zh_CN /etc/gtk/gtkrc.zh_CN.utf-8
播放清单及主窗口都使用的字体:
-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,-*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*
暂时先这些吧!以后我会慢慢补充的

               
               
               
               
               
               
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/2042/showart_432953.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP