Can I listen for key presses in other applications then programmatically insert key presses in other applications?
To make macro software in Wayland, such as AutoHotkey or such.
Announcement
Collapse
No announcement yet.
Keyboard Grabbing Protocol Proposed For Wayland
Collapse
X
-
Originally posted by guildem View PostI think full grab is the only way to do, to allow users to do what they want.
In my use case, I use multiple screens (and refuse to use a vm on a single screen, too annoying to hide the full host, and all the daily used apps). So I want full grab activated when I put my mouse on the vm (if Windows, OSX or Xorg/Wayland client, on a click when in a console vm only), and deactivated when it leaves the vm (or a shortcut configurated by the vm manager when in a console vm only).
And same mapping is important for me too, I don't want to remap some usual shortcuts (like console switching on a linux client), i want to have the same shortcuts anywhere. But i understand that some people want to have some shortcuts redirected to the host. And I think this is a job for the vm manager, allowing the user to forbid some shortcuts in the client. Not a job for the compositor.
So if this draft is accepted and "implemented" in the protocol, I think this is a great news for Wayland !
I think the good compromise is to ask a user whether they want to allow to grub keys, and then remember the choice, with possibility to change it somehow, of course. And it was actually mentioned in the article and the first message on the list, but what's worrying me is that devs upon implementing might forget it, because by no way asking a user could be a part of the protocol.
Leave a comment:
-
I think full grab is the only way to do, to allow users to do what they want.
In my use case, I use multiple screens (and refuse to use a vm on a single screen, too annoying to hide the full host, and all the daily used apps). So I want full grab activated when I put my mouse on the vm (if Windows, OSX or Xorg/Wayland client, on a click when in a console vm only), and deactivated when it leaves the vm (or a shortcut configurated by the vm manager when in a console vm only).
And same mapping is important for me too, I don't want to remap some usual shortcuts (like console switching on a linux client), i want to have the same shortcuts anywhere. But i understand that some people want to have some shortcuts redirected to the host. And I think this is a job for the vm manager, allowing the user to forbid some shortcuts in the client. Not a job for the compositor.
So if this draft is accepted and "implemented" in the protocol, I think this is a great news for Wayland !
- Likes 1
Leave a comment:
-
Originally posted by Trevelyan View PostI note on the mailing list there was similar comment. However if you have a VM with the same hotkeys as the Host/Client system, how do you access the functions in that VM.
Originally posted by Trevelyan View PostIt always annoyed me that the X11 Grab did not also capture Alt+F#, so if I want to change console on the VM I end up changing console on my desktop..
Originally posted by Trevelyan View PostI can't think of a better solution than full grab, with stacked release.
Originally posted by Trevelyan View PostThose complaining about blocking hot-keys are probably not managing virtual servers or similar systems, they are probably running VMs to access an application. In this case, something like Unity mode would be much better. Speaking of which, I hope VMware adds that back again...
What's the Unity mode?
Leave a comment:
-
I note on the mailing list there was similar comment. However if you have a VM with the same hotkeys as the Host/Client system, how do you access the functions in that VM.
It always annoyed me that the X11 Grab did not also capture Alt+F#, so if I want to change console on the VM I end up changing console on my desktop..
I can't think of a better solution than full grab, with stacked release.
Those complaining about blocking hot-keys are probably not managing virtual servers or similar systems, they are probably running VMs to access an application. In this case, something like Unity mode would be much better. Speaking of which, I hope VMware adds that back again...
Leave a comment:
-
I hope Compositor implementations will figure out to leave a setting to disable that thing. Because it's one of most annoying things in X11 protocol, when something like VirtualBox intercepts hotkeys of WM every time you switch there.
- Likes 1
Leave a comment:
-
Keyboard Grabbing Protocol Proposed For Wayland
Phoronix: Keyboard Grabbing Protocol Proposed For Wayland
Red Hat developer Olivier Fourdan has proposed adding a keyboard grabbing protocol to Wayland...
Tags: None
Leave a comment: