Babar Haq

Monday, July 30, 2007

Type urdu in openoffice in ubuntu 6.06

Installing urdu font ( nafeesWebNaskh )

Download this file: http://www.crulp.org/Downloads/NafeesWeb.ttf

In a terminal type:

gksudo nautilus fonts:

A folder would open with a lot of font files in it. Copy and paste the above downloaded file in to this folder. Now type this command:

sudo fc-cache -f -v

Installing Urdu keyboard and keyboard applet
Download the keyboard "ur.txt" from http://www.crulp.org/Downloads/ur.txt
Double click the downloaded file to open it. Select and copy all the text in this file.

Issue this command

gksudo gedit /etc/X11/xkb/symbols/pk

This will open a file in gedit. Select and delete all the text in the file. Now paste all the text we copied from ur.txt to this file. Save and close this file.

Now go to System->Preference->Keyboard. Under the layout tab click on add button and chose pakistan from the left column and press Ok.

To easily switch between keyboards please add an applet to your task bar. This can be done by right clicking on task bar and selecting “add to panel”. In the utilities section choose keyboard indicator and press “Add”.

To type in urdu in openoffice. Open openoffice writer and from the fonts choose “nafees web naksh” and from the keyboard indicator choose urdu. Now you can type in urdu in openoffice or any other uni code supported software.

Labels:

2 Comments:

  • Thank you. It helped a lot. I am using Fedora 13, and OpenOffice. And for long time, was looking for an alternate to Inpage, in Linux. Your post did help me solve the keyboard layout problem. JazakAllah.
    Regards,
    Kamran

    By Blogger KamranAzeem, At 5:28 PM  

  • Thank you Kamran. Glad that it was useful.

    By Blogger Babar Haq, At 11:28 AM  

Post a Comment

Subscribe to Post Comments [Atom]



<< Home