Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to disable URXVT's auto-formatting of URLs? [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Thu May 18, 2023 11:27 am    Post subject: how to disable URXVT's auto-formatting of URLs? [SOLVED] Reply with quote

I'm trying to use yt-dlp (a newer fork of youtube-dl), but when I type or paste a URL in at the end of the command, my urxvt terminal auto-formats it with an underline, and then yt-dlp doesn't recognize it as a URL.

I've already checked that it's not expanding the "?" character (see here), but that's not it.

Any advice?

Cheers,

EE


Last edited by ExecutorElassus on Fri May 19, 2023 4:50 am; edited 1 time in total
Back to top
View user's profile Send private message
sdauth
Guru
Guru


Joined: 19 Sep 2018
Posts: 569
Location: Ásgarðr

PostPosted: Thu May 18, 2023 5:51 pm    Post subject: Reply with quote

Just in idea, are you using url-select perl extension ?
In my ~/.Xresources, I used to have this enabled:

Code:
! url-select
URxvt.keysym.M-u:           perl:url-select:select_next
URxvt.url-select.launcher:  /usr/bin/xdg-open
URxvt.url-select.underline: true


What happens if you set URxvt.url-select.underline to false ?

Now I use matcher perl extension instead of url-select.
Code:
! matcher
! clickable url
URxvt.url-launcher:             /usr/bin/xdg-open
URxvt.matcher.button:           1
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Thu May 18, 2023 6:20 pm    Post subject: Reply with quote

I've commented out all of those lines, with no effect.
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 324
Location: Naarm/Melbourne, Australia

PostPosted: Fri May 19, 2023 1:20 am    Post subject: Reply with quote

Have you already tried:

Code:
URxvt*underlineURLs:  false
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Fri May 19, 2023 4:50 am    Post subject: Reply with quote

flexibeast wrote:
Have you already tried:

Code:
URxvt*underlineURLs:  false


aha! That fixed it. Thank you! Now I can stop using that horribly weird tartube app. Thanks!

Setting to [SOLVED], cheers,

EE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum