autokey / autokey

AutoKey, a desktop automation utility for Linux and X11.
https://autokey.github.io/index.html
GNU General Public License v3.0
3.23k stars 184 forks source link

Support unicode #283

Open Drugoy opened 5 years ago

Drugoy commented 5 years ago

Currently both trigger and replacement parts of hotstrings/abbreviations seem to ignore non-ASCII chars.

114 covers the trigger part, but the same is absolutely valid for replacement part.

Try to make a hotstring/abbreviation that would send θ or any other non-ASCII char - those chars will simply get filtered out.

luziferius commented 5 years ago

Yeah, the current X11 interface used (XRecord) can mostly only do, what you can do using the currently configured keyboard layout. Pasting using the clipboard should work to output non-ASCII characters.

There’s currently a promising possible solution for the output side here #255: If xdo proves stable and fast enough (https://github.com/autokey/autokey/issues/255#issuecomment-479770786), it can be used to implement the output side: https://github.com/autokey/autokey/issues/255#issuecomment-493215258

EcherArt commented 3 years ago

Pasting using the clipboard does not work with abbreviations containing non-ASCII characters. Try to type in smth using a СУД abbreviation. Please, fix it.

josephj11 commented 3 years ago

@EcherArt I'm not an AutoKey developer, but I believe that fixing abbreviations (and replacing XRecord) would require substantial modifications to AutoKey. We have a a few great newer developers, but no one who knows our code that well yet since our prior lead developer (luziferius) left.

This is something that should definitely be done, but don't hold your breath. There is currently no lead developer and we have a growing stack of great enhancements/fixes with no one to integrate them into a new release. Small changes are being added to our development branch, but that is alpha code.

If you know any competent Python developers who want to run a project, send them our way!

K0stov commented 3 months ago

Was experimenting with abbreviations today for Serbian Cyrillic in order to make a more ergonomic keyboard layout. Hope this gets resolved in the future and that the developers have gained experience—it would make some peoples’ workflow far easier.

josephj11 commented 3 months ago

This will probably have to be investigated as part of the Wayland upgrade if we get some developers to work on that.