Blogging using speech recognition

I’m blogging after quite a long time but there’s something special about this blog. This blog, I’m not typing but using speech recognition instead. After training Dragon NaturallySpeaking 11.5 for a while I can tell you that my accuracy has increased by leaps and bounds. The only problem that I’m facing with the DNS is that I have to boot into Windows everytime I use the software. I wish nuance had released a Linux version too.

Tethering Motorola Defy. Internet over USB on Windows and Linux

I purchased Motorola Defy Android mobile phone running Android 2.2.2, ( the later Defy+ runs Android 2.3). the phone supports 3G hotspot over  WIFI. But for some reason my phone kept crashing after few minutes of use of the hot spot feature. So I wanted to setup the tethering over USB. I use Kubuntu and Windows . Here, I wil explain how to tether your Motorola Defy phone using USB. The same should work on DEFY+, though I have not tested on it. Both the approaches doesnot require the phone to be rooted. And I use Airtel 3G in India

Tether on Windows:
Follow the instruction here. Its stratigh forward and works for DEFY.

Tether on Linux:
This involves litle bit of tinkering. Follow the instructions in this article . The original article itself is capable of tethering DEFY. I have altered couple of steps to suit me and am sharing it here.

Step 4:
my rule for DEFY is
SUBSYSTEM==”usb”, SYSFS{“22b8:428c”}==”22b8″, MODE=”0666″,

Step 10:
If you are using DEFY with android 2.2.2 , then don’t bother to download the Azilink with Android 2.3 patch. Download the latest release from the Azilink site itself.
cd ~
mkdir azilink
cd azilink
adb install -r azilink-2.0.2.apk

Step 11 & 12:
I had merged steps 11& 12 as follows
vi start_modem

#Type in the text below, then hit ZZ to save
adb forward tcp:41927 tcp:41927
sudo echo “domain lan” > /etc/resolv.conf
sudo echo “search lan” >> /etc/resolv.conf
sudo echo “nameserver” >> /etc/resolv.conf
sudo openvpn –config azilink.ovpn

Follow the rest of the steps from the original article. Azilink About page quotes ” since this program doesnot run as root it cannot forward ICMP-based ping requests. To simulate this all pings are translated internally into UDP pings. Unfortunately, many hosts do not respond to UDP ping requests.” So don’t be surprised if you cannot ping your host but still able to use the internet.

Run Tweetdeck on Linux without Adobe air.

In my recent post , I had cribbed about why Am ditching Tweetdeck for Gwibber. Primarily it’s because am not getting any more Adobe Air updates for Linux. But there is good news. Twitter which acquired  Tweetdeck this year, has released native ( that means no more Adobe Air dependency) versions of the sotftware on Windows and Mac. But no release yet for Linux. Then how can this be a good news. Well , apparently , the Windows native version runs decently well on Linux over Wine. Wine lets you run Windows software on other operating systems.

Here is the instruction to get Tweetdeck 1.0 running on Ubuntu 11.0. For RPM  based ditros like Fedora use yum (appropriately) instead of apt-get.
First upgrade the Wine package to the latest. This is not required , but it is better to always use the latest Wine to get the best performance. AS on date wine-1.3.34 is the latest stable version for Ubuntu 11.10
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine

Now, download the latest Tweetdeck from It will be a .msi file eg. TweetDeck_1_0.msi
wine msiexec /i TweetDeck_1_0.msi
This will launch the installer. clik on install.
The tweetdeck is ready to be used . You can select it from you GUI or start it in command line as follows.
wine  ~/.wine/drive_c/Program Files/Twitter/TweetDeck/TweetDeck.exe

There are however few quirks.the notification window doesn’t pop up always. Something That I hope Wine will fix  soon.


Compiling latest Gwibber on Ubuntu 11.10

Gwibber is an open source microblogging client for Linux. It brings the most popular social networking web services to your desktop and gives you the ability to control how you communicate. My favourite though was tweetdeck. But after Adobe ditched Air for Linux, Tweetdeck doesn’t look enticing anymore. I had to scout for a viable alternative . After trying lot of alternatives like choqok, hotot, I found Gwibber is the one. At least it had more feature in common with tweetdeck. Hotot has a better UI but it is still in its alpha stage..


I use Ubuntu 11.10 and the default version of Gwibber on it is 3.2.1. I wanted to upgrade that to the latest Gwibber version ( as of date) It’s a pretty simple task and here it is how to do it.


Download the latest Gwibber source code from here . Replace the version no. with whatever version you downloaded.


tar -xvf gwibber-


cd gwibber-


sudo apt-get install build-essential valac-0.14 intltool libgtk-3-dev libgtk2.0-dev libgnome-menu-dev libnotify-dev libgee-dev libsoup2.4-dev libdee-dev libjson-glib-dev gsettings-desktop-schemas-dev libgtkspell3-dev libunity-dev






make check


sudo make install


gwibber ( this will launch the newly compiled Gwibber)


If you had skipped the sudo apt-get step then ./configure might complain about missing packages like valac or intltool. or sometime you might end up getting 


configure: error: Package requirements (glib-2.0 >= 2.26

                  gobject-2.0 >= 2.26

                  gtk+-3.0 >= 3.2

                  gdk-3.0 >= 3.2


                  gio-unix-2.0 >= 2.26


                  libnotify >= 0.7



                  dee-1.0 >= 0.5.19



                  gsettings-desktop-schemas) were not met:


No package ‘gtk+-3.0’ found

No package ‘gdk-3.0’ found

No package ‘gee-1.0’ found

No package ‘pangocairo’ found

No package ‘dee-1.0’ found

No package ‘gsettings-desktop-schemas’ found


If you still find yourself facing with missing package error, then identify the package as follows


apt-cache search | grep dev


find the appropriate packages from the output and add them to the sudo apt-get list above .

How to Input Indic languages on Ubuntu Linux using IBus

Interacting with computers in native language takes the technology closer to masses. There are many ways to input in native languages.On Windows platform , Microsoft Input method editors (IME)can be used to type in non-latin languages like Indic or CJK . A newer alternative is Google IMEs, Though it supports only transliteration. On Linux there are different alternatives to type in non-latin languages viz scim, xim, uim etc. SCIM IME was the most popular on Linux until recently. However SCIM is older and has its own disadvantages.So a newer architecture was developed called IBus.

The Intelligent Input Bus (IBus, pronounced as I-Bus) is an input method (IM) framework for multilingual input in Unix-like operating systems. It’s called “Bus” because it has a bus-like architecture.

Latest Linux releases inluding Ubuntu 11.04 come with IBus installed. Am listing down the steps to configure Indic languages like Tamil, Hindi, Kannada on KDE or GNOME desktop on Ubuntu Linux 11.04.

Open a terminal and type the following commands. Alternatively you can select these packages from Synaptic package manager on (K)Ubuntu. Install IBus if it’s not already there.

sudo apt-get install ibus
sudo apt-get install ibus-m17n # this package contains tables for Indic languages)

sudo apt-get install ibus-qt4  #(if you are using KDE desktop)

sudo apt-get install ibus-gtk  # (if you are using GNOME desktop)

sudo apt-get install im-config


Now run im-config from command line or using your favorite app launcher. Slelct ibus as the input method.And accept whatever the pop-up dialog says.

Restart the PC and log in to your desktop. You should see a keyboard icon in the taskbar. If not type ‘ibus’ in the terminal and give enter. Now you can add the selected input methods by right clicking on the icon and selecting preferences.


Now press ctrl + space to enable the IME, select the language you want to input and start typing in that language. IBus-m17n supports transliteration for few Indic langugaes like Tamil , Hindi.