3

I have downloaded Tor for Ubuntu 20.04, but the desktop entry:

#!/usr/bin/env ./Browser/execdesktop
[Desktop Entry]
Type=Application
Name=Tor Browser
GenericName=Web Browser
Comment=Tor Browser is +1 for privacy and −1 for mass surveillance
Categories=Network;WebBrowser;Security;
Exec=sh -c '"/home/belal/Desktop/Browser/start-tor-browser" --detach || ([ !  ->
X-TorBrowser-ExecShell=./Browser/start-tor-browser --detach
Icon=/home/belal/Desktop/Browser/browser/chrome/icons/default/default128.png
StartupWMClass=Tor Browser

Doesn't work even after changing execution Permission, I can run the script from the terminal, but I do like to make it work as a Desktop Entry if possible.

I get the Error:

enter image description here

Can you please tell me how can I fix that please? thanks in advance.

0

1 Answer 1

3

Once you moved the entire tor-browser_en-US directory to the location where you want to keep it, move into the directory (it contains the start-tor-browser.desktop file) and run

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

This will automatically install a .desktop launcher in your ~/.local/share/applications directory, so a working icon will appear in your applications menu.

You can find this information in the .desktop file.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.