tor browser auto lanching desktop script dont work

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
snake_wolf
White ninja
White ninja
Posts: 25
Joined: 24 Apr 2017, 01:36
Distribution: puppy
Location: sudan

tor browser auto lanching desktop script dont work

Post#1 by snake_wolf » 31 Jul 2017, 03:36

hey guys you all know that when u download tor you find a script in the dir beside the dir called browser so i am trying to run it and it dont print anything one the screen

Code: Select all

#!/usr/bin/env ./Browser/execdesktop
#
# This file is a self-modifying .desktop file that can be run from the shell.
# It preserves arguments and environment for the start-tor-browser script.
#
# Run './start-tor-browser.desktop --help' to display the full set of options.
#
# When invoked from the shell, this file must always be in a Tor Browser root
# directory. When run from the file manager or desktop GUI, it is relocatable.
#
# After first invocation, it will update itself with the absolute path to the
# current TBB location, to support relocation of this .desktop file for GUI
# invocation. You can also add Tor Browser to your desktop's application menu
# by running './start-tor-browser.desktop --register-app'
#
# If you use --register-app, and then relocate your TBB directory, Tor Browser
# will no longer launch from your desktop's app launcher/dock. However, if you
# re-run --register-app from inside that new directory, the script
# will correct the absolute paths and re-register itself.
#
# This file will also still function if the path changes when TBB is used as a
# portable app, so long as it is run directly from that new directory, either
# via the shell or via the file manager.

[Desktop Entry]
Type=Application
Name=Tor Browser Setup
GenericName=Web Browser
Comment=Tor Browser is +1 for privacy and -1 for mass surveillance
Categories=Network;WebBrowser;Security;
Exec=sh -c '"$(dirname "$*")"/Browser/start-tor-browser --detach || ([ ! -x "$(dirname "$*")"/Browser/start-tor-browser ] && "$(dirname "$*")"/start-tor-browser --detach)' dummy %k
X-TorBrowser-ExecShell=./Browser/start-tor-browser --detach
Icon=web-browser
StartupWMClass=Tor Browser

so what you guys think about this issues and how to start tor on ur distro ?? :D

donald
Full of knowledge
Full of knowledge
Posts: 1126
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

tor browser auto lanching desktop script dont work

Post#2 by donald » 04 Aug 2017, 05:49

I assume you copied the tor-browser_en-US folder into /opt
If so, open a terminal > cd into /opt/tor-browser_en-US >

Code: Select all

guest@porteus:/opt/tor-browser_en-US$ ./start-tor-browser.desktop
A GUI (window) appears "connecting to tor..please wait.."
This may fail one or two times (connection timed out) - if so,try once more.
once it completes tor browser will start.

If you want an icon and tor browser entry (menu > internet > tor browser) execute:

Code: Select all

guest@porteus:/opt/tor-browser_en-US$ ./start-tor-browser.desktop --register-app
Launching './Browser/start-tor-browser --detach --register-app'...
Tor Browser has been registered as a desktop app for this user in ~/.local/share/applications/
guest@porteus:/opt/tor-browser_en-US$
That's all....

Post Reply