Web Shortcuts

If enabled, Konqueror's Web Shortcuts feature lets you submit a query directly to a search engine or similar web site without having to visit the site first.

For example, entering gg:konqueror into the Location Bar and pressing Enter will ask Google™ to search for items related to Konqueror.

To see what Web Shortcuts are available, and perhaps add your own, use SettingsConfigure Konqueror... and open the Web Shortcuts page.

Once there, to make a new Web Shortcut select New... and you will now have a new dialog requesting the options and specifications of your new Web Shortcut. The first field is for the human readable name of the search provider; that is, simply the name of the Search provider. For example, Google™.

In the next field you should enter the URI that is used to do a search on the search engine. The whole text to be searched for can be specified as \{@} or \{0}. The recommended version is \{@} since it removes all query variables (name=value) from the resulting string whereas \{0} will be substituted with the unmodified query string.

You can use \{1} ... \{n} to specify certain words from the query and \{name} to specify a value given by name=value in the user query. In addition it is possible to specify multiple references (names, numbers and strings) at once, like (\{name1,name2,...,"string"}). The first matching value (from the left) will be used as substitution value for the resulting URI. A quoted string can be used as the default value if nothing matches from the left of the reference list.

To make a basic Web Shortcut here however, all that is required is the URI that is used to do a search on the search engine. Following our previous example with Google™, we would enter http://www.google.com/search?q=\{@}&ie=UTF-8&oe=UTF-8. You can often easily find where to place the \{@} by doing a search on the search engine in question, and then analyzing the URL address. For example, doing a Google™ search for Konqueror produces the URL: http://www.google.com/search?q=konqueror&ie=UTF-8&oe=UTF-8. Now you need to merely replace Konqueror with \{@} in this example to find the appropriate URI to be entered.

In the third field you need to enter the URI shortcut. For example, the gg in gg:konqueror. In the next option — the drop-down menu — you have the option to select the character set that will be used to encode the search query. Once you have entered all the options correctly to your satisfaction, press Enter and your new Web Shortcut should now be available in Konqueror.