Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDDM does not pick up the keyboard layout #1914

Open
delentef opened this issue Apr 13, 2024 · 4 comments
Open

SDDM does not pick up the keyboard layout #1914

delentef opened this issue Apr 13, 2024 · 4 comments

Comments

@delentef
Copy link

Hello,

I'm trying to setup SDDM on a Fedora 39 installation. It starts, but shows only one keyboard layout, label ZZ . I can't change this layout (the drop down menu doesn't` work).

I have the keyboard layout in /etc/X11/xorg.conf.d/àà-keyboard.conf:

# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard `"on"`
        Option "XkbLayout" "fr"
        Option "XkbModel" "pc105"
        Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

and I have also created /usr/share/sddm/scripts/Xsetup:

#!/usr/bin/sh
# Xsetup - run as root before the login dialog appears

setxkbmap fr

What am I missing? Thanks for any help!

@dsl101
Copy link

dsl101 commented Apr 17, 2024

Are you certain it isn't working, in that it changes to 'fr' as soon as you start typing your password? And do you get the correct characters for your keyboard? If so, it's like just this bug in Xserver.

@delentef
Copy link
Author

Thanks for your answer; however the layout doesn't change when I start typing, it stays on ZZ, and my password is rejected (I tried several times, carefully typing to avoid typos) so I'm pretty sure the layout is not correct at all; and I can't change it to any other layout (the drop down menu doesn't react) to try e.g. with the US layout.

@knowinnovation-ops
Copy link

Oh well, worth a try. My 00-keyboard.conf (I presume in your original post the àà-keyb... was due to misconfigured layout) looks exactly like yours, but with Option "XkbLayout" "gb". I also can't open the layout menu, and it always starts on US, but as soon as I type a character, it pops to UK.

If you copied the name of your actual configuration file in the original post, it's got the wrong name...

@delentef
Copy link
Author

Hello, sorry for the lengthy delay to reply; I mistyped, you're right, it's 00-keyboard.conf (àà is on the 0 key on a french keyboard :^)

The layout doesn't change when typing a letter, it stays on ZZ, and I can't change that layout to any other in any way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants