public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* ctrl-alt-{ ctrl-alt-[ ctrl-alt-] ctrl-alt-} not working as expected german keyboard on notebook
@ 2015-02-18 2:55 rhofmann
2015-02-18 13:36 ` Jon TURNEY
0 siblings, 1 reply; 4+ messages in thread
From: rhofmann @ 2015-02-18 2:55 UTC (permalink / raw)
To: cygwin-xfree
Dell Latitude E6540, german keyboard.
I can type AltGr-{ ... and so on, but ctrl-alt-{ ... as labeled on the
keyboard gives something wrong.
It seems like when Alt is pressed Ctrl (Strg) is ignored, it gives the
same keys as without Ctrl.
I tried some things with setxkbmap, but no success.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ctrl-alt-{ ctrl-alt-[ ctrl-alt-] ctrl-alt-} not working as expected german keyboard on notebook
2015-02-18 2:55 ctrl-alt-{ ctrl-alt-[ ctrl-alt-] ctrl-alt-} not working as expected german keyboard on notebook rhofmann
@ 2015-02-18 13:36 ` Jon TURNEY
2015-02-18 23:07 ` Thomas Wolff
0 siblings, 1 reply; 4+ messages in thread
From: Jon TURNEY @ 2015-02-18 13:36 UTC (permalink / raw)
To: cygwin-xfree; +Cc: rhofmann
On 18/02/2015 02:54, rhofmann@rayed.de wrote:
> Dell Latitude E6540, german keyboard.
>
> I can type AltGr-{ ... and so on, but ctrl-alt-{ ... as labeled on the
> keyboard gives something wrong.
>
> It seems like when Alt is pressed Ctrl (Strg) is ignored, it gives the
> same keys as without Ctrl.
>
> I tried some things with setxkbmap, but no success.
Unfortunately, there doesn't currently seem to be a way to configure X
to act in this way.
In xkeyboard-config language, you are trying to access the "3rd level
shift" for a key (1st level is the normal key, 2nd is the shifted key)
I believe that the standard (DIN 2137) specifies that this 3rd level is
accessed by right alt.
ctrl + left alt being equivalent to right alt is a Windows-ism [1].
See the upstream bug [2], you might also find the discussion in [3] of
interest.
[1] http://en.wikipedia.org/wiki/AltGr_key#Control_.2B_Alt_as_a_substitute
[2] https://bugs.freedesktop.org/show_bug.cgi?id=37232
[3] https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/822872
--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ctrl-alt-{ ctrl-alt-[ ctrl-alt-] ctrl-alt-} not working as expected german keyboard on notebook
2015-02-18 13:36 ` Jon TURNEY
@ 2015-02-18 23:07 ` Thomas Wolff
2015-02-22 13:39 ` Jon TURNEY
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Wolff @ 2015-02-18 23:07 UTC (permalink / raw)
To: cygwin-xfree
Am 18.02.2015 um 14:35 schrieb Jon TURNEY:
> On 18/02/2015 02:54, rhofmann@rayed.de wrote:
>> Dell Latitude E6540, german keyboard.
>>
>> I can type AltGr-{ ... and so on, but ctrl-alt-{ ... as labeled on the
>> keyboard gives something wrong.
>>
>> It seems like when Alt is pressed Ctrl (Strg) is ignored, it gives the
>> same keys as without Ctrl.
>>
>> I tried some things with setxkbmap, but no success.
Your description is quite inprecise; which terminal do you use (xterm?)
and what exactly do you expect and see in those cases?
>
> Unfortunately, there doesn't currently seem to be a way to configure X
> to act in this way.
>
> In xkeyboard-config language, you are trying to access the "3rd level
> shift" for a key (1st level is the normal key, 2nd is the shifted key)
>
> I believe that the standard (DIN 2137) specifies that this 3rd level
> is accessed by right alt.
>
> ctrl + left alt being equivalent to right alt is a Windows-ism [1].
Again, not sure exactly what effect you suggest but in fact
Ctrl+Left-Alt and AltGr can be distinguished and it works in both xterm
and mintty. (It's a bit tricky and I don't recall the details right now,
it involves considering the sequence of events.)
------
Thomas
>
> See the upstream bug [2], you might also find the discussion in [3] of
> interest.
>
> [1]
> http://en.wikipedia.org/wiki/AltGr_key#Control_.2B_Alt_as_a_substitute
> [2] https://bugs.freedesktop.org/show_bug.cgi?id=37232
> [3]
> https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/822872
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ctrl-alt-{ ctrl-alt-[ ctrl-alt-] ctrl-alt-} not working as expected german keyboard on notebook
2015-02-18 23:07 ` Thomas Wolff
@ 2015-02-22 13:39 ` Jon TURNEY
0 siblings, 0 replies; 4+ messages in thread
From: Jon TURNEY @ 2015-02-22 13:39 UTC (permalink / raw)
To: cygwin-xfree
On 18/02/2015 23:07, Thomas Wolff wrote:
> Am 18.02.2015 um 14:35 schrieb Jon TURNEY:
>> On 18/02/2015 02:54, rhofmann@rayed.de wrote:
>>> Dell Latitude E6540, german keyboard.
>>>
>>> I can type AltGr-{ ... and so on, but ctrl-alt-{ ... as labeled on the
>>> keyboard gives something wrong.
>>>
>>> It seems like when Alt is pressed Ctrl (Strg) is ignored, it gives the
>>> same keys as without Ctrl.
>>>
>>> I tried some things with setxkbmap, but no success.
> Your description is quite inprecise; which terminal do you use (xterm?)
> and what exactly do you expect and see in those cases?
I believe that '{' is on the 3rd shift level of 7 on a German keyboard.
So AltGr-7 gives '{', and (under Windows) Ctrl-LAlt-7 does the same.
>> Unfortunately, there doesn't currently seem to be a way to configure X
>> to act in this way.
What I meant to say is: There doesn't seem to be a simple way to
configure X to act in this way. You could make you own keyboard layout
which behaves in this way...
>> In xkeyboard-config language, you are trying to access the "3rd level
>> shift" for a key (1st level is the normal key, 2nd is the shifted key)
>>
>> I believe that the standard (DIN 2137) specifies that this 3rd level
>> is accessed by right alt.
>>
>> ctrl + left alt being equivalent to right alt is a Windows-ism [1].
> Again, not sure exactly what effect you suggest but in fact
> Ctrl+Left-Alt and AltGr can be distinguished and it works in both xterm
> and mintty. (It's a bit tricky and I don't recall the details right now,
> it involves considering the sequence of events.)
The problem isn't that Ctrl-LAlt and AltGr aren't distinguished to X.
The problem is that the X keyboard layout doesn't map the Ctrl-LAlt-key
combination as Windows does.
Ideally, we would have something like 'setxkbmap -option
lv3:mswin_compat' to configure that mapping, but that doesn't exist at
the moment.
--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-02-22 13:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-18 2:55 ctrl-alt-{ ctrl-alt-[ ctrl-alt-] ctrl-alt-} not working as expected german keyboard on notebook rhofmann
2015-02-18 13:36 ` Jon TURNEY
2015-02-18 23:07 ` Thomas Wolff
2015-02-22 13:39 ` Jon TURNEY
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).