SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-01-24 08:42:52

nabilalk
#! Die Hard
From: U.S.A.
Registered: 2009-01-28
Posts: 531

gmrunrc URL_http and URL_mailto tweaks

I would like to change the default URL_mailto, URL_http and EXT:html settings.

1) Set mailto to Gmail within chromium-browser instead of claws-mail
2) Allow for url launch via chromium-browser when www.nba.com is launched without the need for http:// first.

My .gmrunrc config

ShowDotFiles = 1
TabTimeout = 0
Terminal = terminator
TermExec = terminator --command
URL_http = chromium-browser '%u'
URL_mailto = claws-mail '%s'
EXT:html = chromium-browser file://%s
URL_s = catfish --hidden --path=/ '%s'
URL_sh = catfish --hidden --path=/home/yourhome/ '%s'

Any way to perform these tweaks? I tried adding

URL_www = chromium-browser '%u'

but that did not allow me to type www.nba.com in gmrun and pull up the webpage in chromium-browser. Thanks.

Last edited by nabilalk (2010-01-24 08:45:38)


#! 10 “Statler” r20110207 32-bit & Openbox

Offline

Be excellent to each other!

#2 2010-01-24 09:26:54

ultralytenment
Member
From: Harpers Ferry, West Virginia
Registered: 2010-01-22
Posts: 19

Re: gmrunrc URL_http and URL_mailto tweaks

I'm not sure about setting chromium to be a mailto handler (though if you want chromium to use gmail as your default mailto handler while browsing, add this extension https://chrome.google.com/extensions/de … incokdjbfe).

However, your http shortcut does work, just include the http portion of the url. Using the EXT and URL_http settings won't accomplish what you want. EXT is for dealing with file extensions. For example, opening index.html would call your designated application. URL_http requires that you type the whole address. That's how the setting works. As far as I know there isn't a better way.

Okay, so I'm editing this to offer a slightly faster method. Not what you're looking for, but it reduces your keystrokes from 9 (alt-f2 http://) to 4 (alt-f2 w:):
URL_w = x-www-browser '%s'     -- to use type w:somesite.com

Oh, and just for fun, google search and gmail compose mail functionality:
URL_g = x-www-browser 'http://www.google.com.ph/search?q=%s'     -- to use type g:somesearchterm
URL_m = x-www-browser 'https://mail.google.com/mail/?shva=1#compose' -- make sure you type m: to use. Also, this opens a new email in gmail, but does not open a custom mailto address.

Last edited by ultralytenment (2010-01-24 10:10:08)

Offline

#3 2010-01-24 09:59:56

nabilalk
#! Die Hard
From: U.S.A.
Registered: 2009-01-28
Posts: 531

Re: gmrunrc URL_http and URL_mailto tweaks

ultralytenment wrote:

Okay, so I'm editing this to offer a slightly faster method. Not what you're looking for, but it reduces your keystrokes from 9 (alt-f2 http://) to 4 (alt-f2 w:):
URL_w = chromium-browser '%s'

Oh, and just for fun, google search and gmail compose mail functionality:
URL_g = x-www-browser 'http://www.google.com.ph/search?q=%s'
URL_m = x-www-browser 'https://mail.google.com/mail/?shva=1#compose' -- make sure you type m: to use. Also, this opens a new mail in gmail, but does not open a custom mailto address.

I'm digging the tweaks, cheers.


#! 10 “Statler” r20110207 32-bit & Openbox

Offline

#4 2010-01-24 10:06:42

ultralytenment
Member
From: Harpers Ferry, West Virginia
Registered: 2010-01-22
Posts: 19

Re: gmrunrc URL_http and URL_mailto tweaks

nabilalk wrote:
ultralytenment wrote:

Okay, so I'm editing this to offer a slightly faster method. Not what you're looking for, but it reduces your keystrokes from 9 (alt-f2 http://) to 4 (alt-f2 w:):
URL_w = chromium-browser '%s'

Oh, and just for fun, google search and gmail compose mail functionality:
URL_g = x-www-browser 'http://www.google.com.ph/search?q=%s'
URL_m = x-www-browser 'https://mail.google.com/mail/?shva=1#compose' -- make sure you type m: to use. Also, this opens a new mail in gmail, but does not open a custom mailto address.

I'm digging the tweaks, cheers.


I'm glad that I could be of assistance. Maybe I'll compile an exhaustive list of useful gmrunrc tweaks and post them on the forums sometime soon. It's almost 5am though, and I need some rest. Perhaps something to keep me occupied tomorrow before football...

Offline

#5 2010-01-24 10:09:24

nabilalk
#! Die Hard
From: U.S.A.
Registered: 2009-01-28
Posts: 531

Re: gmrunrc URL_http and URL_mailto tweaks

ultralytenment wrote:

Maybe I'll compile an exhaustive list of useful gmrunrc tweaks and post them on the forums sometime soon.

That would be awesome!


#! 10 “Statler” r20110207 32-bit & Openbox

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo