The way I see it, there are at least two issues here.
1) The issue of not being able to change a layout within a session from the Unity "applet", /etc/default/keyboard not keeping sync with applet --I am supposing it is supposed to keep in sync.
2) And the issue of /etc/default/keyboard not keeping in sync with selections taken in Keyboard Layout, which explains why desktop sessions (X) revert to previous settings when logging in.
/etc/default/keyboard and~/.dmrc seem to want to do their own things, regardless of what other utilities want.
There might be a third, since I've tried to use dpkg-reconfigure to configure what X uses. The issue of any layout chosen from dpkg-reconfigure keyboard-configuration not sticking, /etc/default/keyboard and/or ~/.dmrc not keeping sync with dpkg-reconfigure keyboard-configuration.
The way I see it, there are at least two issues here.
1) The issue of not being able to change a layout within a session from the Unity "applet", /etc/default/ keyboard not keeping sync with applet --I am supposing it is supposed to keep in sync.
2) And the issue of /etc/default/ keyboard not keeping in sync with selections taken in Keyboard Layout, which explains why desktop sessions (X) revert to previous settings when logging in.
/etc/default/ keyboard and~/.dmrc seem to want to do their own things, regardless of what other utilities want.
There might be a third, since I've tried to use dpkg-reconfigure to configure what X uses. The issue of any layout chosen from dpkg-reconfigure keyboard- configuration not sticking, /etc/default/ keyboard and/or ~/.dmrc not keeping sync with dpkg-reconfigure keyboard- configuration.