mount -t tmpfs tmpfs /path/to/src/subversion/tests/cmdline/svn-test-work -o uid=$USER,mode=770,size=32m
在linux上挂载一个内存盘
http://lujun.info/2009/05/%e5%9c%a8linux%e4%b8%8a%e6%8c%82%e8%bd%bd%e4%b8%80%e4%b8%aa%e5%86%85%e5%ad%98%e7%9b%98/
firefox中flashplayer中文显示乱码
解决方法:第一种:删除 /etc/fonts/conf.d/49-sansserif.conf 后重启就正常了第二种:修改/etc/fonts/conf.d/49-sansserif.conf中的字体,保留其中的monospace,其余修改成系统中的中文字体,比如:文泉驿正黑
http://lujun.info/2009/05/firefox%e4%b8%adflashplayer%e4%b8%ad%e6%96%87%e6%98%be%e7%a4%ba%e4%b9%b1%e7%a0%81/
Setup android source compilation env
Ubuntu Linux (32-bit x86)To set up your Linux development environment, make sure you have the following: * Required Packages: o Git 1.5.4 or newer and the GNU Privacy Guard. o JDK 5.0, update 12 or higher. Java 6 is not supported, because of incompatibilities with @Override. o flex, bison, gperf, libsdl-dev, libesd0-dev, [...]
http://lujun.info/2009/05/setup-android-source-compilation-env/
JF 1.5 安装HTC输入法
E:\software\android\cime>adb push lib/libcimet9.so /system/lib/libcimet9.soE:\software\android\cime>adb push lib/libimezi.so /system/lib/libimezi.soE:\software\android\cime>adb push lib/libpphwr.so /system/lib/libpphwr.soE:\software\android\cime>adb push lib/zi/Zi8DatPYP_CN.z8d /system/lib/zi/Zi8DatPYP_CN.z8dE:\software\android\cime>adb push lib/zi/Zi8DatPYS_CN.z8d /system/lib/zi/Zi8DatPYS_CN.z8dE:\software\android\cime>adb push lib/zi/Zi8DatZHA_CN.z8d /system/lib/zi/Zi8DatZHA_CN.z8dE:\software\android\cime>adb push lib/zi/Zi8DatZHA_HK.z8d /system/lib/zi/Zi8DatZHA_HK.z8dE:\software\android\cime>adb push lib/zi/Zi8DatZHA_TW.z8d /system/lib/zi/Zi8DatZHA_TW.z8dE:\software\android\cime>adb push lib/zi/Zi8DatZYP_TW.z8d /system/lib/zi/Zi8DatZYP_TW.z8dE:\software\android\cime>adb push lib/zi/Zi8DatZYS_TW.z8d /system/lib/zi/Zi8DatZYS_TW.z8d需要手动加几个库文件下载地址:http://www.sofee.cn/blog/wp-content/uploads/2009/05/android_cime.rar
http://lujun.info/2009/05/jf-1-5-%e5%ae%89%e8%a3%85htc%e8%be%93%e5%85%a5%e6%b3%95/
安装ppa源签名的方法
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com B0BE17C2A0C914F086B7B8327D2C7A23BF810CD5 其中 B0BE17C2A0C914F086B7B8327D2C7A23BF810CD5 通常可以在https://launchpad.net/~ibus-dev/+archive/ppa找到,其中~ibus-dev就是你的项目名称。
http://lujun.info/2009/05/%e5%ae%89%e8%a3%85ppa%e6%ba%90%e7%ad%be%e5%90%8d%e7%9a%84%e6%96%b9%e6%b3%95/
What’s udeb package?
The ‘u’ in udeb stands for Greek mu, meaning micro (udebs take less space than regular debian packages). Unlike regular debian packages, modules for the installer will not bepolicy compliant. They will not contain documentation in /usr/share/doc.They need not comply with the FHS. They may be statically linked. They arebuilt with options such as -Os and [...]
http://lujun.info/2009/05/whats-udeb-package/
在ubuntu的launchpad上找到了这两天困扰我的BUG
原来有很多人有这样的问题阿,这个问题主要是在笔记本用户上出现的。基本确实是和无线网卡有关系,这个东西到处惹火,在vista里面我也吃了不少的苦。https://bugs.launchpad.net/ubuntu/+source/linux/+bug/355054 另外ubuntuforums论坛上有人给出了一个解决方案,想应用了试一下。 Re: cannot shutdown / reboot laptop on 9.04 I was having the same problem. If the laptop’s wireless card was “on” at shutdown, it would hang and I’d get that blinking cursor in the top left corner. If the laptop’s wireless card was “off” at shutdown, no problems at all. So here’s how [...]
http://lujun.info/2009/05/%e5%9c%a8ubuntu%e7%9a%84launchpad%e4%b8%8a%e6%89%be%e5%88%b0%e4%ba%86%e8%bf%99%e4%b8%a4%e5%a4%a9%e5%9b%b0%e6%89%b0%e6%88%91%e7%9a%84bug/
英文版的ubuntu装ibus
配置ibus运行环境:编辑/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules,添加两行:“/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so”“ibus” “X Input Method” “gtk20″ “/usr/share/locale” “en:zh” 添加以下两行至.bashrcexport XMODIFIERS=@im=ibusexport QT_IM_MODULE=ibus 按下Ctrl+Alt+Break重新启动X,登录后就可以使用ibus了。
http://lujun.info/2009/05/%e8%8b%b1%e6%96%87%e7%89%88%e7%9a%84ubuntu%e8%a3%85ibus/
Ubuntu 8.10 关机bug修复法
昨天刚安好的Ubuntu 8.1 版本,安装完之后,发现不论是重启还是关机,在Ubuntu进突条读取完毕后,就黑屏了,屏幕上只有一个白色光标在不停闪烁。等了差不多10分钟吧,还是 无法关机或重启,只能按重启键或开机键了。于是我重新登录上Windows,google了一下,找到了解决方法。方法如下: 第一种方法 打开应用程序-附件-终端,然后在终端中输入 gksu gedit /etc/init.d/alsa-utils CTRL+F找到 mute_and_zero_levels “$TARGET_CARD” || EXITSTATUS=1 改为 #mute_and_zero_levels “$TARGET_CARD” || EXITSTATUS=1 我是使用的是上边这种方法。成功,没有再试第二种方法。大家有兴趣的可以试一下。 第二种方法 同样打开应用程序-附件-终端,然后在终端中输入 gksu gedit /etc/init.d/alsa-utils 在最后stop)的section的最前面 加上下面两行 “ifconfig wlan0 down”“ifconfig wlan0 down”
http://lujun.info/2009/05/ubuntu-8-10-%e5%85%b3%e6%9c%babug%e4%bf%ae%e5%a4%8d%e6%b3%95/
G1 刷机前备份
Browser bookmarks Mybackup Pro
http://lujun.info/2009/05/g1-%e5%88%b7%e6%9c%ba%e5%89%8d%e5%a4%87%e4%bb%bd/