I just installed Ubuntu 18.04 and going through all my dotfile-scripts to properly configure Ubuntu automatically as much as possible. Looping through gsettings I was able to configure most settings as I want them but I haven't found anything in gsettings related to "Connectivity Checking" which is new in Ubuntu 18.04 LTS (at least not included in 16.04 LTS).
I can turn off Connectivity Checking through
Settings -> Privacy but how can I do this programmatically? Just uninstall
network-manager-config-connectivity-ubuntu? I was able to turn off other privacy settings through gsettings.
Viewing the file list of this package at https://packages.ubuntu.com/bionic/all/network-manager-config-connectivity-ubuntu/filelist indicates that there is just one settings file (
/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf) but it does not show any possibility to enable/disable the feature.
Any help is appreciated.