Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to have an option like Search on Google available in selected text's context menu in gnome-terminal. Something similar to the option which is available in selected text's context menu in google chrome / chromium / firefox browser:

search google

So, something similar like in the above image, but in gnome-terminal. Is this possible?

share|improve this question

2 Answers 2

up vote 15 down vote accepted

Yes, there is an option. First download the following deb packages:

Second, install them using the following commands in your terminal:

sudo dpkg -i /path/to/gnome-terminal-data_3.6.1-0ubuntu4.1_all.deb

sudo dpkg -i gnome-terminal_3.6.1-0ubuntu4.1_i386.deb
#or, depending on what you downloaded
sudo dpkg -i gnome-terminal_3.6.1-0ubuntu4.1_amd64.deb

And third, restart your terminal.

From now, when you will open your gnome-terminal you can quickly search on Google command line errors, warnings and other things. Highlight the text, right-click on it and choose "Search on Google". It opens the default web browser and go to the google search result page:

search on google from terminal

Source: Add Google Search to Gnome Terminal in Ubuntu 13.10

share|improve this answer

Using Colinker, a customizable context menu for selected text, you can search selected text in any application not just the gnome terminal. On Linux systems, Colinker is designed to be used with xbindkeys and xclip.

enter image description here

More about: http://sourceforge.net/projects/colinker/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.