Why does X11 generate an extra SHIFT when I press Shift+KP_1 ?

Peter Hutterer peter.hutterer at who-t.net
Sun Feb 23 00:44:57 UTC 2020


On 21/2/20 17:21 , Sreyan Chakravarty wrote:
> Could you please tell me what command you want me to run for libinput ?

libinput record

might be in some extra package and not in the normal libinput one. the 
docs are here

https://wayland.freedesktop.org/libinput/doc/latest/tools.html#libinput-record-and-libinput-replay

Cheers,
   Peter

> 
> I went through
> https://wiki.archlinux.org/index.php/Libinput
> 
> but I couldn't find anything for listing messages from the keyboard or 
> from any input device for that matter.
> 
> I also had a quick glance of your blog:
> https://who-t.blogspot.com/
> 
> but again couldn't find what you are specifically asking me to do.
> 
> Could you be a little bit more specific for a beginner ?
> 
> On Wed, Feb 19, 2020 at 11:30 AM Peter Hutterer 
> <peter.hutterer at who-t.net <mailto:peter.hutterer at who-t.net>> wrote:
> 
>     On Wed, Feb 19, 2020 at 12:26:17AM +0530, Sreyan Chakravarty wrote:
>      > Yes Andreas, you are absolutely right.
>      > Thank you so much for your help. In my defense I never knew
>     VirtualBox
>      > could stab you in the back like this. I guess you learn something
>     new every
>      > day. I just wish I hadn't bothered all of you.
> 
>     FTR, next time you see similar issues run libinput record against the
>     keyboard device node and that will tell you whether the weirdness
>     comes from
>     the device itself (which would include virtual box in this case) or
>     whether
>     it's on a higher level in the stack.
> 
>     libinput record prints the events coming out of the kernel, so it
>     can nicely
>     separate where an issue occurs. The output takes a little bit of getting
>     used to, but interpreting keyboard events is trivial enough.
> 
>     Cheers,
>         Peter
> 
>      > On Wed, Feb 19, 2020 at 12:21 AM Sreyan Chakravarty
>     <sreyan32 at gmail.com <mailto:sreyan32 at gmail.com>>
>      > wrote:
>      >
>      > > Sorry to have been a bother. I have inadvertently solved my own
>     issue. And
>      > > the issue was Oracle VirtualBox. I am writing this from a live
>     boot on
>      > > Manjaro i3 and everything works as expected. No weird or mysterious
>      > > keystrokes in xev. Thank you for all you help. I am sorry to
>     have bothered
>      > > you with this.
>      > >
>      > > On Tue, Feb 18, 2020 at 9:15 PM Sreyan Chakravarty
>     <sreyan32 at gmail.com <mailto:sreyan32 at gmail.com>>
>      > > wrote:
>      > >
>      > >> > -- some keyboard switching applet, that uses XTest to do that.
>      > >>
>      > >> I doubt that this some application running in the background
>     because I
>      > >> have faced this problem on MX Linux XFCE, Fedora KDE, Manjaro
>     KDE, Manjaro
>      > >> KDE.
>      > >>
>      > >> There is one detail that I have left out and I don't see how
>     that can
>      > >> affect anything ----- I am running in VirtualBox. All these
>     OSes I have
>      > >> tested in Oracle VirtualBox, my host OS is Windows 8.1 which
>     handles
>      > >> Shift+KP_1 with numlock on perfectly.
>      > >>
>      > >> So the question is that is there any way VirtualBox can be
>     causing this,
>      > >> I don't think it is interfering but you be the judge of that.
>      > >>
>      > >> > -- some strange intellectual behaviour of the hardware (keyboard
>      > >> itself).
>      > >>
>      > >> I hope not. Windows seems to handle this perfectly.
>      > >>
>      > >> Output of  :
>      > >> xkbcomp "$DISPLAY" /tmp/dump.xkb
>      > >>
>      > >> https://pastebin.com/trELUzsP
>      > >>
>      > >> It is 1912 lines so I used pastebin.
>      > >>
>      > >> Please let me know if you find anything.
>      > >>
>      > >> On Tue, Feb 18, 2020 at 12:22 PM Sreyan Chakravarty
>     <sreyan32 at gmail.com <mailto:sreyan32 at gmail.com>>
>      > >> wrote:
>      > >>
>      > >>> If I print my current layout can you help me with the rules
>     that are set
>      > >>> for the numpad?
>      > >>>
>      > >>> On Tue, 18 Feb 2020, 12:19 pm Sreyan Chakravarty,
>     <sreyan32 at gmail.com <mailto:sreyan32 at gmail.com>>
>      > >>> wrote:
>      > >>>
>      > >>>> So what do I do now? Where do I report a bug?
>      > >>>>
>      > >>>> On Tue, 18 Feb 2020, 1:17 am James Cloos, <cloos at jhcloos.com
>     <mailto:cloos at jhcloos.com>> wrote:
>      > >>>>
>      > >>>>> yes, for that kb it prob is not any of the weird hw things i've
>      > >>>>> encountered.
>      > >>>>>
>      > >>>>> not sure why it could do that, then...
>      > >>>>>
>      > >>>>> -JimC
>      > >>>>> --
>      > >>>>> James Cloos <cloos at jhcloos.com <mailto:cloos at jhcloos.com>> 
>             OpenPGP: 0x997A9F17ED7DAEA6
>      > >>>>>
>      > >>>>
>      > >>
>      > >> --
>      > >> Regards,
>      > >> Sreyan Chakravarty
>      > >>
>      > >
>      > >
>      > > --
>      > > Regards,
>      > > Sreyan Chakravarty
>      > >
>      >
>      >
>      > --
>      > Regards,
>      > Sreyan Chakravarty
> 
>      > _______________________________________________
>      > xorg at lists.x.org <mailto:xorg at lists.x.org>: X.Org support
>      > Archives: http://lists.freedesktop.org/archives/xorg
>      > Info: https://lists.x.org/mailman/listinfo/xorg
>      > Your subscription address: %(user_address)s
> 
> 
> 
> -- 
> Regards,
> Sreyan Chakravarty



More information about the xorg mailing list