I set up a dual boot with my new laptop with touchscreen functionality. I'm having the same problem described in this thread:
Ubuntu 20.04 - keyboard not working
Essentially, it's a bug in the new kernels that causes Ubuntu to assume that some laptops with touchscreen capabilities are a tablet. Because of this, although the keyboard doesn't work, the onscreen keyboard does still work and can be used in the terminal albeit with limited capacity (there aren't any special key functions like ctrl, alt, etc. on the touch keyboard).
The solution in that thread has people edit the .conf file but I can't figure out how to save the file without using special keys (ctrl in particular); I can navigate to and edit the file just fine but I can't figure out how to save it. Any ideas?
Edit: I'm using Ubuntu 22.04.3 LTS on a Windows 11 machine.