/Library/Keyboard Layouts/
. Keyboard layouts in ~/Library/Keyboard Layouts/
can't be selected in password dialogs or the login window, and the popovers shown when holding keys don't work with normal .keylayout files.sudo touch /Library/Keyboard Layouts/
and log out and back in. You can disable the default input sources by editing the com.apple.HIToolbox plist.