Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system proxy doesn't support kde plasma(6) #853

Open
4 of 5 tasks
wen-zheng opened this issue May 3, 2024 · 4 comments
Open
4 of 5 tasks

system proxy doesn't support kde plasma(6) #853

wen-zheng opened this issue May 3, 2024 · 4 comments
Labels
P: Linux T: Bug Something isn't working

Comments

@wen-zheng
Copy link

需求 / Requirement

toggle system proxy supports kde plasma (I am on fedora 40 kde spin)

建议实现 / Suggested implements

no idea, but I know that fclash support kde plasma's system proxy

备注 / Addition details

No response

Clash Nyanpasu 版本号 / Clash Nyanpasu

1.5.1

是否为 Pre-release / Is pre-release version

no

自查步骤 / Verify steps

  • 如果您有足够的时间和能力,并愿意为此提交 PR ,请勾上此复选框 / Pull request is welcome. Check this if you want to start a pull request
  • 您已仔细查看并知情 Q&A 中的内容 / You have checked Q&A carefully
  • 您已搜索过 Issue Tracker,没有找到类似内容 / I have searched on Issue Tracker, No duplicate or related open issue has been found
  • 您确保这个 Issue 只提及一个功能。如果您有多个功能请求,烦请发起多个 Issue / Ensure there is only one feature request in this issue. Please make mutiply issue for mutiply feature request
  • 您确保已使用最新 Pre-release 版本测试,并且该问题在最新 Pre-release 版本中并未解决 / This bug have not solved in latest Pre-release version
@wen-zheng wen-zheng added S: Untriaged T: Feature New feature or request labels May 3, 2024
@greenhat616 greenhat616 added T: Bug Something isn't working P: Linux and removed T: Feature New feature or request S: Untriaged labels May 4, 2024
@greenhat616
Copy link
Collaborator

@4o3F It seems that current Sysproxy not provide the KDE modifying. Should confirm it later. Thx.
https://github.com/LibNyanpasu/clash-nyanpasu/blob/main/backend/sysproxy-rs/src/linux.rs

@4o3F
Copy link
Collaborator

4o3F commented May 6, 2024

Confirmed, KDE need a completely different way to set system proxy
The alternative command should look like

kwriteconfig --file kioslaverc --group 'Proxy Settings' --key ProxyType "1"
kwriteconfig --file kioslaverc --group 'Proxy Settings' --key httpProxy "http://127.0.0.1:1080"
kwriteconfig --file kioslaverc --group 'Proxy Settings' --key Authmode 0

@4o3F
Copy link
Collaborator

4o3F commented May 6, 2024

Also KDE 4 and 5 need different command, kwriteconfig for KDE 4 and kwriteconfig5 for KDE 5

@wen-zheng
Copy link
Author

wen-zheng commented May 6, 2024

Also KDE 4 and 5 need different command, kwriteconfig for KDE 4 and kwriteconfig5 for KDE 5

and kwriteconfig6 for KDE 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: Linux T: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants