My 2 paisas

Archive for the ‘linux’ Category

As always, this is my another new attempt to do some contribution to Free Software community. Hopefully this will give some result unlike all my previous ventures. So let me explain how to start.

I have taken up debian-installer package for localization. No specific reason other than that the person who introduced me to localization was already working on it and hence it was a good starting point.

So to start with, you need to get all the packages which help you type kannada in your system.

Packages that you need to install are:

  • Scim : Smart Common Input Method (SCIM) is an input method (IM) platform.  Input methods are needed to enter complex characters in many non-latin languages.
  • Scim-bridge-client-gtk : scim-bridge is a wrapper libray for SCIM, written in C.
  • Scim-m17n: M17N (Multilingualization) Input Method Engine enables SCIM to input many non-latin characters from the keyboard using libm17n library.
  • ttf-indic-fonts: This package merely depends on the various Indian language font packages available in Debian. Use this if you want fonts for every official Indian language.

This should get the system ready. To test it, Open Gedit. Right click on a new page and Select Input Methods as Scim-input-method. Now Press Ctrl+Space. You should see the icon of scim on the bottom right of the screen. Select Kannada in the list and in Kannada select Kn-itrans. Now type something in english and you will notice that it will get converted to Kannada while you type.

Different type of Kannada input methods:

There are mainly two types:

Kn-itrans: In this, you will be typing in english and that will be automatically getting converted phonotically in kannada. So if you type in english as “nanna hesaru vignesh”, you will notice in the screen as “ನನ್ನ ಹೆಸರು ವಿಗ್ನೆಶ್”. This is good for people who are planning to use kannada only occasionally and hence dont want to understand the complete keyboard layout of Kannada. There are problems also in this method. Like I have not yet been able to find a way to type in “swanta” the way it should come in kannada with a “n” circle. I am able to get “ಸ್ವನ್ತ” but this is wrong.

Kn-inscript: In this, you will be typing in kannada itself and hence you will have to know the exact layout of kannada keyboard. Obvious way is to replace the English alphabets with Kannada alphabets on the keyboard. This is useful for those who regularly use Kannada for typing and hence will soon get to understand and memorize the layout.

With this understanding you will be able to start typing in Kannada.


I am presently thinking of bringing out a collection of music which I like very much. It wont include any voice but just music. For that I mainly had two issues, first to split video files that I had in .avi format and second to split audio files that I had in .mp3 format.

For video files, I used ffmpeg utility

ffmpeg -i input.avi -ss 00:01:10 -t 00:04:45 output_file.avi

where input.avi is the file from which you want to extract the music.
-ss is the start point of the music
-t is the duration from the start time till when the music is to be extracted
output_file.avi is the file in this the extracted music will be stored.

It will be in .avi format only. If required you can also convert it into audio files.
This gave me the exact chunk of the music video that I wanted for collection.

For Audio files, I used mp3splt utility. I used its gui, mp3splt-gtk which is very easy to use.
All I need to do was select the file from which I wanted to extract music. Select two splitpoints, one for the start and second for the end. And select split button given at the top of the gui. Its as simple as that. Since this utility was available in Ubuntu Repository, I didnt have issues even with installing it

As use the same laptop in my house that use in my office, I usually have to keep chaning my proxy connection after I come back to home. In my house, I dont use a proxy but in my office I have to use one for Internet access. In firefox there is a beautiful add-on FoxyProxy which can be used for the same purpose

Today I was trying to see if I can connect to office VPN from Ubuntu. Hence I tried to google and see if there is already
a solution for the same. I found that for Cisco VPN client, we need to install a package called network-manager-vpnc which is luckily available in Ubuntu repository. After that you need to create a file by any name, say remotevpn.conf in /etc/vpnc folder. In that just add the following contents in it.

Sec gateway
Xauth username
Xauth password

Change the username as needed. After that just run the following command,

vpnc-connect remotevpn # here remotevpn should be replaced by the name
you had given to the conf file.

This will prompt you for a IPSec Secret password. Enter the Group password. Chances are that you might actually have a Encrypted password which you will have to convert into normal password. For that you can use the following site,

After entering the group password, it will prompt you for the password for the username you gave.
Enter the 4 digit password and the 6 digit RSA ID.

Thats it :). You are now connected to VPN network.

I have a desktop in which I have installed Debain. I connected to it using vnc from my laptop and was typing some command when I observed that the complete Keyboard layout had changed to some unknown keyboard layout. I tried re-installing but the problem still existed. So when I googled it, I found this bug report which was luckily resolved and the solution was also shared in it.
Hence all I had to do to solve the problem was to add the following line in $HOME/.vnc/xstartup before the last line /etc/X11/Xsession

I was trying SchoolOS on my laptop which is a derivative of Ubuntu 9.10. However my first problem with it was that my wireless driver was not working. I had known from my previous experience that I would have to probably install b43-fwcutter to get it working. However when I tried to install it, I found out that it was already installed. I still removed the package and installed again but still it did not help. So I googled for any help. I found a forum post where in I was suggested to try the packages given in . I downloaded the 32 bit package and followed the Readme.txt given along with the package. Within 2 minutes my network driver detected the wireless device and I was able to surf using my wireless connection.

Links that I liked to save

Blog Stats

  • 45,591 hits