Site icon Leonid Mamchenkov

KDE web shortcuts

There is a saying in Russia, that can be translated something like this: “Live for a century, learn for a century.” Some people go as far as add “And you’ll die a fool.”. Well, sometimes I feel that it’s true as nothing else. I’ve learned another bit about KDE today. It a simple, but very useful trick. It could have saved me tonnes of time. It will save me tonnes more.

If you ever browsed through menus of Konqueror (konqueror » Settings » Configure Konqueror » Web Shortcuts), KDE’s web browser and file manager, or went into all the million options that kcontrol (kcontrol » Internet & Network » Web Browser » Web Shortcuts) allows you to tweak, you might have seen something called “Web Shortcuts”. Web shortcuts is a feature that helps you save some typing when browsing the web. For example, instead of navigating Konqueror to http://www.google.com, than typing your search query, and pressing the submit button, you can simply type “gg:search query” in Konqueror’s address bar, and it will automatically take you to the Google’s results for “search query”. There are lots and lots of web shortcuts that come predefined with KDE and you can edit them, delete them, and define your own. This is an excellent feature, but the limitation of it for me always was that I am using Mozilla Firefox for browsing and not KDE’s Konqeuror.

Today I learned that this limitation is artificial and does actually exist. I can easily use it with Mozilla Firefox or any other browser (and not only browser) that I want. It turns out that these web shortcuts work separately from Konqueror. You can use them from the “Run Command” dialog in the Start Menu (or by pressing Alt+F2). Instead of the command just type “gg:search query” and you’ll get the result in your default browser.

If you did so, and still get Google results in Konqueror, it means that Konqueror is set to be your default browser. What you can do is edit KDE’s file associations. You can find all file associations in kcontrol » KDE Components » File Associations. For the web browser you basically need to change only application/xhtml+xml, text/html, and text/xml.

Suddenly, half of the Web is available to you at much shorter distance than before. There are shortcuts for virtually all search engines, several dictionaries, function references of a number of programming languages, quotation searches, encyclopedias, etc.

Exit mobile version