This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Context menu option to search for selected text online.

10

Votes
11
1
Tags: None
(comma "," separated)
Shining Arcanine
Registered Member
Posts
73
Karma
0
OS
Many times I want to Google something that I see in my terminal window, so I highlight it, copy it, paste it into my web browser and search for it. This is a bothersome process and it would make my life easier if there was a context menu option to search for selected text online. Such an option need not be exclusive to Konsole, but could be used in any KDE application that implements Cut, Copy and Paste context menu options.

I imagine that it could be called "Search Online". Clicking it should launch your default web browser and automatically load the default search engine's search results for the highlighted text. Whether or not it launches a new window or a tab is left to your web browser. Which search engine provider it uses ideally should also be left to your web browser, although implementing it in that manner would require some sort of commandline option that will cause the browser to open the search results for a given string of text.

Since it would be difficult both to get all of the major browser makers to implement that and to be able to use it when it is implemented without having to worry about legacy versions, I propose that the default search engine be Google and that at some point in the future a plugin architecture is implemented to allow different search engines to be selected. Implementing the plugin architecture is likely more work than implementing this feature, so whether or not it is done should depend on developer resources.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]