I turned on my computer today and I found out that I can't type in my password. The keyboard just doesn't want to work properly. I thought maybe I had accidentally changed the keyboard layout last time I used it, but after typing in my password using both Dvorak and Colemak I noticed that the keys were acting strange. Some of the keys were typing in two characters at once, or some of them would sometimes type one character, and sometimes 2. I didn't want to do a fresh reinstall because I had a few things that I didn't want to lose.
I looked up how to reset the password using command line, but once I got onto it an was able to see what characters were being typed I saw that when I pressed a key for example, G, it would type #g. Every key was in the right place for a Qwerty keyboard, just some of them would type a '#' or a '~' before the proper character. The arrow keys would type several characters, so I couldn't move the cursor to get rid of the #'s, so I couldn't use the command line.
I then decided to reinstall Ubunti, but when it came to set the keyboard layout the same thing would happen no matter what layout I set it to.
So basically, does anyone know what's happening? I would guess it's a hardware issue, because it kept happening even after reinstalling the OS, but to be honest I don't know.
I got really angry because I've been trying to get my computer working for 6 months, and then after I had fixed everything this happened, and I don't have the slightest clue how to fix ot, or what could have even caused it.
Not only that but my iPod won't let me create an account on the Ubuntu forums, so I can't ask about it there.
So does anyone have any ideas what's causing it?