There should in theory be a way to restart the browser without causing any security concerns, however the developers probably don't view the feature as a priority. On the official site it is seen not as a bug, but as a feature request:
People want to:
Start Tor Browser Bundle, close Tor Browser for various reasons, leave Tor and/or Vidalia running for various reasons, and restart Tor Browser later.
Again, the official line is that the developers are 'working on a way to make this possible on all platforms'.
None of the current Linux stable or alpha versions of tor browser bundle
currently implement the restart feature. This is because they do not contain the version of Vidalia
that had the feature which allowed you to restart the browser after closing it. That version of Vidalia
is discussed in this request, although there have been requests and discussion of the feature for all platforms here and here.
In summary, the aforementioned official sources make it clear that this seemingly simple browser restart feature is not so simple to implement. It would require a specific patched version of Vidalia
, a specially patched version of Firefox
(beyond the one already included in the bundle), and much work to make sure that there were no security holes introduced into the software.
There doesn't seem to be a quick way to implement a shell-script to do it unfortunately, so it's just a case of waiting for the developers to implement the feature or trying to help out with the development oneself.
System-wide change
The default browser is determined by the x-www-browser alternative.
In order to add the Tor browser to the list of available options, you have to run this command:
sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /path/to/torbrowser/executable 1
Then, you need to select it as the default by using
sudo update-alternatives --config x-www-browser
You may also do the same for gnome-www-browser as well.
Note that this is a system-wide change. If you're looking to change it for just your user, let me know.
Change for a single user only
In order to set this is the default for a single user, a little more work may be required (but not much).
gedit ~/.local/share/applications/torbrowser.desktop
Paste the following into the file and save (be sure to use the real path of the Tor browser script):
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=browser
Name[en_US]=Tor Browser
Exec=/path/to/tor/browser
Name=Tor Browser
Icon=browser
Then, execute the command:
xdg-settings set default-web-browser torbrowser.desktop
Best Answer
The thing that hangs is
gpg
. Runps -ef | grep gpg
while tor is verifying signatures and see there's actually agpg
running.Tor browser installer will run
gpg --refresh-keys
anyways, so (from here)But we don't need to follow the link to cure the gpg db, as it has another home directory. We just need to download and install the 'poisoned' key safely.
This thing is implemented in
gpg 2.2.17
and later versions. So you need to/usr/bin/gpg --version
and updategpg
if it's older than2.2.17
.The update process is rather simple, too: get to this git gist, load the script, replace
2.2.10
with2.2.17
within the script and run download, compilation and make.Maybe you should copy
/usr/local/bin/gpg*
over/usr/bin/gpg*
after it.Enjoy )