wiki:search_google_selected_text
This is an old revision of the document!
Table of Contents
Search google for selected text
Google from anywhere
Install
Ubuntu
sudo apt install xclip
Archu
Install xbindkeys
and run xbindkeys_config
in terminal.
Xubuntu
Install xsel
Add script to keyboard shortcuts
Ubuntu
sh -c 'firefox "https://www.google.com/search?q=$(xclip -o)"'
Xubuntu 16.04, Arch
sh -c 'xsel | tr " " "+" | xargs -I %s xdg-open "http://www.google.com/search?q=%s"'
Tested on
- Ubuntu Gnome 16.04, 19.10, 20.04
See also
References
wiki/search_google_selected_text.1625644473.txt.gz · Last modified: 2021/07/07 09:54 by antisa