Automatically change the keyboard layout on the lock screen to the primary one. This is a small, simple extension that solves an annoying issue for users with several keyboard layouts (until it gets solved upstream). Whenever the lock screen kicks in, this extension checks for the currently selected keyboard layout and switches it to the primary one (the first one in your list of keyboard layouts in Settings).
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
1. You cannot connect to the signals in init function (extension.js line 9): https://gjs.guide/extensions/review-guidelines/review-guidelines.html#only-use-init-for-initialization 2. You should disconnect the signal in disable: https://gjs.guide/extensions/review-guidelines/review-guidelines.html#disconnect-all-signals If you need any help with your extension you can ask us on: GNOME Matrix channel: https://matrix.to/#/#extensions:gnome.org IRC Bridge: irc://irc.gimpnet.org/shell-extensions