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.

4 thoughts on “KDE web shortcuts”


  1. Well, as our boss says -- Don’t assume. If you know something and I aren’t absolutely positevly sure that everyone knows it, then let everyone know it. I haven’t seen the shortcuts thingy documented anywhere until today. I am sure there are billion of things that I haven’t noticed as well yet. And I am sure that there are a billion of other people, who don’t know this stuff.

    If you know any other KDE bits that maybe not-so-common knowledge, let them out. At least I am interested. :)


  2. I do not to make an accent that you do not know something. It was joyful emotion that you can find something new in KDE I thought that’s impossible. :)

    Anyway your boss is right and it’s a good thing that your share that information.


  3. Somehow I get a feeling that there are a billion other things in KDE which I don’t know about. Actually, my KDE usage is pretty limited. I don’t use that many features. In fact, I don’t even use a start menu, nor I have it on my desktop. All programs that I run start just fine from the “Run Command” dialog, which I run with Alt+F2.

    konsole, kcontrol, konqueror, firefox, licq, xchat, knotes, and kweather -- I think these are all the programs that I use at all. I tried kompare recently, but it didn’t do me any good. So… :)

Leave a Comment