I don't know why this is, but: My 2012 rMBP will, occasionally, refuse to connect with my MagicMouse when I open it at my desk in the mornings. In the past, I just rebooted to solve the problem, but that's a hassle, so I went looking for another approach. Mac OS X Hints, Macs, OS X System 17 Comments I have quite a number of Bluetooth devices connected to my iMac: Apple’s Magic Mouse 2, Magic Keyboard, and the original Magic Trackpad. Someone on the Apple forums suggested it was tied to the Wifi driver, and that cycling the wifi setting might help. I didn't expect it to work, but I tried it anyway the next time I had the issue. Worked like a charm. And has continued to work every time the issue has come up since -- say, half a dozen times, so it's not just a fluke. Now, my problem was 'won't connect on wake from sleep' not 'random loss of connection,' but you might try this approach anyway. There's no cost to it, right? I googled it before coming here for help. It did not answer my question and neither did you. Well, maybe you should have stated that you tried that already, because that is the standard way of restarting Bluetooth. Thanks for the attitude, though. Maybe open up terminal and type in these two commands: sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport That unloads and reloads the Bluetooth controller. Free antivirus for mac. This was found and • • • • •. A curated list of shell commands and tools specific to OS X. “You don’t have to know everything. You simply need to know where to find it when necessary.” (John Brunner) If you want to contribute, you are highly encouraged to do so. Please read the. For more terminal shell goodness, please also see this list's sister list. Caffeinating When you find something helpful in here, you could buy me a coffee. I spend a lot of time and effort on curating this list. Keeping me properly caffeinated accelerates things. And it would really make my day. Kindness of strangers and all that. If you can't or won't, no hard feelings. It's available completely free for a reason. Still, it would be awesome. Patreon: Contents • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • Appearance Transparency Transparency in Menu and Windows. # Stop Responding to Key Presses launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist # Respond to Key Presses (Default) launchctl load -w /System/Library/LaunchAgents/com.apple.rcd.plist From El Capitan onwards, you can either disable SIP or resort to a kind of hack, which will make iTunes inaccessible to any user, effectively preventing it from starting itself or its helpers. Be aware that for all intents and purposes this will trash your iTunes installation and may conflict with OS updates down the road. Traceroute github.com SSH Permanently Add Private Key Passphrase to SSH Agent Prior to macOS Sierra, ssh would present a dialog asking for your passphrase and would offer the option to store it into the keychain. This UI was deprecated some time ago and has been removed. Instead, a new UseKeychain option was introduced in macOS Sierra allowing users to specify whether they would like for the passphrase to be stored in the keychain. This option was enabled by default on macOS Sierra, which caused all passphrases to be stored in the keychain. This was not the intended default behavior, so this has been changed in macOS 10.12.2. # Status defaults read com.apple.screensaver askForPassword # Enable defaults write com.apple.screensaver askForPassword -int 1 # Disable (Default) defaults write com.apple.screensaver askForPassword -int 0 Wiping Data Note: The srm command appears to have been removed on MacOS after 10.9. There is a note on an hinting as to why: With an SSD drive, Secure Erase and Erasing Free Space are not available in Disk Utility. These options are not needed for an SSD drive because a standard erase makes it difficult to recover data from an SSD. ![]() Securely Remove File. Brew install zsh && sudo sh -c 'echo $(brew --prefix)/bin/zsh >> /etc/shells ' && chsh -s $(brew --prefix )/bin/zsh • - Zsh is a shell designed for interactive use, although it is also a powerful scripting language. • - An open source, community-driven framework for managing your Zsh configuration. • - A speedy Zsh framework. Enriches the command line interface environment with sane defaults, aliases, functions, auto completion, and prompt themes. • - Another open source framework for managing your zsh configuration. ![]() Zgen will load oh-my-zsh compatible plugins and themes and has the advantage of both being faster and automatically cloning any plugins used in your configuration for you. Terminal Fonts • - A family of four fixed-width fonts designed with coding in mind. • - A gallery and repository of monospaced fonts for developers. • - A font family based on the Vera Fonts. • - Hack is hand groomed and optically balanced to be your go-to code face.
0 Комментарии
Оставить ответ. |
АвторНапишите что-нибудь о себе. Не надо ничего особенного, просто общие данные. Архивы
Март 2019
Категории |