复制图标到用户所属目录
$ cp /usr/share/applications/discord.desktop ~/.local/share/applications/
修改启动命令为其添加代理
[Desktop Entry]
Name=Discord
StartupWMClass=discord
Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
GenericName=Internet Messenger
Exec=env http_proxy=http://127.0.0.1:8123 https_proxy=http://127.0.0.1:8123 /usr/bin/discord --proxy-server="http://127.0.0.1:8123"
Icon=discord
Type=Application
Categories=Network;InstantMessaging;
参考:
https://xcel.me/howto-set-proxy-for-discord-app-on-linux/
标签:127.0,http,discord,0.1,8123,Discord,proxy,Linux,Arch From: https://www.cnblogs.com/3yude/p/17031786.html