by dotancohen · 4y ago · 0 comments
* Cannot drag to copy, middle-click to paste.
* No way to disable sticky keys lock.
* No way to set ESC as Caps Lock.
* No way to set a keyboard shortcut for each specific language. (I use five)
* Alt-tab to an _Application_, not a _Window_. How many times will I Alt-Tab to.... nothing!
* Return from sleep will rearrange the order of the connected monitors, even though they have not been disconnected, if the laptop lid is not opened.
The command+tab switch is also driving me insane!
I loved Ubuntu's (probably around 12.04?) window+workspace (or however they called it) handling, but as all the teams I worked on, the devs used Mac, I decided to give in and switch. I miss the window handling options, but hopefully I gain from other aspects (such as being able to rely on coworkers in case something doesn't work as expected).
I've done this on my Macbook that has the Touch Bar and lacks an escape key to make vi possible.
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000065,"HIDKeyboardModifierMappingDst":0x7000000e7}]}
See https://developer.apple.com/library/archive/technotes/tn2450...Hold ⌥.
> Alt-tab to an _Application_, not a _Window_.
It’s ⌘↹.
I think (at least some of) the others can also be done, but I’m not at my machine right now to check.
Okay, I tried it. Cmd+V doesn't paste what was highlighted. (The parent is referencing Linux's selection, which, AFAIK, doesn't exist in any form on macOS. iTerm2 tries to emulate it by using the clipboard, but that's not the same.)
If I'm supposed to middle click, I have absolutely no idea how to do that.
> It’s ⌘↹.
If "↹" is supposed to be "tab", no, that's no it. Cmd+Tab is, as op says, a switch between applications, and pulls all windows of a given app to the top of the Z-order. Alt+Tab's functionality (pull this particularly window to the top of the Z-order) is usually exactly what I what — I want a particular browser window, which I have positioned to the side so that I can still see, e.g., my editor. But then Cmd+Tab fronts unrelated stuff on top of it.
AFAIK, there is no equivalent to Alt+Tab is macOS. There's Cmd+`, but it is different still.
- Open lid
- Lock screen shows
- Screen fades to black as it realises there's an external monitor
- Finally unlock, windows are all bunched up on the internal display
- Everything becomes unresponsive, maybe even another fade to black
- A minute after initially opening the lid, suddenly all the windows pop back into place
I have no idea if this is improved on M1 machines, but it's frustrating enough on my Intel 16" that I've just pushed all the auto-lock timeouts to excessively large durations.
That is, if you have for example a 27" 4K monitor next to a 27" 1080p monitor then the 1080p version is treated as though it's 25% of the size and the mouse gets "stuck" in the 4K monitor unless you're within the 50% of the screen that Windows thinks your 1080p monitor is adjacent to. This works sanely in macOS as it rightly treats each monitor as having the same size.
It's even more comical if you have a very high dpi laptop next to a 1080p or 1440p large desktop monitor.
It is really forgetful and switches the order of them when it wakes seemingly at random.
macOS's display handling has been flawless to me.
Huh?
System Preferences -> Keyboard -> Modifier Keys -> Caps Lock Key
And, while I don't have personal experience with it, it does seem like it may allow you to set up locale-based shortcuts, as well[2].
[1] https://karabiner-elements.pqrs.org/docs/manual/configuratio...
[2] https://ke-complex-modifications.pqrs.org/#international
macOS will, for me, happily rearrange windows even without sleeping it. Just returning to the machine after ~15 minutes (all while on external power) is sufficient to get a "hold on for 15 seconds while I rearrange the windows like a mad OS".
Meanwhile Linux can resume from sleep pretty much instantly, but Linux is the one that has all the trouble, according to folklore.
The lack of Alt+Tab kills me to this day. Cmd+Tab just doesn't work as well.
As a VIM user, I prefer the Escape function closer, where the Caps Lock key is. But having the old Esc key function as Caps Lock allows KDE to recognize it to swap languages.
You should be able to do this with Karabiner Elements.