Up to Debian 8, I could configure the keyboard this way:
setxkbmap -model pc105 -layout us -variant alt-intl
How do I achieve the same effect in Debian Stretch? What has changed?
I do remember that, at some Debian version, I had to do that command after every
X start, but it was still OK for me.
Since I installed Debian Stretch, that command will no longer take any effect. Yes, it does think it is working:
But it isn´t.
I managed to get it working eventually with:
sudo ibus-daemon --xim &
But, apart from being interactive, that thing is random. Sometimes the keyboard is just going back to the crazy default layout it thinks it should apply (once even in the middle of a job coding interview!). I use English language:
I selected Netherlands timezone and an international layout with deadkeys; that´s all. I never tried to set anything related to locales that aren´t the standard US-ish-ENG-ish things.
I hope the reason it was changed it is being very useful for many people, because, It´s difficult to understand why configuring such a basic thing just the way it has worked for decades had to become so complicated nowadays.
Things I already tried and had no effect, even after restarting:
sudo dpkg-reconfigure keyboard-configuration
udevadm trigger --subsystem-match=input --action=change
sudo apt-get install -y console-data console-setup console-locales keyboard-configuration
sudo apt-get remove ibus -y
followed by an X restart.
rm: cannot remove '/var/lib/xkb/*.xkm': No such file or directory
setxkbmap -rules evdev -model evdev -layout us -variant alt-intl
Nothing of that made the configurations made by first
setxkbmap to take effect again and kept the same weird default.
Things I already tried and returned the keyboard to vanilla
us (without accents/deadkeys):
setxkbmap -rules evdev -model evdev -layout us -variant altgr-intl
setxkbmap -rules evdev -model pc105 -layout us -variant altgr-intl
setxkbmap -rules evdev -model evdev -layout us -variant altgr-intl -option eys # no complain of bad options
setxkbmap -rules evdev -model pc105 -layout us -variant altgr-intl -option #clears option
setxkbmap -rules evdev -model pc105 -layout us -variant intl -option
setxkbmap -rules evdev -model pc105 -layout us -variant altgr-intl -option terminate:ctrl_alt_bksp #control-alt-backspace option