wiki:search_google_selected_text
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.txt · Last modified: 2021/10/16 16:50 by antisa