public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Subject: Re: ctrl-alt-{ ctrl-alt-[ ctrl-alt-] ctrl-alt-} not working as expected german keyboard on notebook
Date: Sun, 22 Feb 2015 13:39:00 -0000	[thread overview]
Message-ID: <54E9DBEF.8010504@dronecode.org.uk> (raw)
In-Reply-To: <54E51B2A.5090201@towo.net>

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/


      reply	other threads:[~2015-02-22 13:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-18  2:55 rhofmann
2015-02-18 13:36 ` Jon TURNEY
2015-02-18 23:07   ` Thomas Wolff
2015-02-22 13:39     ` Jon TURNEY [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54E9DBEF.8010504@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).