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

console and keyboard layout #92

Closed
benoitf opened this issue Jan 30, 2024 · 1 comment
Closed

console and keyboard layout #92

benoitf opened this issue Jan 30, 2024 · 1 comment

Comments

@benoitf
Copy link

benoitf commented Jan 30, 2024

when using the vfkit console (started on my case by podman machine start --log-level DEBUG) the keyboard is using english keyboard layout (but keyboard is using for example a french layout)

when using qemu console started by podman machine start as well, it was able to find/use my local keyboard layout

I would expect to have vfkit behaving the same way

vfkit console if I enter azerty on a french keyboard, it displays qwerty
image

qemu console, it displays azerty as expected
image

@cfergeau
Copy link
Collaborator

The vfkit console used by podman is displaying the VM graphical framebuffer, and this behaves as if your keyboard was physically plugged into the VM. This means it honors the keyboard settings configured in the guest, which will be QWERTY by default.

I don't know what the qemu console is, but I'd guess this is using -display curses, the keyboard mapping would be done using the host configuration, and thus would be right in your case.

Once #48 is implemented and podman-desktop supports it, this should give you the behaviour you want.
There is not much vfkit can do for the --gui keyboard behaviour.

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

No branches or pull requests

2 participants