Skip to content

Use input-method if available #5

Open

Description

@emersion

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

Activity

  1. emersion commented on Sep 22, 2021

    @emersion
    ContributorAuthor
  2. ayushnix commented on Feb 24, 2022

    @ayushnix

    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.

  3. cyqsimon commented on Aug 29, 2022

    @cyqsimon

    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.

  4. ayushnix commented on Aug 29, 2022

    @ayushnix

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

  5. jarlucmat commented on Mar 13, 2024

    @jarlucmat

    +1 for KDE support.

  6. OctoRocket commented on Jun 10, 2024

    @OctoRocket

    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.

  7. novski commented on Jul 31, 2024

    @novski

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

  8. jarlucmat commented on Aug 5, 2024

    @jarlucmat

    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

  9. HoroTW commented on Oct 25, 2024

    @HoroTW

    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

  10. ayushnix commented on Oct 25, 2024

    @ayushnix

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

  11. HoroTW commented on Nov 15, 2024

    @HoroTW

    Alright 👌🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions