Fedora – How to Select a Proper Norwegian Keyboard Layout

fedorai18ninput-methodkeyboard-layout

I just installed Fedora 19 in VirtualBox using an image from virtualboxes.org.

However, I'm unable to select a proper Norwegian keyboard. When I open the keyboard layout, it shows an US layout. A Norwegian layout should have Æ, Ø, Å keys and a lot of other stuff.

Keyboard Layout

Best Answer

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:

            ss of dialog #1

Method #2

Via the command tool setup.

$ sudo setup
[sudo] password for saml: 

ss of dialog #2

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:

   dialog #1

Select Input Sources:

   dialog #2

Select the plus (+), to add a new source:

   dialog #3

Type the name of the layout you want, in your case it's "Nor..".

                        dialog #4

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.

Related Question