wtype icon indicating copy to clipboard operation
wtype copied to clipboard

Use input-method if available

Open emersion opened this issue 4 years ago • 8 comments

This removes the need for generating a custom keymap and simulating input events. input-method can send UTF8 text directly.

emersion avatar Apr 06 '20 14:04 emersion

Quick demo: https://git.sr.ht/~emersion/wl-ime-type

emersion avatar Sep 22 '21 18:09 emersion

If I'm not mistaken, it looks like KDE uses the input-method protocol as well for emulating a virtual keyboard. Assuming that's the case, if wtype does add support for it, it would benefit programs like tessen which aim to support auto-typing of data on wlroots based compositors and on KDE.

ayushnix avatar Feb 24 '22 16:02 ayushnix

I was trying to find out why wtype is not working under KDE and found my way here. So if I'm understanding correctly, wtype currently supports neither KDE nor Gnome because neither supports virtual-keyboard-unstable-v1? That's rather disappointing TBH.

I'm not trying to be a dick about it, but frankly wtype is not going to be very useful if the protocol it relies on is not supported by the two most popular DEs out there. I strongly agree with the opinion here that this should at least be made clear in README.

cyqsimon avatar Aug 29 '22 08:08 cyqsimon

This issue tracker presents an overview of the state of autotyping protocols and their support in various desktop environments and window managers on Wayland.

ayushnix avatar Aug 29 '22 16:08 ayushnix

+1 for KDE support.

DonQuiProgger avatar Mar 13 '24 14:03 DonQuiProgger

It is worth mentioning that the example uses zwp-input-method-v2, which isn't actually supported by KWin. KWin only supports zwp-input-method-v1.

OctoRocket avatar Jun 10 '24 19:06 OctoRocket

for KDE this should work https://github.com/jinliu/kdotool

novski avatar Jul 31 '24 18:07 novski

for KDE this should work https://github.com/jinliu/kdotool

They state that they will not support keyboard commands. The goal is to control windows through Kwin API

DonQuiProgger avatar Aug 05 '24 12:08 DonQuiProgger