1 / 3
Caption Text
2 / 3
Caption Two
3 / 3
Caption Three margin testing

Monday, September 7, 2009

Add a Desktop Dictionary to Ubuntu

Add a Desktop Dictionary to Ubuntu - Business Center - PC World
Keir Thomas, PC World | Thursday, September 03, 2009 5:21 PM PDT

If you do a lot of writing, a desktop dictionary tool can be a powerful asset. With it, you can highlight a word within any program and then click the dictionary icon in your menu bar, which will open a new Web browser window containing the definition of the word.

To add a desktop dictionary to your Ubuntu installation, use the Googlizer applet, which can be installed using Synaptic Package Manager. (If you don't find Googlizer listed in Synaptic's graphical interface, open a terminal window and type sudo apt-get install googlizer to automatically locate and install it.) This applet is designed to perform instant Web searches using Google, but you can tweak it to perform dictionary searches instead.

Once you've installed Googlizer in Synaptic, drag its icon from the Applications, Internet menu to a spare spot on the panel bar. Then right-click it and select Properties. In the Command field, change the line to read as follows: googlizer --url http://www.merriam-webster.com/dictionary/. (note that's two dashes before url). How it works is that the search term you higlight is automatically added to the selection buffer, and then simply added to the end of the URL you quote when you click the Googlizer button. In the case of the Merriam-Webster site, this works perfectly - a typical URL to lookup a word on the site would be http://www.merriam-webster.com/dictionary/orange, for example, which will provide a definition of the word "orange".

You might also want to change the icon for Googlizer, like I have, to that of a dictionary. The icon I've used lives at /usr/share/icons/gnome/scalable/apps/accessories-dictionary.svg.

Keir Thomas is the author of several books on Ubuntu, including the free-of-charge Ubuntu Pocket Guide and Reference .

No comments:

Post a Comment

Featured Post

Windows和Ubuntu双系统完全独立的安装方法

http://www.ubuntuhome.com/windows-and-ubuntu-install.html  | Ubuntu Home Posted by Snow on 2012/06/25 安装Windows和Ubuntu双系统时,很多人喜欢先安装windows,然...