Closed Sadi58 closed 2 years ago
I second this. I'm on Arch GNOME Wayland, with wtype
version 3.0
installed from AUR.
Running sudo wtype
results in:
error: XDG_RUNTIME_DIR not set in the environment.
Wayland connection failed
Right, this is because Gnome does not support the virtual-keyboard protocol, nor does it plan to do so apparently.
The Gnome issue tracking this is here, including some hints as to what the planned alternative is.
@atx Sorry, I forgot to mention that I use KDE neon. So this should not be Gnome-related?
@atx Sorry, I forgot to mention that I use KDE neon. So this should not be Gnome-related?
Ah, sorry, was focused too much on the second comment. Unfortunately the answer is the same here --- KWin does not yet support the virtual-keyboard protocol. Compared to Gnome, the KDE developers seem undecided whether they want to implement it or not.
@atx Thanks! I hope they implement it.
Having installed
wtype
under KDE neon from https://packages.debian.org/sid/amd64/wtype/download, I'm trying to usewtype
as a replacement forxdotool
andwmctrl
in a couple of my startup scripts, which launch an app and then minimize or close its window (in the absence such feature in app settings). However, when I try to use a custom keyboard shortcut (e.g. meta+m) likewtype -M logo m -m logo m
to minimize the current window, I get this message:Compositor does not support the virtual keyboard protocol
I wonder what this means, and if/how I can overcome it.Also, I couldn't figure out how to enter (Page) Down or (Page) Up. And also I think it might be better to add
meta
andsuper
for the key defined currently aslogo
andwin
.