sioyek icon indicating copy to clipboard operation
sioyek copied to clipboard

Sioyek reads wrong input when using Karabiner

Open Psirus opened this issue 1 year ago • 4 comments

I'm trying to use Sioyek with the Neo layout. The higher layers are implemented on MacOS using Karabiner. Most programs work just fine like this. But Sioyek (and also zathura) don't seem to care about the remapped keys.

In the Karabiner event viewer, the semicolon needed for Sioyek commands for example looks like this, and is created by pressing "d", but on a different layer:

   "type": "down",
    "name": {"key_code":"semicolon"},
    "usagePage": "7 (0x0007)",
    "usage": "51 (0x0033)",
    "misc": "flags right_option"

However, Sioyek seems to only see the pressed "d" key:

Warning: invalid command (key:d); resetting to root

Any idea what is causing this?

Psirus avatar Nov 27 '24 14:11 Psirus

Which version of sioyek are you using? Does the issue happen on the preview release here: https://github.com/ahrm/sioyek/releases/tag/sioyek3-alpha0?

ahrm avatar Nov 27 '24 14:11 ahrm

sioyek --version gives 2.0.0, which I installed using homebrew. Installing the alpha unfortunately didn't work. When I try to install it, MacOS says

„sioyek“ is damaged and cannot be opened. It is recommended to eject the image.

Might not be the exact wording, I translated it from German.

Psirus avatar Nov 27 '24 14:11 Psirus

See this: https://github.com/ahrm/sioyek/discussions/1156#discussioncomment-10818199.

ahrm avatar Nov 27 '24 15:11 ahrm

Thanks, that helped. But unfortunately, the keymapping issue is there in the alpha as well.

Just FYI, the version number still shows 2.0.0 for the alpha build.

Psirus avatar Nov 27 '24 15:11 Psirus