Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • Re: Can't get keyboard to switch between languages

$
0
0
I believe the bug is that you are supplying an empty XKB_DEFAULT_VARIANT. Because your XKB_DEFAULT_LAYOUT contains two layouts, if you really want to supply variants, you should use this:

Code:

XKB_DEFAULT_MODEL=pc105XKB_DEFAULT_LAYOUT=gb,grXKB_DEFAULT_VARIANT=<variant1>,<variant2>XKB_DEFAULT_OPTIONS=grp:alt_shift_toggle
, where either or both of <variant1> and <variant2> can be empty. If both are empty, that should read

Code:

XKB_DEFAULT_VARIANT=,
(notice the comma after XKB_DEFAULT_VARIANT= meaning that you are indicating two empty values for variants, instead of one value for the first variant and no value for the other, which may cause the unresponsiveness you mention), but since you are not supplying variants, you may omit the XKB_DEFAULT_VARIANT line altogether. Please try it and let me know. My own ~/.config/labwc/environment reads (p.s., I am Greek as well):

Code:

XKB_DEFAULT_LAYOUT=us,grXKB_DEFAULT_OPTIONS=grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll
and works fine.

Statistics: Posted by avarvit — Wed Aug 27, 2025 3:48 am



Viewing all articles
Browse latest Browse all 3546

Trending Articles