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

See also

References