News for hackers. Stuff that matters.
Re:Lima: Linux-on-Mac by ISL on Friday May 14, 2021 @02:06PM (#27157610)
I've been using Debian almost-exclusively since 2001. A new job requires that I work on MacOS, which has been fun.

The primary things that I am struggling with are the keybindings and loss of true fluxbox sloppy focus. zsh and the BSD tools take a little getting used to (different ps, grep, sed, etc?), but are quite serviceable.

But lordy, do I wish I could hit windows-A at any time and instantly get a new terminal, as I've been doing for twenty years. How do y'all Mac people live? ;).

Re:Lima: Linux-on-Mac by kergonath on Friday May 14, 2021 @02:28PM (#27157943)
Yeah the different keyboard shortcuts are annoying. Though I have the opposite perspective, and macOS’ feel much more natural.

That said, on macOS there is a preference pane in which you can rebind almost all shortcuts, and add shortcuts for things that don’t have them, and it works OS-wide without fuss. In particular you can add shortcuts to services (which is something you probably want to look into), and you can set Automator workflows as services. I haven’t seen anything quite like that on Linux.

Re:Lima: Linux-on-Mac by ISL on Friday May 14, 2021 @02:33PM (#27158006)
I do love that the command-key allows terminal copy/paste without overloading Ctrl-C (and was overjoyed when I center-clicked by reflex and the Terminal did the right thing :))
Re:Lima: Linux-on-Mac by Toutouxc on Friday May 14, 2021 @02:16PM (#27157766)
> wish I could hit windows-A at any time and instantly get a new terminal

You can create your own macOS native workflows with Automator and launch them with macOS keyboard shortcuts. It's all built right in.

https://www.computerhope.com/issues/ch002051.htm

Re:Lima: Linux-on-Mac by ISL on Friday May 14, 2021 @02:33PM (#27158017)
Will that override command-A for select-all? (which would be ctrl-A on most other platforms) Looks like maybe-not, through redirects?
Re:Lima: Linux-on-Mac by systoll on Friday May 14, 2021 @11:20PM (#27162031)
It would override command+A for select all.

You could rebind select if you wanted, I wouldn't really suggest doing that though. The command key sends the same key-code as the windows key, but it's not on the same place on the keyboard.

If you're on a Mac keyboard, the muscle memory should map to Option+a. Which by default types å.

If you're using a PC keyboard with your Mac, and you're not already used to it… you might want to look at 'System Preferences > Keyboard > Modifier Keys...' so that your setup either:

1. Puts the modifier keys where they are on Mac keyboards, by setting Option->Command, and Command->Option.

2. Puts most shortcuts where they are on PC keyboards, by setting Control->Command.