08 November 2009

Ubuntu 9.10 use windows fonts

With GNOME on Ubuntu system font pretty no more for other language like Thai. If you want to use truetype fonts like windows.
I had the way for this.

1 logon windows XP then copy windows font locate in c:\windows\fonts (copy "fonts" folder) may be put it your flash drive or other removeable drive.

2 plug-in your flash drive to Ubuntu and copy to some place such home directory and rename to winfont or any you prefer.

3 copy winfont directory to /usr/share/fonts/
$sudo cp -r winfont/ /usr/share/fonts/

4 chang permission of winfont directory to 755
$sudo chmod 755 /usr/share/fonts/winfont

5 it's the best way to restart

6 change GNOME font.
goto System -> Desktop preference -> Apperence
click tab font and set all font to Tahoma or other that you love.

7 reboot again

you system font will not diff from XP. Try....


.

06 November 2009

ubuntu run windows application with wine

I run desktop linux "Ubuntu 9.10" and try replace windows.
But I cannot disconnect from windows, couse my friend and family still jailed with windows.
With ubuntu 9.10 I found pretty way to run windows application with "wine"

you can get more information at www.winehq.org , it look like hard to install wine, but it has the way to easy.
If you running firefox with ubuntu just click link click > click ok > you must connected internet > install will in progress.
Now you ready to install and play with application. some application can't run with wine for more information visit www.winehq.org on AppDB section. Good Luck


03 November 2009

CentOS 5.3 flash 10 plugin install solve

update flash player 10 plugin on firefox 3.0.15

If install not success or malfunction.
remove with :
- Program / Add / Remove Software
- Remove firefox
- Re-install again with flash plugin

may be key to install not success.

Slackware root password reset

I install slackware 12.1 few month and lost root password. and I show you how reset root password.

- boot from Live cd look like new installation.

- mount to root partition "/" if not sure try what device.
#fdisk -l
#mount /dev/sda1 /mnt

- Now edit /etc/shadow it the best way to backup this file first.
#vi /mnt/etc/shadow

root:[set to blank]:14550:0:99999:7:::

and save by :wq

- take off you cd and reboot
- when login prompt type username as root and blank password.
- change root password with
#passwd

I success with slackware 12.1 and I think it will work fine with other linux.