Agile Tester Requirement  • • •  Install Maven 3.0.3       all posts in Archive

Tomboy No Spell check when Chinese

Tomboy is one of my favorite tool. I start to use it when using Ubuntu 8.10.

And when integrated with Ubuntu web Notes service, it became much more powerful. And right now,  I already using it every where : Ubuntu , Windows , Android Phone ...

But the Spell Check function is quite annoying for me, cause when I typing Chinese, it always has ugly underline in red. Quite stupid !!~ Just like following picture:

Of course, I don't want to totally disable Spell Check function, it is still quite useful when typing English.

Then I decide to create a plugin to disable Spell Check when input Chinese. After researching the source code of Tomboy, The first thing shock me is , it's written by C sharp ! ~  I was thinking it should use Python or some thing else, whatever but not Dot Net. ^_^ A popular tool in Linux is written by Dot Net ... ... what can I say ~

However, later I found there's already some one provide similar function, so I didn't have to create all code by myself. But it's still quite interesting to finish it, cause you can learn how to develop Dot Net projects on Ubuntu and also a chance for me to start using GitHub.

Just like my guessing, it really cost me a few days to make it working on Ubuntu ~ I have to say, it's quite hard to setup developing environment. However, the result at least make me very happy. Let's see the demo :

 

The source code is store at GitHub EAL-No-Spell-Check project

How to Install

I working with Tomboy 1.8.0 in Ubuntu 11.10 successfully.
Download EALNoSpellCheck.dll at Here.
move DLL to :
/usr/lib/tomboy/addins/
configure tomboy :
Preferrences -> Add-ins -> Tools -> Enable 'EAL No Spell Check'

 

How to Build

If you are not able to download DLL , you can generate by yourself. Please download source code first and run following bash script :

gmcs -debug -out:EALNoSpellCheck.dll -target:library -pkg:gtk-sharp-2.0 -pkg:tomboy-addins -r:Mono.Posix EALNoSpellCheck.cs -resource:EALNoSpellCheck.addin.xml

How to Development

About how to create Tomboy add-in , please refer to official website "Developing a note add-in"

About configure Dot Net developing environment on Ubuntu 11.10,Please refer to "Tomboy Addin – Developing with MonoDevelop"
And you have to download Tomboy source at Here.following these steps to build source code.
For me, after build all things, I have to add gtk-sharp.dll to my EALNoSpellCheck project manually.
gtk-sharp.dll is under /usr/lib/mono/gac/gtk-sharp/