I use arch, with keyboard layout “es”, because I’m Spanish. My keyboard doesn’t recognize the key “Insert”, unless Fn is enabled, and I don’t know why. I found its keycode in xmodmap -kpe: keycode 118 = Insert NoSymbol Insert NoSymbol Insert.

Since Fn takes the 7th place, I thought about changing it to keycode 118 = Insert NoSymbol Insert NoSymbol Insert NoSymbol Insert, but nothing changed.

It is strange since changing it to keycode 118 = slash NoSymbol Insert NoSymbol Insert, will only work when Fn is enabled as well, meaning that Fn+Insert = /.

Probably unimportant: There’s also a keycode 90 = KP_Insert KP_0 KP_Insert KP_0 KP_Insert KP_0, but I don’t know what key is. Using xev and pressing Insert with Fn enabled says it’s key 118, so it shouldn’t be an issue.

  • humanplayer2
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    What happens if you install keyd, run the monitor with keyd - m, then press the key. Do you get an response?

  • palordrolap@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    KP_Insert is the 0 key on the number pad. Since you mention an Fn key, I’m guessing you either have a slim keyboard or a laptop of some sort. That means wouldn’t have a number pad or its 0 key. At least not without it being enabled through, well, the Fn key or something like that, if some keys do double duty.

    Curiously, upon checking my own system, the Insert keycode seems to be 110 not 118, but this might vary from keyboard to keyboard and system to system. Might be worth double-checking your own system anyway.

    118 is associated with KP_MinPlus for me, whatever that is. Pretty sure whatever keypad key that is, I don’t have one. (It’s not KP_Plus or KP_Minus, which are what you probably think they are. There’s also a KP_Comma entry, and I definitely don’t have a comma on my keypad. Perhaps some other keyboards do, what with it being the decimal separator in some countries.)

    • Sturgist@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 year ago

      Edit: Everything I said here was wrong.

      In it’s stead have a really bad poem.

      Roses are red,
      My chair is blue and white stripey,
      There’s not really a rhyming scheme,
      And stuff.

      • palordrolap@kbin.social
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        The KP_ prefix means it ought to be part of the number pad (literally Key Pad), not the regular keyboard. If there is a keyboard with such a key, I didn’t turn it up with a quick Internet search. (In fact a search now turns up my mention of it in this thread via a Lemmy instance. There can’t be much information about it out there if even Google is reduced to linking my comments(!))

        By comparison, there’s apparently a rare Brazilian number pad layout that has a dedicated comma key, which is almost certain to be KP_Comma.

        I did see a couple of layouts that put a copy of the +/= key on the keypad instead of the regular +. Maybe that’s what ends up with the MinPlus key code despite the name being “wrong”.

        • Sturgist@lemmy.ca
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Key pad…ffs…of course! I’m literally facepalming right now. I had thought Key press. That’s what I get for working a long day with little sleep, then drinking several beers and thinking I should comment on things I don’t know much about.

        • Sturgist@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          As with my response to @palordrolap, I woke up at 4am, having gone to bed at just past midnight, and had several beers after a tough shift, then assumed (obviously incorrectly) that I knew what I was talking about. Sorry for my error.