Author Topic: Wrong keyboard mapping on login?  (Read 232 times)

gabs5807

  • Newbie
  • *
  • Posts: 34
    • View Profile
Wrong keyboard mapping on login?
« on: November 07, 2020, 05:19:05 pm »
Hello,
i changed my keyboard mapping as described on the planet cosmo linux page to german.
Then i changed the password of the new user using some special charactes as '-' and '_'.

Login did not work :(. It seems, that the keyboard uses standard (english) keymapping :-\.
Any one else have the same experience?
Amongst many other Computers and Phones i'm using a Gemini PDA WIFI+G4 and a Cosom Communicator both with German keyboard, all with SailfishOS and Debian ;-)

sven1999

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Wrong keyboard mapping on login?
« Reply #1 on: December 14, 2020, 06:32:21 am »
Also fighting with keys on the German keyboard. Does anybody know where to find the minus sign after a fresh install? It could be on the O-key, but how can I reach the subscripted letters?
Cosmo Communicator (Debian Linux v3), OnePlus 3T (UbuntuTouch)

lokomoko

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Wrong keyboard mapping on login?
« Reply #2 on: December 14, 2020, 12:13:55 pm »
Here's some of the keys I found handy before having activated German layout:

/  Shift+,
-  Fn+รถ
+  Fn+i
_  Fn+j
;  Fn+k
`  FN+2
"  FN+l

but once you managed to type
setxkbmap -model planetcosmo -layout de
you won't need them anymore  ;)

sven1999

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Wrong keyboard mapping on login?
« Reply #3 on: December 15, 2020, 09:00:35 am »
Thanks for the list. I managed to write a script via SSH that sets the keyboard.

Afterwards, most keys work as expected. Some negative exceptions: The minus sign (-) should be a physical key, but it just prints ?; the - can be found as Fn-k.
Is thery anyone working on a correct keyboard? (I saw similar posts about the Italian keyboard.)
Cosmo Communicator (Debian Linux v3), OnePlus 3T (UbuntuTouch)

lokomoko

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Wrong keyboard mapping on login?
« Reply #4 on: December 16, 2020, 06:41:41 pm »
I just found, that specifying the keyboard layout permanently via
XKBMODEL="planetcosmo"
XKBLAYOUT="de"
in /etc/default/keyboard works fine for all users.

sven1999

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Wrong keyboard mapping on login?
« Reply #5 on: December 17, 2020, 05:33:26 am »
What about the other 3 entries in /etc/default/keyboard ?

XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"

And which keyboard definition file is used then?
« Last Edit: December 17, 2020, 05:45:22 am by sven1999 »
Cosmo Communicator (Debian Linux v3), OnePlus 3T (UbuntuTouch)

lokomoko

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Wrong keyboard mapping on login?
« Reply #6 on: December 17, 2020, 09:53:49 am »
I just left them as your post shows!