Just the best time now for me to answer that question, because just a few
days ago i set the Tor-Browser-Bundle (TBB) as my default webbrowser :)
1. to know how to install TBB on GNU/Linux read the short install-info:
https://www.torproject.org/projects/torbrowser.html.en#linux
...very simple so far... just download and untar the archive file
2. then, i did a tiny script under $HOME/bin/tor-browser with the following
content:
----------------------------------------------------------------------------------------------
#!/bin/bash
cd "$HOME/tor-browser_en-US/"
./start-tor-browser.desktop
----------------------------------------------------------------------------------------------
3. now to make the script executable set the right permissions,
open a terminal and run the following command:
$ chmod 700 $HOME/bin/tor-browser
4. now you can launch the browser by just typing..
$ tor-browser
...in your preferred terminal-emulator
5. add Tor-Browser to your alternative list:
$ sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser
$HOME/bin/tor-browser 1
$ sudo update-alternatives --install /usr/bin/gnome-www-browser
gnome-www-browser $HOME/bin/tor-browser 1
6. set it as default browser now:
$ sudo update-alternatives --config x-www-browser
$ sudo update-alternatives --config gnome-www-browser
7. launch the browser:
$ tor-browser
8. now there should be the .desktop-file
$HOME/.local/share/applications/start-tor-browser.desktop
9. make this desktop file the default by typing:
$ xdg-settings set default-web-browser start-tor-browser.desktop
10. DONE! ;)
note: not working after doing all these steps to set TBB as default browser
---> right-click a link and select "open in browser" will only start the
browser but without the website opened