Keyboard freezes randomly Zorin 18

Hello, I've been searching for similar posts, but I can't seem to find a similar problem.

Ever since I've upgraded to 18 Pro, I've been having random moments where out of the blue the keyboard stops working. It would happen on Open Office, or with the Calculator, or with Firefox... but not for the whole system. In other words, it happens unexpectedly and on random apps each time. Ultimately, if I want to work in peace I have to restart the system (which is less than ideal... especially if I'm on a Zoom call and cannot use the chat when I need and end up having to reboot).
Any ideas?

Running Zorin OS 18.1, kernel 7.0.0-38-generic, Core i7

Thanks!

PS. Again, I did not have this problem running Zorin 17 for a couple of years.

1 Like

Immediately what I might think to try is checking what windowing system you're running (either Wayland or X). You can check this in Settings -> About (and it should say windowing system there).

If you're running Wayland, I would recommend trying to switch to X at the login screen (not the lock screen), when you're typing in your password a little cog should appear, click it and then click "Zorin on X" and see if the issue still persists there.

5 Likes

First I will follow @applecheeks37 advices.
After that could you provide us ore info about your system, like your GPU (often source of many problems in linux), and I would suggest also to downgrade kernel, if you see he 6.14 it could be a good option

How to boot to older kernel

  • Restart the PC and press Escape during boot to access the GRUB menu (may also be accessed with Shift)
  • Select "Advanced options for Zorin OS"
  • Here, you can see the available kernels to boot into. Choose the older one (without recovery option)
2 Likes

You could try this:

Switching between Wayland and Xorg is worth a Try, too. Also a Kernel Switch. What Graphics Card do You have? Are Secure Boot and Fast Boot in BIOS disabled? If Windows is still installed: Is Fast Start-Up in Windows disabled?

Is your keyboard connected via Bluetooth or cabel or implemented in your Laptop?

Thanks everyone for your inputs!
I checked Secure Boot and is disabled (couldn't find Fast Boot in the BIOS). Only running Zorin actually, no Windows.

Running on kernel 6.17.0-23-generic now (previous one is 6.8).

GPU: Intel WhiskeyLake-U GT2

Will keep you updated.

Sorry, forgot to say it is connected via cable... and it hasn't given me any issues lately. Could be the scrip posted by @Ponce-De-Leon?

Does that mean that your original problem is solved and your keyboard doesn't freeze anymore? That sounds good.

You changed your system from Linux Kernel 7.0.0-38-generic to Linux Kernel 6.8 and then to Linux Kernel 6.17.0-23-generic. Is that correct?
But as far as I know this kernel 6.17.0-23-generic is not supported anymore.

If your keyboard problem was solved after you followed @Ponce-De-Leon advice with terminal commands

rm -rf ~/.cache/fontconfig
fc-cache -vr

it could be that the original kernel 7.0.0-38-generic was not the reason for your keyboard problem.

But if the kernel 7.0.0-38-generic was causal for the keyboard problem, you could go back to a longer supported kernel 6.14 as @Nourpon mentioned already.

Do you remember after which confguration intervention the keyboard problem disappeared?

1 Like

Thanks a lot... to be honest, the problem has not ultimately being resolved :frowning:
It also doesn't happen sooo much, but when it happens I try to run Stacer's system cleaner and there has been limited success. I have noticed it happens mostly on the calculator, folder manager (searching, changing names, etc) and when "saving as" and sometimes in browsers (firefox, chrome, librewolf).
I will now try to upgrade to kernel 6.14 and will report back.
Thanks for your attention

1 Like

When it happens again, can you type in another app that's already open or in a terminal without rebooting? Also note whether switching focus away and back restores input. Since the failure is limited to one app, that could help distinguish a focus or input-method problem from the keyboard disappearing system-wide. Record the time and session type too, so you can compare the logs with the failure instead of changing several settings at once.