From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from re-prd-fep-045.btinternet.com (mailomta32-re.btinternet.com [213.120.69.125]) by sourceware.org (Postfix) with ESMTPS id 7663B3858412 for ; Mon, 19 Jun 2023 11:05:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7663B3858412 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dronecode.org.uk Received: from re-prd-rgout-002.btmx-prd.synchronoss.net ([10.2.54.5]) by re-prd-fep-045.btinternet.com with ESMTP id <20230619110541.TPMY21611.re-prd-fep-045.btinternet.com@re-prd-rgout-002.btmx-prd.synchronoss.net>; Mon, 19 Jun 2023 12:05:41 +0100 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 63FE976D0CC317DF X-Originating-IP: [81.158.20.145] X-OWM-Source-IP: 81.158.20.145 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrgeefvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeekgedtfeegvedthffhueehteduieehudekgfdttdekveetiefhudetieegjeefteenucffohhmrghinhepfhhrvggvuggvshhkthhophdrohhrghenucfkphepkedurdduheekrddvtddrudegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtiegnpdhinhgvthepkedurdduheekrddvtddrudeghedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedvpdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomhdprhgtphhtthhopehnvghmfihsudesghhmrghilhdrtghomhdprhgvvhfkrfephhhoshhtkeduqdduheekqddvtddqudeghedrrhgrnhhgvgekuddqudehkedrsghttggvnhhtrhgrlhhplhhushdrtghomhdprghuthhhpghushgvrhepjhhonhhtuhhrnhgv hiessghtihhnthgvrhhnvghtrdgtohhmpdhgvghokffrpefiuedpoffvtefjohhstheprhgvqdhprhguqdhrghhouhhtqddttddv X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.106] (81.158.20.145) by re-prd-rgout-002.btmx-prd.synchronoss.net (5.8.814) (authenticated as jonturney@btinternet.com) id 63FE976D0CC317DF; Mon, 19 Jun 2023 12:05:41 +0100 Message-ID: <450fc156-3d36-5388-c96a-b2b52fe33956@dronecode.org.uk> Date: Mon, 19 Jun 2023 12:05:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: Latest xkeyboard-config (2.39-1) and Dvorak layout To: Nem W Schlecht , The Cygwin Mailing List References: Content-Language: en-GB From: Jon Turney In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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