From The Tips Box: Hotkey Searches, SSH Configs, Remote IP Addresses

Readers offer their best tips for searching sites with a hotkey, making SSH config files in Linux, and finding out your dynamic IP at home.

About the Tips Box: Every day we receive boatloads of great reader tips in our inbox, but for various reasons — maybe they're a bit too niche, maybe we couldn't find a good way to present it, or maybe we just couldn't fit it in—the tip didn't make the front page. Got a tip of your own to share? Email it to tips at

Search Websites From Your Desktop with a Hotkey

SmallWorld shares an AutoHotkey script to search certain sites right from your desktop:

Back in the day, one of the editors for Lifehacker put together a Active desktop search engine that allowed you to search different websites with a hotkey. Nowadays, I don't use Active desktop, and I don't want to clicky-click-click to my browser to find the definition for "click". So, I found the basis for a search engine AHK script, and rewrote it for Google, Wikipedia,, and Youtube. Feel free to take the code and edit it, move it around, add some sites, whatever you'd like.

Script is as follows:

;CLSearch ;Made By SmallWorld ;AutoHotKey Script #5 ^!g:: InputBox, SearchTerm, CLSearch Google, What would you like to search for? if not ErrorLevel { if SearchTerm < "" Run } return

^!w:: InputBox, SearchTerm, CLSearch Wikipedia, What would you like to look up? if not ErrorLevel { if SearchTerm < "" Run } return

^!d:: InputBox, SearchTerm, CLSearch Dictionary, What word would you like to define? if not ErrorLevel { if SearchTerm < "" Run } return

^!y:: InputBox, SearchTerm, CLSearch YouTube, What video would you like to search for? if not ErrorLevel { if SearchTerm < "" Run } return

Set up a Config File for Common SSH Servers

Rubbsdecvik shows us how to create an SSH config file in Linux:

If you have many ssh servers to connect to, it may be beneficial to set up a config file in your ~/.ssh directory. It is extremely helpful to me because I have many servers that have different ports. The config file removes the need to remember the port numbers for each specific ssh server. It also allows me to specify which ssh key I use, so I can have a personal key and a work key. Also you can add nicknames to each server.

Here is an example:

Host home

User rubbs

Hostname yourhostnameoripaddress

IdentityFile ~/.ssh/personal_rsa

Port 2222

ForwardX11 Yes

LocalForward 5900:localhost:5900

In order to connect to that server I just type: ssh home.

It will even tab complete!

Leave Gmail Open for Quick Access to Your Home IP Address

JC lets us know an easy way to find out your dynamic IP of the day from a remote location:

Have a dynamic IP but want to log in remotely? Leave Gmail up on the machine. When you log in from another, you'll see the IP of the first.

Hang Glasses on a Hook for Easy Night Access

Kranzmonkey shows us a way to get easy access to your glasses if you don't have a nightstand:

I like to watch TV with the sleep timer as I go to bed, but it can be difficult because I wear glasses, which I obviously don't sleep in. In order to work around this, I use one of those small 3M hooks on the wall next to my bed, which makes it easy to hang my glasses and find them when needed. You can also velcro the remote to the wall to limit the possibilities of it getting lost.


    Or, try OpenDNS. Install the app and BAM! instant dynamic IP address info :O

    Silly work arounds are silly.

    I was quite surprised to see the autohotkey script appear on Lifehacker as I wrote a similar one a little over a month ago.

    The main advantage is that it searches 5 different sites, but you only have to remember and use one hotkey! Additionally it will copy and paste selected text into the search box, so you can search for what you've selected, or you can modify your selected text and then search for it :)

    As some may find it useful, you can find it here:

    And for those who might be interested in more details, check the original post here:

    Hope this helps people :)

Join the discussion!

Trending Stories Right Now