-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
enable qvm-service gui-agent-virtual-input-device
for Whonix-Workstation App Qubes by default
#8534
enable qvm-service gui-agent-virtual-input-device
for Whonix-Workstation App Qubes by default
#8534
Comments
I expect this to work well so long as there is only one window in the qube, but this may cause synchronization problems when there are multiple windows in the qube. |
Within the handle_keypress function, it's split up into 2 separate sections, one that only ever writes to /dev/uinput and one that only ever writes to the xserver fd. The section that runs depends on whether virtual input device creation was requested or not. Running a quick test of this with virtual input device creation requested within a qube with gnome-text-editor in 1 window, and gnome-terminal with nano running in another produces the following results on my device: shift test: caps-lock test: ctrl test: I receive the same results when switching between windows in different qubes even if there are several windows opened in each one. In this case since it should only be writing to uinput, modifier sync should happen independent of the current window. The other section of handle_keypress is the original handle_keypress function that runs when the qvm-service is not enabled. There was an issue originally with modifier syncing when switching between qubes, but that was addressed by having the gui-agent remember the last known state of the modifier, and then sending either a key down or key up if there's a change in state, then updating the state in last_known_modifier_states. |
If this is an issue it would be best to move it to a separate ticket. What you describe sounds very important. But the scope of this ticket is rather simple in comparison. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Not this one. This one is about enabling the feature for Whonix VMs, not how the feature itself works. |
Since QubesOS/qubes-gui-agent-linux#194 was implemented, this ticket is now unblocked. Anyone please feel free to help with this one. //cc @skyzzuu |
Quote skyzzuu:
We should enable the qvm-service
gui-agent-virtual-input-device
by default using qubes-core-admin-addon-whonix?related development notes on
qubes-core-admin-addon-whonix
:Dev/Qubes - Whonix chapter qvm-tags in Whonix wiki
We could prepare a PR but not merge it yet to give manually testing enabling qvm-service
gui-agent-virtual-input-device
to see if kloak in Qubes time.suggested timeline:
gui-agent-virtual-input-device
this.gui-agent-virtual-input-device
by default for everybody for all Whonix-Workstation App Qubes.The draft PR to enable qvm-service
gui-agent-virtual-input-device
by default inqubes-core-admin-addon-whonix
could be contributed at any time.related:
The text was updated successfully, but these errors were encountered: