[tbb-bugs] #13375 [Tor Browser]: Tor Browser Script can't be launched from the Linux desktop

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 16 18:42:03 UTC 2015


#13375: Tor Browser Script can't be launched from the Linux desktop
-------------------------+-------------------------------------------------
     Reporter:  lunar    |      Owner:  tbb-team
         Type:           |     Status:  needs_information
  enhancement            |  Milestone:
     Priority:  normal   |    Version:
    Component:  Tor      |   Keywords:  tbb-usability, tbb-helpdesk-
  Browser                |  frequent, tbb-usability-stoppoint-app,
   Resolution:           |  MikePerry201502R, tbb-4.5-alpha,
Actual Points:           |  TorBrowserTeam201503, TorBrowserTeam201503R
       Points:           |  Parent ID:
-------------------------+-------------------------------------------------

Comment (by mikeperry):

 So, this almost works as a single file if I do:

 {{{
 #!/usr/bin/env xdg-open

 [Desktop Entry]
 Type=Application
 Name=Tor Browser
 Comment=Tor Browser is +1 for privacy and -1 for mass surveillance
 Categories=Utility;Application;
 Exec=bash -c "TBDIR=`dirname %k`; if [ `basename $TBDIR` = 'Browser' ];
 then TBDIR=`dirname $TBDIR`; fi; $TBDIR/Browser/start-tor-browser"
 }}}

 Except that xdg-open decides to open it in a text editor instead of
 launching the app.. I also tried 'nautilus', and it opened the containing
 folder instead of running the Exec line. Any other ideas?

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


More information about the tbb-bugs mailing list