TurnKey Linux Virtual Appliance Library

Tip: use custom search engines for efficiency

I don't need to tell you how search improves our efficiency on the web, but using custom search engines can make your day even more efficient.
 
Configuring your browser to use custom search engines is a massive time gain, and improves your work flow. When I used Firefox, I had set up search plugins for the stuff I needed, but it took screen real-estate (even with optimizations) and wasn't easily customizable or extendable.
 
 
With my migration to Google Chrome, I found setting up custom search engines a snap, no wasted screen real-estate, and using keywords improved my workflow.
 
Example: Search Wikipedia by typing alt+d wp<space>search_term
 
 

Adding custom search engines in Chrome

  1. Click the spanner, choose options.
  2. Click manage (next to default search).
  3. Click add.
  4. Create your custom search engine.
 

Custom search engines I use

Name                Keyword     URL
-------------------------------------------------------------------------------------
TurnKey Linux       tkl         http://www.turnkeylinux.org/search/luceneapi_node/%s
Ubuntu Packages     pkgu        http://packages.ubuntu.com/%s
Debian Packages     pkgd        http://packages.debian.org/%s
GitHub              gh          http://github.com/search?q=%s
Wikipedia           wp          http://en.wikipedia.org/wiki/Special:Search?search=%s
 

Notes on package searching

I usually use apt-cache search search_term when I'm at the command line, but I find that using the Ubuntu and Debian web interfaces useful when exploring new packages and their dependencies while working on appliance development.
 
What custom search engines do you use?
You can get future posts delivered by email or good old-fashioned RSS.
TurnKey also has a presence on Google+, Twitter and Facebook.

Comments

Firefox supports search keywords too

When I used Firefox, I had set up search plugins for the stuff I needed, but it took screen real-estate (even with optimizations) and wasn't easily customizable or extendable.

Firefox also supports search keywords in the same style as described above for Chrome. The visible difference is that it does not immediately replace the entered keyword by a string like "Search Wikipedia:" in the address bar — but the selected search engine is displayed in the suggestion list below it.

Search keyword configuration for Firefox:

With these keywords the search box is mostly unneeded and may be removed to leave more space for the address bar.

Alon Swartz's picture

I wasn't aware of that, thanks for sharing

I still use Firefox during web application development, and for certain plugin's which I have yet to find replacements for in Chrome - for example, chatzilla and firebug (I do use chrome's internal web dev tools, but I still find firebug superior in some situations).

I'll certainly take a closer look at the resources you mentioned.

Thanks for posting how to do this in Chrome.

I've used keyword seaches in Firefox for years (I think it was added around 1.5?), but couldn't figure out how to do it in Chrome. More precisely, I couldn't figure out how to easily add search engines to Chrome. As far as I can tell, Chrome doesn't support OpenSearch definitions, so there's no quick way to add search engines like you have in Firefox.

Alon Swartz's picture

Really useful

Those search engines are really useful. I forgot about Ubuntu manpages - just added it to my list.

Somehow I missed your blog post, wow, they are really similar - great minds? Very nice touch with the screencast as well.

Chrome

I use chrome alot and didn't know this was available for Chrome. Thanks a lot for sharing and showing how to set it up.  I'll add them :)

Alon Swartz's picture

New TurnKey search engine

The new search engine (lucene) integrated into the TurnKey website with the site refresh is much more powerful than what we previously had, so those who are using the tkl custom search in chrome requires an update:

before: search/node/%s
after:  search/luceneapi_node/%s

I've updated the post to reflect the new URL.

I was not aware with that

That is an amazing  news for me. I was not aware with that. Now i can use the custom search engine.

 

                

doesn't work if your search

doesn't work if your search engine uses POST. Firefox's smart keywords do support POST forms

Awesome!

Great use of custom search engines! Thanks for the package searching tip, super helpful. I teach an SEO training class in San Francisco, and we have a 10-minute section on using custom search engines with your site. It's pretty much the only time you should utilize the meta keywords tag as a best practices (sometimes internal, custom engines pick up on these phrases, even if major search engines don't).

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)