You are not logged in.

#1 2013-01-08 18:14:37

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Unable to launch browser URL's from irrsi in urxvt.

Using irssi IRC client in urxvt I am no longer able to launch a link from the irssi app into the chromium browser. Apparently the following lines are required in .Xdefaults to do so:

urxvt*perl-lib:         /usr/lib/urxvt/perl/
urxvt*perl-ext-common:  default,matcher
urxvt*matcher.button:   1
urxvt*urlLauncher:      /usr/bin/chromium

However, those lines still do not allow me to open a URL with a mouse click in irssi. Any ideas appreciated.

Last edited by lagagnon (2013-01-08 21:15:59)


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#2 2013-01-08 18:29:55

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Unable to launch browser URL's from irrsi in urxvt.

Change your urlLauncher command to this:

URxvt.url-select.launcher:

Last edited by bohoomil (2013-01-08 18:33:12)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2013-01-08 20:55:06

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Unable to launch browser URL's from irrsi in urxvt.

Where are you getting that, bohoomil?

man urxvt wrote:

url-launcher: string
           Specifies the program to be started with a URL argument. Used by the "selection-popup" and "matcher" perl extensions.

In context, that becomes:

URxvt.perl-ext:	  default,matcher
URxvt.url-launcher: firefox
URxvt.matcher.button: 1

Offline

#4 2013-01-08 20:59:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,012
Website

Re: Unable to launch browser URL's from irrsi in urxvt.

bohoomil is using urxvt-perls, which was also updated after the change to Rxvt-unicode...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-01-08 21:53:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 23,901
Website

Re: Unable to launch browser URL's from irrsi in urxvt.

Thanks for making this thread.  I recently noticed this (all urls from urxvt) stopped working for me, but as I hadn't yet put in any time to research why I didn't want to start a thread.  But the change in tomk's excerpt did the trick.  (urlLauncher became url-launcher).

Edit: also, for the OP, I think the URxvt class name is case sensitive.

Last edited by Trilby (2013-01-08 21:54:51)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#6 2013-01-08 22:30:16

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Unable to launch browser URL's from irrsi in urxvt.

jasonwryan, thanks for the explanation.

Offline

Board footer

Powered by FluxBB