(Optional) Force keyboard for password entry
Add keyboard layout forcing for password entry This patch adds a new configuration parameter 'passwdKeyboardGroup' that allows users to force a specific keyboard layout when entering their password on the unlock dialog.
This is useful for non-English users who may have the wrong keyboard layout active when the screen locks, making it difficult to enter their password correctly.
The parameter accepts values from -1 to 3: -1: Disabled (use current keyboard layout) 0-3: Force specific XKB group (keyboard layout)
A GUI control is added to the Advanced tab in xscreensaver-settings to configure this option.