ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #17316
Re: Change default browser
On Wed, Dec 16, 2015 at 9:42 AM, Behrooz Ramezani
<b3hrooz.ram3zani@xxxxxxxxx> wrote:
> Hello
> I want change default browser in ubuntu phone. is there any way for it?
> Thanks
Aside from being installed by default (and not uninstallable) and
having a hardcoded icon to it at the top of the applications scope,
there is nothing specific done to make webbrowser-app "default".
Its desktop file contains the following line:
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;
whichs registers it with the system as a handler for http:// and
https:// links. I suppose other browsers could do the same (just
checked liri, and it doesn’t have such a line in its desktop file). I
wonder what url-dispatcher would do if it encountered two apps that
claim to be capable of handling those URLs. I guess something along
the lines of showing a dialog to allow the user to choose which app to
use (and maybe a checkbox to save a default choice), but I’m not sure
whether this is implemented yet.
HTH,
Olivier
Follow ups
References