[tor-bugs] #9091 [Tor bundles/installation]: Tor Browser not launching

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jul 7 03:58:11 UTC 2013


#9091: Tor Browser not launching
--------------------------------------+-------------------------------------
 Reporter:  Caius                     |          Owner:  erinn       
     Type:  defect                    |         Status:  needs_review
 Priority:  normal                    |      Milestone:              
Component:  Tor bundles/installation  |        Version:              
 Keywords:                            |         Parent:              
   Points:                            |   Actualpoints:              
--------------------------------------+-------------------------------------
Changes (by mttp):

  * status:  new => needs_review


Comment:

 This issue happens on Ubuntu and Ubuntu-Gnome but not Xubuntu or Kubuntu.
 Ubuntu has these *.desktop files that create 'launchers' for applications.
 An application needs a launcher for it to be the default application for a
 filetype. Bash doesn't have one. That's why you can't run shell scripts in
 Ubuntu from the desktop.

 One workaround is to add a bash launcher in the
 ~/.local/share/applications directory. Call it 'bash.desktop'.

 Basically it should look something like this:

 {{{
 [Desktop Entry]
 Version=1.0
 Type=Application
 Name=Bash
 Icon=bash
 Exec=/bin/bash %U
 Terminal=false
 Path=/bin/bash
 }}}

 After you've made the file, run
 {{{
 chmod +x bash.desktop
 }}}
 to make the file executable.


 There is also an entirely non-command line solution that involves
 installing another program. Get the program ''Main Menu'' from the Ubuntu
 Software Center. It's name on the command line is 'alacarte'. When this
 program is open click the 'New Item' button and a window will appear.
 Enter these options:

 Type: Application
 Name: Bash
 Command: /bin/bash %U

 Then hit OK. Now you can open shell scripts (like start-tor-browser) by
 clicking on them.


 Alternatively, if you are using the 3.* Tor Browser Bundle series, you can
 just run
 {{{
 sh ./start-tor-browser
 }}}
 and be done with it.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9091#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list