atx / wtype

xdotool type for wayland
MIT License
347 stars 13 forks source link

What are the supported desktop environments? #22

Closed tom-james-watson closed 3 years ago

tom-james-watson commented 3 years ago

When I try to run wtype on Pop!_OS 20.10 on Gnome I get:

Compositor does not support the virtual keyboard protocol

Is there a list of what desktop environments we should expect this to work on? What would be needed to get this working on gnome? Thanks!

atx commented 3 years ago

The compositor needs to support the virtual-keyboard-unstable-v1 protocol. It looks like mutter (the Gnome compositor) does not implement this yet. I do not see an issue about this in their Gitlab repository, so it might be a good idea to ask there

Other than that, it should work on any wlroots-based compositor (provided the protocol support gets properly initialized). Not sure about KDE.

One way to check is by running wev -g and looking for something like:

[02:     wl_registry] global: interface: 'zwp_virtual_keyboard_manager_v1', version: 1, name: 30

in its output.

edvard-munch commented 2 years ago

I wish that the Readme had the info about wtype not working on Gnome

mmoya commented 1 year ago

The compositor needs to support the virtual-keyboard-unstable-v1 protocol. It looks like mutter (the Gnome compositor) does not implement this yet. I do not see an issue about this in their Gitlab repository, so it might be a good idea to ask there

Someone already requested support for it in mutter#1974. Upstream said it's unlikely this will be supported and recommended using libei instead.