5 ms·
I had to use a Mac at work some time ago. Here's my list: * Cannot drag to copy, middle-click to paste. * No way to disable sticky keys lock. * No way to set
by dotancohen 5y ago
I had to use a Mac at work some time ago. Here's my list:
* 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.
- tom_ 5y agoTo remap keys, you may be able to use hidutil. For example, to remap the Application key to right-hand Command: hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000065,"HIDKeyboardModifierMappingDst":0x7000000e7}]} See https://developer.apple.com/library/archive/technotes/tn2450/_index.html https://developer.apple.com/library/archive/technotes/tn2450...
- deleted 5y ago[deleted]
- Reason077 5y ago> "No way to set ESC as Caps Lock." Huh? System Preferences -> Keyboard -> Modifier Keys -> Caps Lock Key
- Hamuko 5y agoIf it's about making the physical Esc key function as a Caps Lock, that's not an option in the modifier keys. If it's about making the physical Caps Lock key work as an Esc, then that's possible.
- Reason077 5y agoOh, yes you're correct. Strange that they let you do it one way but not the other.
- shric 5y agoIt's probably because many people have no use for caps lock so want an escape key on the home row. Not many people want another caps lock key in a hard to reach position.
- jerrycruncher 5y agoKarabiner Elements[1] should let you remap the Esc 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/configuration/configure-simple-modifications/ https://karabiner-elements.pqrs.org/docs/manual/configuratio... [2] https://ke-complex-modifications.pqrs.org/#international https://ke-complex-modifications.pqrs.org/#international
- lawtalkinghuman 5y ago> No way to set ESC as Caps Lock. You should be able to do this with Karabiner Elements.
- serial_dev 5y agoWhile your point is true, that you cannot set ESC to Caps Lock without external apps, you can use Karabiner to do that. Very useful when typing, and with Vim https://karabiner-elements.pqrs.org/ https://karabiner-elements.pqrs.org/ 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).
- deleted 5y ago[deleted]
- shagie 5y agoYou can do it in the modifier keys section of the keyboard control - https://imgur.com/a/Mch75L0 https://imgur.com/a/Mch75L0 I've done this on my Macbook that has the Touch Bar and lacks an escape key to make vi possible.
- vonseel 5y agoCorrect, I'm not sure when they added this but you can modify this now in System Preferences>Keyboard>Modifier Keys and you can set different settings for the built-in laptop keyboard vs. an external magic keyboard, e.g.
- shrew 5y agoAh that last point really struck a nerve. - 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.
- shric 5y agoIt's vastly improved on the M1 machines, I shared the same frustrations on the Intel 16".
- maleldil 5y agoIME, macOS (Monterey on M1 Pro) handles this better than Windows 10. Everything goes to the right places right away, whereas in Windows you'd have windows all over the place.
- shric 5y agoWindows 10 also, last time I checked, doesn't understand the concept of DPI properly. No idea if it's been fixed in 11. 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.
- happymellon 5y agoSort of. In my experience, MacOS cannot reliably handle multiple external monitors. It is really forgetful and switches the order of them when it wakes seemingly at random.
- 5y ago
- latexr 5y ago> Cannot drag to copy 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.
- deathanatos 5y ago> Hold ⌥. 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.
- koprulusector 5y agoWait you want to set ESC as caps lock? I personally set Caps Lock to ESC but never heard of anyone wanting to do the other way around…
- dotancohen 5y agoI use Caps Lock to swap languages. Win-1 is English, Win-2 is Hebrew, etc etc for Russian Arabic and Greek. But Caps Lock swaps between the last two used languages, e.g. so that I can write an English-Hebrew message to one colleague but I can write Hebrew-Arabic in a chat with a friend. 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.
- vimy 5y agoYou can remap it in the keyboard settings. I use alt-tab to switch between windows of the same app.
- deathanatos 5y ago> * 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.* 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.
- natdempk 5y agoYou can use this app to get the alt-tab behavior from Windows on macOS if you want: https://alt-tab-macos.netlify.app/ https://alt-tab-macos.netlify.app/