Thursday, March 10, 2005

Installing Windows fonts

Sometimes it is a bit uncomfortable with the font of Linux. It is better if i can have my MS font inside linux. Below is a simple way to add MS fonts into your linux platform.

GNOME users
In
GNOME 2.4 and above, this is very easy. Simply open a file manager window to fonts:// and open another one to your mounted Windows directory (/mnt/windows for example). Navigate to the Windows folder, then the Fonts folder. Select any fonts that you would like and drag and drop them to the fonts:// window.
Note: This should be done as
root otherwise it may not work. Also, try restarting your computer if it does not work.

Distribution packages

RPM
Users of
rpm-based distributions can install the Windows fonts from the packages msfonts-1.2.1-1.noarch.rpm and msfonts-style-1.2.1-1.noarch.rpm (LibraryMS fonts for Linux)

DEB
Package name is msttcorefonts, included in the
Debian repository called non-free.
These will download (or specify a location if you already have them) the fonts and install them.
Just write
apt-get install msttcorefonts.

Thursday, January 13, 2005

Auto Mount Partition Window

Found a link which teach how to auto mount window partition.
It's come from http://www.linuxcompatible.org/

Here is a small and useful tip. Most of us use linux and windows in a dual boot combination, and sometimes its annoying to mount the windows partitions every time u login to ur linux box.

Remember the first primary partition on first fixed disk is hda1. As most of us never create a secondary, third or fourth primary partition on the same harddisk so there is no hda2, hda3 or hda4. The first logical drive in the extended partition is hda5 (D drive on windows).

For example, in windows if u have partitions like C:,D:,E:
that means your drive C: is hdc1, drive D: is hdc5 and drive E: is hdc6.

So if you want to automount all of your windows partitions in linux when you boot into linux. Just update the /etc/fstab file with the appropriate entries. here is how my /etc/fstab looks after updating it.


LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda9 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/CDrive vfat defaults 0 0
/dev/hda5 /mnt/DDrive vfat defaults 0 0
/dev/hda6 /mnt/EDrive vfat defaults 0 0


Now the last three lines are the new lines i have put in my /etc/fstab. before putting these lines in i created the directories /CDrive,/DDrive and /EDrive in my /mnt/.now everytime i boot up, it automatically mounts my windows drives into the above given directories.

Don't forget that if you're using NTFS on your Windows partitions to put "ntfs" instead of "vfat"... (and make sure the ntfs module is functioning on your kernel... but on most modern distros it's there).

Install SCIM - Chinese Input

Finally i have a little bit of free time to do my thing. Although these few days i am using linux but only for my assignment, assembly langguage which i need to simulate the mastermind game. Working on it for several days but still got bugs, sigh....

After passing up the assignment, i going out with my friend to have a nice meal. Then go back home and decided to install chinese input for my Fedora Core 3 casue without chinese input, sometimes i cant even type chinese in forum.

So i will explain about how i install SCIM ( Smart Common Input Method)


Smart Common Input Method is a multilingual input method framework that can be used both through the old X Input Method interface and as a module for GTK+ 2 or Qt

  • Then as usual, type rpm -Uvh scim-1.0.2-1fc3.i386.rpm..after that type the same for another rpm.
  • If you wish to setting your terminal for chinese input. Go to another terminal and execute the following command:

$ export XMODIFIERS=@im=SCIM

There is the SCIM... have fun (this is more easy to install compare to last time which i need to edit the code so that it become my default input method)

Wednesday, January 05, 2005

Solve Xine installation Problem

I have solve the problem by using another version of xine-lib. (xine-lib-1.0.0-0.17.rc7.1.fc3.fr.i386.rpm)
It can be download from Here

Sunday, January 02, 2005

Install Xine

I want to use xine to watch movie no matter is DVD format, VCD format or rm format. This is what i need so that i can do that
Go to
http://heidelberg.freshrpms.net/ and download

  • xine-0.99.2-1.1.fc3.fr.i386.rpm
  • xine-lib-1.0.0-0.15.rc6a.1.fc3.fr.i386.rpm
  • aalib-1.4.0-5.1.fc3.fr.i386.rpm
  • libdvdcss-1.2.8-4.1.fc3.fr.i386.rpm
  • libfame-0.9.1-4.1.fc3.fr.i386.rpm
After that type
rpm -Uvh xine.......... (all the rpm because they are dependency)

Problem
I have encounter some problems while install the xine. The error messages are
[giap@streamyx xine]$ rpm -Uvh xine-0.99.2-1.1.fc3.fr.i386.rpm xine-lib-1.0.0-0.17.rc8.1.fc3.fr.i386.rpm aalib-1.4.0-5.1.fc3.fr.i386.rpm libdvdcss-1.2.8-4.1.fc3.fr.i386.rpm libfame-0.9.1-4.1.fc3.fr.i386.rpm
warning: xine-0.99.2-1.1.fc3.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: xine-lib-1.0.0-0.17.rc8.1.fc3.fr.i386.rpm: V3 DSA signature: BAD, key ID e42d547b
error: xine-lib-1.0.0-0.17.rc8.1.fc3.fr.i386.rpm cannot be installed
I will try to solve this problem as fast as possible.

Saturday, January 01, 2005

My First Blog

This is my first blog. From now on whenever i have any changes or testing about software that i installed or use, i will try to write down my opinion. The advantage and disadvantage of the software i tried. I also will write down how i solve some problem i faced. Hope that this may be can help some of you who is also facing the same problem.