Now on ScienceBlogs: HeartlandGate: Anti-Science Institute's Insider Reveals Secrets

ScienceBlogs Book Club: Inside the Outbreaks

Greg Laden's Blog

Evolution, Life Sciences, Science Education, Human Evolution, and Stuff

Darwing_Face.jpg Learn more about Charles Darwin and his work.

Hornbill170.jpg Looking for stuff about birds?

Lion_mane170.jpg Lean more about lions

Congo_sidebar.jpg An archaeological expedition to the Congo


The Skeptical Search Engine


Nature Blog Network
Climate Defense Fund


The contents of Greg Laden's Blog are copyrighted by Greg Laden.

Recent Comments

Search

Profile


Click on "About" for the big picture, and "Archives" for the details.


Recent Posts

Blogroll

If you don't see yourself on my blogroll, just drop me a line and let me know. I'll add you.*
*Assuming that I'm on your blogroll, of course!

Archives

« Linux Terminal Fun: Find out about your hardware | Main | Stupak needs to be replaced next election cycle. »

Fixing your Dictionary

Category: Computer TricksLinuxone-liners
Posted on: November 13, 2009 5:06 PM, by Greg Laden

You are typing some text into an editing window in your FIrefox Browser, and you spell something terribly wrong. Like this:

I am so glad I upgreaded to Firefox 2.0, because it has a built in spell checker.

You see the error where you meant to type "upgraded." So you right click on it to pick the correct spelling, and accidentally hit the "Add to Dictionary" menu choice, which is annoyingly placed right next to the correctly spelled word.

From now on, you can never be sure if your text will be correct. Bummer.

There is a way to fix this.

A timely repost

In Linux, go to a terminal window.

Change the directory to where Firefox stores the dictionary file. This in your home directory, in a subdirectory with a "dot" at the beginning of the name (to make it invisible), then a couple of subdirectories down below that. The file you are looking for is called "persdict.dat"

Most likely, you can just type this into the terminal window:

cd ~/.mozilla/firefox/*.default

and that will bring you to the default configuration file. The "star" is because the exact name of your configuration file is unknown to me. Your Linux system will magically open to the first directory that fits this "wildcard."

Now type "ls" to see if you see a persdict.dat.

If it was me, I'd then type:

gedit persdict.dat

so you can edit the dictionary in a nice word processor (gedit).

An even more direct approach which may work nicely is to go to the terminal window and simply type in this command:


gedit ~/.mozilla/firefox/*.default/persdict.dat

Either way, edit the file, save it, and you're cool.

Share on Facebook
Share on StumbleUpon
Share on Facebook
Find more posts in: Technology

TrackBacks

TrackBack URL for this entry: http://scienceblogs.com/mt/pings/124667

Comments

1

That's no star, it's a 'splat'. Correct terminology is everything.

Posted by: gruebait | November 13, 2009 5:58 PM

2

Now, if I could tell it "case on the first letter of this word does not matter" that would be great.

Posted by: Colin | November 13, 2009 6:39 PM

3

In windows the files lives c:\Documents and Settings\username\Application Data\Mozilla\Firefox\Profiles\*.default.

I used gvim to edit it, but you can probably use notepad.

Posted by: itzac | November 13, 2009 7:03 PM

4

No, it's a Nathan Hale.

(I only regret that I have but one asterisk for my country.)

Posted by: Benjamin Geiger | November 13, 2009 8:23 PM

5

Wow, I didn't even realize there was an "Add to dictionary" thingie. I've just been double-checking everything with a red line under it (e.g., "thingie") before I hit Post.

Posted by: Nemo | November 13, 2009 10:39 PM

6

Oh, Greg, don't admit you have a spellchecker in your browser! You do realize you're wrecking the only excuse you had for your misspellings (which lead people to believe you're full of shit about lions' manes), right?

Posted by: Jason Thibeault | November 14, 2009 11:55 AM

Post a Comment

(Email is required for authentication purposes only. On some blogs, comments are moderated for spam, so your comment may not appear immediately.)





ScienceBlogs

Search ScienceBlogs:

Go to:

Advertisement
Follow ScienceBlogs on Twitter

© 2006-2011 ScienceBlogs LLC. ScienceBlogs is a registered trademark of ScienceBlogs LLC. All rights reserved.