From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WJjCM2a7HmBPKwAA0tVLHw (envelope-from ) for ; Sat, 06 Feb 2021 15:53:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sMzBL2a7HmBtWAAA1q6Kng (envelope-from ) for ; Sat, 06 Feb 2021 15:53:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2B7F19401DF for ; Sat, 6 Feb 2021 15:53:10 +0000 (UTC) Received: from localhost ([::1]:44868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8PtS-0003HN-1z for larch@yhetil.org; Sat, 06 Feb 2021 10:53:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8Psq-0003HD-Vy for emacs-orgmode@gnu.org; Sat, 06 Feb 2021 10:52:29 -0500 Received: from ciao.gmane.io ([116.202.254.214]:34510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8Psp-0006OJ-EP for emacs-orgmode@gnu.org; Sat, 06 Feb 2021 10:52:28 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1l8Psm-0007Lq-E7 for emacs-orgmode@gnu.org; Sat, 06 Feb 2021 16:52:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Maxim Nikulin Subject: Re: [Resolved]Re: OT: M-S-$ Not Working Date: Sat, 6 Feb 2021 22:52:17 +0700 Message-ID: References: <20210204182518.70916d47@faramir.fios-router.home> <20210205123856.0cc226a1@faramir.fios-router.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 In-Reply-To: <20210205123856.0cc226a1@faramir.fios-router.home> Content-Language: en-US Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 27 X-Spam_score: 2.7 X-Spam_bar: ++ X-Spam_report: (2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.105, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.76 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 2B7F19401DF X-Spam-Score: -0.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0Bpt3F6rXo7W On 06/02/2021 00:38, Bo Grimes wrote: > > I have no idea what 3rd level is, but before I ticked it I turned off > my number lock, and C-S-$ worked! So I ticked it and it stopped > working. So I unticked it and ticked Number keypad always enters > digits, which is, of course, why I use Num Lock to begin with. Definitely "xev" is your friend if your want to realize actual effect of such changes, along with "setxkbmap -query" (or "setxkbmap -print") and "xkbcomp -xkb :0 -". 3rd level is intended to type some characters absent in regular layout using a special modifier key. Personally I use 2 keyboard layouts and compose key for some symbols that are not directly available, so I do not need 3rd level as well. > With that ticked Emacs behaves as expected. I have always used Num > Lock and never had that problems You could have a look into /usr/share/X11/xkb/rules/evdev.lst /usr/share/X11/xkb/symbols/keypad /usr/share/X11/xkb/types/numpad files. If I do not mistake, $ is mapped for keypad with keypad:oss_wang option. Likely you could achieve what you want with custom Xkb configuration. I have not tried such tricks however. The most comprehensive guide on Xkb, I have seen, was in Russian. Its English variant is incomplete, the author's site is down. https://web.archive.org/web/20121108145326/http://pascal.tsu.ru/en/xkb/ X Keyboard Extension Protocol and library specifications could be hard to read, XKB Configuration Guide hosted on x.org is too brief. P.S. Have you checked that it is possible to swap Ctrl and Caps in wayland session? If not it is likely worth filing a bug. It seems wayland will be default soon. Some Xkb stuff is already broken in gnome (rather intentionally). My first experience with wayland was that it took enough time to realize why I could not authenticate. Gdm was using wayland by default and in password fields (hidden input!) shift does not allow several capital letters in a row.