How to make “Search on Google” available in selected text's context menu in gnome-terminal?
up vote
19
down vote
favorite
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:
So, something similar like in the above image, but in gnome-terminal. Is this possible?
gnome-terminal search google
add a comment |
up vote
19
down vote
favorite
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:
So, something similar like in the above image, but in gnome-terminal. Is this possible?
gnome-terminal search google
Also relevant: Googling query from anywhere
– Slothworks
Oct 14 '15 at 19:27
add a comment |
up vote
19
down vote
favorite
up vote
19
down vote
favorite
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:
So, something similar like in the above image, but in gnome-terminal. Is this possible?
gnome-terminal search google
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:
So, something similar like in the above image, but in gnome-terminal. Is this possible?
gnome-terminal search google
gnome-terminal search google
edited Feb 7 '14 at 16:18
asked Feb 7 '14 at 9:34
Radu Rădeanu
115k34246321
115k34246321
Also relevant: Googling query from anywhere
– Slothworks
Oct 14 '15 at 19:27
add a comment |
Also relevant: Googling query from anywhere
– Slothworks
Oct 14 '15 at 19:27
Also relevant: Googling query from anywhere
– Slothworks
Oct 14 '15 at 19:27
Also relevant: Googling query from anywhere
– Slothworks
Oct 14 '15 at 19:27
add a comment |
3 Answers
3
active
oldest
votes
up vote
17
down vote
accepted
Yes, there is an option. First download the following deb packages:
the data package: gnome-terminal-data_3.6.1_all.deb
the main package: gnome-terminal_i386.deb (for 32-bit OS) or gnome-terminal_amd64.deb(for 64-bit OS)
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:
Source: Add Google Search to Gnome Terminal in Ubuntu 13.10
Does not work anymore on 14.04 !?
– lrkwz
May 24 '16 at 14:10
add a comment |
up vote
9
down vote
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
.
add a comment |
up vote
-1
down vote
Ubuntu 18.04
1) Became a superuser
sudo -s
2) Download and install developer packets to build gnome-terminal
apt-get build-dep gnome-terminal
3) Download and build sources for current version of gnome-terminal
cd /usr/local/src
apt-get -b source gnome-terminal
4) go to sources ( change the digits "3.28.2" in future versions )
cd gnome-terminal-3.28.2
5) Download the patch
curl https://ypokhilko.linkpc.net/wp-content/uploads/2018/12/search_on_google.patch_.gz --output search_on_google.patch.gz
6) Unzip and apply the patch
gzip -d search_on_google.patch.gz
cat search_on_google.patch | patch -p 1
7) Build solution again
make
8) Store old version of the gnome-terminal-server
mv /usr/lib/gnome-terminal/gnome-terminal-server /usr/lib/gnome-terminal/gnome-terminal-server.old
9) Copy new version instead of old
cp ./src/gnome-terminal-server /usr/lib/gnome-terminal/gnome-terminal-server
10) Kill old instance of gnome-terminal-server (current instance of gnome-terminal will closed too)
killall gnome-terminal-server
11) Run gnome-terminal and enjoy
Welcome to Ask Ubuntu! :-) Thank you for posting a correct answer, but could you also edit end explain what you're doing so the user understand what they're doing and what the dangers are if gnome terminal gets upgraded in the future?
– Fabby
Dec 5 at 19:48
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f417620%2fhow-to-make-search-on-google-available-in-selected-texts-context-menu-in-gnom%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
17
down vote
accepted
Yes, there is an option. First download the following deb packages:
the data package: gnome-terminal-data_3.6.1_all.deb
the main package: gnome-terminal_i386.deb (for 32-bit OS) or gnome-terminal_amd64.deb(for 64-bit OS)
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:
Source: Add Google Search to Gnome Terminal in Ubuntu 13.10
Does not work anymore on 14.04 !?
– lrkwz
May 24 '16 at 14:10
add a comment |
up vote
17
down vote
accepted
Yes, there is an option. First download the following deb packages:
the data package: gnome-terminal-data_3.6.1_all.deb
the main package: gnome-terminal_i386.deb (for 32-bit OS) or gnome-terminal_amd64.deb(for 64-bit OS)
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:
Source: Add Google Search to Gnome Terminal in Ubuntu 13.10
Does not work anymore on 14.04 !?
– lrkwz
May 24 '16 at 14:10
add a comment |
up vote
17
down vote
accepted
up vote
17
down vote
accepted
Yes, there is an option. First download the following deb packages:
the data package: gnome-terminal-data_3.6.1_all.deb
the main package: gnome-terminal_i386.deb (for 32-bit OS) or gnome-terminal_amd64.deb(for 64-bit OS)
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:
Source: Add Google Search to Gnome Terminal in Ubuntu 13.10
Yes, there is an option. First download the following deb packages:
the data package: gnome-terminal-data_3.6.1_all.deb
the main package: gnome-terminal_i386.deb (for 32-bit OS) or gnome-terminal_amd64.deb(for 64-bit OS)
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:
Source: Add Google Search to Gnome Terminal in Ubuntu 13.10
edited Feb 7 '14 at 17:54
answered Feb 7 '14 at 9:34
Radu Rădeanu
115k34246321
115k34246321
Does not work anymore on 14.04 !?
– lrkwz
May 24 '16 at 14:10
add a comment |
Does not work anymore on 14.04 !?
– lrkwz
May 24 '16 at 14:10
Does not work anymore on 14.04 !?
– lrkwz
May 24 '16 at 14:10
Does not work anymore on 14.04 !?
– lrkwz
May 24 '16 at 14:10
add a comment |
up vote
9
down vote
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
.
add a comment |
up vote
9
down vote
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
.
add a comment |
up vote
9
down vote
up vote
9
down vote
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
.
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
.
edited Jun 14 '17 at 18:40
David Foerster
27.6k1364109
27.6k1364109
answered Feb 8 '14 at 1:19
sun2rge
911
911
add a comment |
add a comment |
up vote
-1
down vote
Ubuntu 18.04
1) Became a superuser
sudo -s
2) Download and install developer packets to build gnome-terminal
apt-get build-dep gnome-terminal
3) Download and build sources for current version of gnome-terminal
cd /usr/local/src
apt-get -b source gnome-terminal
4) go to sources ( change the digits "3.28.2" in future versions )
cd gnome-terminal-3.28.2
5) Download the patch
curl https://ypokhilko.linkpc.net/wp-content/uploads/2018/12/search_on_google.patch_.gz --output search_on_google.patch.gz
6) Unzip and apply the patch
gzip -d search_on_google.patch.gz
cat search_on_google.patch | patch -p 1
7) Build solution again
make
8) Store old version of the gnome-terminal-server
mv /usr/lib/gnome-terminal/gnome-terminal-server /usr/lib/gnome-terminal/gnome-terminal-server.old
9) Copy new version instead of old
cp ./src/gnome-terminal-server /usr/lib/gnome-terminal/gnome-terminal-server
10) Kill old instance of gnome-terminal-server (current instance of gnome-terminal will closed too)
killall gnome-terminal-server
11) Run gnome-terminal and enjoy
Welcome to Ask Ubuntu! :-) Thank you for posting a correct answer, but could you also edit end explain what you're doing so the user understand what they're doing and what the dangers are if gnome terminal gets upgraded in the future?
– Fabby
Dec 5 at 19:48
add a comment |
up vote
-1
down vote
Ubuntu 18.04
1) Became a superuser
sudo -s
2) Download and install developer packets to build gnome-terminal
apt-get build-dep gnome-terminal
3) Download and build sources for current version of gnome-terminal
cd /usr/local/src
apt-get -b source gnome-terminal
4) go to sources ( change the digits "3.28.2" in future versions )
cd gnome-terminal-3.28.2
5) Download the patch
curl https://ypokhilko.linkpc.net/wp-content/uploads/2018/12/search_on_google.patch_.gz --output search_on_google.patch.gz
6) Unzip and apply the patch
gzip -d search_on_google.patch.gz
cat search_on_google.patch | patch -p 1
7) Build solution again
make
8) Store old version of the gnome-terminal-server
mv /usr/lib/gnome-terminal/gnome-terminal-server /usr/lib/gnome-terminal/gnome-terminal-server.old
9) Copy new version instead of old
cp ./src/gnome-terminal-server /usr/lib/gnome-terminal/gnome-terminal-server
10) Kill old instance of gnome-terminal-server (current instance of gnome-terminal will closed too)
killall gnome-terminal-server
11) Run gnome-terminal and enjoy
Welcome to Ask Ubuntu! :-) Thank you for posting a correct answer, but could you also edit end explain what you're doing so the user understand what they're doing and what the dangers are if gnome terminal gets upgraded in the future?
– Fabby
Dec 5 at 19:48
add a comment |
up vote
-1
down vote
up vote
-1
down vote
Ubuntu 18.04
1) Became a superuser
sudo -s
2) Download and install developer packets to build gnome-terminal
apt-get build-dep gnome-terminal
3) Download and build sources for current version of gnome-terminal
cd /usr/local/src
apt-get -b source gnome-terminal
4) go to sources ( change the digits "3.28.2" in future versions )
cd gnome-terminal-3.28.2
5) Download the patch
curl https://ypokhilko.linkpc.net/wp-content/uploads/2018/12/search_on_google.patch_.gz --output search_on_google.patch.gz
6) Unzip and apply the patch
gzip -d search_on_google.patch.gz
cat search_on_google.patch | patch -p 1
7) Build solution again
make
8) Store old version of the gnome-terminal-server
mv /usr/lib/gnome-terminal/gnome-terminal-server /usr/lib/gnome-terminal/gnome-terminal-server.old
9) Copy new version instead of old
cp ./src/gnome-terminal-server /usr/lib/gnome-terminal/gnome-terminal-server
10) Kill old instance of gnome-terminal-server (current instance of gnome-terminal will closed too)
killall gnome-terminal-server
11) Run gnome-terminal and enjoy
Ubuntu 18.04
1) Became a superuser
sudo -s
2) Download and install developer packets to build gnome-terminal
apt-get build-dep gnome-terminal
3) Download and build sources for current version of gnome-terminal
cd /usr/local/src
apt-get -b source gnome-terminal
4) go to sources ( change the digits "3.28.2" in future versions )
cd gnome-terminal-3.28.2
5) Download the patch
curl https://ypokhilko.linkpc.net/wp-content/uploads/2018/12/search_on_google.patch_.gz --output search_on_google.patch.gz
6) Unzip and apply the patch
gzip -d search_on_google.patch.gz
cat search_on_google.patch | patch -p 1
7) Build solution again
make
8) Store old version of the gnome-terminal-server
mv /usr/lib/gnome-terminal/gnome-terminal-server /usr/lib/gnome-terminal/gnome-terminal-server.old
9) Copy new version instead of old
cp ./src/gnome-terminal-server /usr/lib/gnome-terminal/gnome-terminal-server
10) Kill old instance of gnome-terminal-server (current instance of gnome-terminal will closed too)
killall gnome-terminal-server
11) Run gnome-terminal and enjoy
edited Dec 6 at 9:48
answered Dec 5 at 19:08
sig11
12
12
Welcome to Ask Ubuntu! :-) Thank you for posting a correct answer, but could you also edit end explain what you're doing so the user understand what they're doing and what the dangers are if gnome terminal gets upgraded in the future?
– Fabby
Dec 5 at 19:48
add a comment |
Welcome to Ask Ubuntu! :-) Thank you for posting a correct answer, but could you also edit end explain what you're doing so the user understand what they're doing and what the dangers are if gnome terminal gets upgraded in the future?
– Fabby
Dec 5 at 19:48
Welcome to Ask Ubuntu! :-) Thank you for posting a correct answer, but could you also edit end explain what you're doing so the user understand what they're doing and what the dangers are if gnome terminal gets upgraded in the future?
– Fabby
Dec 5 at 19:48
Welcome to Ask Ubuntu! :-) Thank you for posting a correct answer, but could you also edit end explain what you're doing so the user understand what they're doing and what the dangers are if gnome terminal gets upgraded in the future?
– Fabby
Dec 5 at 19:48
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f417620%2fhow-to-make-search-on-google-available-in-selected-texts-context-menu-in-gnom%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Also relevant: Googling query from anywhere
– Slothworks
Oct 14 '15 at 19:27