Netbook OS分享会

Filed under: Linux | 1 Comment »
Posted on

酝酿了很久的分享会,作为杭州GTUG成立后的首次活动,《Netbook OS大比拼》圆满结束咯。这得要感谢与会的每一位朋友,虽然外面下着大雪,但是还是有很多朋友来了,而且还有三位上海朋友;另外还要特别感谢杭州图书馆,他们为我们提供了一个非常棒的会场,书香气为我们的技术交流更是增添了别样的气氛。

以下是流水帐。这次分享会是由Tualatrix(以下简称TX)和我共同主持的。会议主题是《Netbook OS大比拼》。 Read the rest of this entry »

解决1005ha/1008ha在ubuntu 9.10下糟糕的表现

Filed under: Linux, Tips | 1 Comment »
Posted on

自从我的Eee pc 1005ha-h升级到ubuntu 9.10后,无线网络开始不断抽风。

先是信号非常弱,频繁掉线。我在launchpad.net查到1005ha的无线网卡是atheros的ar9285,对应的驱动是ath9k。而ath9k在2.6.31下有兼容性问题,ubuntu的backport驱动解决了这些问题。于是我给2.6.31.14内核安装了backport驱动。

sudo apt-get install linux-backports-modules-2.6.31-14-generic

重启后,信号变强了,线也不掉了,但是网络僵尸了。主要表现在chrome打开一个站点往往需要15-30秒时间,其中至少有10秒时间在解析dns。开始我以为是ipv6导致解析缓慢的,所以我就把ipv6禁用了。

打开配置文件:

gksu gedit /etc/sysctl.conf 

在文件最后加入:

net.ipv6.conf.wlan0.disable_ipv6 = 1

重启后发现速度确实快了,但是解析还是需要很长时间。 Read the rest of this entry »

在Moblin2.1-preview上编译安装ibus

Filed under: Linux | 4 Comments »
Posted on

前段时间安装了Moblin2.1-preview版,一直没玩。今天突然有兴致跑进去玩玩。先是改了一下源,升级了一把,大概250MB。然后发现浏览器变成firefox3.5了,支持书签和插件,clutter下的ff就是漂亮,上网一定很爽!可是为什么不给我装好输入法呢?找了半天也没有找到安装的入口,所以我进shell安装了scim。

yum install scim scim-pinyin scim-bridge scim-bridge-gtk scim-bridge-clutter

装好后发现很多地方用不了scim。我只好抛弃了scim,转投ibus。

ibus没有现成的包,必须手动编译。于是我开始手动编译,接下来的过程消耗了我一个晚上,弄得我头昏脑胀,可算是凄惨啊。

编译ibus

参考地址:http://code.google.com/p/ibus/wiki/Install

先把依赖包装好:

yum install git gnome-common autoconf automake libtool glib2-devel intltool gtk-doc GConf-dbus-devel make gcc clutter-devel dbus-python-devel iso-codes-devel

然后把源代码下下来:

git clone git://github.com/phuang/ibus.git ibus
cd ibus

开始编译

./autogen.sh --prefix='/usr' --sysconfdir='/etc' --libdir='/usr/lib' --enable-gtk-doc
make
sudo make install

我在运行autogen.sh的时候出现了以下错误:

Makefile.am: required file `./ChangeLog’ not found

直接输入下面指令后,重新运行autogen.sh

touch ChangeLog

编译ibus-pinyin

先安装依赖包:

yum install sqlite-devel gcc-c++ libuuid-devel

下载源代码:

git clone git://github.com/phuang/ibus-pinyin.git ibus-pinyin
cd ibus-pinyin

开始编译:

./autogen.sh --prefix=/usr
make
sudo make install

Read the rest of this entry »