Sunday, September 07, 2008

Setting up Persian language in Ubuntu

For viewing Persian alphabet in Ubuntu, you can simply install the package called "msttcorefonts".

Code:
setxkbmap -option grp:switch,grp:shift_toggle,grp_led:scroll us,ir &
Then press both SHIFT keys at the same time (SHIFT+SHIFT) to toggle your keyboard between English and Farsi.

If it works then you just need to have this line executed everytime you login (for example have it in a script that will be run in your profile or in your Autorun)

Source : http://ubuntuforums.org/showthread.php?t=198188

No comments: