1. add wine-cn source
wget -O- 'http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x84DD336194625C2F' | sudo apt-key add -
echo -e "deb http://ppa.launchpad.net/wine-cn/ppa/ubuntu jaunty main\ndeb-src http://ppa.launchpad.net/wine-cn/ppa/ubuntu jaunty main" | sudo tee /etc/apt/sources.list.d/wine-cn.list
2.
sudo apt-get update
sudo apt-get install wine
3.
If you "Locale" is not zh_CN, MODIFY the command line in ~/.local/share/applications/wine-Programs-XXX.desktop TO env LANG=zh_CN.UTF-8 wine "C:\Program Files\XXX.exe" to provide Chinese support.
Sunday, June 21, 2009
Saturday, June 20, 2009
Chinese font configuration in ubuntu 9.04
I prefer YaHei font, due to its good mix of Chinese and English
1. Download from http://rs54l33.rapidshare.com/files/34563809/5101584/YaHei.Consolas.1.11b.zip
2. Copy the ttf file to ~/.fonts
3. fc-cache -fv (to refresh the font list)
4. Right click on desktop -> Change Desktop Background -> Fonts. Change all to YaHei ....
Done.
1. Download from http://rs54l33.rapidshare.com/files/34563809/5101584/YaHei.Consolas.1.11b.zip
2. Copy the ttf file to ~/.fonts
3. fc-cache -fv (to refresh the font list)
4. Right click on desktop -> Change Desktop Background -> Fonts. Change all to YaHei ....
Done.
Thursday, June 18, 2009
watch video in ubuntu 9.04
1. Remove totem media player.
Remove totem media player from synaptic.
sudo rm /usr/share/applications/totem.desktop
2. Install mplayer, codec and plugin for firefox
sudo apt-get install mplayer mplayer-fonts mozilla-mplayer
download all-20071007.tar.bz2 from http://www2.mplayerhq.hu/MPlayer/releases/codecs/
tar jxvf all-20071007.tar.bz2 /usr/lib/codecs/
3. Fix realplayer codec: drvc.so
sudo apt-get install libstdc++5
4. Add restricted video format
sudo apt-get install ubuntu-restricted-extras
5. Also better to do the following:
sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
sudo apt-get install w32codecs
Enjoy now!
Remove totem media player from synaptic.
sudo rm /usr/share/applications/totem.desktop
2. Install mplayer, codec and plugin for firefox
sudo apt-get install mplayer mplayer-fonts mozilla-mplayer
download all-20071007.tar.bz2 from http://www2.mplayerhq.hu/MPlayer/releases/codecs/
tar jxvf all-20071007.tar.bz2 /usr/lib/codecs/
3. Fix realplayer codec: drvc.so
sudo apt-get install libstdc++5
4. Add restricted video format
sudo apt-get install ubuntu-restricted-extras
5. Also better to do the following:
sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
sudo apt-get install w32codecs
Enjoy now!
Subscribe to:
Posts (Atom)