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

Compositor does not support the virtual keyboard protocol #45

Open
richo67 opened this issue Nov 25, 2022 · 10 comments
Open

Compositor does not support the virtual keyboard protocol #45

richo67 opened this issue Nov 25, 2022 · 10 comments

Comments

@richo67
Copy link

richo67 commented Nov 25, 2022

Hello I am running latest Manjaro GNOME 43.1 Wayland.
When running following script I am getting error Compositor does not support the virtual keyboard protocol

#!/bin/sh
wtype type $(date +%R)

As I am rather new and only thing I want is that I insert current time in my editor while I am typing, I am not sure what I am doing wrong.
Thank you for your kind help

@BenediktBroich
Copy link

BenediktBroich commented Jan 18, 2023

I do get the same error on nixos 22.11 with GNOME 43.2 Wayland.
It would be nice to have a --version command. readlink -f $( which wtype ) does state it is wtype version 0.4.

@richo67
Copy link
Author

richo67 commented Jan 18, 2023

Not sure what your command readlink -f $( which wtype ) suppose to do, but from installation information I see it is 0.4
I am using ydotool now instead this. Works fine.
-r-

@stolk
Copy link

stolk commented Feb 9, 2023

On Ubuntu 22.10 running gnomeshell-mutter wayland:

$ wtype ctrl+t
Compositor does not support the virtual keyboard protocol

@lostallmymoney
Copy link

Same issue here :
sudo wtype test
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Wayland connection failed

or

wtype test
Compositor does not support the virtual keyboard protocol

@Philetjosie
Copy link

Same here with Ubuntu 22.10:
wtype type 'Hello world'
Compositor does not support the virtual keyboard protocol

Therefore, I can not use it with nerddictation.

@lidgnulinux
Copy link

It will be better to close this issue, since the problem is obvious. The compositor needs to implement the virtual keyboard protocol in order to make wtype works.

@vemonet
Copy link

vemonet commented Jun 29, 2023

This issue is important for potential users who are facing it. Which are the majority of wtype users since wtype does not seems to work with a lot of major linux desktop distro (fedora, ubuntu with gnome)

Having the same problem here with fedora 38 / gnome 44 / Mutter composer

If someone could recommend a Compositor that works with wtype that would be nice, and add this info to the README: which compositors wtype works with? Which compositors it does not work with? Add a pointer to install a compositor that works with wtype

Note that it is really hard to find and read documentation from composer, as it is highly fragmented, and most people trying to use wtype will probably not be composer experts. For example if I take Mutter, the composer for Gnome shell: https://gitlab.gnome.org/GNOME/mutter all the docs we get is:

The API documentation is available at:
Meta: https://gnome.pages.gitlab.gnome.org/mutter/meta/
Clutter: https://gnome.pages.gitlab.gnome.org/mutter/clutter/
Cally: https://gnome.pages.gitlab.gnome.org/mutter/cally/
Cogl: https://gnome.pages.gitlab.gnome.org/mutter/cogl/
CoglPango: https://gnome.pages.gitlab.gnome.org/mutter/cogl-pango/

No idea what those APIs goals are, we need to click on everyone of them and study them to understand what are they purpose, and maybe hope to figure out if it supports the virtual keyboard protocol

@DavidPerezIngeniero
Copy link

Same problem with opensuse tumbleweed and plasma 6.1

@relma2
Copy link

relma2 commented Dec 22, 2024

I'm having the same issue on KDE Plasma - my compositor is (i think) KWin.
This is likely an issue with kwin, as they have not implemented the virtual keyboard protocol and they seem on the fence as to whether they will.

Is there another way for wtype to simpulate keypresses without relying on the Virtual Keyboard Protocol?

@lostallmymoney
Copy link

lostallmymoney commented Dec 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants