#1040650 console-setup: transition from /etc/default/keyboard to /etc/vconsole.conf

#1040650#5
Date:
2023-07-08 15:05:20 UTC
From:
To:
Dear Maintainer,

Similarly to #1038798 please transition away from the debianism /etc/default/keyboard to /etc/vconsole.conf which is used by many other systems, and is systemd default. Thank you.

#1040650#10
Date:
2023-07-08 15:42:10 UTC
From:
To:
Both are present. Both contain similar information but one is tied to XKB.
It's quite possible that one will disappear as Wayland comes in for
everything?

#1040650#15
Date:
2023-07-08 15:42:10 UTC
From:
To:
Both are present. Both contain similar information but one is tied to XKB.
It's quite possible that one will disappear as Wayland comes in for
everything?

#1040650#20
Date:
2023-07-10 21:28:58 UTC
From:
To:
I believe wayland does not come into effect here, since both /etc/vconsole.conf and /etc/default/keyboard modify the environment even for terminals with no graphical interface (only text interface).

https://github.com/systemd/systemd/issues/24228 and the links in there might be related to this debian bugreport.

#1040650#25
Date:
2025-03-10 01:09:51 UTC
From:
To:
systemd now creates /etc/vconsole.conf -> /etc/default/keyboard symlink.

That is the wrong direction, different from other distributions, but
it is what is it, to make sure the two files never have differing
contents.

Ideally, the maintainers of console-setup would discuss it with the
maintainers of systemd to deprecate the legacy /etc/default/keyboard
path and instead use /etc/vconsole.conf

A compatibility symlink /etc/default/keyboard -> /etc/vconsole.conf
could remain for a while.