Posts

微软雅黑

用了几天微软雅黑 现在在看Simsun,发觉非常不习惯 很淡很淡 即使是通过开启antialias使用了内嵌位图,也是一样的感觉 恐怕我是回不去了 刚刚了解到一个有关emacs 23的字体问题 其实仅仅用了这样的命令来启动是不够的 emacs --enable-font-backend -fn "Dejavu Sans Mono-12" 这样的话,非英文字体emacs还有可能用X核心字体 需要在~/.Xdefaults里加上这样一句才能保证emacs 23使用xft作为字体后端,仅仅启用字体后端是不够的。 Emacs.FontBackend: xft 这样一来,~/.emacs里就不需要任何配置字体的信息了 不过又发现一个问题,似乎emacs 23对~/.fonts.conf里的字体顺序反应迟钝? gtk+2程序的反应是即时的,只需要关掉并重新启动程序 qt程序可以用qtconfig来改字体替换表 emacs 23却没辙了,想不起来还可以改什么?即使~/.fonts.conf里Simsun排在前面,也还是只能用Microsoft Yahei。 参考: http://www.nabble.com/Xresource-of-enable-font-backend--t2349798.html http://zhllg.spaces.live.com/blog/cns!956A48A2D7ED7265!1475.entry

HOWTO Compile Kernel

HOWTO Compile Kernel From Gentoo Linux Wiki Jump to: navigation , search 目录 [ 隐藏 ] 1 安装内核源代码 2 配置 2.1 配置命令介绍 2.1.1 make menuconfig 2.1.2 make oldconfig 2.2 第一次配置 2.3 升级时配置 3 编译和安装 [ 编辑 ] 安装内核源代码 代码: 安装内核源代码 $ USE=symlink emerge gentoo-sources 使用symlink的目的是建立符号连接/usr/src/linux,以指向安装好的内核源代码目录。 [ 编辑 ] 配置 配置内核对于新手来说是一个噩梦。不过事实上,配置过程要远比一般人想象的容易。只是有些技巧了解的人不多。 [ 编辑 ] 配置命令介绍 [ 编辑 ] make menuconfig 配置内核的命令很多,不过make menuconfig应该是最通用的。它的运行几乎不限环境,远程登录也可以用它配置,所以我们重点介绍。 用法: 方向键选择菜单项/按钮 回车进入子菜单 按高亮字母直接选择相应菜单项 Y键包含,N键排除,M键配置成模块 退出,?键查看当前菜单项帮助信息,/键搜索 图例:[*] 包含 [ ] 排除 模块 < > 可配置成模块 [ 编辑 ] make oldconfig 利用已有的.config来生成新的.config。如果遇到新内核新增的选项,会挨个提示你是否启用。建议选择默认,即直接按回车。同时记录下有疑问的选项,以便下面再make menuconfig手工配置。 [ 编辑 ] 第一次配置 代码: 第一次配置 $ cd /usr/src/linux $ make defconfig $ make menuconfig make defconfig的作用生成一个缺省的配置文件。这个配置文件里各内核组件基本完整,只需修改硬件和文件系统即可。这步不是交互式的。 make menuconfig这一步就是要修改硬件和文件配置。需要关注的主要有这么几个部分,分别是 IDE驱动(默认是CONFIG_BLK_DEV

Psychic mode plugin of gaim 2.0.0dev

Psychic mode plugin is a very interesting plugin. It could cause conversation windows to appear as other users begin to message you, before they press "enter". The notification message is very funny: You feel a disturbance in the force... Updates: MSN protocol could use this plugin too, although it is not mentioned in the plugin's description.

[转载] QT 3.3.6 及以后版本的字体替换设置

http://wiki.chrischou.org/freeware:qtfont3.3.6 摘要: QT 3.3.6 及以后版本的字体替换规则发生了微小的变化,为此使用QT的应用程序(包括KDE)可能无法使用fontconfig的替换规则。QT 3.3.6 及以后的版本,除非指定sans-serif、serif、monospace其中的一个作为QT程序的默认字体,否则这些程序的中文将无法保证使用 fonts.conf 中指定的支持中文编码的字体来渲染中文字符(QT会使用第一个查找到的具有中文编码的字体来渲染中文字符)。而这些在 QT 3.3.5 及以前的版本是可行的。 PS: 在我这里一定要把SimSun写为“宋体”才可以。 不过还是有一个问题是,粗体出不来。 搞什么啊???!!!

zhcon 0.2.6 will be in portage soon

UTF-8 support is added in this version. To enable it, you have to use "zhcon --utf8" to start zhcon. zhcon's homepage is here: zhcon.sf.net This version is already in gentoo-china overlay. "layman -a gentoo-china" to check it out. Or you could see it here: http://www.gentoo.org/proj/en/overlays/layman-global.txt flameeyes said too much overlays will bring us down . I agree, to some extent. But that requires the maintainers response in a timely fashion . Otherwise, users can only resort to overlays. Fortunately, I am now become the proxy maintainer of zhcon. That situation won't happen to zhcon again as long as I remain as zhcon's proxy maintainer. EDIT: now it is in portage, so I have deleted it from gentoo-china overlay.

wall_john's desktop

Image
I have already uploaded the picture to blogspot. So now everyone could be able to see it.

screen之detach/reattach的一个应用

如果因为某个原因,X需要重起 那么可以先detach 然后X重新启动后,或者可以干脆直接在console里,再reattach 刚刚想到,有点莫名的兴奋,:-D detach是C-a C-d reattach是screen -r 然后按tab即可补齐。前提自然是要启用 bash-completion 。 如果不了解screen,可以看看GWN里的 报道 。一定要试一下!

prelink's segfault problem

The latest prelink in current portage has a problem. That is it segfaults if you run it with -q option. This patch fixed the problem. Thanks to Martin von Gagern. http://bugs.gentoo.org/attachment.cgi?id=95051&action=view

bayonne VS. asterisk

Asterisk is better? http://software.newsforge.com/comments.pl?sid=50233&cid=118555 I haven't touched asterisk. So I have nothing to say about it. However, I am looking at bayonne . I have contributed some patches to bayonne and I am taking care of bayonne2's ebuild in gentoo-voip overlay. So I know there are something that need to be improved in bayonne, for example the documentation.

Flash player 9 for Linux

http://labs.adobe.com/downloads/flashplayer9.html I have tried it on www.metacafe.com My firefox was crashed on the first try. After that, it works well.

FREE international call

Use your regular phone to make local/international call. http://www.jajah.com/

Hans Reiser accused of murder

http://www.linux-watch.com/news/NS3021902234.html Sigh!

SUSE's pronunciation

http://www.novell.com/linux/demos/desktop.html Sounds like suser