Thread
:
remapping n900 keys
View Single Post
olighak
2010-01-17 , 18:18
Posts: 519 | Thanked: 366 times | Joined on Sep 2009 @ North Carolina (Formerly Denmark and Iceland)
#
49
DO NOT FOLLOW MY STEPS FOR NOW. YOUR PHONE WILL TURN INTO A BRICK AT NEXT REBOOT. I HAVE BRICKED 5 N900's SO FAR IN 5 ATTEMPTS, THAT'S A SUCCESSFUL BRICKING PERCENTAGE OF 100%. I'M INVESTIGATING THE PROBLEM WHICH SEEMS TO BE RELATED TO CHANGES MADE IN FIRMWARE FROM WEEK 51.
Note:
My icelandic keyboard disappeared when I upgraded to firmware from week 51. So I had to recreate it. I donŽt know if something changed in the rx-51 file in the update, but I am assuming so. So I say that this is only for people who have applied the 1.1 firmware update from week 51.
If youŽd like a keyboard for yourself that works and allows you to switch into your custom keyboard and back into the english one you can follow my instructions and modify as necessary. As the russian keyboard is the only one that allows ctrl+space to shift languages I have sacrificed it as a basis for my Icelandic keyboard.
I have all 4 arrows working in the english keyboard and 2 arrows working + special keys in the icelandic one. This makes the arrows work in a similar way in the icelandic one as if you select other european languages than english with ctrl+shift, but behave in the english 4 arrow way when you have that selected.
The "english base" is disabled in rx-51 for this keyboard, because the "english base" tells the N900 to always treat the arrow keys as 4 button arrows. With my modified keyboard I want to be able to change in and out of that so that is not fitting
Quirks:
I cannot have "left arrow" and "up arrow" on the "down arrow" button. I canŽt get it to work, like it does on the european keyboards, so the "down arrow" gives left when pushed and "up" when fn+down is used. My current setting could of course be changed to "down" and "up"
I canŽt have "right arrow" and "down" on the "right arrow" button because of the limitation above. I canŽt get it to work, but you could change my current settings to have "left" and "right" on this button.
Switching between icelandic and english keyboard is as simple as pushing ctrl and space at the same time
Items IŽd like assistance with, or I consider not complete:
IŽd like to modify the character map for special characters, that appear when you press fn+ctrl. I do not have ability to run the linux application for vkb files that is outlined here:
http://wiki.maemo.org/Special_characters_view
If you could run the vkb compiler to create a vkb for "russian" as detailed in the attached "icelandic-vkb.txt" I would truly appreciate it. If you could then reply and attach the new file IŽd be most thankful.
How to install the keyboard detailed below:
Prerequisites: You will have to have installed rootsh from Maemo-Extras. If you do not have it installed, or have not enabled Maemo-Extras please see:
http://wiki.maemo.org/Extras#
Lower and uppercase matters in Linux/Maemo so you have to do exactly as specified!
Save down the rx-51.zip file attached to this entry onto a location on your computer where you can easily access it.
Unzip the file so that you have the file rx-51 in location on your computer you can easily access. (Notice the file does not have a filename ending)
Connect your N900 in
Mass Storage Mode
. Navigate to the
tmp
folder on the N900 itself. Copy the rx-51 file from your computer into this folder on the N900.
Disconnect your N900 from the computer.
Go into the program X-Terminal on your N900 (it is in
Applications
>
More
)
write
sudo gainroot
into the X-terminal window and hit enter
write
cd /home/user/MyDocs/tmp
and hit enter
Now you are in the directory where you just copied the rx-51 file. Now you need to copy the rx-51 file to where the N900 uses it.
Write
cp rx-51 -i /usr/share/X11/xkb/symbols/nokia_vndr
and hit enter
The N900 should now ask you whether you wish to overwrite the old rx-51. It should be safe to do, so you can say yes. If you feel unsure about that then you can write:
cd /usr/share/X11/xkb/symbols/nokia_vndr
to get into the directory where the original rx-51 is and copy it to for example /home/user/MyDocs/ (one level up from where you placed the new one) by writing
cp rx-51 /home/user/MyDocs
and hit enter before you copy your new rx-51 file into the nokia_vndr folder.
Congratulations, you now have installed the new Icelandic keyboard to use alongside the english one.
To select the keyboard go into the
Application Menu
and select
Settings
. Now browse to
Text Input
and therein go to
Hardware keyboard layout
. Select the strange word looking like "Pyccknn" at the bottom of the list. That word is "Russian" in the russian cyrillic alphabet.
Click save.
The N900 icelandic keyboard has now been applied to your hardware keyboard. Enjoy typing away!
Icelandic keyboard follows:
- Remember that I sacrificed the Russian keyboard, hence it says that levels 5-8 are russian and that the xkb symbol is "ru"
// Levels 5-8 are Russian, levels 1-4 US English, for shortcut reasons.
partial alphanumeric_keys
xkb_symbols "ru" {
// include "nokia_vndr/rx-51(english_base)"
include "nokia_vndr/rx-51(common_keys)"
include "nokia_vndr/rx-51(modifiers)"
name[Group1] = "Icelandic";
key.type[Group1] = "EIGHT_LEVEL_SEMIALPHABETIC";
// 1. row
key <AD01> { [ q, Q, 1, 1, q, Q, 1, 1 ] };
key <AD02> { [ w, W, 2, 2, w, W, 2, 2 ] };
key <AD03> { [ e, E, 3, 3, e, E, 3, 3 ] };
key <AD04> { [ r, R, 4, 4, r, R, 4, 4 ] };
key <AD05> { [ t, T, 5, 5, t, T, 5, 5 ] };
key <AD06> { [ y, Y, 6, 6, y, Y, 6, 6 ] };
key <AD07> { [ u, U, 7, 7, u, U, 7, 7 ] };
key <AD08> { [ i, I, 8, 8, i, I, 8, 8 ] };
key <AD09> { [ o, O, 9, 9, o, O, 9, 9 ] };
key <AD10> { [ p, P, 0, 0, p, P, 0, 0 ] };
key <AB08> { [ comma, semicolon, equal, equal, eth, Eth, equal, equal ] };
// 2. row
key <AC01> { [ a, A, asterisk, asterisk, a, A, asterisk, asterisk ] };
key <AC02> { [ s, S, plus, plus, s, S, plus, plus ] };
key <AC03> { [ d, D, numbersign, numbersign, d, D, numbersign, numbersign ] };
key <AC04> { [ f, F, minus, minus, f, F, minus, minus ] };
key <AC05> { [ g, G, underscore, underscore, g, G, underscore, underscore ] };
key <AC06> { [ h, H, parenleft, parenleft, h, H, parenleft, parenleft ] };
key <AC07> { [ j, J, parenright, parenright, j, J, parenright, parenright ] };
key <AC08> { [ k, K, ampersand, ampersand, k, K, period, period ] };
key <AC09> { [ l, L, exlam, exclam, l, L, comma, comma ] };
key <AB09> { [ period, colon, question, question, dead_acute, colon, question, question ] };
key <UP> { [ Up, Up, dead_diaeresis, dead_diaeresis, ae, AE, dead_diaeresis, dead_diaeresis ] };
// 3. row
key <AB01> { [ z, Z, pound, pound, z, Z, pound, pound ] };
key <AB02> { [ x, X, dollar, dollar, x, X, dollar, dollar ] };
key <AB03> { [ c, C, EuroSign, EuroSign, c, C, EuroSign, EuroSign ] };
key <AB04> { [ v, V, slash, slash, v, V, slash, slash ] };
key <AB05> { [ b, B, backslash, backslash, b, B, backslash, backslash ] };
key <AB06> { [ n, N, quotedbl, quotedbl, n, N, quotedbl, quotedbl ] };
key <AB07> { [ m, M, apostrophe, apostrophe, m, M, apostrophe, apostrophe ] };
key <SPCE> { [ space, space, at, at, space, space, at, at ] };
key <LEFT> { [ Left, Left, aring, Aring, thorn, Thorn, aring, aring ] };
key <DOWN> { [ Down, Down, Up, Up, Down, Down, Up, Up ] };
key <RGHT> { [ Right, Right, Left, Left, Right, Right, Left, Left ] };
};
Icelandic keyboard illustrated:
Attached Files
icelandic-vkb.txt
(1.5 KB, 175 views)
rx-51.zip.zip
(4.0 KB, 125 views)
Last edited by olighak; 2010-01-18 at
17:06
.
Quote & Reply
|
olighak
View Public Profile
Send a private message to olighak
Find all posts by olighak