Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: keyboard layout module #3927

Closed
ubuntu-server-builder opened this issue May 12, 2023 · 3 comments
Closed

Feature request: keyboard layout module #3927

ubuntu-server-builder opened this issue May 12, 2023 · 3 comments
Labels
launchpad Migrated from Launchpad

Comments

@ubuntu-server-builder
Copy link
Collaborator

This bug was originally filed in Launchpad as LP: #1951593

Launchpad details
affected_projects = []
assignee = None
assignee_name = None
date_closed = 2022-02-15T21:54:28.754780+00:00
date_created = 2021-11-19T13:58:13.521039+00:00
date_fix_committed = 2022-01-12T14:38:12.336213+00:00
date_fix_released = 2022-02-15T21:54:28.754780+00:00
id = 1951593
importance = medium
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1951593
milestone = None
owner = bos
owner_name = Floris
private = False
status = fix_released
submitter = bos
submitter_name = Floris
tags = ['keyboard', 'layout']
duplicates = []

Launchpad user Floris(bos) wrote on 2021-11-19T13:58:13.521039+00:00

It would be nice if generic support to set a keyboard layout was added to cloudinit.

  • It seems one can currently do set keyboard layout when using the Ubuntu installer, with autoinstall.
    But when using just cloudinit with ready made images (e.g. with the Ubuntu server images for the Pi), there does not seem to be an option for it.

  • As an alternative, I tried writing /etc/default/keyboard with write_files manually, and runcmd'ing "dpkg-reconfigure -f noninteractive keyboard-configuration" but that leaves to be desired.
    Since it is run pretty late in the boot process, the new keyboard layout does not take effect until first reboot.
    And it obviously will only work with Debian based distributions.
    Generic commands to set a keyboard layout (that could also work with other Linux distributions in the future) would be nicer.

@ubuntu-server-builder ubuntu-server-builder added the launchpad Migrated from Launchpad label May 12, 2023
@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user James Falcon(falcojr) wrote on 2021-11-23T15:23:10.359239+00:00

This seems like a reasonable request. Thanks for the suggestion. Contributions are always welcome.

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user James Falcon(falcojr) wrote on 2022-01-12T14:38:08.534172+00:00

See #1176

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Brett Holman(holmanb) wrote on 2022-02-15T21:54:29.676678+00:00

This bug is believed to be fixed in cloud-init in version 22.1. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
launchpad Migrated from Launchpad
Projects
None yet
Development

No branches or pull requests

1 participant