Skip to content

Add support for wl-ime-type#236

Merged
fdw merged 1 commit intofdw:mainfrom
nicksellen:add/wl-ime-type
Jan 2, 2026
Merged

Add support for wl-ime-type#236
fdw merged 1 commit intofdw:mainfrom
nicksellen:add/wl-ime-type

Conversation

@nicksellen
Copy link
Contributor

Added support for wl-ime-type for typing. As far as I can see it doesn't support sending modifiers.

The protocol does: https://gitlab.freedesktop.org/emersion/wl-ime-type/-/blob/master/protocol/input-method-unstable-v2.xml?ref_type=heads#L430 .. but the source code doesn't mention modifiers anywhere https://gitlab.freedesktop.org/emersion/wl-ime-type/-/blob/master/main.c?ref_type=heads

It seems it would be useful to be able to use wl-ime-type for typing and use other tools for other methods, but that's a bit bigger scope.

@fdw
Copy link
Owner

fdw commented Jan 2, 2026

Thank you, looks good so far.

As far as I can see it doesn't support sending modifiers.

Pity. I think I'd still add this PR, but do you think wl-ime-type might add support for modifiers?

Also, you've changed the man page, so could you please update the Readme, too?

@nicksellen
Copy link
Contributor Author

Pity. I think I'd still add this PR, but do you think wl-ime-type might add support for modifiers?

No idea, I'll email them!

Also, you've changed the man page, so could you please update the Readme, too?

Not sure I understand. I can see that I changed the readme, but not sure where the man page comes into it.

@fdw
Copy link
Owner

fdw commented Jan 2, 2026

Sorry, GitHub's interface got the better of me. Looking good, thanks.

Could you please squash the two commits, then I'll merge it 🙂

@nicksellen
Copy link
Contributor Author

Done!

@fdw fdw merged commit 292ef15 into fdw:main Jan 2, 2026
5 checks passed
@fdw
Copy link
Owner

fdw commented Jan 2, 2026

Thank you very much!

@nicksellen
Copy link
Contributor Author

The developer of wl-ime-type replied about whether the modifiers can be added fyi:

The input-method protocol isn't a keyboard protocol. It only supports
sending text, not simulate physical keyboard key presses.

Support for some "actions" (which inclue copy/paste) are in discussion:

@fdw
Copy link
Owner

fdw commented Jan 5, 2026

Copy and paste would be what we need, but only if applications don't respect the protocol anyway.

Thanks for the PR and reaching out to them!

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

Successfully merging this pull request may close these issues.

2 participants