Tuesday, December 5, 2023
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 902  / 1 Year ago, tue, november 8, 2022, 1:02:52

At times when I am working on my terminal I run into some errors. To resolve these I have to manually paste the error message to google and search for a solution.



Is it possible to select the message and right click to get a "Google it" option rather than having to manually paste and search?



I am not asking about performing a Google search from the terminal or browsing the web from the terminal. What I want is something more general. I want to be able to select a piece of text and get a "Google selected text" with a right-click (or with a keyboard shortcut). I would prefer the search to take place in a browser.


More From » command-line

 Answers
6

Luckily for you, tualatrix did a small hack on gnome-terminal and added support to search on Google upon right clicking a message.



You need to add a third-party PPA for it to work though. Run these commands in a terminal:



sudo add-apt-repository ppa:tualatrix/personal
sudo apt-get update
sudo apt-get install gnome-terminal


Once updated, close all terminal windows and reopen again. It will work as intended.



gnome-terminal with Google support hack


[#34491] Thursday, November 10, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rmodmi

Total Points: 390
Total Questions: 122
Total Answers: 111

Location: Venezuela
Member since Mon, Oct 18, 2021
2 Years ago
;