Ubuntu – tilde and double quote keys don’t work on the command line

command linekeyboardserver

I've just installed Ubuntu Server 11.10 and the tilde (~) and double quotes (") keys don't do anything – they don't print to the screen. I'm only using the command line (no GUI) and many tutorials say to use setxkbmap and xmodmap which aren't working for me.

Best Answer

Check your keyboard layout settings, make sure it's English (US) not English (US, international with dead keys) (assuming you're using US keyboard).

To change it from the command line, enter the following:

$ setxkbmap -layout us

It worked for me.