Not that I have anything against my trans-atlantic cousins, but I want to change my keyboard layout from US English to UK English.
I need to type ' # ' and ' ~ ' and I don't know what position they are at in Ubuntu!
# results in a \
#+shift results in a |
I want to solve the problem using the GUI.
18 Answers
On ubuntu fresh install:
Login and pressCtrl-Alt-T to open a Terminal and run:
setxkbmap -layout gb To get UK keyboard with double-quotes on Shift-2 and @ sign on RHS.
Go to Keyboard layouts under system settings, and click on it. Once open remove English (US), and add the English (UK) that you want. Click on the Plus (+) sign to add, and the minus(-) sign to remove. See images below.
(It will be English UK with Extended Win Keys)
2Aware that using the GUI is very beginner esque, but I need to be able to type before I can get to grips with Ubuntu!
Click on settings, keyboard, and then, in the bottom left, Layout Settings. On the left there is a panel that displays currently installed keyboard layouts. By default, only English (US) is available. Below the panel, click the + icon and select English (UK). This will add English (UK) to the panel. Use the ^ symbol to bump English (UK) above English (US). The panel is hierarchical, so now English (UK) takes the priority.
You can even select English (US) and use the - to delete the keyboard from the panel.
Just run the following command in terminal:
gsettings set org.gnome.libgnomekbd.keyboard layouts "gb"This will change your keyboard layout to English (UK).
1Run the following command.
setxkbmap -layout gbThis worked for me in Lubuntu 15.10.
1There are two ways to do it in Ubuntu (14.04)
- En1, icon at the top right of your screen change it with English (US) or English (UK), checkout keyboard layout chart in same line, to know which key may function. If English (UK) is not there, check out point 2 (reach text entry). Once there Enable Show input source in menu bar to (en) in menu bar.
- Go system System Settings -> (in hardware section) Keyboard -> find Text entry link -> on the input source list find the + sign and click to add language (whatever language you want). Once you have added the language you can follow point 1 above to change language back and forth.
On Ubuntu 18.04 I found it under Settings -> Language & Region.
Open the search with super key. Find "Text entry", select English (US) and press - to delete it. You should be left with English (UK)