Debian change keyboard to international

dpkg-reconfigure keyboard-configuration

Or do it manually:

vi  /etc/default/keyboard

Add:

XKBLAYOUT="us,de"
XKBVARIANT=""
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"