Categories
- Android (3)
- Cloud Computing (4)
- Development (13)
- Linux (31)
- Uncategorized (31)
- WordPress (5)
Tags
Archives
-
Random Posts
Delicious Bookmarks
- Sending/receiving a Large size of message 2010/08/30
- Linux: How To Clear The Cache From Memory 2010/08/26
- Ejabberd-Cluster Database Configuration 2010/08/21
- How to: Find the inode size of an ext2 / ext3 filesystem 2010/08/21
- Ubuntu Router 2010/08/21
- HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc. 2010/08/21
Google Reader Shares
Richard's GR ShareLinks
Meta
Category Archives: Linux
Remote Desktop Access with NX
We connect to remote machines, whatever physical or virtual machines, through SSH in most cases, but occasionally we do need to live with graphical desktop. Yes, VNC is always used here, but.. urh.. VNC is too slow! NX is another … Continue reading
Vim
安装: $ sudo apt-get install vim vim-gnome exuberant-ctags 如果发现 GVim 的中文菜单无法显示,是因为 Ubuntu 中文操作系统的字符集写作 UTF-8,而 GVim 中认定的是 UTF8,做以下字符连接即可: $ cd /usr/share/vim/vim72/lang $ sudo ln -s menu_zh_cn.utf-8.vim menu_zh_cn.utf8.vim 安装完基本的 Vim 就可使用了,但要真正用好 Vim,还要根据需求对它进行配置自定义。已经有很多人分享了很好的配置经验,在 Google 中搜索 vimrc 可以找到很多资料。我发现了一个大牛配置,可以拿来学习和作为自己的配置参考。我个人不太喜欢大量地自定义快捷键,还是使用通用的比较好。
Mount Remote Windows Share
I’m using CentOS 5.5. Make sure your Linux has Samba client installed. If not, run the below to install it: # yum install samba-client Now mount Windows share: # mount -t cifs //win_server/share -o username=theuser,password=thepwd /mnt/winshare -t cifs: file system … Continue reading
Subversion
1. 安装 从 tarball 安装: $ tar jxvf subversion-1.5.7.tar.bz2 $ cd subversion-1.5.7 $ .configure –prefix=/opt/subversion –with-apxs=/opt/apache/bin/apxs $ make clean $ make $ sudo make install 如果在 Debian/Ubuntu 系: $ sudo apt-get install subversion libapache2-svn 2. 版本库 Subversion 支持单版本库,也支持多版本库。采用单一版本库管理所有项目,或者为每个项目建立一个独立的版本库,都是允许的,不过这两者的做法都有些极端。推荐的做法是,将关联度高的项目放在同一个版本库中管理。 以下步骤中,我将创建一个版本库 psearch,管理着两个项目 … Continue reading
Ubuntu 9.10 Quick Guide
1. partitioning If you’re using alternative image to install Ubuntu from ISO without CD, you’ll find that the problem of unable partitioning hard disk is solved. That problem exists in both 8.10 and 9.04 releases. In the installation wizard, there … Continue reading
Playing with MLDonkey
If you’re a non-Windows user, Linux or Mac, whatever, and want a client to connect eDonkey network, probably you’ll try aMule which is a clone of eMule. I’m not saying that aMule sucks, but… it’s just not good enough. Actually … Continue reading
NVIDIA Graphics Driver 180 Not Stable
Everything was fine when my ThinkPad T61p worked with the version 177 or 173 of NVIDIA Graphics Driver. When I got a notification that there was a new version 180 available, I was happy to upgrade it at once. Then … Continue reading
太宽太长?恢复正常!
在 Intrepid Ibex 中最招人烦的问题莫过于浏览器中输入框的尺寸超夸张地宽,单行多行皆如此,而且某些应用程序(比如 Eclipse)的按钮也很宽很宽。难看的恨。 我在 launchpad 上给 Ubuntu 开了个 bug,可惜 Ubuntu 团队的人不细究原因直接把这个 bug 分配到 Firefox 组件下,我就觉得修复无望了,因为该问题并非只是 Firefox 独有,其他浏览器(比如 Epiphany)、以及 Eclipse 这样的桌面应用程序也存在相同或相似的问题。 现在真相大白了,这一问题果然不是由 Firefox 引起的,也非我最初听说和猜测的 cairo,而是 pango. 解决问题的方法很简单,升级 pango 到 1.22.4 或以上。我没有找到编译好的 deb 包,只好从源包编译安装。 $ wget ftp://ftp.gnome.org/pub/gnome/sources/pango/1.22/pango-1.22.4.tar.bz2 $ bunzip pango-1.22.4.tar.bz2 … Continue reading
Auto-mounting Windows Partition
如果保持着 Windows 和 Ubuntu 的共存,那么常见的做法就是将数据(比如文档、音乐等)放在某个分区上,Windows 和 Ubuntu 这两个系统都使用这个共同的分区。当然,这个分区得使用 Windows 能识别的格式,比如 FAT32。 Ubuntu 在启动时并不自动挂载 Windows 分区,这导致每次 Ubuntu 启动后都需要手动挂载。虽然操作蛮简单,但总这么做很烦人、也显得很没 IQ… 1. 寻找 UUID 在 Nautilus 中挂载这个 Windows 分区后,切换至 计算机 视图,右击该驱动器,打开 属性,切换到 Volume 标签,就可以找到这个 Windows 分区的 UUID。我的 Windows D 盘是 848D-0A78。 [UPDATE] 28 … Continue reading
Ubuntu Font Size Adjustment
现在显示器的分辨率越来越高,屏幕上的字也就相应地越来越小,技术倒是在进步了,可眼睛却是真的越来越辛苦了。直接调低分辨率的话,字就不清楚了、发虚、有毛边。所以,使用默认的最佳分辨率、然后逐一修改系统和应用的字体大小设置是正道。 GTK 打开 系统 – 首选项 – 外观,切换至 字体 标签,将字体调节到合适的大小,比如12。系统默认值是10。 GDM 登录界面的字体在 GDM 当前使用的 主题 中控制。比如,若 GDM 使用的是 Human 主题,那么要修改的文件是 /usr/share/gdm/themes/Human/Human.xml,打开该文件,将所有 font 大小相应地调大,比如都加2。 一些应用程序 很多应用程序并非基于 GTK 开发,或者虽然是基于 GTK,但是又不严格遵循 GTK 全局配置。这样的话,就得辛苦一点,独自设置了。 Lotus Notes 在 Notes 客户端的 preferences 中,只能设置使用的字体,却无法设定字体的大小(怪怪的设计 -_-)。可以通过在 notes.ini 文件中加入参数 … Continue reading