Monday 28 April 2008

Ubuntu 8.04 - Review by a Malayalam User

I was very much excited when I saw the announcement about the new release of Ubuntu in the mailing list and curious to give it a try. The new release, according to http://www.ubuntu.com is a Long Term Supported(LTS) version for 5 years and has numerous features including virtualization. It took almost 7 hours to download and upgrade the latest Ubuntu 8.04, code named Hardy Heron, in my office desktop. I preferred network upgrade since I don't want to affect my office tasks during upgrade process. The download started on Friday(25th April) and then I have to suspend it for a while and completed on Saturday. (Even though Saturday was a holiday, I couldn't wait till Monday :) ).

The upgrade completed successfully, but the new Ubuntu booted up with the old kernel which was installed with 7.10. I have to modify the grub configuration file in Fedora 8 to include Ubuntu in the grub. So I copied the following lines to the /etc/grub.conf and it was done.

title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,8)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=9c040612-4dbd-4dd8-9845-9a1050d7cbfe ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic

I did another reboot to pick the latest kernel with 8.04 and now I am ready with the login screen.

Cool desktop and Applications:
The artistic login screen and the desktop wallpapers are appealing and cool. The panel has a new icon named Search Tracker which allowed to search the desktop files and emails. It's a very user friendly and unlike other GNU/linux searching tools, it was very fast also. The new desktop came with the latest version of OpenOffice-2.4 and Mozilla FireFox-3 (beta 5). Even though , Firefox is still in beta, the new location bar search and unicode URLs are noticeable features. It seems that firefox is much faster than it's predecessors.

The desktop effects have been enabled by default and this gives more dynamic look for the desktop. In earlier versions, the desktop effects tend to consume more system resources, but 8.04 has improved a lot I didn't realised any performance issues. However, if you are upgrading from 7.10, then you probably need to delete all the preference files(files startiing with . (dot)) in your home directory and files related with your username in /tmp.

Disappointment for Malayalam users
I was very keen about the Malayalam support in the new release. Recently the Swathanthra Malayalam Computing(SMC) community have conducted aggressive campaigns for translating the interface and as a result more than 80% of the translation has been completed in GNOME. See the screenshot:


The new Ubuntu is not that much appealing to Malayalam desktop users. However experienced user can tweak the system so that it correctly renders the language. The only noticeable feature is the Firefox's ability to interpret the URLs in unicode. Earlier the unicode URLs seems to be a junk of characters and even techies can't interpret it correctly. I'm sure it's a wonderful feature for non-english users.

The Malayalam support in 8.04 is not installed by default and the first step is to install it from System --> Administration --> Language Support. Ubuntu will then automatically install the packages related to Malayalam including m17n, aspell and Malayalam fonts.

Unfortunately, the Malayalam rendering in 8.04 is very bad and when I opened the Malayalam wikipedia in Firefox most of the sections are unreadable. See the screenshot :
The rendering issues are mainly due to font issues and the Malayalam fonts developed by SMC, which is available for debian, resolved majority of the issues. I have to manually download the fonts from the debian repository and install them using the dpkg command.

# dpkg -i ttf-malayalam-fonts_0.5.2_all.deb

Here is the screenshot with Meera fonts maintained by SMC:

Now the rendering is perfect except this bug.

Since the rendering was OK, my next objective was to set up the Malayalam input in the desktop. Of course this is one of the failure with 8.04. The scim-m17n packages where not installed by default and I have to manually install them using the Synaptic Package Manager. I searched for "scim-m17n" and then applied it. SCIM was then configured using System-->Preferences-->SCIM Input Method The irritating stuff is that I have to start scim manually before typing anything in Malayalam. The following commands helped me to set up SCIM in startup:

sudo -i
touch /etc/X11/Xsession.d/74custom-scim_startup
chmod 646 /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XMODIFIERS="@im=SCIM"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export GTK_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XIM_PROGRAM="scim -d"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export QT_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
chmod 644 /etc/X11/Xsession.d/74custom-scim_startup

Reference : http://www.mrbass.org/linux/ubuntu/scim/

The scim setup was complete, but again there were problems when using ZWJ and ZWNJ. Both these characters were not properly identified and this caused problem with chillus when typing Malayalam. I was using the default inscript tables by scim, and it had some bugs. To correct this I have to install another package named m17n-contrib which also has a transliteration based input method. I searched for "m17n-contrib" in Synaptic Package Manager and applied it and then I have to relogin to effect the changes in scim. Thanks to Santhosh Thottingal who guided me to troubleshoot this issue.

The Dejavu and freefont packages installed in Ubuntu has included Malayalam glyphs but it seems that they have some bugs. This may prevent rendering Malayalam perfectly in OpenOffice Writer and rich text boxes in Firefox. Even though it's not recommended, finally, I have to remove them from the system.

The Padma extension, which is used to read Malayalam news papers in dynamic font, is not supported in Firefox 3beta5. This turned to be another disappointment as a Malayalam user. Now, I may have to search for the Padma patch developed by Sri. Anil Kumar K V, one of my favourite teachers :).

Even though the issues discussed above can be solved easily, these are real obstacles for an average Malayalee desktop user. I hope that the issues may be resolved soon and shortly we may have a complete GNU/Linux desktop.

10 comments:

libregeek said...

Finally, I got a method to type Malayalam correctly in Ubuntu. Thanks to Santhosh Thottingal. Here are the steps to configure Malayalam input method in ubuntu.

Goto System-->Preferences-->Keyboard. Click on Layouts tab, Click the Add button and chose India and then Malayalam

Now add the Keyboard indicator to the panel.

This will enable you to type Malayalam in inscript method.

abilash said...

"Ubuntu 8.04 - Review by a Malayalam User"

ഈ പോസ്റ്റ് വളരെ ഉപകാരപ്രദമായിരുന്നു. ഞാന്‍ ഓഫീസില്‍ പരീക്ഷിച്ചു. മലയാളം കൃത്യമായി റെന്‍ഡര്‍ ചെയ്യുന്നുണ്ട്.

അഭിലാഷ്, ഖാദി ബോര്‍ഡ്

Abhilash said...

ഹെല്ലൊ,
ഈ സംഭവം super തന്നെ! thanx.
പിന്നെ, ഒരു സംശയം, ഈ പറഞ്ഞ, "However experienced user can tweak the system so that it correctly renders the language." ഒന്നു കൂടെ explain ചെയ്യാന്‍ പറ്റുമോ? എങ്ങനെയാണ് tweak ചെയ്യുക എന്ന്?

പിന്നെ, Padma patched, കിട്ടിയൊ?

വളരെ നന്ദി,
അഭിലാഷ്. കെ. എം.
മട്ടന്നൂര്‍, കണൂര്‍.
PS: Font size is too small, is there any way to make the default malayalam font a +1 size? To type the above comments, I had to up the font size in firefox by 4 times :(

libregeek said...

നന്ദി അഭിലാഷ്,
tweakings എല്ലാം ആ പോസ്റ്റില്‍ പറഞ്ഞിട്ടുണ്ട്. പദ്മ patch പരീക്ഷിക്കാന്‍ ഇതുവരെ സമയം കിട്ടിയില്ല. Font size ശരിയാക്കാന്‍ ഇതു നോക്കുക :
http://surumablog.blogspot.com/2007/11/blog-post.html

P.S : കണ്ണൂര്‍ എന്നല്ലേ ശരി ?

Sajeesh KP said...

I need to use malayalam in ubuntu, here I found Manilal's comment, from there I tried

Goto System-->Preferences-->Keyboard. Click on Layouts tab, Click the Add button and chose India and then Malayalam


then where I want to set the keyboard indicator on the panel..?

""Now add the Keyboard indicator to the panel.""


after I selected India thn malayalam, still I'm not getting malayalam font in word processor...

pleas give me a solution

Sajeesh KP said...

ഹായ്,

Thnaks to Santhosh and Manilal.

ഇപ്പോള്‍ ഉബുന്ടുവില് എ​നിക്ക് മലയാളം ടൈപ്പ് ‍ചെയ്യ്ാന് പറ്റുന്നുണ്ട്. പക്ഷെ ചില അക്ഷരങ്ങള്‍ ശരിയായ വിധത്തില്‍ കിട്ടാത്തത് വിഷമം ഉണ്ടാക്കുന്നുണ്ട്.
ഉദാഹരണമായി, യ ഇരട്ടിപ്പ് കിട്ടുന്നില്ല. അതുപോലെ vyektham അതിലെ വളളി, അതുപോലെ Swakaryam എന്നതിലെ വള്ളികള്‍ ഇതൊന്നും ശരിയായ വിധം കിട്ടുന്നില്ല. ഈ കാര്യങ്ങള്‍ക്ക് വല്ല മാര്ഗവുമുണ്ടെങ്കില്‍ ഒന്നു അറയിക്കാന്‍ അപേക്ഷിക്കുന്നു.

നന്ദിയോടെ,

സജീ‍ഷ്. കെ. പി.
കൊയിലാണ്ടി.

Sajeesh KP said...

അതുപോലെ മറ്റൊന്ന് ഉബുന്ടുവിലെ ചാറ്റ് അപ്ലിക്കേഷനെ പറ്റിയാണ്. ഗൂഗിള് ടാക് പ്രശ്നമില്ലാതെ പിഡ്ഡിങ്ങ് മെസന്‍ജറില്‍ പ്രവര്ത്തിക്കുന്നിണ്ടെങ്കിലും യാഹൂ മെസന്‍ജര് പ്രവര്ത്തിപ്പിക്കാന് പറ്റുന്നില്ല.

ഈ കാര ്യവും പറഞ്ഞുതരാന് പറ്റുമെങ്കില് ഇവിടെ എഴുതണം.

libregeek said...

@സജീഷ്
1. താങ്കള്‍ ഉബുണ്ടുവിന്റെ ഏതു വെര്‍ഷനാണു ഉപയോഗിക്കുന്നതു? വീശദമായി(screenshots ഉള്‍പ്പെടെ) smc-discuss@googlegroups.com ലേക്ക് ഒരു മെയില്‍ അയയ്ക്കാമോ?

2. യാഹൂ അവരുടെ protocol ല്‍ ചില മാറ്റങ്ങള്‍ വരുത്തിയിരുന്നു.pidgin ന്റെ ഏറ്റവും പുതിയ പതിപ്പ് ഉപയോഗിച്ചാല്‍ ഈ പ്രശ്നം ഒഴിവാക്കാം.

ओंकार (Onkar) said...

Why are you installing a package from Debian repository in Ubuntu? Why not use package from Ubuntu repository (can be easily searched in Synaptic).

libregeek said...

onkar:
The bug fixed version of Malayalam fonts were not available in Ubuntu repository at the time of writing this review