This plugin allows you to use search engines inside Krunner. But instead of specifying the search engine every time can set one you want to use. Additionally it provides search suggestions and direct links. These can be configured in the config dialog, by default they are disabled.
The default search engine is Google. If you type :example query
it will open your
browser with the google search results for example query
. The default options are Bing, DuckDuckGo,
Github, Google, Stackoverflow and Youtube and you can add custom ones.
Additionally you can use this plugin to open search results in private/incognito mode.
This feature gets activated by typing ::example query
.
It has been tested with Firefox, Chromium, Google Chrome and Epiphany.
But you have to manually select one of these as your default browser, otherwise Firefox is used as default.
Furthermore you can customize the letter that is used to trigger the plugin in the config,
for instance you can use !
, ?
, #
or <
.
Easy oneliner method:
curl https://raw.githubusercontent.com/alex1701c/QuickWebShortcuts/master/install.sh | bash
Alternatively, you can clone the repo and run the install.sh script
git clone https://github.com/alex1701c/QuickWebShortcuts.git
cd QuickWebShortcuts/
./install.sh
Note: KWallet is not required for building this project but without it the proxy feature for the search suggestions are disabled, if you install it after building the plugin you have to recompile it.
In this section of the config dialog you can configure the search engines.
You can add a custom search engine or you can customize the existing ones. For instance you can change the icon by clicking on the button with the current icon.
With the "Defaults" button of the config dialog (not in image) the changes to the original search engines can be undone.
With the next three checkboxes the text in the Krunner matches is configured:
In this section you can configure the suggestions. By default these are turned of.
Both the Google and Bing suggestions provide search suggestions by using an API.
The DuckDuckGo option provides direct links to the websites.
These links are crawled from the lite edition of the DuckDuckGo website, because of that this option is not as fast as the others.
Unfortunately there is no API from DuckDuckGo available.
Additionally you can enable suggestions for private/incognito searches.
To protect your privacy you can configure a proxy.
This configuration can be tested by clicking the "Test Proxy Configuration" button.
For this the plugin is sending a request to https://ifconfig.me/ip.
Note: If your internet connection is very slow and you have search suggestions configured the plugin shows sometimes no matches, in this case you can just add a space to the query so that the match method is called again.
This plugin can remove entries form the Krunner history.
If the "Clear only Quick Web Shortcuts" option is used, entries that start with ":" will be removed.
Entries for the normal web shortcuts (for example "dd:test") will additionally be removed with the first option.