0

I've installed Tor Browser and I can run it buy the command:

./start-tor-browser.desktop 

This command works as long as the Tor icon(the globe icon) is in : /home/user/tor-browser_de/ and I am also there in ~/tor-browser_de.

When I want to set the shortcut Super+T, I use the command ./start-tor-browser.desktop, but it does not work. I copied the Tor icon to /home/user, but the problem still persists. How can I fix this problem?

4 Answers4

1

The command needs the full path. I've tried it with a bash-script for now and ./Path/To/File/Script.sh does not work. But bash /Path/To/File/Script.sh does.

In: Running a .desktop file in the terminal i found it should be deskopen, so the command for your shortcut should be:

deskopen /home/user/tor-browser_de/start-tor-browser.desktop

I hope that helps!

0

I figured it out, thanks to the link attached by @Patient32Bit . There is an answer that says:

The answer should be

xdg-open program_name.desktop

But due to a bug this no longer works.

But the answer goes to 2010, and it seems that the bug is fixed. I set the shortcut by:

xdg-open start-tor-browser.desktop
0

Most correct way is to edit .desktop file. Open it with text editor, and change path to tor to correct one. Then everything should work fine, including keyboard shortcut.

As I remember in tor bundle is relative path, so you can unpack it and run. Fix it.

LeonidMew
  • 2,802
0

with

./start-tor-browser.desktop --register-app

command you can create a shortcut to applications and you can run tor in applications