xkeysnail
xkeysnail copied to clipboard
Is it possible to bind copy / paste with this tool?
Goal: https://github.com/debauchee/barrier/discussions/1429
I want ⌘+c, ⌘+v to work on my Archlinux machine as it does when I use my Mac. Is this the right tool for the job?
Probably, though, this app requires root access to work. kmonad
, xmodmap
et al. should be able to do what you describe without root access. xkeysnail
is more suited for remapping keybindings on a per-application basis; xmodmap
and other key rebinding programs can't do that.
Unless you are simply trying to skip my project @kaihendry then I have already done the work for you.. using xkeysnail (slightly modified/forked) and mine has a GUI too and daemonizes xkeysnail for you as a systemd service. Unlike a 2 years ago though there are a couple of other solutions that can do dynamic key remaps, although I believe this to be the 1st one on Linux.
https://github.com/rbreaves/kinto
xremap and keyd are being rapidly developed and are beginning to support Wayland, something I have been pushing the dev and community here to pursue or take more seriously. I have an issue ticket with some early work on it but was not happy with the performance. Also some changes have happened in Wayland to require extensions or outside utilities that is not part of gnome-shell to work.. and still things are very much tied to the DE when using Wayland, unlike X11.
@rbreaves What did you change in your fork? At a quick glance it looks like you're fork is pointing to version 0.3 (vs 0.4 released here)... is that correct?
Yea, I forked it before the 0.4 release & one of my changes keeps modifiers keys held till the user releases it versus emitting or triggering a hotkeys combo quickly while releasing your modifier keys even if they’re physically still held.
Not everyone here liked that so that change was removed in their latest release. It broke other behavior that just isn’t compatible w/ what I need.
I think you're referring to all the chatter here: https://github.com/mooz/xkeysnail/pull/87