You are not logged in.

#21 2017-12-02 09:58:02

mx
Member
Registered: 2017-11-11
Posts: 60

Re: Help Installing Tor

i got this message from the terminal

mx@mx:~$ sh -c '"/home/mx/Descargas/tor-browser_en-US/Browser/start-tor-browser" --detach || ([ !  -x "/home/mx/Descargas/tor-browser_en-US/Browser/start-tor-browser" ] && "$(dirname "$*")"/Browser/start-tor-browser --detach)' dummy %k
dummy: 1: dummy: /home/mx/Descargas/tor-browser_en-US/Browser/start-tor-browser: not found
dummy: 1: dummy: ./Browser/start-tor-browser: not found

Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#22 2017-12-02 14:23:08

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Help Installing Tor

^I guess you have the home folder also in Spanish. If you click on the little arrow (<) in the upper left corner couple of times here:
Capturadepantalla-browser.torbrowser.th.png

Which folder names does it show? (  home  in the code in #19 should be replaced by that)

Offline

#23 2017-12-02 16:51:02

mx
Member
Registered: 2017-11-11
Posts: 60

Re: Help Installing Tor

Capturadepantalla-browser.torbrowser.th.png

folder's name is HOME.
:S

Last edited by mx (2017-12-02 16:52:03)


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#24 2017-12-02 17:02:26

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Help Installing Tor

^It's interesting then that the code in #19 does not work. If you open this Tor Browser file here:
Capturadepantalla-browser.torbrowser.th.png
with geany, can you confirm that in the Exec= line you have the sh -c... code what you posted in #12?

Offline

#25 2017-12-03 11:26:34

mx
Member
Registered: 2017-11-11
Posts: 60

Re: Help Installing Tor

martix wrote:

with geany, can you confirm that in the Exec= line you have the sh -c... code what you posted in #12?

this is what i get opening that file with geany:

sh -c '"/home/mx/Descargas/tor-browser_en-US/Browser/start-tor-browser" --detach || ([ !  -x "/home/mx/Descargas/tor-browser_en-US/Browser/start-tor-browser" ] && "$(dirname "$*")"/Browser/start-tor-browser --detach)' dummy %k

this is the code i posted in #12

sh -c '\"$PWD/start-tor-browser\" --detach || ([ !  -x \"$PWD/start-tor-browser\" ] \&\& \"\$(dirname \"\$*\")\"/Browser/start-tor-browser --detach)' dummy %k

(EDIT)
the file i opened in #12 was:
Capturadepantalla-031217-123034.png

what shall i do next?

Last edited by mx (2017-12-03 11:36:09)


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#26 2017-12-03 13:06:29

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Help Installing Tor

^The first one (what you get opening geany) looks like the one posted above in #19. When you copy and paste it into terminal and hit enter, it should start tor. If you try it again, does it work?

Offline

#27 2017-12-04 18:24:48

mx
Member
Registered: 2017-11-11
Posts: 60

Re: Help Installing Tor

yes, it works.
that is a good sign, isn't that? smile


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#28 2017-12-04 21:26:05

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Help Installing Tor

Looks good, just a small step then to get it working via gmrun. You have to create a file in /home/mx/bin with the following content. Let's call the file  torbrowser  or whatever name you like for starting the browser.

#!/bin/bash
sh -c '"/home/mx/Descargas/tor-browser_en-US/Browser/start-tor-browser" --detach || ([ !  -x "/home/mx/Descargas/tor-browser_en-US/Browser/start-tor-browser" ] && "$(dirname "$*")"/Browser/start-tor-browser --detach)' dummy %k

If you opened geany, pasted this^ content in it and saved it as torbrowser, make sure it has the right permissions by running in terminal:

chmod 755 ~/bin/torbrowser

After that if you type torbrowser in gmrun, it'll start the browser.

Offline

#29 2017-12-05 08:19:56

mx
Member
Registered: 2017-11-11
Posts: 60

Re: Help Installing Tor

It seems that i don't have permission to save the geany file in /bin, as when i try to save as.. i get this message:
Capturadepantalla-051217-091405.th.png
which means: Error saving file. Error opening the file bin/torbrowser. Permission denied. The file in the disk might be broken.

Last edited by mx (2017-12-05 08:20:40)


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#30 2017-12-05 15:43:22

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Help Installing Tor

^Are you sure that it is the folder  /home/mx/bin?

Be careful as there is also an other folder called /bin - this one requires root access, the first one does not.

You can try the following: Open terminal, use the following command:

touch ~/bin/torbrowser

Now search in the home/mx/bin folder for this file called torbrowser and open it with geany. Copy and Paste the code from the post#28 above (the first one beginning with #!/bin...) in this file and save it.

After that open terminal and use the command mentioned already:

chmod 755 ~/bin/torbrowser

Does it work this way?

Offline

#31 2017-12-17 13:18:59

mx
Member
Registered: 2017-11-11
Posts: 60

Re: Help Installing Tor

so when i tried in the terminal:

touch ~/bin/torbrowser

i got this message:

mx@mx:~$ touch ~/bin/torbrowser
touch: no se puede efectuar `touch' sobre «/home/mx/bin/torbrowser»: No existe el fichero o el directorio
mx@mx:~$ 

which means the file doesn't exist.

Now, i can't find the folder called /bin. Sorry about my ignorance. :S


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#32 2017-12-18 02:43:28

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Help Installing Tor

If you don't have a ~/bin directory, create one first:

mkdir ~/bin/

After that the same:

touch ~/bin/torbrowser

Open it:

geany ~/bin/torbrowser

Copy and paste this code:

#!/bin/bash
sh -c '"/home/mx/Descargas/tor-browser_en-US/Browser/start-tor-browser" --detach || ([ !  -x "/home/mx/Descargas/tor-browser_en-US/Browser/start-tor-browser" ] && "$(dirname "$*")"/Browser/start-tor-browser --detach)' dummy %k

Save it, close geany and run in terminal:

chmod 755 ~/bin/torbrowser

Now torbrowser via gmrun should work.

Offline

#33 2017-12-18 16:13:23

mx
Member
Registered: 2017-11-11
Posts: 60

Re: Help Installing Tor

i did is as you said it.
still not working :S


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#34 2017-12-18 16:25:43

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Help Installing Tor

It works here nicely that way. I guess it just has to be started manually then via the tor browser icon.

Offline

#35 2017-12-18 16:34:32

mx
Member
Registered: 2017-11-11
Posts: 60

Re: Help Installing Tor

do u know then how can i have the torbrowser icon in the bar? (where the time, battery icon...)


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

Board footer

Powered by FluxBB