News for hackers. Stuff that matters.
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?
Re:Keyd: Linux Key Remapper by koito17 on Saturday June 03, 2023 @06:12AM (#36175288)
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.

Re:Keyd: Linux Key Remapper by SSLy on Saturday June 03, 2023 @06:31AM (#36175377)
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
Re:Keyd: Linux Key Remapper by knazarov on Saturday June 03, 2023 @06:39AM (#36175419)
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-insert
Re:Keyd: Linux Key Remapper by teo_zero on Saturday June 03, 2023 @01:30PM (#36178641)
I don't get this. You define the layer meta_mac but there's no key that uses it...
Re:Keyd: Linux Key Remapper by gigatexal on Saturday June 03, 2023 @03:57PM (#36179985)
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

Re:Keyd: Linux Key Remapper by SSLy on Saturday June 03, 2023 @07:51PM (#36181652)
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