You are not logged in.
Pages: 1
I have a fully functioning .pac file that I've been trying to get working on Plasma 6 system-wide (with the exception of Firefox and the like, upon which this very pac-file works beautifully). On Plasma 6, however, it simply doesn't work. I can set manual settings and it'll work on whatever Plasma proxy settings will allow, but the pac file does nothing.
I have set the mime-type for .pac files correctly (application/x-ns-proxy-autoconfig).
I'm at a loss, however, I'm also open to alternative methods, if there are any.
My current .pac file does this:
~/someDir/some_proxySetting.pac
function FindProxyForURL(url, host) {
if (dnsDomainIs(host, "someurl.com"))
# Determine current IP address and if it's in a certain address block, assign a proxy server;
# otherwise, go direct.
if (isInNet(myIpAddress(), "192.168.0.0", "255.255.255.0"))
return "PROXY 192.168.0.220:8118";
return "DIRECT";
return "DIRECT";
}The above works perfectly on Firefox, and other programs. It does not seem to work at all in nm-connection-editor or nmcli. I'm not familiar with which logs to view for debugging.
EDIT:
I've noticed in the journals that when I switch an app to system proxy, as defined by proxy autoconfig pac file in the Proxy app, the error i get immediately is:
kf.wallet.kwalletd: "Entry not found, key: proxy-password, folder: appInQuestion"I don't even know if this is relevant.
Last edited by haigioli (2025-08-09 18:11:06)
Offline
What are you using to manage your network ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I'm using NetworkManager. As I mentioned in the original post, I've tried using nm-connection-editor to add a proxy, as well as nmcli to bind a proxy to a particular connection profile, as well. Still no luck.
Offline
nm-settings-nmcli appears to have support for proxy autoconfig , check its manpage .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Pages: 1