Koozali.org: home of the SME Server

Contribs.org Forums => Koozali SME Server 10.x => Topic started by: waldviertler on June 28, 2021, 12:26:41 AM

Title: Change Keyboard Layout - but only in Server Console
Post by: waldviertler on June 28, 2021, 12:26:41 AM
Hello

I have this problem:
When I try to log in direct on the server I have a diferent keyboard layout, as when I login with putty.
While it is ok with putty (de layout), I have the en layout on the server.
Everything else is German, eg in the admin menu, as I used German as language while installing SME10.

How can I change the keyboard layout on the server console?

Thanks
Martin
Title: Re: Change Keyboard Layout - but only in Server Console
Post by: TerryF on June 28, 2021, 01:25:59 PM
Have never tried it, user beware..

https://wiki.koozali.org/Translations#Changing_the_Server_Language
Title: Re: Change Keyboard Layout - but only in Server Console
Post by: Jean-Philippe Pialasse on June 28, 2021, 08:18:50 PM
this is for centos 6 and sme9 and older.

now this is set at grub (language) and systemd level (keymap). Only strange things is it should have been set at the installer time. Did you only add your german keyboard to install or did you take the time to also remove the default us one. You should remove the us one or it will default to that one later.

you should follow this


list available keymaps :
# localectl list-keymaps | grep ^us

To permanently change keymap on CentOS 7 to eg. us keymap run the localectl command:

# localectl set-keymap us

To confirm your permanent keymap settings execute the localectl command without any arguments.


source
https://linuxconfig.org/how-to-change-system-keyboard-keymap-layout-on-centos-7-linux

Title: Re: Change Keyboard Layout - but only in Server Console
Post by: TerryF on June 28, 2021, 10:09:17 PM
why I should stick with testing
Title: Re: Change Keyboard Layout - but only in Server Console
Post by: waldviertler on June 28, 2021, 10:48:29 PM
@Jean-Philippe Pialasse: Thank you very much!!!

Server-console is working now with de keyboard layout.

Martin
Title: Re: Change Keyboard Layout - but only in Server Console
Post by: Jean-Philippe Pialasse on June 29, 2021, 12:55:23 AM
why I should stick with testing

you are too hard on yourself. 
you help a lot of people.

thank you for that.

and testing is far from being an easy task.
Title: Re: Change Keyboard Layout - but only in Server Console
Post by: Jean-Philippe Pialasse on June 29, 2021, 12:57:56 AM
this one needs a bug to update wiki. or just one to update it right now :)