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

Changing keyboard layout prevents application hotkeys from working #5431

Closed
hexagonrecursion opened this issue Oct 29, 2019 · 11 comments · Fixed by QubesOS/qubes-gui-agent-linux#139
Labels
C: other localization This issue concerns translating things into different languages or adapting them to other regions. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. r4.1-bullseye-stable r4.1-buster-stable r4.1-centos-stream8-cur-test r4.1-dom0-stable r4.1-fc31-stable r4.1-fc32-stable r4.1-fc33-stable r4.1-fc34-stable

Comments

@hexagonrecursion
Copy link

Qubes OS version
Qubes release 4.0 (R4.0)

Affected component(s) or functionality
Qubes Manager
Official Fedora 30 template

Brief summary
When using any non-default keyboard layout hot key combinations in many (all?) applications are not recognized.

To Reproduce

  1. Start a qube
  2. In Qubes Manager set keyboard layout for the qube to af (Afghani)
  3. Open firefox in the qube
  4. Try typing hotkeys (Ctrl+F, Ctrl+A, Ctrl+Z, Ctrl+C, Ctrl+V etc)

Expected behavior
Hotkeys work as they normally do.

Actual behavior
Hotkeys do nothing.

Additional context
In all other operating systems hotkeys work regardless of the keyboard layout.

Solutions you've tried
none so far

Relevant documentation you've consulted
none

Related, non-duplicate issues
none

@hexagonrecursion hexagonrecursion added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug labels Oct 29, 2019
@marmarek
Copy link
Member

Does it match dom0 keyboard layout? If not, that may be an issue and ultimately another case of #1396

@hexagonrecursion
Copy link
Author

First of all: it is a per-qube setting. What is the point of it being per-qube if it has to match dom0?
Secondly: just to check I changed the dom0 keyboard layout to af (localectl set-x11-keymap "af" and reboot) and now copy-paste between domains doesn't work and hotkeys only work in domU if I manually set domU keyboard layout to us.

@hexagonrecursion
Copy link
Author

Because this is present even when DomU layout happens to match Dom0 I believe this is a separate bug.

@andrewdavidwong andrewdavidwong added C: other localization This issue concerns translating things into different languages or adapting them to other regions. labels Oct 30, 2019
@andrewdavidwong andrewdavidwong added this to the Release 4.0 updates milestone Oct 30, 2019
@jevank
Copy link

jevank commented Aug 5, 2020

New variant layout propagation (#1396, #4294) makes current issue actual to 4.1 at common. Without latin layout hotkey mostly (completely?) doesn`t work. What about forcing double layout (actual + latin) to vm instead of single one?

jevank added a commit to jevank/qubes-gui-agent-linux that referenced this issue Jul 2, 2021
Setting only non-latin layout breaks hotkeys in various applications, so setup secondary 'us' to propagated from dom0.

Fixes QubesOS/qubes-issues#5431
Fixes QubesOS/qubes-issues#6690
jevank added a commit to jevank/qubes-gui-agent-linux that referenced this issue Jul 6, 2021
Setting only non-latin layout breaks hotkeys in various applications, so setup secondary 'us' to propagated from dom0.

Fixes QubesOS/qubes-issues#5431
Fixes QubesOS/qubes-issues#6690
@qubesos-bot
Copy link

Automated announcement from builder-github

The package pulseaudio-qubes-4.1.20-1.fc32 has been pushed to the r4.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package gui-agent-linux has been pushed to the r4.1 testing repository for the CentOS centos-stream8 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.1-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-gui-agent_4.1.20-1 has been pushed to the r4.1 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing buster-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component gui-agent-linux (including package pulseaudio-qubes-4.1.20-1.fc32) has been pushed to the r4.1 testing repository for the Fedora template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.1-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-gui-agent_4.1.21-1+deb10u1 has been pushed to the r4.1 stable repository for the Debian template.
To install this update, please use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component gui-agent-linux (including package pulseaudio-qubes-4.1.21-1.fc32) has been pushed to the r4.1 stable repository for the Fedora template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package pulseaudio-qubes-4.1.21-1.fc32 has been pushed to the r4.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: other localization This issue concerns translating things into different languages or adapting them to other regions. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. r4.1-bullseye-stable r4.1-buster-stable r4.1-centos-stream8-cur-test r4.1-dom0-stable r4.1-fc31-stable r4.1-fc32-stable r4.1-fc33-stable r4.1-fc34-stable
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants