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"
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 console- setup: No such file or directory
grep: /etc/default/
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 "lv3:ralt_ switch"
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.
XKBMODEL="pc105"
XKBLAYOUT="dk"
XKBVARIANT=""
XKBOPTIONS=
The other command:
zero3@Zero- Laptop: /etc/default$ cat /home/zero3/.dmrc /var/cache/gdm/`id -un`/dmrc
[Desktop] da_DK.UTF- 8
Session=gnome
Language=
Layout=dk
[Desktop] da_DK.UTF- 8
Session=gnome
Language=
Layout=dk