ggarlic的blog

cat ~ggarlic/life > /dev/null

Archive for the ‘ubuntu’ tag

Arch vs. Ubuntu

with 21 comments

先说明一句:月经贴,不喜误入

作为一个“领先十年的系统”的用户,我常对自己用的系统有过高的幻想,比如ganquan已经纠正过的“专为i686优化,速度快”,嗯,现在各个主流发行版基本都是默认i686跟O2编译了。

前两天在Phoronix看到一篇文章Is Arch Linux Really Faster Than Ubuntu?,很好的一篇流言终结者,正如结论所说

“At least when both Arch and Ubuntu are put in as much a stock configuration as possible to reflect the “out of the box” experience encountered by most users, the numbers shown on this Intel Core 2 Duo notebook show the performance to be about the same.”

“Arch比ubuntu快”这一流言被终结了,那么是不是用Arch的理由就减少了呢?看看这篇文章:Three Things Phoronix couldn’t measure ,链接是wordpress.com的,该怎么办你懂的。文中提到了Phoronix无法进行的三个对比:

  1. AUR. Until you’ve used it, it’s hard to appreciate the simplicity and beauty of a community-maintained repository of installation scripts. Ubuntu, with its Debian roots, inherits a huge list of software and that’s a good thing. But for example if you want to install an esoteric addon to xmms, you’ll have to go it alone — even more so because Ubuntu hasn’t offered xmms for years now. Having a script-based system that allows you to confidently build software — and customize it before you do — is a huge bonus for me.
  2. pacman. In terms of number crunching, the two operating systems run hand-in-hand, but putting aptitude next to pacman is a completely different race. For all its virtues, history and accomplishments, aptitude is just nowhere near as fierce an animal as pacman. The time it takes to refresh, download and install new software in Ubuntu is ridiculous when it’s compared with Arch, and that’s not because Ubuntu relies on a GUI — it takes a long time to do those things at Ubuntu’s command line. pacman simply runs circles around aptitude, and there’s no polite way to say that.
  3. Svelte. Svelte isn’t an application, it’s a philosophy. Ubuntu is a top-down system, giving you everything at once and then sitting back to watch the look on your face. Arch is a bottom-up system, where you’re given the tools to assemble a system, and the opportunity to let your imagination run wild. Arch’s reputation for speed might not rely on performance at the hardware level, but simply in the fact that you don’t get any bloat, unless you install it. Those ringing praises for Arch’s speed aren’t because it moves faster at the core levels, but because the systems you build yourself are innately faster than the ones Ubuntu releases. Look around this site for a few illustrations of that. (And yes, you can do similar things with Ubuntu.)

此文更多的不是从性能还是从“简单够用”“KISS”的角度来对比的,第一条我深以为然,AUR的便捷性一定要用过才有感觉,至于Ubuntu的PPA可能有发展成AUR的趋势。第二条pacman我只能说刚刚够用,不过我的确更喜欢aptitude。第三条则是我最喜欢的地方,完全按照自己的想法去构建系统,使用Arch你可以按照自己的想法来构建系统,但是使用Ubuntu你只能使用按照他们的想法构建起来的系统。

当然,纯粹比较两个系统是没有意义的,我也能说出Arch的一堆缺点,比如由于追新导致的稳定性和兼容性问题,包命名不是很规范等等。各个系统都有自己的哲学,我用Arch更多的是认同Arch的哲学–The Arch Way。Arch的依赖关系十分简洁,不会像debian/ubuntu那样依赖一堆莫名其妙的包。

所以,下一次ganquan同学再忽悠我去Debian的时候,麻烦你给可以让我立刻动心的东西  :laugh:

对了,还有adaml同学,到Arch老窝去说理要慎之又慎,Arch在中国有成为下一个小白系统的趋势,看看Ubuntu论坛里那些被喷死的视窗跟苹果粉吧

就这样吧。。。

Written by ggarlic

五月 22nd, 2010 at 6:40 下午

Posted in Linux

Tagged with ,

just for convenience

with 4 comments

well, now i’m on my classmate’s laptop with a newly installed ubuntu 9.04 and no chinese input method

just log something i always forget

1,for installing from harddisk with ubuntu alternate edition

kernel (hdX,X)/vmlinuz root=/dev/ram0 ramdisk_size=48000 devfs=mount,dall

initrd (hdX,X)/initrd.gz

boot

2,ruijieclient.conf
authentication mode 1
echo interval 4
intelligent reconnect 1
auto connect 0
fake version 3.35
dhcp mode 2

well,ubuntu still sucks

Written by ggarlic

十月 11th, 2009 at 3:57 下午

Posted in Tips

Tagged with ,

流水帐

without comments

最近rp值太低,割掉了一个小肿块,缝了3针,那玩意竟然长到了太阳穴上!!!

恩,openbox被我扔了,回到gnome,因为一过半小时准花屏,见鬼了。感觉ubuntu的gnome那叫个慢啊,没有我自己设定的那几个快捷键,没有openbox的速度(起码是心理上),没有conky,没有自己的菜单,没有….没有我定制的一切内容,艹,不爽啊

趁着回到gnome,试了试gnome-do的docky(openbox下不想加载任何多余的程序),还行,唯一吸引我的地方就是集成了twitter,方便死了,大爱啊,其他没什么感觉了。

最近电驴搬专辑有点疯狂,感觉移动硬盘有点小了,罪过啊,找时间买个大点的去
last.fm的服务器一如既往的卡的要死要活的,歌都听不好,非要我半夜听是不

ps:刚刚想到花屏可能是xcompmgr的问题,明天X掉试试

Written by ggarlic

二月 21st, 2009 at 11:35 下午

Posted in Blah

Tagged with , , ,

备忘2008-12-28

without comments

tint2 0.6编译依赖
libpango1.0-dev libglib2.0-dev libcairo2-dev libimlib2-dev libx11-dev x-dev

root主题跟一般用户不一样:
将~/.themes ~/.icons链接到/root下

gmlive:
libgtkmm-2.4-dev libglademm-2.4-dev

Gaia Nova主题不断显示没有装主题引擎(nnd,我怎么会没装这么常见的引擎!?):
http://ubuntuforums.org/showpost.php?p=6148824&postcount=14

style “unstyle”
{
engine “”
{
}
}

The style “unstyle” is meant to prevent Sodipodi from crashing while opening the Object-Style dialog. As you can see the engine “”‘s are empty. And that is what Appearance Preferences is complaining about: “This theme will not look as intended because the required GTK+ theme engine ” is not installed.”. The solution is simple. Fill the “” with a ‘known’ (i.e. installed) engine, e.g. pixmap, so that the code looks like this:

style "unstyle"
{
engine "pixmap"
{
}
}

自动mount我的ntfs:
安装ntfs-config,启用内部写

报怨一下,lastmp传记录的延迟太严重了,我在怀疑我要是大量听beatles的比较短小的歌曲的话它会漏掉多少记录

Written by ggarlic

十二月 28th, 2008 at 1:14 下午

Posted in Tips

Tagged with ,

使用git安装最新的compiz-fusion插件

without comments

原文地址:http://www.ubuntugeek.com/install-latest-plugins-for-compiz-fusion-from-git.html
既然不难就不翻译了

Install compiz-fusion plugins on Ubuntu with compiz-git.You need to follow this procedure to install

Download compiz-git using the following commands

In a terminal use the following commands

wget http://www.xs4all.nl/~mgj1/downloads/compiz-git-newest.tar.gz

tar xzf compiz-git-newest.tar.gz

You should now have a directory called compiz-git in your home-directory (or anywhere else where you ran these commands).

Install compiz from git

Go to a terminal and do

cd compiz-git

./compiz-git install

That’s it! Anwser the questions and if everything runs fine, you should have installed compiz from git!

Uninstall compiz from git

cd compiz-git

./compiz-git uninstall

cd ..

rm -r compiz-git

Running compiz-fusion

Run Compiz Fusion Icon (in your menu).

You can check the latest script from git page from here

宿舍网速不快,pull compiz from git…这一步很慢,中间还白痴一样把CTRL+C当“复制”按了一次

正在重新pull,等待好消息,保佑

经过我那破本子的漫长的pull跟编译,搞定,但是没有我特别想要的插件,白忙活了-_-!起实是不用freewins太久了,人家改名了

Written by ggarlic

五月 6th, 2008 at 10:05 下午

Posted in Software

Tagged with ,

kde4 beta1 装上了(in Kubuntu)又卸载了

without comments

今天心血来潮,装上了kde4 beta1。其实准确的说应该是昨天下午两点开始下载,刨除晚上宿舍熄灯的时间,到今天傍晚以不到1.5kB/s的速度下载完了,这个速度真是快啊,看得我好泄气啊。

按照kubuntu.org 的步骤设置好后,重启电脑,顺利进入(比kubuntu的kde4 a4好多了,那个东西装上之后只能看,不过beta 1也好不到哪去)
界面确实不错,菜单有点不习惯,可能是习惯了kmenu。可能是因为不是独立安装的,好多东西都不能用,好多设置也不能用,难道这是“体验版”。所以我决定还是把这花瓶删掉吧,好好用我的kde3.5.8吧。中国革命的经验告诉我:不要冒认跟进。
 
废话完毕。不能辜负了我这么长时间的下载,总得留点记录

Powered by ScribeFire.

Written by ggarlic

十二月 4th, 2007 at 7:00 下午

Posted in Linux

Tagged with ,

有些人就是这样牛,这样无聊,但是我喜欢

with one comment