Posts Tagged ‘SMC’

Installing English – Malayalam Dictionary on Arch linux

Saturday, September 12th, 2009

From a discussion on ilug-tvm mailinglist

Prerequisites : yaourt should be installed

Installing the server

Step 1: Issue the following command on a terminal and answer whatever questions may pop up. This will install the dictd server to your system: yaourt -S dict-freedict-eng-mal

Step 2: start the dictd server by issuing the following command :
* If you have sudo installed , then : sudo /etc/rc.d/dictd start
* else become super user by typing in su at a terminal and inputting the super user password . Now run /etc/rc.d/dictd start

Step 3 [ optional ] : If you wish to use the server quiet frequently, you might want to have it running always.  For that, add dictd to the end of DAEMONS list in your rc.cof

eg: (syslog-ng dbus hal @cpufreq @net-profiles @network @netfs @crond alsa @sshd @dictd)

The @ makes your process startup in backround and init wont wait for the startup to complete before proceeding .

Installing the client :

I use a client called dikt. I installed it by issueing the following command  : yaourt -S dikt. Once this is complete, startup dikt. Click on Settings>Configure Dikt. In the window that pops up , you can add your own dict servers. Just type in ‘localhost’  and add it to the servers list. It will be better if you can move the dict.org entry or  you can remove the dict.org entry if you will be using only English-Malayalam dictionary. Now you can start using dikt to lookup words.

I know the whole thing looks a little tedious, but this is what i did ,  and it works :)

I know how to make a Plasmoid :D

Saturday, April 4th, 2009

I wrote a small plasmoid that will display fortune cookies from fortune-ml database for the fortune program. A new cookie appears every 30 minutes or on every click on the plasmoid.

Santhosh put the code into smc git yesterday. The plasmoid is written in Python and is generic enough that it will accept any fortune database. I have hardcoded it ( for now ) to use fortune-ml though. Until I figure out how to create dialogues in pyQT and learn to use the KDE configuration framework, its going to be just fortune-ml.The code is pretty straight forward. More time was spent looking up APIs and Python stuff than actually writing it down

Thanks to Praveen for testing the code and Santhosh for creating the fortune-ml database.

Summary : Plasmoid written in pyQT, depends on : KDE 4.2 , fortune-ml (available in SMC git )

English-Malayalam Dictionary beta release for Arch Linux

Sunday, January 18th, 2009

SMC released an English-Malayalam Dictionary for dict servers. I have made a package so any Arch – Malayalam (!!!)  users out there can use it. You can get the PKGBUILD from AUR.  If you have yaourt installed, you just have to run
yaourt -S dict-freedict-eng-mal
in a terminal.

I have also built a package that is available here. You can download and install it using
pacman -U dict-freedict-eng-mal-0.1-2-i686.pkg.tar.gz