Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Wednesday, February 3, 2010

Setting Up offline multiple language dictionary in Ubuntu

All of you might have see a Dictionary application Under Office Menu in every Ubuntu distro. By default it is configured to work with online dictionary server. So the people we have an Internet connection will miss this application. No,not really,It is possible to configure so that it can work well as if it is online. following are the steps

Start Up synaptic and find the following packages and mark for installation

dict
dictd


these are the server and client for a dictionary services

apart from the above if you continue searching in sequence (to the above mentioned packages) you will find a whole lot of dictionaries -the ones i have installed are
dict-bouvier
dict-devil
dict-elements
dict-foldoc
dict-freedict-eng-deu (english to german)
dict-freedict-eng-hin (english to hindi)
dict-freedict-hin-eng (hindi to english)
dict-gcide
dictionaries-common
dict-jargon
dict-moby-thesaurus
dict-vera



After installing this (and other dictionaries of your choice) there is a small tweak we need to do to make the dictionary work offline

Go to Applications --> Office--> Dictionary and run the programme Dictionary

In the Open Application go to Edit --> preferences
In Source select ADD and
in description add any name you want to use for your customized dictionary services (replace source with a identifiable name)
Let transport be as it is (Dictionary Server)
change Hostname to 127.0.01 (replace dict.org)
Port - Leave as it is. enter add then in the Select a Dictionary Source for looking up words Select the Dictionary source your just added
Enter Close
Type any word to test if the dictonary works (you can / should test with your internet off)
If you get a meaning or any output means its working. Congratulations.

Monday, May 11, 2009

Adding ISO files to the APT sources file

When it comes to collecting Debian packages into a transportable CD, nothing beats APTonCD for speed and convenience. However, do we always have to burn the the resulting ISO file to CD in order to use it on another machine? Is it possible to work with the ISO file directly? It is!

The first step is to mount the ISO file to a directory.

sudo mount -t iso9660 aptoncd-20081209.iso /home/username/apt -o loop


Then add the file to the repository list, simply modify /etc/apt/sources.list. Add the following line:

deb file:/home/username/apt/ /


From here on, we have access to the transferred packages. They will be available in all APT tools, including Synaptic.