I have an annoying problem: On my clean install (17.10) the login screen (after boot) had a wrong keyboard layout which I could change with dpkg-reconfigure keyboard-configuration. But after I put my laptop into sleep closing the lid the login again has the wrong layout.
Now comes the really mysterious part: When I use set xkbmap to set the layout, close the lid, wait a few seconds till I see the indicator blink, stating that the laptop fell into sleep, open the lid again, then the login screen has the right layout set. But when I wait longer, e.g. 30 minutes, before opening the laptop again, the layout is wrong again.
I have no clue how to analyze nor to solve this.
Can anyone please point me to the right direction?
Thanks in advance.