1

I tried to change my keyboard layout to german:

loadkeys de

But this is only temporary, if I reboot, then it it set back to english again... I tried to make it permanent:

localectl set-keymap de

but I get, "localectl : command not found"

Black
  • 801

2 Answers2

1

you could try to manually modify sudo nano /etc/default/keyboard

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="de"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"
AlexOnLinux
  • 962
  • 7
  • 20
0

You can simply put it into your bashrc, if it located in your default directory it will be:

echo loadkeys de >> ~/.bashrc

If it does not work you can try using rc.local which run just before the login screen, be careful I never tried this but it should be fine:

create or open the file rc.local with your favorite editor like nano /etc/rc.local

Then paste this text

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

loadkeys de
exit 0

then give it the proper right chmod +x /etc/rc.local

Saxtheowl
  • 1,739
  • 2
  • 10
  • 20