X-Recipient: archive-cygwin@delorie.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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-id:content-transfer-encoding
	:mime-version; q=dns; s=default; b=PjcO1xXTZajZ8aoCIQLG7+Z9XMV/T
	FmVTeprXjIAPpi85R0URDwW3FKjTdOmFCI3yq2JIjf4JUTcSfb5BDTbGhF0ofyEE
	T66dJJKb6coLQFz552K7Dp/aEX+llFC4yyi89gclh6+QYG8JFvtAcrzqDCeig/q4
	kqJmGth0Y9GDhQ=
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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-id:content-transfer-encoding
	:mime-version; s=default; bh=28kAC8FS0PHnoRQ0gmR3ABbYPKc=; b=t2O
	VOXLzmE240hRC8PE6sr2kqoXkkxpIMJzb8DCJyNmPt+BZD+bQsVW4KHO4kuDc2ow
	JvVHoeof7nA6XsF6D10FTZkuKcLNlw6BDq7mSnBkkpnQiO9lv/JzIEEPiNW41Kgv
	6hEf3AA4tm6f8hofl6TjYc9WLpOZef6l5g1i+5qU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: emea01-db3-obe.outbound.protection.outlook.com
From: =?utf-8?B?S2FpLU1pa2FlbCBKw6TDpC1Bcm8=?= <kaimikael.jaaaro@sh.se>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Parallels keyboard mapping not auto-detected in Cygwin/X
Date: Fri, 24 Apr 2015 16:20:28 +0000
Message-ID: <E3451CB1-4799-46DC-AED0-CB1C681A012F@sh.se>
References: <4269327E-6161-40D6-9990-29A35760DB64@sh.se> <55392F3B.60102@dronecode.org.uk>
In-Reply-To: <55392F3B.60102@dronecode.org.uk>
authentication-results: cygwin.com; dkim=none (message not signed) header.d=none;
x-ms-exchange-messagesentrepresentingtype: 1
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB351;
x-forefront-antispam-report: BMV:1;SFV:NSPM;SFS:(10009020)(6009001)(479174004)(52604005)(51704005)(24454002)(377424004)(19580395003)(54356999)(50986999)(66066001)(19580405001)(2950100001)(92566002)(33656002)(86362001)(76176999)(83716003)(106116001)(102836002)(2501003)(450100001)(110136001)(62966003)(77156002)(40100003)(122556002)(107886001)(36756003)(2351001)(2656002)(46102003)(77096005)(2900100001)(82746002)(74482002)(87936001)(85182001)(104396002);DIR:OUT;SFP:1101;SCL:1;SRVR:DBXPR03MB351;H:DBXPR03MB349.eurprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en;
x-microsoft-antispam-prvs: <DBXPR03MB351FDCA2E042419840996CC85EC0@DBXPR03MB351.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(5002010)(5005006)(3002001);SRVR:DBXPR03MB351;BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB351;
x-forefront-prvs: 05568D1FF7
Content-Type: text/plain; charset="utf-8"
Content-ID: <0A13B0E535332C4FBCFE7C50A8FEBFA9@eurprd03.prod.outlook.com>
MIME-Version: 1.0
X-OriginatorOrg: sh.se
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2015 16:20:28.7774 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: af3069ae-7f61-496e-aa92-8f9de280f79f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR03MB351
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t3OGKmuI004206


> On 2015-04-23, at 19:43, Jon TURNEY <jon.turney@dronecode.org.uk> 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?
> 
> 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!


> 
> [1]
> ftp://cygwin.com/pub/cygwinx/x86/XWin.20150423-git-0429977adb1db1b5.exe.bz2
> ftp://cygwin.com/pub/cygwinx/x86_64/XWin.20150423-git-0429977adb1db1b5.exe.bz2
> 
> -- 
> Jon TURNEY
> Volunteer Cygwin/X X Server maintainer


—
Kai-Mikael Jää-Aro <kaimikael.jaaaro@sh.se>
+46 8 608 4926
Media Technology and Informatics
School of Natural Science, Technology and Environmental Studies
Södertörn University
SE-141 89  Huddinge
SWEDEN





