From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5657 invoked by alias); 22 Feb 2015 13:39:02 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 5642 invoked by uid 89); 22 Feb 2015 13:39:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: out4-smtp.messagingengine.com Received: from out4-smtp.messagingengine.com (HELO out4-smtp.messagingengine.com) (66.111.4.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 22 Feb 2015 13:39:00 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 36FB620606 for ; Sun, 22 Feb 2015 08:38:58 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Sun, 22 Feb 2015 08:38:58 -0500 Received: from [192.168.1.102] (unknown [86.179.113.106]) by mail.messagingengine.com (Postfix) with ESMTPA id 71920C0028C for ; Sun, 22 Feb 2015 08:38:58 -0500 (EST) Message-ID: <54E9DBEF.8010504@dronecode.org.uk> Date: Sun, 22 Feb 2015 13:39:00 -0000 From: Jon TURNEY User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: ctrl-alt-{ ctrl-alt-[ ctrl-alt-] ctrl-alt-} not working as expected german keyboard on notebook References: <54E3FEFE.2070100@rayed.de> <54E4953F.8080600@dronecode.org.uk> <54E51B2A.5090201@towo.net> In-Reply-To: <54E51B2A.5090201@towo.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-02/txt/msg00058.txt.bz2 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/