On Thu, 4 Aug 2016 19:32:26 +0200
"Erik P. Olsen" <epodata(a)gmail.com> wrote:
On 2016-08-04 at 10:22:44 Rick Stevens wrote:
> On 08/03/2016 11:50 PM, Ed Greshko wrote:
> >
> >
> > On 08/04/16 14:36, Erik P. Olsen wrote:
> >> On 2016-08-04 at 06:12:29 Ed Greshko wrote:
> >>
> >>> On 08/04/16 04:31, Erik P. Olsen wrote:
> >>>> When I use xdg-open to open an URL it opens it with firefox
> >>>> although my preferred browser is google-chrome.
> >>>>
> >>>> Is this a bug or have I missed something.
> >>>>
> >>>> I am running f23.
> >>> Try issuing the following commands....
> >>>
> >>> xdg-settings set default-web-browser google-chrome.desktop
> >>> xdg-settings set default-url-scheme-handler http
> >>> google-chrome.desktop xdg-settings set
> >>> default-url-scheme-handler https google-chrome.desktop
> >>>
> >> default-web-browser was already set for google-chrome and the two
> >> scheme-handlers are not implemented for xfce. So that doesn't
> >> seem to do it.
> >>
> >
> > All I can offer is my settings....
> >
> > [egreshko@meimei ~]$ xdg-settings get default-web-browser
> > google-chrome.desktop
> > [egreshko@meimei ~]$ xdg-settings get default-url-scheme-handler
> > http google-chrome.desktop
> > [egreshko@meimei ~]$ xdg-settings get default-url-scheme-handler
> > https google-chrome.desktop
> >
> > and when I do...
> >
> > xdg-open
http://tinyurl.com/znz978w
> >
> > It opens in a chrome tab.
>
> Perhaps Erik needs to log out and back in once he's done the
> "xdg-settings set" commands?
>
> Just a guess...sometimes this stuff only "takes" on logins.
It's more tricky than that. If I issue the command that Ed mentioned
xdg-open correctly opens a tab in google-chrome. But if I click on an
URL attached to an e-mail it opens in firefox.
In Claws mail: 'Configuration', 'Preferences', 'External
Programs'
Fred