User Tools

Site Tools


wiki:search_google_selected_text

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 18:50 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki