Comment 20 for bug 401497

Revision history for this message
Christian Funder Sommerlund (zero3) wrote :

Hi Martin

In the mean-time, I've fixed this by logging out, selecting the correct keyboard layout and logging in again. The system now correctly remembers my keyboard layout, even though it keeps adding the USA layout by itself.

For what it's worth, here are the output of those commands after I have fixed the problem myself:

zero3@Zero-Laptop:~$ grep X /etc/default/console-setup
grep: /etc/default/console-setup: No such file or directory

Note that I have a file called console-setup.pre-ubiquity in there:

zero3@Zero-Laptop:/etc/default$ grep X /etc/default/console-setup.pre-ubiquity
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.
XKBMODEL="pc105"
XKBLAYOUT="dk"
XKBVARIANT=""
XKBOPTIONS="lv3:ralt_switch"

The other command:

zero3@Zero-Laptop:/etc/default$ cat /home/zero3/.dmrc /var/cache/gdm/`id -un`/dmrc

[Desktop]
Session=gnome
Language=da_DK.UTF-8
Layout=dk

[Desktop]
Session=gnome
Language=da_DK.UTF-8
Layout=dk