Sunday, January 27, 2013

Chinese input method on Linux Mint 14


Here are the Use ibus to input chinese on Linux Mint 14 with Mate session.

1. Install ibus packages.
sudo apt-get install ibus-gtk ibus-pinyin ibus-pinyin-db-open-phrase

2. Add chinese input support.
Select  Menu->Preferences->Language Support, the program will be started. Click "Install/Remove  Languages..." and then Select Chinese(simplified) to install it.
And then select input method of ibus.

3. Log out and log in again and ibus applet will be shown at the right lower corner.
Configure the ibus input preferences by adding pinyin input method. 

Thursday, August 2, 2012

Xen on OpenSuSE 12.1

Here are the steps to install xen on openSUSE 12.1

1. Install packages
zypper install kernel-xen xen libvirt libvirt-devel xen-tools

Wednesday, August 17, 2011

Change Default User for SuSE

On OpenSuSE 11.4, the file of /etc/sysconfig/displaymanager contains a line of
"DISPLAYMANAGER_AUTOLOGIN=". The user name specified here is the default user that will do the autologin. It's meaning is explained in the comments as follows.
# Define the user whom should get logged in without request. If string
# is empty, display standard login dialog.

Wednesday, May 4, 2011

Install wine on SLES 11

Wine package can be downloaded from the web site of http://www.winehq.org/.

To install wine on SLES 11, two rpm packages are required: wine-gecko and wine. The packages downloaded are wine-1.3.19-1.1.i586.rpm and wine-gecko-1.2.0-22.1.noarch.rpm. When installing the packages, it complains about libgphoto library on 64 bit OS. But I found the 64-bit package is already installed. So I run the following to force install.

rpm -ivh --nodeps wine*.rpm

After this, wine works now and I can install some wine supported software.

Samba File System on SuSE

To mount a samba file system (CIFS) on SLES 11, do the following

1. Edit the file of /etc/samba/smbfstab, specify the source location, mount point, username and password. Below is an example
//fjall/test /data/test cifs username=tridge,password=foobar
2. Mount the directory by
rcsmbfs start
3. Turn on smbfs service.
chkconfig smbfs on

For OpenSuSE 11.4, the file used for samba client is /etc/samba/cifstab. And the corresponding command is changed to rccifs, and we can turn the service on by "chkconfig cifs on". 

Or do the manually every time, we can run
mount -t cifs -ousername=tridge,password=foobar //fjall/test /data/test

Thursday, July 30, 2009

Monday, April 13, 2009

Listening MP3 on unbuntu

Ubuntu version 7.10

Exaile Music Player & Rythmbox Music Player. By default mp3 support is disabled.
In order to listen mp3, I installed gstream0.10-fluendo-mp3 package. And then both
music players can be used to play mp3 files.