Use a gsettings key to change/override the default user avatar faces folder
Right now user avatar faces are provided by gnome-control-center and used from $datadir/pixmaps/faces/
here and in the gnome-initial-setup
:
- https://gitlab.gnome.org/GNOME/gnome-control-center/blob/master/panels/user-accounts/cc-avatar-chooser.c#L440
- https://gitlab.gnome.org/GNOME/gnome-initial-setup/blob/master/gnome-initial-setup/pages/account/um-photo-dialog.c#L228
To use other faces downstream that files should be overridden, but it could be easier to have a custom gsettings that can override the default $datadir/pixmaps/faces/
so any downstream could override without a patch in gnome-control-center or gnome-initial-setup.
The right behavior could be to try to use the defined gsettings key if exists and fallback to the default directory.