Norwegian keyboard on the N950
The N950 is delivered with a keyboard without Norwegian keys, so I decided to map holding the function/arrow key and pressing comma (,), period (.) or asterix (*) to ø, æ and å, respectively.
I you are Norwegian and just want this to work straight away, you can do the following on your device:
ssh root@localhost
wget https://dragly.org/wp-content/uploads/2011/08/rm-680
cp /usr/share/X11/xkb/symbols/nokia_vndr/rm-680 /usr/share/X11/xkb/symbols/nokia_vndr/rm-680-backup
cp rm-680 /usr/share/X11/xkb/symbols/nokia_vndr/
setxkbmap -model nokiarm680 -layout us
And that should do the trick. The keys are mapped as follows:
FN + . æ
FN + , ø
FN + * å
FN + SHIFT + . Æ
FN + SHIFT + , Ø
FN + SHIFT + * Å
If you’re speaking a different language and just want to edit the keymap manually, you can open up the rm-680 keymap file
nano /usr/share/X11/xkb/symbols/nokia_vndr/rm-680
and find the US section close to the top:
// setxkbmap -model nokiarm680 -layout us
partial alphanumeric_keys
xkb_symbols "us" {
include "nokia_vndr/rm-680(english-base)"
name[Group1] = "English US";
}
Then add the following for Norwegian characters:
// setxkbmap -model nokiarm680 -layout us
partial alphanumeric_keys
xkb_symbols "us" {
include "nokia_vndr/rm-680(english-base)"
name[Group1] = "English US";
// dragly keys
key <AB08> { [ comma, semicolon, oslash, Oslash ] };
key <AB09> { [ period, colon, ae, AE ] };
key <AC11> { [ apostrophe, asterisk, aring, Aring ] };
};
Now, this still affects the comma, period and asterix, but you can change them to whatever you like. If you have a look through the rm-680 file, you might also find other mappings that you would like to change. Do as you like, and when you’re done, just save the file by pressing CTRL+x, Y and ENTER. Afterwards, just refresh the keymap by issuing the command
setxkbmap -model nokiarm680 -layout us
You can of course create a new keymap instead of editing the US one, but that would require you to run setxkbmap every time you reboot to load the keymap again.
Good luck!