Question:
How can I disable the user list on the login field after locking my screen?
Environment:
I'm running Debian 13 with GNOME and gdm3.
Goal:
For privacy and security reasons, I do not wish a list of users to be displayed on the login field of the lock screen. For the login screen (after logging out) this is easily done by setting the org.gnome.login-screen.disable-user-list GSettings key. However, when locking the screen (instead of logging out, which ends the session), the login field shows the user.
What I found:
The login screen shown after locking a session is apparently not governed by gdm, but by gnome-shell (I can't verify this atm, I'm sure I read it in an answer but I can't seem to find it).
Good: This would explain why disabling the user list works on the login screen but not on the lock screen login field.
Bad: I can't find out how to change gnome-shell's behavior. I had a quick look at the git repository since I couldn't find the documentation, but it's not at all obvious to me where the lock screen behavior is defined.