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

Use input-method if available #5

Open
emersion opened this issue Apr 6, 2020 · 11 comments
Open

Use input-method if available #5

emersion opened this issue Apr 6, 2020 · 11 comments

Comments

@emersion
Copy link
Contributor

emersion commented Apr 6, 2020

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

@emersion
Copy link
Contributor Author

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

@ayushnix
Copy link

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.

@cyqsimon
Copy link

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.

@ayushnix
Copy link

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

@poleprogger
Copy link

+1 for KDE support.

@OctoRocket
Copy link

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.

@novski
Copy link

novski commented Jul 31, 2024

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

@poleprogger
Copy link

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

@HoroTW
Copy link

HoroTW commented Oct 25, 2024

What about ydotool, they changed it into a client/daemon setup so without looking into it... this could allow for a better setup in terms of not giving users direct access to /dev/uinput ... but ofc there is still a part that interfaces with it.
Would this change your view on it (original request: ayushnix/tessen#20)? @ayushnix

@ayushnix
Copy link

@HoroTW I'm not working on tessen these days. 😅

@HoroTW
Copy link

HoroTW commented Nov 15, 2024

Alright 👌🙂

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

7 participants