In Fedora, how do I select a proper Norwegian keyboard layout?
There are a methods to do this. After installing the keyboard configuration package:
$ sudo yum install system-config-keyboard
...
Installed:
system-config-keyboard.x86_64 0:1.3.1-14.fc19
Dependency Installed:
system-config-keyboard-base.x86_64 0:1.3.1-14.fc19
2 packages will get installed.
Method #1
From here you can then invoke system-config-keyboard
directly:
Method #2
Via the command tool setup
.
$ sudo setup
[sudo] password for saml:
Selecting Keyboard configuration will take you to the keyboard configuration (same as above).
Method #3
Through the GNOME 3 settings you can also change the keyboard like so.
Open up Settings and select Keyboard:
Select Input Sources:
Select the plus (+
), to add a new source:
Type the name of the layout you want, in your case it's "Nor..".
Method #4
Via the command line you can also change the keyboard layout using the tool localectl
. To get a list of keyboard layouts, use the switch list-keymaps
. This method was found here on the ask.fedoraprojects.org site, titled: Change default system keyboard layout for virtual console..
Example
$ localectl list-keymaps
ANSI-dvorak
af-fa-olpc
af-olpc-ps
af-ps
af-uz
af-uz-olpc
am-eastern
...
Once you've identified the layout you want.
- change console keymap:
localectl set-keymap jp106
- change x11 keymap:
localectl set-x11-keymap jp
NOTE: The set-x11-keymap options are much more flexible, see the manpage for instructions on listing the available parameters.
I figured it out eventually:
yum install system-config-keyboard
- Run
system-config-keyboard
as root - Select Norsk (aka Norwegian)
Now the correct keyboard layout shows up in the Settings GUI.