← Back to context

Comment by chongli

2 years ago

I think it’s what you’re used to. I’m used to the Mac keyboard (since 1994) and I much prefer the command key for keyboard shortcuts. I can use my thumb all day but pressing control with my pinkie starts to hurt really quickly!

I need to find a guide on how to get the Mac keyboard experience on Linux. I agree that it’s objectively better.

  • You can’t, basically. The copy key isn’t configurable for example, you’d need to rewrite the apps from source to achieve this. Some dynamically link to shared library UI toolkits that you could patch, others implement it themselves… it’d be a never-ending game of finding new broken apps and fixing them one by one (and that’s for open source apps, forget closed source ones.)

    You could map Cmd to Ctrl but that only fixes copy/paste, but now it will send a SIGTERM to the terminal on Cmd-C now, which means that’s still a pain.

    You could write some custom keyboard driver that intelligently maps the command keys to the right keys the app expects, dynamically based on some rules, but that sounds horribly brittle and likely unworkable.

  • I agree. I really like the ALT shortcuts on Haiku, and I remap my external keyboard on macOS so command is mapped to ALT rather than Super.

Press Ctrl with a side of your palm, I've been doing that for years after a brief stint with emacs, no problems with the finger.

Also, on decent keyboards (not necessarily expensive) you can remap the keys anyway.

  • It’s not really an issue for me because I use a Mac. Having said that, I did remap the caps lock key to control which helps a lot. I usually press it with my ring finger.