View Single Post
Posts: 111 | Thanked: 62 times | Joined on Apr 2012 @ Hong Kong
#17
Originally Posted by hw9xx View Post
Here is how to set a different keyboard layout:

Go to the store and install "nano" editor.
Enable developer mode
open Terminal
devel-su (password: rootme)
nano /etc/X11/xorg.conf.d/nokia.conf

In that file look for this section (i may have omitted some "):

Code:
# Allow configuration of external keyboards.
Section InputClass
             Identifier          external-keyboard
             MatchIsKeyboard     on
             Option              Ignore              off
EndSection
Here you have to add another line before "Endsection":

Code:
            Option               "XkbLayout"      "de"
"de" is for german keyboard layout. Replace it with the value you need.

Save the file and restart your N9


I really wish someone would enhance btinput with an option to set the layout from the UI. The above procedure looks simple but it's a bad idea to have n00bs to root stuff. Also things like nano are not exactly home territory for gui-users.
Thanks for suggestion, but all of my keyboard are either international us or us layout and after I add the line below:
Code:
            Option               "XkbLayout"      "us"
Still have the same result. To be more precise, the problem is I can't input number keys, special character map different among different keyboard. All the a-z key are correctly mapped among all my keyboard.
One more thing, one of my keyboard is combination of mouse and keyboard, after connected the touch control goes weird.

Update:
I just found after I input below code in the terminal
Code:
setxkbmap -layout us
Number keys work, all special character are mapped correctly.
And sometime after connect the keyboard, the phone give 1 second of my battery indicator become zero and next second prompt changing/Charge Complete(I am charging my phone), it seems ui related service is restarted. Another feature request is enable the cursor, mouse seems work with btinput.

Last edited by michaelmhk; 2012-05-05 at 19:47.