You are not logged in.
Pages: 1
Is it possible to have urls open in elinks from urxvt? In my Xdefaults I have defined:
URxvt.perl-ext-common: default,matcher
URxvt.urlLauncher: /usr/bin/elinks -remote $URL
URxvt.matcher.button: 1
URxvt.matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-]
URxvt.matcher.rend.0: fg16 RS_Uline
However, when clicking on links nothing happens (though when exiting X into framebuffer, I can see that links were being opened).
As a side note, in newsbeuter I have:
browser "/usr/bin/elinks -remote $URL"
and links open as expected ( i.e., in the current elinks window).
Anyway, I'm just trying to get clickable urls from urxvt to open in the same manner.
Last edited by ntness (2010-08-23 04:58:03)
transcend to the fifth abode
Offline
I think that you may need to launch another urxvt instance running elinks.
Offline
If I have elinks already running it seems to work.
Offline
That's what I've been trying to do...have all clickable links open in the single instance of elinks I have running.
With (an instance of elinks running):
URxvt.urlLauncher: /usr/bin/elinks -remote $URL
I get the following error:
Error Unable to retrieve file:///home/ME/$URL : No such file or directory
With (an instance of elinks running):
URxvt.urlLauncher: /usr/bin/elinks
I get nothing but remnants of the page once I exit X (in framebuffer)...which I suppose means it is not being passed through to the instance running.
transcend to the fifth abode
Offline
URxvt.urlLauncher: elinks
hangs my X
URxvt.urlLauncher: elinks --remote
works.
Offline
URxvt.urlLauncher: elinks
hangs my X
URxvt.urlLauncher: elinks --remote
works.
Bah, no such luck here. Are you using the version found in extra or elinks-git from aur?
transcend to the fifth abode
Offline
elinks from extra.
You need to reload your Xdefaults, open a new terminal, click a link and it should work.
Offline
elinks from extra.
You need to reload your Xdefaults, open a new terminal, click a link and it should work.
Just not working here.
From my Xdefauls:
URxvt.perl-ext-common: default,matcher
URxvt.urlLauncher: elinks --remote
URxvt.matcher.button: 1
URxvt.matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-]
URxvt.matcher.rend.0: fg16 RS_Uline
Have reloaded Xdefaults, restarted, pounded head into desk a few times, played with a hundred strings, and so on ad infinitum. Would you mind posting the applicable section from your Xdefaults? I'll try exactly what you have.
transcend to the fifth abode
Offline
The simplest way should be by using eelinks instead of elinks:
URxvt.urlLauncher: /home/karol/eelinks
[karol@black ~]$ cat /home/karol/eelinks
#!/bin/sh
elinks -remote "openURL("$@",new-tab)"
That's what I resorted to after I had my system frozen a dozen times, after elinks refused to run or run but refused to render anything.
If you still wanna fight, 'man elinks.conf' may prove helpful.
Offline
The simplest way should be by using eelinks instead of elinks:
URxvt.urlLauncher: /home/karol/eelinks
[karol@black ~]$ cat /home/karol/eelinks #!/bin/sh elinks -remote "openURL("$@",new-tab)"
That's what I resorted to after I had my system frozen a dozen times, after elinks refused to run or run but refused to render anything.
If you still wanna fight, 'man elinks.conf' may prove helpful.
Your method works. I bow humbly in gratitude...ahhh, the joy of clickable links.
I'll definitely be checking out the man page for elinks.conf. This is my first day of usage so I know I've a lot yet to discover and yet I'm already enjoying this browser. Thanks again.
transcend to the fifth abode
Offline
You can (allegedly) do some nice things http://www.calmar.ws/elinks/
If you find the correct way of running elinks, please do post. 'URxvt.urlLauncher: elinks' almost works, I can see in htop that elinks is run with the correct argument (the url I clicked), but my X freezes so it's not overly helpful.
Offline
Pages: 1