转换您的eMule到aMule[转]

对于懒人只看这句就可以:将eMule的clients.met、criptkey.dat 和 preferences.dat复制到~/.aMule目录覆盖即可转存您的积分和HashID!记得改文件属性可读写!
英文原文:http://matrixhasu.altervista.org/index.php?view=amule_config
时间作者:Sandro Tosi, 22 August 2005
中文解说:王猛 (中国人民解放军河南省军区) ruyi_7952 : hearticy at gmail dot com

在这里,你可以得到一些关于转换eMule(在Windows)到aMule(在Linux)下如何配置和下载的帮助。
我不是英文专业,我只将我认为重要的部分用中文作简单的说明,希望对您有所帮助

2、配置文件
您需要导入eMule中配置文件和临时文件以及共享的文件。首先,配置文件。
在eMule中,配置文件存放在名为 config 的文件夹中。在 aMule 中,配置文件在~/.aMule文件夹中。
简单的复制eMule的配置文件到aMule中即可。

2.1、可以自动识别的配置文件

一些文件无须修改就可以导入到aMule中,他们是
clients.met
known.met (known2.met)
server.met
ipfilter.dat 和 ipfilter_static.dat
emfriends.met
criptkey.dat 和 preferences.dat
其他文件,key_index.dat, load_index.dat, nodes.dat, preferencesKad.dat, shareddir.dat 和 src_index.dat。
对于上述文件您可以直接复制。(注:如果没有屏蔽IP和加入好友,就不会有ipfilter_static.dat和emfriends.met)
2.2、无法被识别的文件
配置文件:在eMule中使用preferences.ini,但在aMule中使用的是amule.conf;
分类文件:在eMule中使用Category.ini,但在aMule中是保存在amule.conf中的;
其他文件在eMule中存在的文件,在aMule中是没有使用的。

3 导入无法被识别的文件
3.1 导入分类文件
进入shell,在Category.ini的那个目录中执行下面的命令

CODE

$ grep -E "^\[Cat|^Title|^Incoming|^Comment|^Color|^a4afPriority" Category.ini | sed 1,6d | sed 's/#/\\#/g' | sed 's/&/\\&/g' | sed 's/a4afPriority/Priority/g'


将得到的部分,复制粘贴到amule.conf中的[Genera]段。

3.2 导入状态
将eMule目录下的statistics.ini替换amule.conf的[Statistics]段。

4 导入临时文件

按照原本的目录结构从eMule复制到aMule对等的目录即可。

RPM转DEB

如果需要把RPM包转成DEB包,首先要安装alien

sudo apt-get install alien

安装成功后就在你的rpm包的目录下运行

sudo alien xxxx.rpm

就会在这个目录下自动生成了你要的deb了 然后进行安装即可!

修改 ubuntu 的3个画面

一、Usplash画面(开机/启动画面)

它就相当于Windows的开机/启动画面,因为 ubuntu 使用usplash这个软件作为启动画面,所以我们就叫它为Usplash画面。

修改这个画面是3个中难度最高的,如果使用Splashy的话就要简单多了。默认的启动画面在这里/usr/lib/usplash/usplash-default.so,它是一个编译好的.so文件,不能直接修改。以下是替换Usplash画面的方法。

1、复制一个制作好的xxx.so文件到你喜欢的目录,例如:/usr/local/usplash/xxx.so

2、然后选定一个 uSplash 方案(以下两种方法任选一种即可)

方法一:

sudo ln -sf /usr/local/usplash/xxx.so /etc/alternatives/usplash-artwork.so

方法二:
sudo update-alternatives –install /usr/lib/usplash/usplash-artwork.so usplash-artwork.so /usr/local/usplash/xxx.so 55
sudo update-alternatives –config usplash-artwork.so

选择xxx.so前面那个数字选项。

3、重新配置核心
sudo dpkg-reconfigure linux-image-$(uname -r)

或者:
sudo dpkg-reconfigure usplash-theme-ubuntu

4、修改usplash画面分辨率(根据需要)
sudo gedit /boot/grub/menu.lst

找到
kernel /boot/vmlinuz-2.6.xx-xx-xx root=/dev/hdxx ro quiet splash

在最后添加vga=792

*vga参考表

depth—–640×480—-800×600—-1024×768—–1280×1024—–1600×1200
8bit————769————771————-773————–775—————–796
15bit———-784————787————-790————–793—————–797
16bit———-785————788————-791————–794—————–798
24bit———-786————789————-792————–795—————–799

*也可以修改 usplash.conf 文件来更改分辨率:

sudo gedit /etc/usplash.conf

sudo dpkg-reconfigure usplash-theme-ubuntu

sudo dpkg-reconfigure usplash-theme-ubuntu的作用是重新配置usplash

二、GDM(GNOME Display Manager)画面(登录画面)

GDM画面也叫Login Manager画面,顾名思义KED的叫KDM,这个就是我们常说的登录画面。它是属于Gnome的一部分,所以在“系统-系统管理-登录窗口”里面可以管理它。

和添加主题一样,点击“添加”即可增加新的登录画面,而且还可以预览。要说的是ubuntu 6.0.6默认安装好后,这里的分辨率被设置为最大分辨率,看起来闪眼睛。修改方法是:
sudo gedit /etc/X11/xorg.conf

找到最后一个
Modes “1280×1024″ “1152×864″ “1024×768″ “832×624″ “800×600″ “720×400″ “640×480″ “640×350″

把你需要的分辨率放在第一个,或者删除不需要的分辨率。例如你的显示器是17″的CTR,就可以弄成这样:
Modes “1024×768″ “1280×1024″ “1152×864″ “832×624″ “800×600″ “720×400″ “640×480″ “640×350″

GDM画面下载地址:
http://www.gnome-look.org/index.php?xcontentmode=150
http://art.gnome.org/themes/gdm_greeter/

三、Splash Screens

这个就是输入用户名和密码后,显示资源载入状态的画面,Windows是没有这个画面的,那么我们就叫它加载画面。替换起来更简单,就是一个png图片而已,有2种方法替换它。

1、这个图片默认地址是/usr/share/pixmpas/splash/ubuntu-splash.png。
它是链接到/usr/share/pixmpas/splash/ubuntu-slick.png这个图片上的。
那么把ubuntu-slick.png这个文件替换掉或者把ubuntu-splash.png重新链接一下就可以达到替换这个画面的目的。

例如:把/usr/local/xxx.png链接到/usr/share/pixmpas/splash/ubuntu-splash.png
sudo ln -sf /usr/local/xxx.png /usr/share/pixmaps/splash/ubuntu-splash.png

2、也可以使用“配置编辑器”来修改它的路径

打开“应用程序-系统工具-配置编辑器”,默认需要在Alacarte Menu Editor里面勾选它才有这个选项,你也可以在终端中输入gconf-editor来打开它。

找到apps->gnome-session->options这个分支
将splash_image地址改成你想要的图片地址即可。