Arrow Keys on Keyboard not working for any text

Hi all,

I’m currently struggling with a problem, I do not understand.

I have a Keychron k3 pro keyboard, which is nor recognizing arrow key movement in text or terminal. It is working for scrolling through firefox pages just fine. Also connected to a windows laptop, it works also on text.

So I use the VIA web app to check if the keys are not mapped correctly, looked into the keyboard settings and changed through multiple keyboard templates (currently back to Generic Keyboard 102 keys) and switched to another keyboard.

Ultimately I connected the keyboard to another laptop running fedora, and it worked again.
So it only happens on my main machine (information at the end).
Is there anyone able to help me, because I currently the only way I see is to reinstall fedora completely.

Operating System: Fedora Linux 43
KDE Plasma Version: 6.6.2
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.19.8-200.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: AMD Radeon RX 9070 XT
Manufacturer: ASUS

How is it connected? Cabled, or wireless?

Which terminal emulator are you employing?

Run sudo libinput debug-events and hit the cursor keys - get any output displayed for those specific cursor keys? I’m expecting you to, as they are obviously working and are being recognised by the OS.

I’m using a C2 with no issues (that I can find) on the same versions of the same software, so reinstalling Fedora isn’t going to change anything unless you’ve futzed something up entirely in the effort to track down the issue thus far.

It is connected via cable. It gets the input via libinput and recognizes them correctly.

I use Konsole.

I found another thing that happens now. I just tested while writing this, if the arrow keys work and now whenever I press “Enter” it gives me a “v” instead, when I use the arrow key again it gives me “x” instead. Everytime I use the right arrow key it switches to a different key, the left arrow key moves me back. All other keys work as expected, even the special characters.

When I unfocus the text box by clicking anywhere and go back in, Enter is again working as expected.

I’m now preparing to reinstall :frowning:

Just went into a live USB and it works flawlessly, I guess I installed or changed something.

check to see what you have in .config/kxkbrc

Should look something like this, adjusted to suit your layout of course:

[Layout]
LayoutList=gb
Model=pc105
Options=caps:escape
ResetOldOptions=true
Use=true

Have a look in the Plasma system settings (under Keyboard >> Virtual Keyboard), and check whether you have “Plasma Keyboard” enabled.

If so, try disabling it by changing the setting to “None”.

This feature was (I think) enabled by default recently, and has caused some weird behaviour.

1 Like

Before doing that, it may be worthwhile to create another user and see if the behaviour is the same. This way, you can rule out a problem with your home/user.

Ultimately I reinstalled. But did some more digging before. The problem was not present on a reinstall (so /Home kept) before installing all updates, after installing all updates it came back.

On a fresh install the problem was not present and also not present after the update.

I don’t think it has to do with the virtual keyboard. I use it as I have a secondar touchscreen and as I still use it now and the problem is not present anymore, I guess the virtual plasma keyboard was also not the culprit.

I had the same Problem but as I own a Lenovo Yoga 2-in-1 I needed a fix and it was as simple as this…