25-08-2008, 15:38 | #1 |
Absinthe
Join Date: Sep 2007
Location: Leighton Buzzard
Posts: 1,282
|
Stupid localhost question
I use Opera and keywords for my browsing. So "bd" in Opera loads up this site, "gm" loads up my gmail and "hx" loads up the Hexus.net forums and so on.
This works well apart from some skill I've picked up where I'll type "fm" for Fastmail.fm or "gm" for Gmail as I said earlier. However I seem to manage to press control+enter on these keywords and instead of Fastmail.fm I get "fm.com" and "gm.com" instead of gmail.com. Now I reckon I could fix this by doing something to my localhost file so that when I accidently request fm.com or gm.com I actually get my PC/Opera to go to fastmail.fm and gmail.com. I did have a go at this a while ago but it didn't work. Meaning I did it wrong most likely. Anyone fancy telling me how to do it propah? |
25-08-2008, 20:32 | #2 |
I'm going for a scuttle...
Join Date: Jul 2006
Posts: 2,021
|
Editing your hosts file (I assume thats what you mean by localhost file) is really easy.
C:\system32\drivers\etc\ is where it is, you just put in the ip and then the hostname on a new line. For example: Code:
127.0.0.1 localhost 146.87.216.20 www.shockradio.co.uk |
25-08-2008, 20:47 | #3 |
Absinthe
Join Date: Sep 2007
Location: Leighton Buzzard
Posts: 1,282
|
Cheerz DRZ. Thought you might know.
So easy I got it wrong last time eh? So is that saying that if 146.87.216.20 is requested it will direct to shockradio.co.uk instead? |
25-08-2008, 22:07 | #4 |
Absinthe
Join Date: Sep 2007
Location: Leighton Buzzard
Posts: 1,282
|
The IP address I get for Gmail just takes me to Google.com and I can't reach Fastmail.fm using the IP address. So is it possible to redirect fm.com and gm.com to Fastmail.fm and gmail.com respectively and not use any IP addresses?
|
25-08-2008, 23:11 | #5 |
Bananaman
Join Date: Jul 2006
Location: Liverpool/Edinburgh
Posts: 4,817
|
You could turn off the auto complete .com .co.uk things with opera but that would ruin it every other time too which is crap. Best best is ctrl+t, bd, enter. Which is exactly what i do, and just get into that habbit .
Or what does seem to work is, press F2 then bd and ctrl +enter works for me. |
25-08-2008, 23:15 | #6 |
Absinthe
Join Date: Sep 2007
Location: Leighton Buzzard
Posts: 1,282
|
Ctrl+t, bd, enter is what I am trying to do. I just keep pressing ctrl too many times.
And F2, bd, ctrl+enter does the same, gets bd.com. F2, bd, enter is right. |
25-08-2008, 23:34 | #7 |
Bananaman
Join Date: Jul 2006
Location: Liverpool/Edinburgh
Posts: 4,817
|
Oh wait i've just realised i use ctrl + shift + enter, then press 2 . So do that
|
25-08-2008, 23:42 | #8 |
Absinthe
Join Date: Sep 2007
Location: Leighton Buzzard
Posts: 1,282
|
Nothing happens.
|
25-08-2008, 23:47 | #9 |
Bananaman
Join Date: Jul 2006
Location: Liverpool/Edinburgh
Posts: 4,817
|
Oh, for me ctrl + shift + enter is open in a background tab
so typing in the url bar of current window (or F2 window): bd + ctrl +shift +enter opens a tab in the background. 2 is the shortcut to skip to the tab to the right. Unles you're not using the 9.2x compatible single button shortcuts. |
25-08-2008, 23:58 | #10 |
Absinthe
Join Date: Sep 2007
Location: Leighton Buzzard
Posts: 1,282
|
Ah type the shortcut in first! Works now. Using Opera standard keyboard shortcuts I think. 9.2 ones better?
|