Re:Keyd: Linux Key Remapper
by notpushkin on Saturday June 03, 2023 @05:39AM
(#36175138)
Tangential: I'm currently looking for a way to map Mac-style shortcuts on Linux (e. g. Meta + C/V for copy / paste). The only thing I know is https://kinto.sh/, but it looks a bit too janky to my taste. Any other ideas?
[ Parent
| on HN ]
Also tangential: I'm looking for this kind of solution too. I always rejected xmodmap on the basis of it being specific to X11 and not necessarily "working everywhere".
I personally want to be able to use S-c and S-v to copy-paste everywhere, but have a solution that works across all programs: terminal, Emacs, Firefox, etc.
I have looked into this a year ago, with the goal of having some key - named control or not- always perform the emacs-lite operations we know from readline. But it seems like it's very tedious, as most of GUI toolkits expect the windows-like behaviour and are not reconfigurable
This is how I do it in keyd by remapping Meta+C/V to C+Ins/Shift+Ins (keyd.conf):
[ids]
*
[main]
capslock=overload(control, esc)
[meta_mac:M]
c=C-insert
v=S-insertI don't get this. You define the layer meta_mac but there's no key that uses it...
maybe on a mac keyboard this [meta_mac:M] is the key and the stuff below it is how it's configured? I'm not 100% sure.
Re:Keyd: Linux Key Remapper
by davidkellis on Saturday June 03, 2023 @10:40AM
(#36177067)
I was looking for the same thing. This is what I hacked together to scratch the itch: https://github.com/davidkellis/mackeys
I run PopOS
Damn, this looks great.
Re:Keyd: Linux Key Remapper
by alexhornby on Saturday June 03, 2023 @07:34PM
(#36181561)
KDE has option to swap ctrl and meta or ctrl alt and meta depending on your keyboard. If you then map meta to ctrl in the kconsole settings things are very mac like.
KDE even has good global menu