Login keyboard layout is Not matching the root/user keyboard layout

I am in Quebec Canada and my keyboard is a model pc105 with French Canadian Layout.

At the login prompt, the keyboard layout is USA standard. I have been trying to change it by redoing passwords, or via terminal mode. But it has not worked.
During the installation, at the appropriate point, I did specify the Canadian French layout.

I think that the problem is an old Debian bug, where I must default my system language to Canadian French, and then re-choose the keyboard layout, and then revert back to Canadian English.

1 Like

what is the output of localectl ?

gdm follows the x11 keymap not the keymap set in gnome.
you can set the x11 keymap to French Canadian with:
localectl set-x11-keymap ca pc105 fr
you say you have tried changing it via terminal mode. have you tried this ?

I will be trying it at the very first occasion, (after supper).

This has not worked for me.
localectl set-keymap ca pc105 fr as both root and as normal user (me).

Let me clarify what is the problem

  1. Boot ClrLinux

  2. Prompt appears with my logonID
    my password begins with # as #myPassword001

  3. The login screen does not recognize the #myPassword001, it seems to be stuck on a USA English layout. That is, #myPassword001 needs the Super 3 for # and then the rest once logged in, is fine.

  4. Again, once logged in, with terminal mode or with GUI inteface, for root and non-admin user (me) the keyboard layout is correct.

is at the correct position

Any other ideas?

I have no problems with Fedora, SUSE Ubuntu. The same problem, though, occurs with popos.

you need to replace set-keymap with set-x11-keymap
set-keymap sets the console keymap. gdm uses the x11 keymap wich is set with set-x11-keymap

The set-x11-keymap ca pc105 fr did not work.
I will forego trying to solve this issue, as once logged into CLR, the proper keyboard layout is presented.

System Locale: LANG=en_CA.UTF-8
VC Keymap: cf
X11 Layout: ca
X11 Model: pc105
X11 Variant: fr

1 Like

I have the exact same issue, working on a machine with a French keyboard layout (azerty).

The most cumbersome solution : Xmodmap and X-keyboard-extension


The french mods :

clear Mod1

clear Mod2

keycode 9 = Escape Escape

keycode 10 = ampersand 1

keycode 11 = eacute 2 dead_tilde

keycode 12 = quotedbl 3 numbersign

keycode 13 = apostrophe 4 braceleft

keycode 14 = parenleft 5 bracketleft

keycode 15 = minus 6 bar

keycode 16 = egrave 7 dead_grave

keycode 17 = underscore 8 backslash

keycode 18 = ccedilla 9 asciicircum

keycode 19 = agrave 0 at

keycode 20 = parenright degree bracketright

keycode 21 = equal plus braceright

keycode 22 = BackSpace

keycode 23 = Tab Tab

keycode 24 = a

keycode 25 = z

keycode 26 = e E currency

keycode 27 = r

keycode 28 = t

keycode 29 = y

keycode 30 = u

keycode 31 = i

keycode 32 = o

keycode 33 = p

keycode 34 = dead_circumflex dead_diaeresis

keycode 35 = dollar sterling currency

keycode 36 = Return

keycode 37 = Control_L

keycode 38 = q

keycode 39 = s

keycode 40 = d

keycode 41 = f

keycode 42 = g

keycode 43 = h

keycode 44 = j

keycode 45 = k

keycode 46 = l

keycode 47 = m M

keycode 48 = ugrave percent

keycode 49 = twosuperior

keycode 50 = Shift_L

keycode 51 = asterisk mu

keycode 52 = w

keycode 53 = x

keycode 54 = c

keycode 55 = v

keycode 56 = b

keycode 57 = n

keycode 58 = comma question dead_cedilla

keycode 59 = semicolon period

keycode 60 = colon slash Multi_key

keycode 61 = exclam section

keycode 62 = Shift_R

keycode 63 = KP_Multiply

keycode 64 = Alt_L Meta_L

keycode 65 = space space

keycode 66 = Caps_Lock

keycode 67 = F1 F11

keycode 68 = F2 F12

keycode 69 = F3 F13

keycode 70 = F4 F14

keycode 71 = F5 F15

keycode 72 = F6 F16

keycode 73 = F7 F17

keycode 74 = F8 F18

keycode 75 = F9 F19

keycode 76 = F10 F20

keycode 77 = Num_Lock

keycode 78 = Scroll_Lock

keycode 79 = KP_7

keycode 80 = KP_8

keycode 81 = KP_9

keycode 82 = KP_Subtract

keycode 83 = KP_4

keycode 84 = KP_5

keycode 85 = KP_6

keycode 86 = KP_Add

keycode 87 = KP_1

keycode 88 = KP_2

keycode 89 = KP_3

keycode 90 = KP_0

keycode 92 = Sys_Req

keycode 94 = less greater bar

keycode 95 = F11 F11

keycode 96 = F12 F12

keycode 107 = Delete

keycode 108 = KP_Enter

keycode 109 = Control_R

keycode 112 = KP_Divide

keycode 113 = Mode_switch

keycode 114 = Break

keycode 110 = Find

keycode 98 = Up

keycode 99 = Prior

keycode 100 = Left

keycode 102 = Right

keycode 104 = Down

keycode 105 = Next

keycode 106 = Insert

! right windows-logo key

! in "windows" keyboards the postion of the key is annoying, is where AltGr

! usually resides, so go definie it as AltGr

keycode 116 = Mode_switch

! right windows-menu key

keycode 117 = Multi_key

add Mod1 = Alt_L

add Mod2 = Mode_switch

I have a similar issue. During installation, I select the Canadian French keyboard layout, and on reboot, the layout presented us USA utf-8. That posses a potential problem, for if I use a character like # or ?, these are in different locations.