Troajn的开机自启和分流
Tofloor
poster avatar
thepoy
deepin
2020-03-01 22:16
Author
本帖最后由 thepoy 于 2020-3-1 14:29 编辑

好像传不了图,垃圾论坛。不涉及搭建。

1、下载trojan的release,解压,修改参数。

2、设置自动代理。打开“网络”--“系统代理”--“自动”,将下面的链接粘贴进去:
  1. https://gitee.com/thepoy/pac/raw/master/pac.txt
Copy the Code

3、创建trojan.desktop放进.config/autostart里,格式如下:
  1. [Desktop Entry]
  2. Type=Application
  3. Exec=/xxx/trojan/trojan -c /xxx/trojan/config.json   # xxx为你解压后的trojan文件夹的绝对路径
  4. Hidden=false
  5. NoDisplay=false
  6. X-GNOME-Autostart-enabled=true
  7. Name[en_IN]=Trojan
  8. Name=Trojan
  9. Comment[en_IN]=Trojan
  10. Comment=Trojan
Copy the Code
此时,你可以测试一下是否已经开机自启了。





Reply Favorite View the author
All Replies

No replies yet