[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1010160: x11-xkb-utils: setxkbmap -layout cz_qwerty loads layout which fails with a particular dead-key combination



Control: reassign -1 xkeyboard-config
Control: tag -1 upstream

On Mon, Apr 25, 2022 at 03:53:22PM +0200, Pavel Sanda wrote:
> for keyboard configuration I use the following command on my system:
> setxkbmap -model pc105 -layout "us,cz_qwerty"  -option "grp:alt_shift_toggle"
> 
> The cz_qwerty layout works mostly fine, except one singular failure:
> dead-key ˇ (caron) + u (the same for upper-case variant ˇ+U).
> 
> I am afraid non-native prepared/"fixed" this layout, because the layout
> logically ends up with caron+u, which is non-existent in czech while
> on all czech keyboards you end up with overring+u (ů, see
> https://en.wikipedia.org/wiki/Ring_(diacritic) ).
> 
> It renders this layout unusable for continuous czech writing, can it get fixed?
> (Or at leat can you give me a hint where to fix this, I expect this could
> be two-liner change in some kayboard-layout files...)
> 
The cz_qwerty layout is defined here:
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/blob/ade97960d7bfc7fde8d08e9fa5584e7c3c51c23b/symbols/cz#L81

Key combinations including those with dead keys live in Xlib though:
https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/master/nls/en_US.UTF-8/Compose.pre

Reassigning to xkeyboard-config for now, let us know if you end up
reporting/fixing this upstream.

Cheers,
Julien


Reply to: