[Bug 2030788] Re: "localectl set-x11-keymap" doesn't work in mantic
Chad Smith
2030788 at bugs.launchpad.net
Wed Aug 23 03:31:23 UTC 2023
@enr0n, while I think the approach James is taking in PR 4361 to write
/etc/default/keyboard directly (followed by running: systemctl restart
console-setup ) will persist the keyboard values provided, I find it
hard to confirm that the keyboard settings are properly set and maybe
this warrants a separate bug?.
Are there suggestions for how in Ubuntu we can report status of
configured keyboard layout as `localectl status` doesn't seem to report
values from /etc/default/keyboard anymore either.
After such a change, localectl status still does not represent the updated settings on Ubuntu:
Note as well that any call to localectl status initially reports "Could
not get properties: Access Denied" on first call while systemd-
localed.service is being started up by udev/systemd.
root at schema-m:~# localectl status
Could not get properties: Access denied
root at schema-m:~# journalctl -b 0 -f
Aug 23 03:25:08 schema-m systemd[1]: systemd-localed.service: Deactivated successfully.
Aug 23 03:27:05 schema-m dbus-daemon[209]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.39' (uid=0 pid=2003 comm="localectl status" label="unconfined")
Aug 23 03:27:05 schema-m systemd[1]: Starting systemd-localed.service - Locale Service...
Aug 23 03:27:05 schema-m dbus-daemon[209]: [system] Successfully activated service 'org.freedesktop.locale1'
Aug 23 03:27:05 schema-m systemd[1]: Started systemd-localed.service - Locale Service.
Aug 23 03:27:55 schema-m systemd[1]: systemd-localed.service: Deactivated successfully.
Aug 23 03:28:08 schema-m dbus-daemon[209]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.43' (uid=0 pid=2011 comm="localectl status" label="unconfined")
Aug 23 03:28:08 schema-m systemd[1]: Starting systemd-localed.service - Locale Service...
Aug 23 03:28:08 schema-m dbus-daemon[209]: [system] Successfully activated service 'org.freedesktop.locale1'
Aug 23 03:28:08 schema-m systemd[1]: Started systemd-localed.service - Locale Service.
^^^^^^^^^^^^^^^^^ Note systemd
root at schema-m:~# localectl status
System Locale: LANG=C.UTF-8
VC Keymap: (unset)
X11 Layout: (unset) <------------- Note layout still unset despite /etc/default/keyboard "gb" value
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2030788
Title:
"localectl set-x11-keymap" doesn't work in mantic
Status in cloud-init package in Ubuntu:
In Progress
Status in systemd package in Ubuntu:
Confirmed
Bug description:
On the raspi arm64 server image, I used to use cloud-init's keyboard
module to set my keyboard to GB by default. However, on mantic
localectl (which the keyboard module uses) is now reporting:
$ localectl set-x11-keymap gb pc105
Setting X11 and console keymaps is not supported in Debian
So ... how do I get my £ key by default now? Or should this be filed
against systemd as well?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2030788/+subscriptions
More information about the foundations-bugs
mailing list