On Sun, 2020-03-08 at 08:34 -0700, Geoffrey Leach wrote:
On Sat, 7 Mar 2020 16:51:19 -0800 Samuel Sieb
<samuel(a)sieb.net> wrote:
> On 3/7/20 4:06 PM, Geoffrey Leach wrote:
> > xfce-terminal, bash, fedora 30
> >
> > When there's a url --
http://foo.bar.com for example -- typed in the
> > terminal and I clink the RMB with the sprite on the text, I am
> > offered the option: "open link". So far, so good. The default
> > browser is not executed. (Firefox rather than Chrome, FWIW)
> >
> > Question: where is the browser to be executed at this point
> > configured?
>
> Since you're using xfce, I don't know how to do it graphically.
> Run "xdg-mime query default text/html" to see what the current
> setting is. If that's not correct, then run:
> xdg-mime default text/html google-chrome.desktop
> Hopefully that will set it correctly.
This does indeed change the setting of xdg-mime query default text/html
(for which, thanks) but it does not effect a change to the browser
executed by the RMB click.
There's a longish thread on a similar theme here:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.o...
Basically, you may have to change not just text/html but also x-scheme-
handler and possibly other stuff (I can't be bothered reading through
it all again, even though I was the OP). This is as clear as mud and
the XDG docs don't go out of their way to make it understandable, but I
did get there in the end. I use KDE but presumably this would also work
for you.
poc