You are not logged in.

#1 2024-05-11 18:41:19

GenZero
Member
Registered: 2024-05-11
Posts: 2

[SOLVED] How to set system wide proxy on KDE plasma

I'm currently using an proxy utility called Clash.
https://github.com/DustinWin/clash_sing … um-release
After enabling it, back in the days I was using Gnome, by just setting HTTP/HTTPS/SOCKS5 Proxy in system setting will just work for every application.
But in KDE plasma, setting up HTTP/SSL/SOCKS Proxy only works for KDE applications like Falkon, but not for Konsole and other non KDE applications.
I can only set up proxy for applications those having this setting like firefox, but it seems not possible on Steam.
I really need system wide proxy, since the country i live at blocks lots of website, including github which means I can't download from github in Konsole,
I don't really know what to provide but I'll provide needed info ASAP, thanks!

Last edited by GenZero (2024-05-12 17:12:46)

Offline

#2 2024-05-12 17:12:10

GenZero
Member
Registered: 2024-05-11
Posts: 2

Re: [SOLVED] How to set system wide proxy on KDE plasma

I solved it by adding env variable in /etc/environment file

Offline

#3 2024-05-12 23:23:10

gerdesj
Member
Registered: 2016-04-17
Posts: 16

Re: [SOLVED] How to set system wide proxy on KDE plasma

GenZero wrote:

I solved it by adding env variable in /etc/environment file

That file belongs to PAM (pam_env) but systemd also supports it for backwards compatibility:

$ man 5 environment.d

Offline

#4 Today 10:43:06

ez407
Member
Registered: Today
Posts: 1

Re: [SOLVED] How to set system wide proxy on KDE plasma

Found:
```
kwriteconfig5 --file kioslaverc --group "Proxy Settings" --key "ProxyType" 1
kwriteconfig5 --file kioslaverc --group "Proxy Settings" --key "httpProxy" "http://127.0.0.1:10809"
kwriteconfig5 --file kioslaverc --group "Proxy Settings" --key "httpsProxy" "http://127.0.0.1:10809"
kwriteconfig5 --file kioslaverc --group "Proxy Settings" --key "NoProxyFor" "localhost,127.0.0.1,192.168.0.0/16"
dbus-send --type=signal --dest=org.kde.kded5 /kded org.kde.kded5.reloadConfiguration
```

And question:
Why GUI is not configured to execute dbus-send when config is changed?

Offline

#5 Today 13:41:12

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,182
Website

Re: [SOLVED] How to set system wide proxy on KDE plasma

Please do not necrobump. Especially solved topics.

https://wiki.archlinux.org/title/Genera … bumping%22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB