|
Mon
24
Apr '06
|
If you are like me who cannot live without anti-aliasing and is an emacs user, this is what you want. Here is the screenshot.
I tried to make a a debian package and here it is. It’s based on the CVS code of April 24th, 2006. The reported version is 22.0.50. I never made a debian package before. But it works on my machine. Let me know if you have problems with it.
I built the package on a Ubuntu breezy/dapper machine, gcc 4.0.
cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs cd emacs cvs up -Pd -r XFT_JHD_BRANCH ./configure --prefix=/usr --with-gtk --with-xft --with-jpeg --with-png --with-tiff make bootstrap && make && sudo make install
|
Wed
19
Apr '06
|
我的平台是Ubuntu Linux dapper, Gnome 2.14。其他基于Debian的平台应该类似。
- 字体 我用方正GBK字体包带的方正细黑字体,个人感觉比SimSun好,笔画清楚。把字体拷到
~/.fonts目录下,运行fc-cache。如果必要重启X11。 - 输入法 SCIM和FCITX都是很好的选择。如果用SCIM,需要装scim, scim-chinese和scim-gtk2-immodule包,设置如下环境变量:
export XMODIFIERS=@im=SCIM export GTK_IM_MODULE="scim"
目前(2006年4月)scim似乎和acroread有冲突。如果是这样的情况,可以用fcitx,设置如下变量,并手动启动fcitx:
export XIM=fcitx export XIM_PROGRAM=fcitx export GTK_IM_MODULE=fcitx export XMODIFIERS="@im=fcitx" export LC_CTYPE="zh_CN.GBK" /usr/bin/fcitx
我一般把这些设置放在
~/.xsession,手工启动gnome-session,在gdm里面选择System Default Session。 - Samba 我的文件服务器是一台Debian,运行Samba(版本:3.0.14a-3sarge1)。smb.conf中编码设置:
dos charset = UTF-8 unix charset = UTF-8
Windows和Mac OS X客户端对中文文件名显示都没有问题。Linux端mount选项:
iocharset=utf8,codepage=utf8
|
Fri
14
Apr '06
|
Also upgraded WPG2 to 2.0. Things seemed to go smoothly.
|
Fri
14
Apr '06
|
Spring is coming late this year, due to the cold weather. Tulips are overdue at least a couple of weeks. It’s still raining most of the time. We managed to find a shining window though.
|
Thu
6
Apr '06
|
I have a bibliography entry which is very long since I included its web address. Bibtex inserted some strange “%” signs. The solution is to insert some white spaces in the URL. I use the macro \url from url package and it will ignore the spaces anyway.
