[lug] firefox smart bookmarks/keyword fun

Hugh Brown hugh at math.byu.edu
Mon Apr 11 13:04:39 MDT 2005



On Mon, 11 Apr 2005, D. Stimits wrote:

> ...
> > grep -r imdb .   from within /usr/lib/firefox-1.0.2 didn't yield anything
> > interesting either.
> >
> > Does anyone know how I can change the system wide default collection of
> > keyword searches?
>
> Well...I did some poking around on my system but for the word "google".
> I have the /usr/share/mozilla-<pick your version> directories, similar
> to the firefox (I use 1.7.3 but by tarball install not rpm), but this is
> shared data and not part of the actual mozilla browser I think. My
> mozilla install location was at /usr/local/mozilla/, and it is within
> that where I find google listed under the searchplugins/ subdirectory
> (there is a file "google.src" there which seems to define the google URL
> when google is the search engine). Some of the jar files also contain
> the google word. The only place I found imdb was in components/mail.xpt.
> I'm guessing if google is your search choice, that the searchplugins/
> subdir contains what you need, but not necessarily from the lib subdir area.
>
> D. Stimits, stimits AT comcast DOT net


I believe the searchplugins/*.src are for the search box that is usually
near the address box and is a different set of beasts.

I did some more careful looking.  Google being too helpful is what tripped
me up.

In the default firefox load, they give you some pre-defined bookmarks that
have the keyword field pre-populated.  They call them Quick Searches.
There's one for google that is doing what I like.

Redhat doesn't include any of them.  So any time I have been typing in
"google foo" I've actually been getting the keyword search from firefox
which just feeds the words to Google's feeling lucky engine.  Google's
search seems to work well enough that I thought it was doing the bookmark
keyword trigger.

Hopefully that made sense.


Hugh



More information about the LUG mailing list