You are not logged in.

#1 2022-09-25 00:55:59

emishie
Member
Registered: 2022-05-20
Posts: 29

ins key not working

I'm attempting to overwrite text by using the insert key and does nothing.

using kde plasma

sudo showkey
returns: keycode 110
on ins key press

xmodmap -pke | grep -i insert
returns:
keycode  90 = KP_Insert KP_0 KP_Insert KP_0
keycode 118 = Insert NoSymbol Insert

when pressing ins on the terminal returns ^[[2~

I don't know how much of this is helpful

Offline

#2 2022-09-25 06:16:49

seth
Member
Registered: 2012-09-03
Posts: 51,045

Re: ins key not working

when pressing ins on the terminal returns ^[[2~

Yes…?

I guess you're looking for sth. along https://stackoverflow.com/questions/420 … -a-command ?

Offline

#3 2022-09-25 18:49:26

emishie
Member
Registered: 2022-05-20
Posts: 29

Re: ins key not working

Actually it isn't working anywhere, thought it also worked on terminal but I might be wrong. When using the ins, typing should go to overwrite mode tried using it in a couple of text editors (vscode, sublime, kate) but it isn't seem to work, I thought the key could be broken on my keyboard but as in the original post, it is being detected on press.

Offline

#4 2022-09-25 19:37:33

seth
Member
Registered: 2012-09-03
Posts: 51,045

Re: ins key not working

xev -event keyboard

And then press insert, what's the output?

Do you use anything like https://wiki.archlinux.org/title/Fcitx ?
Also

echo $XDG_SESSION_TYPE

(in case this is actually a wayland session)

For bash see eg. https://askubuntu.com/questions/641035/ … write-mode

Offline

#5 2022-09-25 19:40:12

xerxes_
Member
Registered: 2018-04-29
Posts: 675

Re: ins key not working

Try insert key in this programs: mc (mcedit), double commander builtin text editor, gedit, mousepad, geany, LibreOffice.

Offline

#6 2022-09-25 20:29:36

emishie
Member
Registered: 2022-05-20
Posts: 29

Re: ins key not working

seth wrote:
xev -event keyboard

And then press insert, what's the output?

Outer window is 0x8600001, inner window is 0x8600002

KeymapNotify event, serial 24, synthetic NO, window 0x0,
    keys:  4294967266 0   0   0   16  0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 25, synthetic NO, window 0x8600001,
    root 0x1e2, subw 0x0, time 6337835, (178,-8), root:(1049,435),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyPress event, serial 28, synthetic NO, window 0x8600001,
    root 0x1e2, subw 0x0, time 6339480, (178,-8), root:(1049,435),
    state 0x0, keycode 118 (keysym 0xff63, Insert), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x8600001,
    root 0x1e2, subw 0x0, time 6339560, (178,-8), root:(1049,435),
    state 0x0, keycode 118 (keysym 0xff63, Insert), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

seth wrote:

Do you use anything like https://wiki.archlinux.org/title/Fcitx ?

no

seth wrote:

Also

echo $XDG_SESSION_TYPE

x11

Offline

#7 2022-09-25 20:50:52

seth
Member
Registered: 2012-09-03
Posts: 51,045

Re: ins key not working

Please use "code" tags, https://bbs.archlinux.org/help.php#bbcode
The input is ok, it's the client handling of the key that fails (though from your list I'd at least kate expect to work)

Does it work in any of the input fields of gtk-demo?

Offline

Board footer

Powered by FluxBB