You are not logged in.
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
Offline
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
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:
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
^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
yes, it works.
that is a good sign, isn't that?
Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.
Offline
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
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:
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
^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
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
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
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
It works here nicely that way. I guess it just has to be started manually then via the tor browser icon.
Offline
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