You are not logged in.

#1 2010-07-12 23:33:52

Trindol
Member
Registered: 2008-12-17
Posts: 37

(solved) urxvt clickable urls doesn't work following wiki

My ~/.Xdefaults:

URxvt.buffered:         true
URxvt.background:       black
URxvt.foreground:       green
URxvt.scrollBar:        off
URxvt.geometry:         100x24
URxvt.transparent:      true
URxvt.shading:          35
URxvt.perl-ext:         default,matcher
URXvt.urlLauncher:      /usr/bin/midori
URxvt.matcher.button:   1

I have tried several variations according to different sources online but none of them work. Links are underlined, so it is partly working but clicking does nothing. Tried perl-ext and perl-ext-common. I have tried changing matcher.button to other numbers. Perl is installed. Only difference from most examples is midori instead of firefox.

Last edited by Trindol (2010-07-13 21:46:07)

Offline

#2 2010-07-12 23:51:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: (solved) urxvt clickable urls doesn't work following wiki

URxvt.perl-ext-common: default,matcher
URxvt.urlLauncher: firefox
URxvt.matcher.button: 1

It also works with /'usr/bin/firefox', '/usr/bin/jumanji'.

Run 'xrdb -load ~/.Xdefaults' to update and open a new terminal or even restart X to be sure.

Last edited by karol (2010-07-13 00:02:07)

Offline

#3 2010-07-13 00:12:18

Trindol
Member
Registered: 2008-12-17
Posts: 37

Re: (solved) urxvt clickable urls doesn't work following wiki

no go. I've been at this quite awhile so restarting/reloading files isn't the issue.

Offline

#4 2010-07-13 00:13:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: (solved) urxvt clickable urls doesn't work following wiki

Offline

#5 2010-07-13 00:14:32

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: (solved) urxvt clickable urls doesn't work following wiki

works fine here with firefox and jumanji, but i do use the full paths.

After you change your .Xdefaults, can you start a new terminal and try in that? Maybe an existing terminal is not picking up the changes. Alternatively, if you have another browser see if that works. If so, then midori might be at fault here (though I can't see how)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#6 2010-07-13 00:15:18

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: (solved) urxvt clickable urls doesn't work following wiki

karol wrote:

I use the standard urxvt from the extra repo. So I guess it wouldn't matter.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2010-07-13 04:07:34

jmad980
Member
From: Califonia
Registered: 2010-03-11
Posts: 54

Re: (solved) urxvt clickable urls doesn't work following wiki

Have you tried any other browsers with it?
Midori has been a little finicky from the command line for me in the past, it may be a issue with midori


Someone call a doctor, my awesome configuration broke again! || To err is human -- to blame it on a computer is even more so.

Offline

#8 2010-07-13 04:14:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: (solved) urxvt clickable urls doesn't work following wiki

I've just installed midori and it runs OK.

!URxvt.urlLauncher: firefox
URxvt.urlLauncher: midori

Does it work for you w/ firefox?

Last edited by karol (2010-07-13 04:17:36)

Offline

#9 2010-07-13 04:20:38

jmad980
Member
From: Califonia
Registered: 2010-03-11
Posts: 54

Re: (solved) urxvt clickable urls doesn't work following wiki

karol wrote:

I've just installed midori and it runs OK.

In that case it doesn't look like a problem with midori, you could try disabling some things in your .Xdefaults (process of elimination) don't really see any problems however. hmm

Edit: worked with Firefox over here using

URxvt.perl-ext-common:  default,matcher,tabbed,clipboard
URxvt.urlLauncher:      /usr/bin/firefox
URxvt.matcher.button:   1

note that I have a few other things hence ,tabbed,clipboard

Last edited by jmad980 (2010-07-13 04:23:40)


Someone call a doctor, my awesome configuration broke again! || To err is human -- to blame it on a computer is even more so.

Offline

#10 2010-07-13 04:51:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: (solved) urxvt clickable urls doesn't work following wiki

'URxvt.matcher.button:   1' means LMB. If you click the link it should just work.
I think you should start w/ a minimal .Xdefaults that work and add back all the other stuff that you need there. Maybe you have a conflict of settings of some sort.

Offline

#11 2010-07-13 11:01:48

Trindol
Member
Registered: 2008-12-17
Posts: 37

Re: (solved) urxvt clickable urls doesn't work following wiki

Removed all lines from my .Xdefault except the three in question, still didn't work. Tried firefox, uzbl, links, still nothing. I am reloading X each time. Reinstalled urxvt, perl, xorg-xauth. Mysterious.

Offline

#12 2010-07-13 11:59:00

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: (solved) urxvt clickable urls doesn't work following wiki

Trindol wrote:

Removed all lines from my .Xdefault except the three in question, still didn't work. Tried firefox, uzbl, links, still nothing. I am reloading X each time. Reinstalled urxvt, perl, xorg-xauth. Mysterious.

Don't know if this would help, but here is my xdefaults. You might wanna try it out and see if it works.

urxvt*font:             xft:Terminus:size=10
#urxvt*font:             xft:Bitstream Vera Sans Mono:size=10
urxvt*termName:         rxvt
urxvt*background:       #000000
urxvt*foreground:       #cccccc
urxvt*scrollBar:        false
urxvt*perl-lib:         /usr/lib/urxvt/perl/
urxvt*perl-ext-common:  default,matcher
urxvt*urlLauncher:      /usr/bin/jumanji
urxvt*matcher.button:   1
#urxvt*fading:           50
#urxvt*fadeColor:        #000000

Xft*dpi:                96
Xft*antialias:          true
Xft*hinting:            full

urxvt*background:       rgba:0000/0000/0000/cccc

URxvt.transparent:   true
URxvt.tintColor:     black
URxvt.shading:       20 
 
URxvt*color0:      #000000
URxvt*color1:      #9e1828
URxvt*color2:      #aece92
URxvt*color3:      #968a38
URxvt*color4:      #414171
URxvt*color5:      #963c59
URxvt*color6:      #418179
URxvt*color7:      #bebebe
URxvt*color8:      #666666
URxvt*color9:      #cf6171
URxvt*color10:     #c5f779
URxvt*color11:     #fff796
URxvt*color12:     #4186be
URxvt*color13:     #cf9ebe
URxvt*color14:     #71bebe
URxvt*color15:     #ffffff

Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#13 2010-07-13 14:02:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: (solved) urxvt clickable urls doesn't work following wiki

Try
!urxvt*font:             xft:Bitstream Vera Sans Mono:size=10

!urxvt*fading:           50
!urxvt*fadeColor:        #000000


instead of (look at the first character):

#urxvt*font:             xft:Bitstream Vera Sans Mono:size=10

#urxvt*fading:           50
#urxvt*fadeColor:        #000000

Last edited by karol (2010-07-13 14:02:51)

Offline

#14 2010-07-13 14:06:31

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: (solved) urxvt clickable urls doesn't work following wiki

karol wrote:

Try
!urxvt*font:             xft:Bitstream Vera Sans Mono:size=10

!urxvt*fading:           50
!urxvt*fadeColor:        #000000


instead of (look at the first character):

#urxvt*font:             xft:Bitstream Vera Sans Mono:size=10

#urxvt*fading:           50
#urxvt*fadeColor:        #000000

I don't get it. It works for me. The lines I have commented, I intend to comment.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#15 2010-07-13 14:07:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: (solved) urxvt clickable urls doesn't work following wiki

Use "!" commenting out.

Offline

#16 2010-07-13 14:16:32

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: (solved) urxvt clickable urls doesn't work following wiki

karol wrote:

Use "!" commenting out.

# works as well.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#17 2010-07-13 21:15:03

Trindol
Member
Registered: 2008-12-17
Posts: 37

Re: (solved) urxvt clickable urls doesn't work following wiki

Alright, this is a bit ridiculous. I switched to Inxsible's posted .Xdefaults, and it worked (with midori). Then I changed back to my old one as originally posted and it still worked! Even after reloading X. Solved? Uhh...

Offline

#18 2010-07-13 21:32:40

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: (solved) urxvt clickable urls doesn't work following wiki

Trindol wrote:

My ~/.Xdefaults:

URxvt.buffered:         true
URxvt.background:       black
URxvt.foreground:       green
URxvt.scrollBar:        off
URxvt.geometry:         100x24
URxvt.transparent:      true
URxvt.shading:          35
URxvt.perl-ext:         default,matcher
URXvt.urlLauncher:      /usr/bin/midori
URxvt.matcher.button:   1

I have tried several variations according to different sources online but none of them work. Links are underlined, so it is partly working but clicking does nothing. Tried perl-ext and perl-ext-common. I have tried changing matcher.button to other numbers. Perl is installed. Only difference from most examples is midori instead of firefox.

I think I see what the problem is. your /usr/bin/midori line has a upper case X in URXvt. It is supposed to be lower case

so I guess when you copied back your .Xdefaults you didn't restart the terminal? or you copied it correctly with a lower case x.

EDIT: Don't know if it makes any difference. I just noticed that I have a mixed case urxvt in some settings and others I am using URxvt. yikes

Last edited by Inxsible (2010-07-13 21:35:01)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#19 2010-07-13 21:40:31

Trindol
Member
Registered: 2008-12-17
Posts: 37

Re: (solved) urxvt clickable urls doesn't work following wiki

You got it. Man what a headache.

URxvt = ok
urxvt = ok

anything else, no go.

Offline

#20 2010-07-13 21:41:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: (solved) urxvt clickable urls doesn't work following wiki

> I have a mixed case urxvt in some settings and others I am using URxvt
IIRC correctly it has sth do to w/ a class or sth. If you dive into the docs you'll probably find it.

> I think I see what the problem is.
I could swear this was the first thing I've checked! Well, thanks to Linus' Law one blind guy won't f*ck it all.
I've changed the case in my config and it stopped working.

> Then I changed back to my old one as originally posted
Can you post it?

Offline

#21 2010-07-13 22:47:12

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: (solved) urxvt clickable urls doesn't work following wiki

karol wrote:

> I have a mixed case urxvt in some settings and others I am using URxvt
IIRC correctly it has sth do to w/ a class or sth. If you dive into the docs you'll probably find it.

Yeah the $WINDOW_CLASS and the $WINDOW_NAME, which takes on the application name. Those variables define what the title bar will contain for a particular app. So I guess urxvt and URxvt are ok.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB