为Ubuntu瘦身
2007年2月21日星期三
大家都知道系统用久了,就会慢慢变得臃肿,速度当然也就会有一些影响,所以当那些加速系统的方法不在奏效的时候,来试试给系统减肥吧.
其实Ubuntu的减肥很简单,只需简单的几步就可以吧那些不需要的文件彻底清除,还你一个清洁的系统..
1. 用新利得删除残留的配置文件
经常安装和卸载软件用户都知道只用 apt-get remove 是不能把软件彻底清除的,所以养成良好的习惯很重要,我一般都是认为那些以后不会再安装的软件都用 aptitude purge/apt-get remove -- purge 来卸载,这样就会把配置文档也一起删除,如果不知道以前卸载的那些配置文档删除有没有怎么办!?
没关系"凡存在过的必留下痕迹"(keso语^_^),我们来一步一步删除那些残留文档:
打开新利得(系统-系统管理-新利得),在左下角选择状态,现在在上面的列表里就会看到如下的分类:
- 已安装
- 已安装(本地的或陈旧的)
- 未安装
- 未安装的(残存配置)
- 软件仓库里的新内容
现在把右面列表里不想保留的配置文件删除就可以了.
2. 删除系统无用的软件包
当你需要安装某个软件包时,APT从/etc/apt/sources.list中所列的主机下载所 需的文件,将它们保存到本机软件库(
/var/cache/apt/archives/), 然后开始安装.本地软件库会不断膨胀占用大量硬盘空间,幸运的是,APT提供了工具来管理本地 软件库:
apt-get的clean方法和autoclean方法.apt-get clean将删除/var/cache/apt/archives目录 和/var/cache/apt/archives/partial目录下锁文件以外的所有文件. 这样以来,当你需要再次安装某个软件包时,APT将重新下载它.apt-get autoclean仅删除那些不需要再次下载的文件.3. 卸载那些不被使用的local翻译文档
这次我们要用到一个工具啦:localepurge 看名字就能明白他是干什么的啦.
安装localepurge: sudo apt-get install localepurge
安装好以后,当我们每次使用apt安装软件的时候localepurge就会根据你locale的设置来删除那些不需要的locale文档,比如:当我aapt安装armarok以后就会在安装完成之后看到像:
localepurge: Disk space freed in /usr/share/locale: 70***K (7M左右的文档,具体的数据忘了)
当然你也可以通过编辑/etc/locale.nopurge 来编辑需要保留的locale文档..
4. 使用一些工具删除"孤儿软件包"
孤儿软件包是指那些已经没有人维护的软件包当然也就没有软件要依赖它,这儿我们可以用GtkOrphan(要自己下载Deb包安装)或者Wajig(可以apt安装),这两个都是GUI的操作界面,我都没有使用过就不多说了,如果想了解更多的信息可以参考这儿 .
5. 使用debfoster来跟踪安装的软件包
安装:sudo apt-get install debfoster
当我们使用apt安装软件的时候,它会把那个软件所依赖的软件包都安装上去,但是当我们卸载这个软件包的时候,那些为满足这个软件包的依赖关系而装上去的包并没有从系统里卸载掉.这个时候我们就会用到debfoster啦.
debfoster是apt-get和dpkg的前端,当第一次运行debfoster的时候它会问你那些软件包是要保留的,如果不需要就选n就行了.
使用debfoster我们可以方便的安装和卸载软件,比如可以使用debfoster package 来安装某个软件,当我们不需要的时候可以用 debfoster package- 来删除它,同时那些没有用的包也会一起删掉.
6. 使用trans-purge 来为Linux桌面瘦身加速
这个可以参考LinuxTOY的介绍,十分详细.
好了经过这几步系统基本上就很清爽了..
Source(感谢):LinuxTOY,Ubuntu Tutorials
升级Azureus2.5.0.0到2.5.0.4
2007年2月14日星期三
Azureus是我一直使用的BT客户端,但最近没怎么下东西,有段时间没用了,今天打开的时候提示可以升级到2.5.0.4(我现在的版本是2.5.0.0),于是就让他自动升级..但是下载好Azureus2.5.0.4.jar以后重启,竟然没更新,试了好几次都是这样,只好手动更新..
关闭Azureus,打开终端:
sudo cp /tmp/Azureus2.5.0.4.jar /usr/share/java/Azureus2.jar似乎Azureus自动升级本来就有点问题..还是我的RP有问题!?
巴西google adsense 用户怎么不找我呢!
2007年2月6日星期二
第一疯:
Hello,
I want to solicit your attention to recieve money on my behalf.
The purpose of my contacting you is because my status will not permit me to do this alone.
When you reply this message,
I will send you details of the business and more information about myself.
My personal email is: mou_xinshengxx1@yahoo.com.hk
Thank you.Mou Xinsheng
Am Lady Peggy Morrison, suffering from cancerous ailment. I am a widow my husband Sir Richard Morrison an Englishman who is dead. My husband was into private practice all his life before his death. My husband and I made a vow to uplift the down-trodden and the less-privileged individuals as he had passion for people who can not help themselves due to physical disability or financial predicament. I can adduce this to the fact that he needed a Child from this relationship, which never came. When my late husband was alive he deposited the sum of 20 Million(twenty Million Great Britain Pounds Sterling which were derived from his vast estates and investment in capital market with his bank here in UK. Presently, this money is still with the bank.Recently,my Doctor told me that I have limited days to live due to the cancerous problems I am suffering from.I have decided to donate this fund to you and want you to i took this decision because I do not have any child that will inherit this money.please assure me that you will act just as I havePeggy Morrison
stated herein.Hope to hear from you thanks.contact my private
emailaddress:peggymorrison14@yahoo.co.uk
有这好事.巴西的google adsense用户快给我发邮件吧.
PS:最近收到从yahoo.com.hk来的这种垃圾邮件太多了..
Ubuntu下RAR Unrar 版本的问题
rar unrar是win.rar GmbH发布的linux下解压缩rar文件的工具.它的版本和windows下winrar的版本是相对应的.
所以一般都在在装完系统后就直接
apt-get install rar unrar但是最近我发现有些在verycd下载的rar文档无法解压..提示
*** glibc detected *** realloc(): invalid next size: 0x080bda88 ***google一下似乎是rar版本太低的问题..
源里的rar 版本是3.51 而windows下的winrar都3.70了..
所以用老板本的rar 无法解压新版本压缩的rar文档
刚才去rarlab去下载了3.60的版本试了一下.果然可以解压缩..
RAR 3.60 Copyright (c) 1993-2006 Alexander Roshal 5 Aug 2006
Shareware version Type RAR -? for help
Extracting from 80.rar
VeryCD Mp3共享计划
对象:
所有崇尚自由、热爱音乐的网友
目标:
1. 每人共享两三张专辑,建立P2P世界最大的Mp3音乐库
2. 通过VeryCD网站检索让所有用户都能方便、快速的下载Mp3
3. 让收费下载站都去死……
对下载者的倡议:
1. 下载的同时提供尽可能多的上传,利人利己
2. 推荐你的亲友也来下载,让更多的人分享资源
3. 保留下载的压缩包,并将其继续共享
对发布者的要求:
1. 有计划的发布,附上介绍&图片,不发布重复资源
2. 统一的Mp3格式、ID3信息
3. 统一的RAR打包方式及文件名
4. 提供足够的带宽进行发布
软件条件:
eMule:建议使用最新的VeryCD版eMule软件
服务器:ed2k://|server|61.152.99.115|4242|/
昵称:[CHN][VeryCD:论坛ID]你的昵称
Creating 70.80 OK
Extracting 70.80/少年维特的烦恼.mp3 OK
Extracting 70.80/爱 春 秋 .mp3 OK
Extracting 70.80/太阳的眼泪.mp3 OK
Extracting 70.80/月舞.mp3 OK
Extracting 70.80/别哭别哭.mp3 OK
Extracting 70.80/垮掉的一代.mp3 OK
Extracting 70.80/二十二条校规 .mp3 OK
Extracting 70.80/DANCING IN THE RAIN.mp3 76%^ OK
Extracting 70.80/爱上你我很快乐.mp3 OK
Extracting 70.80/逃亡列车.mp3 OK
All OK
我的Firefox扩展
生成: Tue Feb 06 2007 02:24:43 GMT+0800 (MALST)
User Agent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.8.1) Gecko/20061010 Firefox/2.0
启用扩展: [17]
- Adblock Plus 0.7.2.4 - 广告已成往事!
- Add Bookmark Here 0.5.7 - A convenient way to add bookmarks.
- ChatZilla 0.9.77 - A clean, easy to use and highly extensible Internet Relay Chat (IRC) client.
- CustomizeGoogle 0.55 - Enhance Google search results and remove ads and spam
- DownThemAll! 0.9.9.7 - 针对Firefox设计的批量下载工具。
- Fasterfox 2.0.0 - 对Firefox进行性能与网络优化
- GButts 1.4.8 - Display all of your Google Services as buttons just next to your "Home" button or anywhere you like it!
- Gmail Notifier 0.5.6.5 - Gmail邮件提醒插件
- Google Toolbar for Firefox 3.0.20061204L beta - 让 Google 的动力伴您在网上任意遨游!
- Greasemonkey 0.6.6.20061017.0 - A User Script Manager for Firefox
- MR Tech Local Install 5.3.2.3 - 便于本地安装扩展和主题的强大工具包 (zh-CN)
- NoScript 1.1.4.5.061221 - 为您的 Firefox 提供额外保护: NoScript 根据您的选择,只允许受信任的网站启用 JavaScript、Java 或其他插件。白名单基于优先阻止机制,在不损失任何功能的情况下,阻止利用已知或未知安全漏洞的攻击。您一定会发现: 使用 NoScript 的 Firefox 确实更安全了。
- Performancing 1.3.5 - A full featured blog editor that sits right in your Firefox browse and lets you post to your blog easily.
- Personal Menu 2.3 - 取代一成不變的選單, 美化您的 Firefox!
- ReminderFox 1.1.1 - 显示并管理备忘和计划
- Tab Mix Plus 0.3.5.2 - 加强标签页浏览功能。
- United States English Dictionary 2.0.0.6 - English United States (en-US) spellchecking dictionary
已安装主题: [2]
- Blue Ice 1.2.2 - A crisp, simple ice blue theme.
- Firefox (default)
已安装插件: (8)
- Default Plugin
- The default plugin handles plugin data for mimetypes and extensions that are not specified and facilitates downloading of new plugins. - Google VLC multimedia plugin 1.0
- mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgets - Java(TM) Plug-in 1.5.0_06-b05
- Java(TM) Plug-in 1.5.0_06 - mplayerplug-in 3.25
- mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgets - QuickTime Plug-in 6.0
- mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgets - RealPlayer 9
- mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgets - Shockwave Flash
- Shockwave Flash 9.0 r31 - Windows Media Player Plugin
- mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgets
Ubuntu 新手入门视频教程
2007年2月2日星期五
Ubuntu Screencasts 提供多种视频格式下载或者在线观看..内容包括
下载和刻录Ubuntu ISO
安装Ubuntu&Windows 双启动
自定义ubuntu 桌面
Kubuntu上使用 adept安装更新
Evolution的使用介绍
使用Gaim登录IRC聊天
安装和使用XChat-Gnome
安装flash
安装ubuntu更新
Ubuntu下一款不错的截图软件scrot
安装:
sudo apt-get install scrot
安装完以后在终端运行就会保存当前全屏幕到home文件夹,
为了使用方便可以用Alacarte菜单编辑器把scrot添加到图像菜单中.命令参数可以在终端下输入
scrot –help
查看,我的参数设置为
scrot -s -b -e ‘mv $f ~/Doc/Picture/snapshoot/’
-s 表示 手动选择截图区域或者窗口
-b 截取窗口时保存带窗口边框的图片
-e 截图之后对所截图片执行命令操作(这儿是把截好的图片放到我指定的文件夹里)
最后把它拖到菜单栏就可以了,以后截图是只要点击一下图标,再点一下窗口标题就可以了,想截取任意屏幕范围,就点一下菜单栏上的图标,再在屏幕上拉框.
