1 |
Hello, |
2 |
|
3 |
On Thu, 26 Nov 2020, Walter Dnes wrote: |
4 |
> urlview has served me faithfully for many years in conjunction with |
5 |
>mutt. In a recent install, I find it's no longer available (python |
6 |
>2.7?). |
7 |
|
8 |
Stated reason was "upstream dead" (which seems the case since 2013, |
9 |
with issues on github[1])... |
10 |
|
11 |
>extract_url is touted as a drop-in replacement for urlview. I |
12 |
>emerged it and did some RTFM, ending up more confused than ever. I want |
13 |
>to display urls on a simple menu, just like urlview, select, and pass |
14 |
>the selected url to my palemoon email profile... |
15 |
> |
16 |
>/home/waltdnes/pm/palemoon/palemoon -new-instance -p email |
17 |
|
18 |
I don't know urlview, but FWIW, I use the mouse or cursor in e.g. |
19 |
emacs to select the URL (or just a part) as usual and then |
20 |
Ctrl+"8th-Button" (actually lower thumb button, use xev / evtest to |
21 |
find the right button number) to call the browser, done via xbindkeys: |
22 |
|
23 |
# call browser with selected text as URL |
24 |
"/home/dh/bin/browser $(xsel -o)" |
25 |
Control + b:8 |
26 |
|
27 |
You can use pretty much any unused key-combination with or without the |
28 |
mouse as trigger. |
29 |
|
30 |
(that ~/bin/browser is just my little wrapper-shellscript adding e.g. |
31 |
a profile option, a '-new-tab' if the browser is already running or |
32 |
calling another unliked, but needed for some specific pages, browser...) |
33 |
|
34 |
Ah: x11-misc/xbindkeys x11-misc/xsel |
35 |
|
36 |
HTH, |
37 |
-dnh |
38 |
|
39 |
[1] https://github.com/sigpipe/urlview/issues |
40 |
|
41 |
-- |
42 |
Door: Something a cat wants to be on the other side of |