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
you could try to manually modify
sudo nano /etc/default/keyboard
You can simply put it into your bashrc, if it located in your default directory it will be:
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
then give it the proper right
chmod +x /etc/rc.local