On 3/8/20 8:34 AM, 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.
Ok, from the post linked by Patrick, try the following:
xdg-mime query default x-scheme-handler/http
xdg-mime query default x-scheme-handler/https
If those point to the wrong browser, then do:
xdg-mime default x-scheme-handler/http google-chrome.desktop
xdg-mime default x-scheme-handler/https google-chrome.desktop
Got it!
/usr/local/share/applications/defaults.list had this:
text/html=firefox.desktop;google-chrome.desktop
As firefox is found, ...
Thanks to all who contributed.