lightproxy icon indicating copy to clipboard operation
lightproxy copied to clipboard

是否支持linux环境?

Open nianxiongdi opened this issue 4 years ago • 10 comments

nianxiongdi avatar Feb 27 '20 13:02 nianxiongdi

暂时不支持 Linux,主要是 Linux 的桌面环境下似乎并没有统一 “设置系统代理” 的方式

xcodebuild avatar Feb 27 '20 13:02 xcodebuild

是否可以支持某一个版本?

---原始邮件--- 发件人: "xcodebuild"<[email protected]> 发送时间: 2020年2月27日(星期四) 晚上9:14 收件人: "alibaba/lightproxy"<[email protected]>; 抄送: "nianxiongdi"<[email protected]>;"Author"<[email protected]>; 主题: Re: [alibaba/lightproxy] 是否支持linux环境? (#84)

暂时不支持 Linux,主要是 Linux 的桌面环境下似乎并没有统一 “设置系统代理” 的方式

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

nianxiongdi avatar Feb 27 '20 13:02 nianxiongdi

例如哪个发行版的哪个桌面环境?因为我手上没有运行着 Linux 桌面发行版的电脑,暂时无法确定这个问题

xcodebuild avatar Feb 27 '20 16:02 xcodebuild

例如哪个发行版的哪个桌面环境?因为我手上没有运行着 Linux 桌面发行版的电脑,暂时无法确定这个问题

可以发行用户使用比较多的系统,明白

nianxiongdi avatar Mar 02 '20 03:03 nianxiongdi

是因为使用的人少,恰巧我以前有段时间用过,支持下dconf就行了。

命令大概是 dconf 和 gsettings 大部分新的发行版都支持 有空可以看一下 还是比较简单的

luckyyyyy avatar Apr 05 '20 17:04 luckyyyyy

gsettings set org.gnome.system.proxy mode manual gsettings set org.gnome.system.proxy mode none

类似 希望linux的同学 积极研究 我用过的发行版基本都支持

luckyyyyy avatar Apr 05 '20 17:04 luckyyyyy

对于 KDE 桌面环境

kwriteconfig5 --file kioslaverc --group "Proxy Settings" --key "ProxyType" 1
kwriteconfig5 --file kioslaverc --group "Proxy Settings" --key "httpProxy" "http://127.0.0.1 8888"
kwriteconfig5 --file kioslaverc --group "Proxy Settings" --key "socksProxy" "http://127.0.0.1 1088"

其中 ProxyType 取值有 0 无代理 1 手动配置 2 代理自动配置(PAC) httpProxy HTTP 代理地址 socksProxy SOCKS 代理地址

BruceZhang1993 avatar Apr 26 '20 09:04 BruceZhang1993

Linux 下安装证书可以参考:https://askubuntu.com/questions/645818/how-to-install-certificates-for-command-line

Go to /usr/local/share/ca-certificates/ Create a new folder, i.e. "sudo mkdir school" Copy the .crt file into the school folder Make sure the permissions are OK (755 for the folder, 644 for the file) Run "sudo update-ca-certificates"

xcodebuild avatar May 06 '20 13:05 xcodebuild

为什么不打包一个linux版本啊,whistle本来就支持,electron也支持构建出一个linux版本,就算你去掉设置全局系统代理的功能,让用户手动设置代理也可以啊,用linux开发的这点应该都清楚。less is more

ihipop avatar Jun 30 '21 10:06 ihipop

https://github.com/xcodebuild/iProxy/pull/35 看这个

shouhuanxiaoji avatar Jul 16 '21 09:07 shouhuanxiaoji