In case you switch to the Wayland variant of Ubuntu cinnamon upon login, it can happen that
the keyboard layout is not applied correctly.
The reason for this is a problem with IBUS. It seems that there is a IBUS variant for
wayland which is not configured automatically when switching to wayland.
Using ibus-wayland may possibly fix the problem.