flathub / org.torproject.torbrowser-launcher

https://flathub.org/apps/details/org.torproject.torbrowser-launcher
4 stars 2 forks source link

Cannot set Tor Browser as default web browser #4

Open xerz-one opened 9 months ago

xerz-one commented 9 months ago

Tor Browser Launcher is not registering any handlers or file associations on its .desktop entry file nor at ~/.config/mimeapps.list. This prevents Tor Browser from being set as default browser.

Tor Browser is a fully-fledged web browser, and can be used as such for any purpose. Users should be able to assign handling both web URIs and local HTML files to Tor Browser as to best suit their needs. For instance, Firefox contains the following:

MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;

Using the same line, afaik, should suffice. This can be implemented either from upstream or via patches on the Flathub side. I'm trying to open an appropriate ticket for the former atm, but this ticket should be relevant nonetheless.