User Tools

Site Tools


wiki:search_google_selected_text

This is an old revision of the document!


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

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