bugtracker icon indicating copy to clipboard operation
bugtracker copied to clipboard

N900: Unable to permanently set a proper keyboard layout

Open Jeder321 opened this issue 1 year ago • 1 comments

My N900 comes with a German QWERTZ layout, and by default Leste uses a QWERTY US layout, which doesn't exactly correspond to legends on my keys. Typing in setxkbmap -model nokiarx51 -layout de fixes the layout until reboot

What I have tried so far:

  1. Changed the setting in Settings/Text Input, didn't visibly change anything, however gconftool -g /apps/osso/inputmethod/int_kb_layout is set to de after this
  2. Edited /etc/default/keyboard to set de layout instead of us. After reboot, OS still goes back to us layout

Outputs of setxkbmap -print:

After rebooting

xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete+nokia"        };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "nokia_vndr/rx-51(common)+nokia_vndr/rx-51(us)+inet(evdev)"     };
        xkb_geometry  { include "nokia(nokiarx51)"      };
};

Shows the same thing without /etc/default/keyboard "fix"

After setting setxkbmap -model nokiarx51 -layout de

xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwertz)" };
        xkb_types     { include "complete+nokia"        };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "nokia_vndr/rx-51(common)+nokia_vndr/rx-51(de)+inet(evdev)"     };
        xkb_geometry  { include "nokia(nokiarx51)"      };
};

Jeder321 avatar Sep 03 '22 08:09 Jeder321

i'm not sure why gconf is overwritten , but the 'X11 method' of changing keyboard would be putting it in /etc/X11/xorg.conf.d something like a '10-keyconfig.conf' with contents like this;

Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "de"
        Option "XkbModel" "nokiarx51"
EndSection

this isnt a 'maemo style' fix though, eventually it -should- work through normal settings menu etc

buzztiaan avatar Sep 19 '22 14:09 buzztiaan