-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/31/2012 04:13 AM, adrelanos wrote:
> Your script does not work if you create a shortcut and try to > start it from a different location. That is how I use it, though - called from an icon on the desktop. A shortcut, if I'm reading you correctly. The DE's that I use on a daily basis seem to assume that the CWD is ~/ when executing something from a shortcut on the desktop, or at least this is how it appears to work. If that is not the case (i.e. it's assuming ~/tor-browser_en-US as the CWD and not ~/), then the change of directory at the top of the script is superfluous, and can be taken out. Let me try an experiment - I've just commented out the changedir at the top, I'm tailing ~/.xession-errors, and I'm using the desktop icon to start the TBB... /home/drwho/tor-browser_en-US/tbb.sh: line 4: ./App/Firefox/firefox: No such file or directory Oops. Let's put it back and try again... and the TBB starts up. Try it for yourself. - -- The Doctor [412/724/301/703] [ZS] Developer, Project Byzantium: http://project-byzantium.org/ PGP: 0x807B17C1 / 7960 1CDC 85C9 0B63 8D9F DD89 3BD8 FF2B 807B 17C1 WWW: https://drwho.virtadpt.net/ Any meeting that's over in the time it takes you to go to the bathroom is a good one. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlCS194ACgkQO9j/K4B7F8FHFQCgr1JMKwyZr+l/HQ8dl5rO8NQO a0UAniAizZ9Sj8r0z8ynIuDYJbqSkf5S =xXCJ -----END PGP SIGNATURE----- _______________________________________________ tor-talk mailing list [email protected] https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk
