Switching Keyboards on Om 2007.2
To add/change the key layout on the default keypad (I added a > and a / to the 1 key), edit /etc/multitap-pad/im-multipress.conf
[keys] KP_0 = +;=;/;\\ KP_1 = .;,;/;>;-;?;!;@;:;(;) KP_2 = a;b;c;2 KP_3 = d;e;f;3 KP_4 = g;h;i;4 KP_5 = j;k;l;5 KP_6 = m;n;o;6 KP_7 = p;q;r;s;7 KP_8 = t;u;v;8 KP_9 = w;x;y;z;9 KP_10 = A;B;C;2 KP_11 = D;E;F;3 KP_12 = G;H;I;4 KP_13 = J;K;L;5 KP_14 = M;N;O;6 KP_15 = P;Q;R;S;7 KP_16 = T;U;V;8 KP_17 = W;X;Y;Z;9[code]
To switch from the multitap keyboard to the matchbox or Openmoko keyboard, do the following (from the terminal or an ssh session with DISPLAY=:0.0):
opkg remove -force-depends multitap-pad opkg install matchbox-keyboard-inputmethod opkg install matchbox-keyboard-im opkg install matchbox-keyboard-applet
This doesn't work on official OM 2007.2 repositories. However, if you use a ScaredyCat release (http://buildhost.automated.it/OM2007.2/) it should work fine.
The ipkg files can be found at http://www.ginguppin.de/node/15 .
If you want to keep the multitap keyboard, but also be able to start up the matchbox-keyboard, you can follow these ugly instructions:
First you must install matchbox-keyboard.
ipkg install matchbox-keyboard
Do the following (from the terminal or an ssh session with DISPLAY=:0.0):
- killall multitap-pad
- matchbox-keyboard > /dev/null 2>&1 &
(If you type the above commands with multitap, you have to leave off the redirection of matchbox-keyboard output, since several of the keys you need are missing.)
Caveats: When you start the matchbox-keyboard, it stays up all the time. This will (among other things) prevent you from unlocking, since the keyboard covers the openmoko logo at the bottom of the lock screen. You will need to:
- nohup multitap-pad -d &
- killall matchbox-keyboard
to close it down, and at least get the matchbox keyboard going again. You should do that any time you're going to leave the neo alone for any length of time, so you can unlock it later.
To make sure you don't end up removing all your keyboard input capability, you can create a new .desktop file in /usr/share/applications/ for starting and closing the keyboard. This is pretty easy to do by copying and editing an existing .desktop file.