I’m now using Ubuntu 10.04 (Lucid Lynx). I want to dig into the kernel. When I check the kernel package in Synaptic, I found the version is 2.6.32-22.33, but currently the mainline kernel version is 2.6.32.13. How could that be?
To further verify the version, I install the linux-source package. In /usr/src/linux-source-2.6.32.tar.bz2!/linux-source-2.6.32/Makefile:
1
2
3
4
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 32
EXTRAVERSION = .11+drm33.2
But it is a modified version. To get the original kernel package, run the command:
1
# sudo apt-get source linux-source-2.6.32
There files will be downloaded: linux_2.6.32-22.33.dsc, linux_2.6.32.orig.tar.gz, linux_2.6.32-22.33.diff.gz. *.dsc is a signature, *.orig.tar.gz is the original source, *.diff.gz is the patch. In the case of packages made specifically for ubuntu, the last of these is not downloaded and the first usually won’t have “orig” in the name. In /usr/src/linux-source-2.6.32.orig.tar.gz!/linux-source-2.6.32/Makefile:
1
2
3
4
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 32
EXTRAVERSION =
And after installed the source, the version number became same as that in the *.deb package.
Today, I finally reverted to use pidgin instead of emphathy.
There’s a plugin call “musictracker” which displays the “now playing” info.
1
# sudo apt-get install pidgin-musictracker
It seems that nickname cannot be changed when using MSN protocol.
I did set the friendly name, but Others cannot see.
And the personal message is called status in pidgin, so set it there.
For QQ protocol, using pidgin may cause activation problem.
An error shows to tell you to activate your account via jihuo.qq.com.
Open the account settings, uncheck the “Connect by TCP” may solve the issue.
I google a lot to find a plugin for rhythmbox to show lyrics automatically.
Though rhythmbox does have a lyrics plugin, it cannot find most Chinese lyrics.
Then I find LrcShow-X. It works well.
The iBus IME issue seems to be fixed in this version.
But the “Home” and “End” key do not work correctly. This is a resolved bug.
So, change the key type to “linux” may workaround.
3. emphathy
Pidgin is replaced with emphathy.
Emphathy is not as powerful as pidgin.
But it integrates better with Gnome’s notification area.
4. totem/rhythmbox
These are video/audio players.
Please install essential codecs.
Otherwise, almost nothing could be played and seek function is not available.
Now, almost all media formats can be played.
Also, media plugins in firefox works.
5. fglrx
This is the graphics driver for ATI cards.
You may experience better performance and effects.
But after I installed it, I could not play Warcraft III using wine.
So I reverted to the original default graphics driver, and it works.
To play other 3D games, make sure your have turned off compiz firstly.
Then the volume button works.
The play/pause/stop/prev/next buttons also work in rhythmbox.
8. fstab
I want to mount all windows partitions when boot.
So /etc/fstab file should be edited automatically using pysdm:
1
# sudo apt-get install pysdm
For ntfs partitions, default option is OK.
For fat32 partitins, add the “utf8=1” string.
Or you may want to edit fstab manually.
You can copy from /etc/mtab file and do some little modification.
For me, the added modified lines are:
This will install some other useful packages.
The open-source java packages are included but not necessary.
Unmark them and install sun’s packages instead.
10. modify reserved space
1
# sudo tune2fs -m 3 /dev/sda2
11. ctrl+alt+backspace
See here:
Since Ubuntu 9.04, the Ctrl-Alt-Backspace key combination to force a restart of X is now disabled by default, to eliminate the problem of accidentally triggering the key combination. In addition, the Ctrl-Alt-Backspace option is now configured as an X keymap (XKB) option, replacing the X server “DontZap” option and allowing per-user configuration of this setting.
As a result, enabling or disabling the Ctrl+Alt+Backspace shortcut can now be done easily from the desktop.
– Enabling Ctrl-Alt-Backspace for Ubuntu 10.04
** Select “System” -> “Preferences” -> “Keyboard”.
** Select the “Layouts” tab and click on the “Layout Options” button.
** Select “Key sequence to kill the X server” and enable “Control + Alt + Backspace”.
– Enabling Ctrl-Alt-Backspace for Kubuntu 10.04
** Click on the Application launcher and select “System Settings”.
** Click on “Regional & Language”.
** Select “Keyboard Layout”.
** Click on “Enable keyboard layouts” (in the Layout tab).
** Select the “Advanced” tab. Then select “Key sequence to kill the X server” and enable “Control + Alt + Backspace”.