Lost Temple

我是一个程序员

2006年4月4日 #

Bluetooth Keyboard Memo

Think Outside REVIEW(geek.com)

驱动下载
早已经停止支持

点讯输入法下载(事实上,我没搞定这个输入法)
另外,ce-star也可以支持此键盘,下载
ce-star与短信冲突

使用说明
iGo蓝牙键盘使用


posted @ 2010-03-12 10:28 izuk 阅读(147) | 评论 (0)编辑 收藏

linux mount fat分区时正确保存文件名的大小写

问题是从一个Linux/Windows共享的FAT分区上所有的CVS目录在linux下都变成了小写开始的。
所幸原因和解决方法都简单在一问一答中。请参考:

http://www.linuxquestions.org/questions/showthread.php?t=304167

同时把答案抄在这里备份一下:

Try using the shortname option:
mount -t vfat -o shortname=[lower|win95|winnt|mixed] /dev /mountpoint
(choose one of the options, I would go with winnt or mixed first, the default is lower

------
忍不住牢骚一句:这个blog系统在Firefox下用户体验真是suck。

posted @ 2007-05-26 07:20 izuk 阅读(743) | 评论 (0)编辑 收藏

RHEL3的yum配置

一个比较老的系统了, uname的结果是
Linux pc 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
安装的yum版本是 yum-2.0.7-1.noarch.rpm.

找的源是针对Centos3的, 请参考:
Centos-3 is a distribution that rebuilds the Enterprise Linux 3 release by taking the Source RPMs and rebuilding them with full binary compatibility to the upstream RPM packages of the EL3 line (see the project website for more details about this distribution: www.centos.org).
Centos 3 represents a rebuild of the latest updated release of Enterprise Linux 3


用的是DUKE大学提供的source, 参见 Packages for Centos-3:
[duke-base]
name
=Linux@DUKE Centos $releasever - $basearch - Base
baseurl
=http://install.linux.duke.edu/pub/linux/base/centos-3/$basearch/
gpgcheck=1

[updates]
name
=Linux@DUKE Centos $releasever - $basearch - Updates
baseurl
=http://install.linux.duke.edu/pub/linux/updates/centos-3/$basearch/
gpgcheck=1

[duke
-distrib]
name
=Linux@DUKE Freely Distributable add-on packages for Centos $releasever - $basearch
baseurl
=http://install.linux.duke.edu/pub/linux/add-on/distrib/centos-3/$basearch/
gpgcheck=1

需要导入的key参见 Using Signature Checking in Yum :
但好像其中i386下的一个key是错误的,最后导入的key是这样的:
rpm --import http://install.linux.duke.edu/pub/linux/base/centos-3/i386/RPM-GPG-KEY-CentOS-3
rpm --import http://install.linux.duke.edu/pub/linux/add-on/distrib/Linux-at-DUKE-GPG-KEY

最后,如果业务有需要,还是购买正式的RHEL服务吧,呵呵,或者用其他免费的版本.

posted @ 2006-08-01 17:20 izuk 阅读(581) | 评论 (0)编辑 收藏

Linux下JAVA程序中的中文显示

问题:Freemind在编码设置为zh_CN.UTF8的Linux下运行时中文字显示为方块(或无显示)

其实也就是一个font的问题。Google了一圈,找到一些在JRE中修改font.properties的方法。但是都没有解决问题。

最后在Sun的网站上找到了解决办法Internationalization FAQ,很简单:

Since the mapping from logical fonts to physical fonts is implementation dependent, the answer varies. For Sun's JRE 5.0, the easiest way is to install the font into the JRE's lib/fonts/fallback directory - it will be automatically added as a fallback font to all logical fonts for 2D rendering.

还有一些关于font.properties的解释:
For AWT, you may need to modify a font configuration file - see the web page Font Configuration Files. For earlier versions of Sun's JRE, you need to edit font.properties files - see the Font.properties Files documents for J2SE 1.4.2 and J2SE 1.3.1. Note however that editing these files is a modification of the JRE, and Sun does not support modified JREs. For other implementations, see their respective documentation.

posted @ 2006-04-04 16:42 izuk 阅读(276) | 评论 (0)编辑 收藏