Discodestroyer - 2010-05-15

man gmrun:

URL HANDLING
As opposed to entering a command, gmrun supports the entering of URLs. The included configuration file(/etc/gmrunrc) gives some examples. To set
up your own url, create a variable in /etc/gmrunrc or ~/.gmrunrc with the format of "URL_protocol". For instance, URL_http. Here is an example:

URL_http = /usr/bin/mozilla %u
Using this, entering "http://www.slashdot.org" will run '/usr/bin/mozilla http://slashdot.org'.

gmrun may also strip the protocol and colon away from the entered URL before passing it to the defined program. For example:

URL_mailto = mutt %s
Using this, entering "mailto:david@eelf.ddts.net" will run the command 'mutt david@eelf.ddts.net'

The included configuration files has a few examples which you can work with. You should also note that the protocol part of URL_protocol can be
*anything*. You can set up "URL_foobarbazcustom", and so long as you enter in "foobarbazcustom:<whatever>", it will use the given program. Have
fun :)