Ubuntu US Keyboard Layout on UK model
For years and years I have been using the US keyboard layout on UK keyboards. Don't ask me why, many reasons.
Now, UK keyboards have a key between the left-shift and Z, which has the backslash ("\") and pipe/bar ("|") symbols on it. On Windows selecting the US layout leaves that key as is, so basically this key works as a backslash and pipe key, but on Ubuntu it doesn't - it works as a "<" ">" key :-/
I seem to remember that on one of my Ubuntu installations (or was it a debian) I managed to find a keyboard layout that was US but worked on UK keyboards as I expected it. On my last install I just couldn't find a solution, until of course Googled it and found this page which has instructions on how to remap a key.
Two minutes playing with xev and xmodmap and voila, all I needed to do was:
xmodmap -e "keycode 94 = backslash bar"
Gotta love a quick solution.
Now, UK keyboards have a key between the left-shift and Z, which has the backslash ("\") and pipe/bar ("|") symbols on it. On Windows selecting the US layout leaves that key as is, so basically this key works as a backslash and pipe key, but on Ubuntu it doesn't - it works as a "<" ">" key :-/
I seem to remember that on one of my Ubuntu installations (or was it a debian) I managed to find a keyboard layout that was US but worked on UK keyboards as I expected it. On my last install I just couldn't find a solution, until of course Googled it and found this page which has instructions on how to remap a key.
Two minutes playing with xev and xmodmap and voila, all I needed to do was:
xmodmap -e "keycode 94 = backslash bar"
Gotta love a quick solution.
Comments
it worked!