One click duckduckgo
Check out the ONE CLICK DDG DEMO
Search any text that is selected anywhere in the OS with duckduckgo in a single click is really fun!
Yes you read it right, may the text be in a document, webpage, terminal anywhere you can imagine and select can be searched with duckduckgo with a single click, using a simple one liner and some easy GUI tricks as in the video.
Dependency : xclip - command line interface to X selections (clipboard)
sudo apt-get install xclip
The code:
xdg-open - opens a file or URL in the user's preferred application and in this case it's fetching the selected data from xclip and opening a browser that takes the help of duckduckgo to search.
xdg-open https://www.duckduckgo.com/\?q="$(xclip -o)"
Trying to make a right click context menu from Gnome-Terminal people who are interested can ping me!
Recent blog posts
- watir-webdriver web inspector
- gem list to gemfile
- Packing ruby2.0 on debian.
- Made it into The Guinness Book!
- to_h in ruby 2.0
- Filter elements by pattern jQuery.
- Better HTML password fields for mobile ?
- Grayscale image when user offline
- nth-child CSS pseudo-class Christmas colors
- EventEmitter in nodejs