public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: Nem W Schlecht <nemws1@gmail.com>,
	The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: Latest xkeyboard-config (2.39-1) and Dvorak layout
Date: Mon, 19 Jun 2023 12:05:39 +0100	[thread overview]
Message-ID: <450fc156-3d36-5388-c96a-b2b52fe33956@dronecode.org.uk> (raw)
In-Reply-To: <CA+2x6-+z3hO5qZXEVD77hv-0t_VOi7J_dkutogg_7Hnx=rpAXg@mail.gmail.com>

On 19/06/2023 03:39, Nem W Schlecht via Cygwin wrote:
> Just did a Cygwin update on my Windows 10 box and after restarting X11 I
> found the keyboard layout switched back to the default (Qwerty) from my
> normal (Dvorak).
> 
>  From the X11 logs:
> [2516952.656] (--) Setting autorepeat to delay=500, rate=31
> [2516952.656] (--) Windows keyboard layout: "00010409" (00010409) "United
> States-Dvorak", type 4
> [2516952.656] (--) Found matching XKB configuration "English (USA,Dvorak)"
> [2516952.656] (--) Model = "pc105" Layout = "dvorak" Variant = "none"
> Options = "none"
> [2516952.656] Rules = "base" Model = "pc105" Layout = "dvorak" Variant =
> "none" Options = "none"
> 
> *[2516952.859] (EE) Error loading keymap /tmp/server-0.xkm[2516952.859]
> (EE) XKB: Failed to load keymap. Loading default keymap instead.*
> [2516953.078] winInitMultiWindowWM - DISPLAY=:0.0
> [2516953.078] winMultiWindowXMsgProc - DISPLAY=:0.0
> 
> So, this *isn't* the old culprit of xkbcomp not working, because there is
> no error there.
> 
> I reverted back to 2.37-1 of "xkeyboard-config" and everything is working
> fine again, so it is the culprit in some way.

Thanks for reporting this.

This seems to be due to a change in xkeyboard-config [1]

It looks like I need to update the table which maps from Windows to XKB 
keyboard layouts (so that US dvorak maps to layout=us variant=dvorak, 
rather than just layout=dvorak), which is built into the X server.

As a workaround in the meantime, you can use an explicit 'setxkbmap us 
dvorak', or keep on downgrading xkeyboard-config.

[1] 
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/391


      reply	other threads:[~2023-06-19 11:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-19  2:39 Nem W Schlecht
2023-06-19 11:05 ` Jon Turney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=450fc156-3d36-5388-c96a-b2b52fe33956@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin@cygwin.com \
    --cc=nemws1@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).