State of using Tor Browser as default browser
Open, NormalPublic


Document how to use Tor Browser as default browser in a blog post.

knauss created this task.Mar 24 2019, 1:10 PM
knauss triaged this task as Normal priority.
knauss moved this task from incoming to Communication on the KDE Privacy Goal board.

Here is a draft proposition for a blog post:

In order to use TorBrowser as the default browser, we made a pull request to torbrowser-launcher, see 395 for details. We need to set the --allow-remote flag to enable TorBrowser to accept opening links and we need to set the Env Variable LOGNAME in order to open a link in TorBrowser and not in an already open firefox.

Until that is merged you can do the following workaround:
Just create your own starter /home/<username>/.local/share/applications/tor-browser-hack.desktop and replace <username> with your actual username:

[Desktop Entry]
Name=Tor Browser HACK
GenericName=Web Browser
Comment=Tor Browser is +1 for privacy and -1 for mass surveillance
Exec=LOGNAME="torbrowserbundleuser" sh -c '"/home/<username>/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/start-tor-browser" --detach --allow-remote %u || ([ !  -x "/home/<username>/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/start-tor-browser" ] && "$(dirname "$*")"/Browser/start-tor-browser --detach --allow-remote %u)' dummy %k
X-TorBrowser-ExecShell=./Browser/start-tor-browser --detach --allow-remote
StartupWMClass=Tor Browser

and set it as your default browser:

[spam comment removed by sysadmin]