Hmm.. I'm afraid that's a bit over my head. But yes, it's apparent that what you want to do is not compatible with how the Ubuntu/GNOME desktop is designed.
A simple way to prevent gnome-control-center from touching /etc/default/locale and /etc/default/keyboard is to create a second user. By doing so, changes of the language and input source settings will be saved in user specific files and only affect the current user. Not sure if that would help in your case. Otherwise this is an upstream design matter, so an upstream issue would be the best way to propose a reconsideration of the design in this respect. https://gitlab.gnome.org/GNOME/gnome-control-center/issues ** Changed in: gnome-control-center (Ubuntu) Importance: Undecided => Wishlist ** Changed in: gnome-control-center (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-control-center in Ubuntu. https://bugs.launchpad.net/bugs/1848940 Title: gnome-control-center does not respect symbolic links Status in gnome-control-center package in Ubuntu: Confirmed Bug description: Configuration files created as symbolic links are overwritten by gnome-control-center. This probably affects any configuration file managed by gnome-control-center. Test case: ---------- 1.) Create symbolic links of the following files sudo mv /etc/default/locale /etc/default/locale.test && sudo ln -s /etc/default/locale.test /etc/default/locale sudo mv /etc/default/keyboard /etc/default/keyboard.test && sudo ln -s /etc/default/keyboard.test /etc/default/keyboard sudo mv /etc/hostname /etc/hostname.test && sudo ln -s /etc/hostname.test /etc/hostname 2.) Change the language, the keyboard layout and the hostname in gnome-control-center. Expected result: The link destination should be overwritten so that the symbolic link is preserved. Actual result: The symbolic link itself is overwritten so that the symbolic link is lost. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1848940/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp