This blog is moved to http://gideontsang.blogspot.com/ and this wordpress blog will not be updated anymore. I hate its ads.
August 3, 2012
When you do make xconfig (graphical kernel config), you may receive following error
gideon@gideon-desktop:~/linux$ make xconfig
* Unable to find the QT4 tool qmake. Trying to use QT3
* Unable to find any QT installation. Please make sure that
* the QT4 or QT3 development package is correctly installed and
* either qmake can be found or install pkg-config or set
* the QTDIR environment variable to the correct location.
In Ubuntu, you just need to install the qt4-dev-tools package to fix it.
# aptitude install qt4-dev-tools
July 21, 2012
I’m not sure if these instructions are distribution specific. Currently I’m testing this with LinuxMint13 with Cinnamon.
To probe disks on the system for other operating systems:
Search the new kernel images and update the grub configuration
But in fact, kernel make install will automatically run update-grub..
# cd LINUX_SOURCE_TREE
# cp /boot/config-`uname -r` .config
# make menuconfig
# make -j4
# make modules
# make modules_install
# make install
Reboot! (Don’t blame me if your machine doesn’t boot!)
June 17, 2012
In Linux Mint the boot splash screen is completely black. According their website it is by design not a bug. If you want to change the splash screen you can select one by typing the following command and selecting mint-logo:
sudo update-alternatives –config default.plymouth
June 3, 2012
I had been setting up my own server for website for like 10+ years but still this is my first time to get the e-mail working! Still excited!
I followed a website to use dovecot and postfix. Both are very easy to use! not like sendmail which is horribly complicated.
Basically you need the following packages: (Ubuntu 10.04)
aptitude install postfix dovecot dovecot-pop3d dovecot-imapd dovecot-postfix
For setup, the following is a good guideline:
February 27, 2012
If you are interested in develop Android applications, don’t miss this sample source codes!
February 26, 2012
I love the 文泉驛 WenQuanYi font, it’s already in the main debian/ubuntu repositories.
sudo apt-get install ttf-wqy-zenhei