* German Keyboard for X
@ 2020-05-05 16:01 Marco Atzeri
2020-05-05 16:20 ` Jon Turney
0 siblings, 1 reply; 3+ messages in thread
From: Marco Atzeri @ 2020-05-05 16:01 UTC (permalink / raw)
To: cygwin
I see a glitch on the Keyboard for X (not on Mintty),
when I am running this Keyboard Layout
(--) Windows keyboard layout: "A0000407" (a0000407) "Deutsch - no dead
keys", type 34668816
(--) Found matching XKB configuration "German (Germany)"
(--) Model = "pc105" Layout = "de" Variant = "none" Options = "none"
(--) Windows keyboard layout device identifier indicates Macintosh,
setting Model = "macintosh"Rules = "base" Model = "macintosh" Layout =
"de" Variant = "none" Options = "none"
the ALTGR+8 and ALTGR+9 produces {} (same as ALTGR+7 and ALTGR+0)
instead of the expected []
The Windows Layout is coming from:
https://zauner.nllk.net/post/0014-windows-no-dead-keys/
The problem is not present with the default Windows German Layout
(--) Windows keyboard layout: "00000407" (00000407) "German", type 7
(--) Found matching XKB configuration "German (Germany)"
(--) Model = "pc105" Layout = "de" Variant = "none" Options = "none"
Rules = "base" Model = "pc105" Layout = "de" Variant = "none" Options =
"none"
What ever this Model = "macintosh" is, I doubt having
ALTGR+8 same as ALTGR+7 makes any sense
Suggestion?
Regards
Marco
Regards
Marco
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: German Keyboard for X
2020-05-05 16:01 German Keyboard for X Marco Atzeri
@ 2020-05-05 16:20 ` Jon Turney
2020-05-05 21:00 ` Marco Atzeri
0 siblings, 1 reply; 3+ messages in thread
From: Jon Turney @ 2020-05-05 16:20 UTC (permalink / raw)
To: Marco Atzeri, The Cygwin Mailing List
On 05/05/2020 17:01, Marco Atzeri via Cygwin wrote:
> I see a glitch on the Keyboard for X (not on Mintty),
> when I am running this Keyboard Layout
>
> (--) Windows keyboard layout: "A0000407" (a0000407) "Deutsch - no dead
> keys", type 34668816
> (--) Found matching XKB configuration "German (Germany)"
> (--) Model = "pc105" Layout = "de" Variant = "none" Options = "none"
> (--) Windows keyboard layout device identifier indicates Macintosh,
> setting Model = "macintosh"Rules = "base" Model = "macintosh" Layout =
> "de" Variant = "none" Options = "none"
>
> the ALTGR+8 and ALTGR+9 produces {} (same as ALTGR+7 and ALTGR+0)
> instead of the expected []
>
> The Windows Layout is coming from:
> https://zauner.nllk.net/post/0014-windows-no-dead-keys/
>
>
> The problem is not present with the default Windows German Layout
>
> (--) Windows keyboard layout: "00000407" (00000407) "German", type 7
> (--) Found matching XKB configuration "German (Germany)"
> (--) Model = "pc105" Layout = "de" Variant = "none" Options = "none"
> Rules = "base" Model = "pc105" Layout = "de" Variant = "none" Options =
> "none"
>
> What ever this Model = "macintosh" is, I doubt having
> ALTGR+8 same as ALTGR+7 makes any sense
There's some code in the X server which tries to identify if you are
using Windows under bootcamp on a mac, with the appropriate Windows
keyboard layout, and turns on model=mac there.
At the moment, this gets turned on if the top 2 bits of the layout ID
are set, which really just means "non-Microsoft provided layout", which
is perhaps too aggressive.
It's probably a bug in xkeyboard-config that combination of options
produces mapping that's messed up like that.
> Suggestion?
i) Explicitly set the X server keyboard layout you want using setxkbmap
or the equivalent options.
ii) Provide the information per [1] and I can add it to the set of
layout autodetected by the server. (Not totally sure that's a the best
idea, as there's nothing to prevent someone else publishing a different
variant german layout with the same ID)
[1] https://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-submit-layout
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: German Keyboard for X
2020-05-05 16:20 ` Jon Turney
@ 2020-05-05 21:00 ` Marco Atzeri
0 siblings, 0 replies; 3+ messages in thread
From: Marco Atzeri @ 2020-05-05 21:00 UTC (permalink / raw)
To: Jon Turney, The Cygwin Mailing List
Am 05.05.2020 um 18:20 schrieb Jon Turney:
> On 05/05/2020 17:01, Marco Atzeri via Cygwin wrote:
>
> There's some code in the X server which tries to identify if you are
> using Windows under bootcamp on a mac, with the appropriate Windows
> keyboard layout, and turns on model=mac there.
>
> At the moment, this gets turned on if the top 2 bits of the layout ID
> are set, which really just means "non-Microsoft provided layout", which
> is perhaps too aggressive.
>
> It's probably a bug in xkeyboard-config that combination of options
> produces mapping that's messed up like that.
>
>> Suggestion?
>
> i) Explicitly set the X server keyboard layout you want using setxkbmap
> or the equivalent options.
Thanks.
This resetted to the expected layout
setxkbmap -model pc105 -layout de -variant nodeadkeys
Marco
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-05 21:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05 16:01 German Keyboard for X Marco Atzeri
2020-05-05 16:20 ` Jon Turney
2020-05-05 21:00 ` Marco Atzeri
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).