delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/30/07:02:49

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=uKemScBL4YJ5bdYI
mT+tsgjwqT5C4/tkWIPvKaNx+DOt8Sci45B2xrOwbkw4QtrrBvPCXuydo5u0cjgj
9qibyR32zOe3GKY7kc/313aw4djaPvMtDo1522O7rW3YrTfWL/PkWo7eE7GXBEQH
si2ieFRe2/wCdbfWoQ6j/dRLLm4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=/5q/r4vKP+v122BJHGtGBJ
GfG9I=; b=gbuxrrZbhX5G0p7m0N4LbbIYz0Qk5a/a5OmhbiHgi6204XH4S/IDrZ
cYrPbYGjAS1zVi8Lf/QG30OB3ZhVrL8I1fzm97JWGa0Q+0gjrOGvyscYTruFgFk+
R9OCBERRllcaR9FW5Cf0KhJnLFlY+/m2Oco3XaHNm89EAzLnbRhWk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2
X-HELO: out1-smtp.messagingengine.com
Message-ID: <55420BC0.7080208@dronecode.org.uk>
Date: Thu, 30 Apr 2015 12:02:24 +0100
From: Jon TURNEY <jon DOT turney AT dronecode DOT org DOT uk>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: =?UTF-8?B?S2FpLU1pa2FlbCBKw6TDpC1Bcm8=?= <kaimikael DOT jaaaro AT sh DOT se>,
cygwin AT cygwin DOT com
Subject: Re: Parallels keyboard mapping not auto-detected in Cygwin/X
References: <4269327E-6161-40D6-9990-29A35760DB64 AT sh DOT se> <55392F3B DOT 60102 AT dronecode DOT org DOT uk> <E3451CB1-4799-46DC-AED0-CB1C681A012F AT sh DOT se>
In-Reply-To: <E3451CB1-4799-46DC-AED0-CB1C681A012F@sh.se>

On 24/04/2015 17:20, Kai-Mikael Jää-Aro wrote:
>> On 2015-04-23, at 19:43, Jon TURNEY wrote:
>>
>> On 21/04/2015 10:10, Kai-Mikael Jää-Aro wrote:
>>> I am running Cygwin/X 1.17 in Windows 7 in Parallels 10.2 in OS X 10.10, and do not automatically get the right keyboard mapping.  I get this in /var/log/xwin/XWin.0.log:
>>>
>>> [  1448.048] (--) Windows keyboard layout: "A000041D" (a000041d) "Swedish (Apple) - Parallels", type 34668816
>>> [  1448.048] (EE) Keyboardlayout "Swedish (Apple) - Parallels" (A000041D) is unknown, using X server default layout
>>>
>>> The layout should be standard Swedish keyboard.
>>
>> Thanks for reporting this.
>>
>> I don't know if this layout identifier is only used by Parallels, or if you could also get it reported when using the BootCamp drivers with Windows?
>
> Ah, no idea, don’t have access to BootCamp on this machine.
>
>> I've added some code which should hopefully handle Apple keyboards for all known layouts.
>>
>> I'm not 100% sure I've got this right, and I don't have any real way to test this, so I've built a snapshot [1], and I'd be obliged if you could test this.
>
> I moved the unpacked file to /usr/bin/XWin; that is correct, yes?

Yes.

>> I'm also not sure if using the standard pc105 layout is correct. xkeyboard-config has specialized macintosh and macbook79 layouts, which seem to differ in the location of the 3rd-level shift key (what would be AltGr on a PC keyboard), so I'm not sure which of those to use.  Can you verify that is also working as expected?
>
> Yes it is.  Though it first took me a while to realise that something had reset my keyboard settings to EN, which made everything behave strangely, but once I set that back to SV, everything worked as expected.
>
> Thank you for the very prompt action!

Thanks for testing.

For future reference, how is the 3rd level shift accessed in that layout?

This change is included in X server 1.17.1-3.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019