Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1811  / 2 Years ago, wed, september 28, 2022, 6:47:51

I just installed tor, privoxy and proxychains on Ubuntu 13.10, but they are not experiencing any problems. My problem is based on a .desktop file I created as I think it actually doesn't work properly. The content of that file is:



[Desktop Entry]
Type=Application
Terminal=false
Name=Switch IP address
Icon=/usr/desktop/icons/switchip.png
Exec=service tor restart


As command service tor restart is used to obtain new fake IP address, but when I run it from a terminal, it works. When I click on icon on launcher (which is .desktop file above) it does not take any effect. What I missed or did wrong?


More From » .desktop

 Answers
0

Try this:



[Desktop Entry]
Type=Application
Terminal=false
Name=Switch IP address
Icon=/usr/desktop/icons/switchip.png
Exec=pkexec service tor restart


service needs to run as root, using pkexec.


[#27551] Thursday, September 29, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
earxcept

Total Points: 310
Total Questions: 115
Total Answers: 111

Location: Japan
Member since Sat, Oct 2, 2021
3 Years ago
;