Currently, we set proxy via kconfig if KDE is detected, otherwise fallback to gsettings.
However, on a system using KDE, it is possible (and common) that some applications using gnome configuration system might also be installed. These applications read only from gsettings / dconf.
A typical example is Firefox, which reads gsettings for proxy configurations if the user selects “Use System Proxy” in its proxy settings. If we only set system proxy via kconfig, Firefox cannot detect it properly.
We should detect whether the Gnome / KDE configuration system are installed, and then set system proxy for each of them. If they are both installed, we set them both.
Currently, we set proxy via
kconfigif KDE is detected, otherwise fallback togsettings.However, on a system using KDE, it is possible (and common) that some applications using gnome configuration system might also be installed. These applications read only from
gsettings/dconf.A typical example is Firefox, which reads
gsettingsfor proxy configurations if the user selects “Use System Proxy” in its proxy settings. If we only set system proxy viakconfig, Firefox cannot detect it properly.We should detect whether the Gnome / KDE configuration system are installed, and then set system proxy for each of them. If they are both installed, we set them both.