[xubuntu-users] Why does Firefox persist as default browser in some contexts...

Dan Hitt dan.hitt at gmail.com
Thu Jan 5 02:01:41 UTC 2017


Hi Fred and/or Len or anybody in the know,

Supposing that you are writing a program that might want to open a
browser, say to open a help file located somewhere on the web, what
api would you use, in Xubuntu, to know what browser to use, and what
the calling convention was?

Or, in other words, if it's hard for a programmer to know how to look
up the user's favorite browser, there will probably be programs
popping up here and there where each one makes its own guess about
what browser to use.  :)

In this particular case, i did a google search for 'api
site:xubuntu.org' (without the quotes), and came up with 6 matches,
none of which looked promising.

I also couldn't find anything on xubuntu.org by directly clicking
around on their site, although that could certainly just be my own
ineptness.

So i think that programs should follow any preferences the user has
made known to the system, and programmers wil be very happy to make
this happen, but as a practical matter, there has to be some easily
discovered documentation on what the api is for getting this
information ---- even if it's just a pointer to another website (as
in: "to find preferences in xubuntu, just follow the guidelines in
ubuntu.com://path/to/api/docs").

dan




On Wed, Jan 4, 2017 at 5:08 PM, fred roller <fredroller66 at gmail.com> wrote:
> Each program may/does have it's own preference setting.  Some software will
> call on the system and some, like Thunderbird I believe, will set the
> preference locally within itself.
>
> -- Fred
>
> On Wed, Jan 4, 2017 at 7:43 PM, Len Philpot <lphilpot01 at gmail.com> wrote:
>>
>> ...despite not being visibly set as default? For HTML files in a volume,
>> Chrome opens by default. Yet particularly from applications when opening
>> HTML help, for example, they all-too-often do so in Firefox.
>>
>> I have Chrome set as the web browser in Preferred Applications.
>> There are zero references to Firefox (nor Mozilla, for that matter) to be
>> found in the Mime Type Editor.
>> 'exo-open --launch WebBrowser' launches Chrome
>> 'update-alternatives' shows Chrome as the "auto mode" default, although
>> there's a manual mode available (not tried that yet)
>> There are no in-app preferences for default browsers in the apps
>>
>> What am I missing?
>> Thanks.
>> --
>> Len Philpot
>> lphilpot01 at gmail.com
>> Sent from Thunderbird on Xubuntu Linux
>>
>> --
>> xubuntu-users mailing list
>> xubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>>
>
>
> --
> xubuntu-users mailing list
> xubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>



More information about the xubuntu-users mailing list