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

Ubuntu standalone does not adhere to its keyboard settings after reboot #9727

Open
GammaSQ opened this issue Jan 22, 2025 · 0 comments
Open
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: other needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.

Comments

@GammaSQ
Copy link

GammaSQ commented Jan 22, 2025

Qubes OS release

Qubes OS 4.2

Brief summary

I have an ubuntu-standalone based on a jammy-template. When rebooting, it always consumes keystrokes with the layout it was originally created with (us+colemak+) instead of it's current set layout according to qvm-prefs. Changing the keyboard layout via qvm-prefs actually changes the keyboard-layout inside the standalone VM while it's running, but on a reboot the original keyboard layout is restored.

Steps to reproduce

  1. This is a rather old VM, so I'm unsure on the creation process. I am sure I used us+colemak+ at the time, it was a self-compiled image and I don't recall ever having touched the keyboard-settings internally.
  2. Change keyboard-layout. I wanted to change the global keyboard layout, which I mention because it caused some hiccups along the way, but the only relevant point seems to be to change the keyboard-layout via qvm-prefs.
  3. run setxkbmap -query in the freshly booted VM.

Expected behavior

The VM loads the correct keyboard-layout on startup, i.e. setxkbmap -query reports a layout compatible to what was set in qvm-prefs.

Actual behavior

On VM startup, the old keyboard-layout is loaded. However, changing the layout in qvm-prefs still changes the layout in the VM.

Additional information

I was looking through all keyboard-layout-config files I could find, but that didn't change what setxkbmap -query reported. Changes only appeared in the locale-related commands such as localectl status.

P.S.: running qvm-prefs with the keyboard layout that is already set doesn't do anything. Always change layout to see any effect!

@GammaSQ GammaSQ added the P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. label Jan 22, 2025
@andrewdavidwong andrewdavidwong changed the title Ubuntu Standalone does not adhear to it's keyboard settings after VM-reboot Ubuntu standalone does not adhere to its keyboard settings after reboot Jan 22, 2025
@andrewdavidwong andrewdavidwong added C: other needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. affects-4.2 This issue affects Qubes OS 4.2. labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: other needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.
Projects
None yet
Development

No branches or pull requests

2 participants