You are not logged in.
Pages: 1
Hi,
I don't like having to type "http://www.google.com/search?q=" everytime I want to search for something in google, or "http://en.wikipedia.org/wiki/Special:Search?search=" every time I want to search wikipedia, so is there a program that can type stuff in X? So I could bind the program to a keyboard shortcut and press the shortcut every time I want to search google or wikipedia etc before typing the search query.
Thanks.
Offline
Well, if you press Alt+F2 a dialog search box will pop up; there you type what you are looking for (say an http address) and it will open up your browser and direct it to it.
R.
Offline
Vimperator has such a function. I use it all the time.
map <C-g> :open http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=search&db=gene&term=homo+sapiens+
In my ~/.vimperratorrc causes that entire line to appear in the command bar when I type Ctrl-G. It's a prefix for searching for human genes.
Cthulhu For President!
Offline
I found a way: xautomation. Thanks.
Last edited by 9mqk$fhn (2009-07-02 14:10:22)
Offline
/me scratches head at this thread
I don't think I've ever typed http://www.google.com/search?q=.. I mean, ever. Does your browser not have a google/whoever search thinger?
Also - ralvez, you can't say "press Alt+F2 and foo will happen" without knowing how everyone has their keybinds setup e.g. my Alt+F2 opens my run dialog.
Offline
http://www.sandklef.com/xnee/
http://lifehacker.com/351285/automate-r … h-snippits
http://ubuntuforums.org/showthread.php? … ht=autokey
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
I haven't tried it so I'm not sure exactly what it does, but this is from the second issue of Arch User Magazine pg. 10
WEB SEARCHING SIMPLIFIED
Have you ever needed to search for
something, but by the time you got to
google you couldn't remember what it was?Or how to spell it? Well here's a simple
script to make searching easier.#!/bin/bash firefox "http://google.com/search?q= `xsel -p -o`&ie=UTF-8&oe=UTF-8"
Just save the above snippet, make it
executable (chmod +x) and bind it to a
keychain. Whenever you execute it, it will
search for whatever you have highlighted.
Last edited by Pi (2009-07-02 14:58:12)
Offline
You can always try out the omnibar addon for firefox. It makes the adress bar into a combined adress and search bar. You can then assign keyboard shortcuts for all your firefox search engines.
If I type "g word" then I search for "word" on google. If I type "y word" then I make a search on youtube instead. I even have the arch wiki shortcutted to "aw ".
Offline
You can always try out the omnibar addon for firefox. It makes the adress bar into a combined adress and search bar. You can then assign keyboard shortcuts for all your firefox search engines.
If I type "g word" then I search for "word" on google. If I type "y word" then I make a search on youtube instead. I even have the arch wiki shortcutted to "aw ".
This behavior exists in vanilla FF. Just set the keyword of a certain search engine registered in the search box to, for example, g and when you type g 'something' FF uses that search engine to search for 'something'
Offline
ubiquity?
Offline
xdotool
snippits
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Pages: 1