Re: OT: Copying a URL from a text browser (was: Re: text browsers)
On Sat, Mar 3, 2012 at 1:56 PM, Randy Kramer <rhkramer@gmail.com> wrote:
>
> Maybe it can be done readily in lynx and I just haven't spotted how to do it?
I have ~/.lynx/external to which I just added this line:
EXTERNAL:http:echo %s | xsel -i:TRUE
Then I can navigate to a link and hit the `.' key. If there are more
than one commands registered for a particular protocol (http in this
case, which covers https), lynx will pop up a selection menu,
otherwise it'll just run it.
Though, in this case you could just as easily register something like:
EXTERNAL:http:firefox -new-tab %s:TRUE
Actually, looks like out of the box, lynx comes configured for running
x-www-browser, so whatever you have for your default browser should
kick in (but may not be what you want for new-tab, new-window,
profile, etc.
mrc
Reply to: