public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Parallels keyboard mapping not auto-detected in Cygwin/X
@ 2015-04-21  9:10 Kai-Mikael Jää-Aro
  2015-04-23 17:43 ` Jon TURNEY
  0 siblings, 1 reply; 6+ messages in thread
From: Kai-Mikael Jää-Aro @ 2015-04-21  9:10 UTC (permalink / raw)
  To: cygwin

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.

—
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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Parallels keyboard mapping not auto-detected in Cygwin/X
  2015-04-21  9:10 Parallels keyboard mapping not auto-detected in Cygwin/X Kai-Mikael Jää-Aro
@ 2015-04-23 17:43 ` Jon TURNEY
  2015-04-24 16:20   ` Kai-Mikael Jää-Aro
  0 siblings, 1 reply; 6+ messages in thread
From: Jon TURNEY @ 2015-04-23 17:43 UTC (permalink / raw)
  To: cygwin; +Cc: kaimikael.jaaaro

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?

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'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?

[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

--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Parallels keyboard mapping not auto-detected in Cygwin/X
  2015-04-23 17:43 ` Jon TURNEY
@ 2015-04-24 16:20   ` Kai-Mikael Jää-Aro
  2015-04-30 11:02     ` Jon TURNEY
  0 siblings, 1 reply; 6+ messages in thread
From: Kai-Mikael Jää-Aro @ 2015-04-24 16:20 UTC (permalink / raw)
  To: cygwin


> 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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Parallels keyboard mapping not auto-detected in Cygwin/X
  2015-04-24 16:20   ` Kai-Mikael Jää-Aro
@ 2015-04-30 11:02     ` Jon TURNEY
  2015-04-30 15:28       ` Kai-Mikael Jää-Aro
  0 siblings, 1 reply; 6+ messages in thread
From: Jon TURNEY @ 2015-04-30 11:02 UTC (permalink / raw)
  To: Kai-Mikael Jää-Aro, cygwin

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Parallels keyboard mapping not auto-detected in Cygwin/X
  2015-04-30 11:02     ` Jon TURNEY
@ 2015-04-30 15:28       ` Kai-Mikael Jää-Aro
  2015-05-01  1:05         ` Andrey Repin
  0 siblings, 1 reply; 6+ messages in thread
From: Kai-Mikael Jää-Aro @ 2015-04-30 15:28 UTC (permalink / raw)
  To: cygwin


> On 2015-04-30, at 13:02, Jon TURNEY <jon.turney@dronecode.org.uk> wrote:
> 
> 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:
>>>> 
> 
> For future reference, how is the 3rd level shift accessed in that layout?

It seems to me as if the right-side Alt key works as AltGr.  That would match the position of AltGr on a PC keyboard as well, I believe?


> 
> This change is included in X server 1.17.1-3.
> 
> -- 
> Jon TURNEY
> Volunteer Cygwin/X X Server maintainer


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Parallels keyboard mapping not auto-detected in Cygwin/X
  2015-04-30 15:28       ` Kai-Mikael Jää-Aro
@ 2015-05-01  1:05         ` Andrey Repin
  0 siblings, 0 replies; 6+ messages in thread
From: Andrey Repin @ 2015-05-01  1:05 UTC (permalink / raw)
  To: Kai-Mikael Jää-Aro, cygwin

Greetings, Kai-Mikael Jää-Aro!

>>>>> 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:
>>
>> For future reference, how is the 3rd level shift accessed in that layout?

> It seems to me as if the right-side Alt key works as AltGr.  That would
> match the position of AltGr on a PC keyboard as well, I believe?

Aye. Assuming the layout is actually including it.

>> This change is included in X server 1.17.1-3.


-- 
With best regards,
Andrey Repin
Friday, May 1, 2015 03:25:49

Sorry for my terrible english...

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-01  1:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-21  9:10 Parallels keyboard mapping not auto-detected in Cygwin/X Kai-Mikael Jää-Aro
2015-04-23 17:43 ` Jon TURNEY
2015-04-24 16:20   ` Kai-Mikael Jää-Aro
2015-04-30 11:02     ` Jon TURNEY
2015-04-30 15:28       ` Kai-Mikael Jää-Aro
2015-05-01  1:05         ` Andrey Repin

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).