help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dell laptop cannot access super-key.


From: Christopher Dimech
Subject: Re: dell laptop cannot access super-key.
Date: Mon, 14 Mar 2022 16:04:49 +0100

> Sent: Monday, March 14, 2022 at 5:19 PM
> From: "hw" <hw@adminart.net>
> 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-ubuntu-super-key-on-dell-oem-ubuntu-installations

One can set the Keyboard Model to "Generic 104-key PC" using "Keyboard 
Preferences".
This has the Super-Key in place of the Win-Key. But the Win-Key does not seen to
communicate the presses when using xev.

The Fn-Key is on another key, next to the Win-Key, making me unlikely to think
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 <dimech@gmx.com> 
> > 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 = Alt_L Meta_L Alt_R Meta_R
> > > >
> > > > keycode 64 = Control_L NoSymbol Control_L
> > > >
> > > > keycode 105 = Alt_L Meta_L Alt_R Meta_R
> > > >
> > > > keycode 108 = Control_L NoSymbol Control_L
> > > >
> > > > keycode 133 = Super_L NoSymbol Super_L
> > > >
> > > > keycode 134 = Super_R NoSymbol Super_R
> > > >
> > > > keycode 204 = NoSymbol Alt_L NoSymbol Alt_L
> > > >
> > > > keycode 205 = NoSymbol Meta_L NoSymbol Meta_L
> > > >
> > > > keycode 206 = NoSymbol Super_L NoSymbol Super_L
> > > >
> > > > keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L
> > > >
> > > > Calling xmodmap with the following, gets xev to return the correct keys
> > > >
> > > > clear control
> > > >
> > > > clear mod1
> > > >
> > > > keycode 37 = Control_L NoSymbol Control_L
> > > >
> > > > keycode 105 = Control_L NoSymbol Control_L
> > > >
> > > > keycode 64 = Alt_L Meta_L Alt_R Meta_R
> > > >
> > > > keycode 108 = Alt_L Meta_L Alt_R Meta_R
> > > >
> > > > add control = Alt_L Alt_R Meta_L
> > > >
> > > > add mod1 = Control_L Control_R
> > > >
> > > > But whilst Emacs-27.2 recognises the control modifier on mod1, it fails 
> > > > to recognise
> > > >
> > > > the meta modifier on control.
> >
>
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]