Have you read the whole linked thread and tried other solutions?
An issue with my keboard!
First, I reinstall xserver-xorg-input-all, but nothing happened at all!
Second, I tried this script, and the problem changed a little bit ( from the beginning was the only one way to make the keyboard react was by restarting the system, but after I added this script I could make it react by make the laptop on Suspend mode -close the laptpo's screen and reopen it-.
Third, I did this
So far, I didn't need to restart the system, but it caused two issues
First, the touchpad doesn't work!
Second, it is a small issue! The keboard lights are freezing (NUM LOCK\CAPS LOCK buttons) If the lights start with the system it will be open all the time!
Have you also tried the suggestion in the comment?
Thank you again!
I think the problem is my laptop is weird
I followed all the comments, but every solution cause a problem!!!
So I decide to try resolve the problem by my own way, so I change the comments a little bit:
the default was like this
In the comments I need to change the file like this:
And I changed to be like this
I don't have any idea what I just did- I'm not programmer- I just wanted to try I did this today, and after that I don't have any issue with my keyboard so far! so I will wait couple of days to see what happening.