Friday, February 26, 2010

Meaning of "Public Information" with Google and Social Media

Most of the legislations consider birth certificate as a public document. But will you be comfortable if it is publish on the internet? Having your email publicly available also is now becoming an issue due to spammers. This is a good eye opener for some facebook users. http://www.facebook.com/video/video.php?v=1209866160974&ref=mf

So it may be worth starting a discussion on this topic now to bring in more disciplinary guidelines in to internet applications.

Thursday, February 25, 2010

OpenOffice Sinhala: Interface Issue on Kubuntu => Workaround

I installed the Sinhala pack for OpenOffice 3.2 on Kubuntu 9.10 and switch my interface to Sinhala. But I found that it is not rendering Sinhala properly. Looks like in some places it just uses the system default font instead of the Sinhala font.
http://www.openoffice.org/issues/show_bug.cgi?id=107252



There is a font replacement feature available in OpenOffice which can be used as a workaround until developers fix the issue.
http://www.openoffice.org/issues/show_bug.cgi?id=109067

Go to Tools(මෙවලම්)=>Options(විකල්ප) and select Fonts(අකුරු) under OpenOffice.org.



Enable "Apply replacement table (ප්‍රතිස්ථාපන වගුව ඇතුළත් කරන්න)", select your system font under "Font (අකුරු)" and select LKLUG or your preferred Sinhala font as the "Replace with (සමග ප්‍රතිස්ථාපනය)" font. Then select "Always (සැමවිටම)". Now click OK (හරි) and you should get the OpenOffice Sinhala interface beautifully rendered.



You can find your system font from System Setting panel.

Thursday, February 11, 2010

BandLuxe C120 on Kubuntu 9.10

Getting multi-mode usb modems working on Linux is still a challenge. After reading many articles in the internet, I manage to get BandLuxe C120 HSDPA modem working on Kubuntu 9.10. This should work on Ubuntu as well.

This blog entry actually provide me with all the information.
http://my.opera.com/CrazyTerabyte/blog/2008/12/28/bandluxe-c120-3g-modem-from-oi-velox-plug

The installer for Linux is available at;
http://www.bandrich.com/Download_C120-3a.html

Use the Eee PC driver not the Linux driver.

However, I couldn't use the option.ko in the package since the kernel version is different. I tried with the options.ko which comes with Kubuntu 9.10 and it did work for me :).

Here is the modified installation script which you can use, such that the installer will not override the original option.ko driver. So we only use the udev rules which will stop mounting this device a storage device and only use it as a usb modem.

############################################################################
#!/bin/sh


MODDIR=/lib/modules/`uname -r`

echo "Backup file modules.alias"
cp -v ${MODDIR}/modules.alias ./modules-original.alias
echo "Patching file modules.alias"
sed -f vidpid.sed ./modules-original.alias > ${MODDIR}/modules.alias


echo "Unload the kernel module"
/sbin/rmmod option

echo "Rules for auto switch from CDROM to Modem"
cp -vf 10-bandluxe.rules /etc/udev/rules.d/10-bandluxe.rules

mkdir -p /usr/share/hal/fdi/preprobe/20thirdparty/
cp -vf bandluxe.fdi /usr/share/hal/fdi/preprobe/20thirdparty/bandluxe.fdi

##########################################################################

Good luck!