From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: dell laptop cannot access super-key. Date: Mon, 14 Mar 2022 16:04:49 +0100 Message-ID: References: <4eUUwd0OlZ8rvCRk7HQYLxY9wh-nXJ4oysqSPFaSOJA0GWASGet4PlKReJrBk5cqX_MqmTwtGN3cZU5PgRIJb7v64C7dxmJGKTBKt1UDz6g=@protonmail.com> <87o82ayaeg.fsf@yahoo.com> <87mthuqd23.fsf@ucl.ac.uk> <40ae7298e745278694117b7b84406d7339e0e66b.camel@adminart.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22123"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: hw Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 14 16:42:43 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTmqI-0005W8-KS for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 14 Mar 2022 16:42:42 +0100 Original-Received: from localhost ([::1]:34050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTmqG-0001rF-Si for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 14 Mar 2022 11:42:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTmFh-0006vh-IZ for help-gnu-emacs@gnu.org; Mon, 14 Mar 2022 11:04:53 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:50951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTmFf-0000hy-Cz for help-gnu-emacs@gnu.org; Mon, 14 Mar 2022 11:04:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1647270289; bh=IEbduCArDN1y/cg6w0t0Hf/V5zq9SqFHYElan4xwDyI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=MFX28rYH9cnN/MYTWAD1K9gS/cCkjFUhkv+/6MDEHP2q47E6KDtKbcInyEBy/28td jJ8/PSgMmANBIrJN706PQEvLeGW8VzwRH1ILYFogQJZhWmJLE/rAy5EZrffMQyogDn jfMzvalQR1gdpu+4ti3Jvl0EokLHavSU+Mj2BGZI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [92.251.127.164] ([92.251.127.164]) by web-mail.gmx.net (3c-app-mailcom-bs13.server.lan [172.19.170.181]) (via HTTP); Mon, 14 Mar 2022 16:04:49 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <40ae7298e745278694117b7b84406d7339e0e66b.camel@adminart.net> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:Wk1Mz8Nj5uY6BheBJzhbwgjMTgwr24Xq3+MfLumLRlb+b/qq5XxojegFCV52FyU2ablzG LGYeTPpKqrHj1VX81df9mzahb3ArbX5/zbGCcu4EJ9JBYmMPNp8VU2zgt41abAjvhRlSKJ5a5kd9 0cGqhhoW2X6CuWNXW5e6Z057YyLH2FrKQTbSIS1cAJ6s56ZlW6IWwt+i6GRBEpTX9odIXr//CpMT KcYh77AM4W3WXusFd+s/+0Hf1c92SwPyBfuqINDNhj42kAsYh9fiey8gNCtotx6YIMg+R7cMyYc9 NU= X-UI-Out-Filterresults: notjunk:1;V03:K0:8LRaLdIVZfA=:tvrVLCgqv58OyZ/mVuOM6Z O6wJ54/Cxi1ZDqZc7zshFIKeruOmYO11MWy1Lbf3butpWy/M7bBPD+pQM6R4vDYtgXKJxqM5z 4A6rYX3vSviDK9OPOuAc4Y/v1dBLvV2l7mCAbYkzFw854PlaxfSMYWuk2Y4I+NS/6KMKAZHmj OTs+TVAC/cwgdFFk2+1ZeuVA4leMLWqvIdhNhFHIrQENbMhb35KBgIleyIeb2b6692HJziNB4 XqsOO3o0QIonrqjx55eMGGBvivIu/moT+AH2ByRO9EFcFN7mE0roXM8Djrr1Bv5FCe8q/x7N3 nxPxm4rFjZBqyMXxrS9A/PZIAJsDVNW7UQnHIeNCAIcAh87DWHs025ooxKA/0kOcMn2Mr00PB 07BuPCdQNL/tk0bvrWbM6i+BzbHRwerS0fxuzMgxc4FVZJxlWRIzP0a/v9m9mhVitXR5SNhiw SCzssmhCXG2pALOBpPa9dlK9ojDLK+HSyJ/MMdjkJ6JSmMWt4Q7xBHsU8ark4OBIEAzsAE8oO fa4ZSiuPuWjqLzH15BIVvznnClW56zEtE6K8HPUxP+bANuQQFk5bOarPrq7fDgjnYKaSPq/Ma EzeCIqRx2Z/ySK3QrZmkRMjh40jOkhtF/CwtaETogx0JJ+cf51lmGeFQDHC31XLF5voJbS5UQ 5nQmHFkob5YqqO1RxGSOfayj6Tfg/okc430YjD33sHg1CQFQC3LSXLGCNFBu1Kz4ZDHdhCeRW F08vKYbuuubw7BcREg38lpk9lx/LWlOfnhW2sa/SS4qfRGoGG0c9DWEHUpmnfPyzBcLpz6Xm Received-SPF: pass client-ip=212.227.17.20; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136538 Archived-At: > Sent: Monday, March 14, 2022 at 5:19 PM > From: "hw" > To: help-gnu-emacs@gnu.org > Subject: Re: dell laptop cannot access super-key. > > > Maybe this is a BIOS setting which makes it so that the key > you are trying to use is used for a FN key like some laptops > have, or disabled for some reason. It could well be. Dell could have done this from reading https://www.dell.com/support/kbdoc/en-us/000116152/how-to-enable-the-ubunt= u-super-key-on-dell-oem-ubuntu-installations One can set the Keyboard Model to "Generic 104-key PC" using "Keyboard Pre= ferences". This has the Super-Key in place of the Win-Key. But the Win-Key does not s= een to communicate the presses when using xev. The Fn-Key is on another key, next to the Win-Key, making me unlikely to t= hink that it is being used as FN. > Another issue could be that the keyboard isn't set up correctly > for the console. A possible symptom for such a condition can be > that you can not switch with between X11 and a console. In that > case, it is advisable to fix the keyboard setup for the console > first. > > With Linux, setting a keyboard provides you with a lot of > inherent flexibility. > > > On Mon, 2022-03-14 at 00:59 +0000, goncholden wrote: > > ------- Original Message ------- > > On Sunday, March 13th, 2022 at 9:55 PM, Christopher Dimech wrote: > > > > > The easiest thing you can do is swap the Alt(Meta) with Ctrl, > > > and use Cops-Lock as your Hyper. You can do this with Trisquel. > > > System -> Preferences -> Hardware -> Keyboard > > > > > > Then click on Layouts -> Options > > > > For the moment I am doing as you suggest > > > > > > > > Sent: Monday, March 14, 2022 at 6:58 AM > > > > > > > > From: "Christopher Dimech" dimech@gmx.com > > > > > > > > To: goncholden@protonmail.com > > > > > > > > Cc: help-gnu-emacs@gnu.org, "Eric S Fraga" e.fraga@ucl.ac.uk > > > > > > > > Subject: Re: dell laptop cannot access super-key. > > > > > > > > T have set up a dvorak-classic using > > > > > > > > setxkbmap -layout us -variant dvorak-classic > > > > > > > > This gives > > > > > > > > shift Shift_L (0x32), Shift_R (0x3e) > > > > > > > > lock Caps_Lock (0x42) > > > > > > > > control Control_L (0x25), Control_R (0x69) > > > > > > > > mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd) > > > > > > > > mod2 Num_Lock (0x4d) > > > > > > > > mod3 > > > > > > > > mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf= ) > > > > > > > > mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb) > > > > > > > > keycode 37 =3D Alt_L Meta_L Alt_R Meta_R > > > > > > > > keycode 64 =3D Control_L NoSymbol Control_L > > > > > > > > keycode 105 =3D Alt_L Meta_L Alt_R Meta_R > > > > > > > > keycode 108 =3D Control_L NoSymbol Control_L > > > > > > > > keycode 133 =3D Super_L NoSymbol Super_L > > > > > > > > keycode 134 =3D Super_R NoSymbol Super_R > > > > > > > > keycode 204 =3D NoSymbol Alt_L NoSymbol Alt_L > > > > > > > > keycode 205 =3D NoSymbol Meta_L NoSymbol Meta_L > > > > > > > > keycode 206 =3D NoSymbol Super_L NoSymbol Super_L > > > > > > > > keycode 207 =3D NoSymbol Hyper_L NoSymbol Hyper_L > > > > > > > > Calling xmodmap with the following, gets xev to return the correct= keys > > > > > > > > clear control > > > > > > > > clear mod1 > > > > > > > > keycode 37 =3D Control_L NoSymbol Control_L > > > > > > > > keycode 105 =3D Control_L NoSymbol Control_L > > > > > > > > keycode 64 =3D Alt_L Meta_L Alt_R Meta_R > > > > > > > > keycode 108 =3D Alt_L Meta_L Alt_R Meta_R > > > > > > > > add control =3D Alt_L Alt_R Meta_L > > > > > > > > add mod1 =3D Control_L Control_R > > > > > > > > But whilst Emacs-27.2 recognises the control modifier on mod1, it = fails to recognise > > > > > > > > the meta modifier on control. > > > > >