by trishume on 9/6/20, 3:15 PM with 229 comments
by luizfelberti on 9/6/20, 7:29 PM
I almost locked up my entire computer this week, presumably because of this... here's the story for that:
I had setup unbound listening on 127.0.0.1:53 as the only DNS resolver for all network interfaces, so that I hijack several responses that I might want to (e.g. adnet sinkholes) and forward the rest to Google/Cloudflare over TLS.
When I rebooted the Mac, the entire computer was so fucked that I panicked cause I thought my SSD was failing. Turns out unbound failed to start so all DNS was down. I suspect it to be the "phoning home" because when I opened the Terminal, running `ps aux | grep unbound` took like 5 seconds to return anything (as did everything else that tried to run), and that behavior has been reported by other users as Gatekeeper's Phone Home checks being at fault.
So that's why I was wondering if anyone has found out how to keep macOS from doing this (preferably without disabling all of SIP), cause that'd be one hell of a tip...
by newsbinator on 9/6/20, 4:19 PM
> Quartz Debug: There are some apps that reduce your battery life in an insidious way where it doesn’t show as CPU usage for their process but as increased WindowServer CPU usage. If your WindowServer process CPU usage is above maybe 6-10% when you’re not doing anything, some app in the background is probably spamming 60fps animation updates. As far as I know you can only figure out which app is at fault by getting the Quartz Debug app from Apple’s additional developer tools, enabling flash screen updates (and no delay after flash), then going to the overview mode (four finger swipe up) and looking for flashing. This same problem can also occur on Linux and Windows but I don’t know how much power it saps there.
by lunixbochs on 9/6/20, 7:15 PM
defaults write com.apple.Dock appswitcher-all-displays -bool true
killall Dock
by doctoboggan on 9/6/20, 5:04 PM
If you hit space at after invoking the crosshairs then you can take full window screenshots. This mode is nice for marketing material as it also captures the drop shadow and rounded corners rendered properly as a transparent png.
by ViViDboarder on 9/6/20, 5:23 PM
I use Alfred quite a bit as well, though not as an alternative to Spotlight. I use it for automations via workflows instead. Turning on or off VPNs, sending files, converting date times, reading 2FA codes off my Yubikey, etc. I haven’t found a great Linux alternative for this. Ideally I’d have something that lasts me reuse my workflows that I’ve written.
Not mentioned in the article is Better Touch Tool[1]. I’ve had this since the original Intel MBP and it’s been incredible for making the fancy trackpads and touch bars actually useful. I’ve got a Pomodoro timer, Dark Mode toggle, Do Not Disturb toggle (also automated by ControlPlane), and lots of simpler app shortcuts.
I responded to someone else about ControlPlane a bit further down, but I have it automate things like DND when I start a call from my Mac.
by hardwaregeek on 9/6/20, 5:37 PM
If only reddit didn't use C-b to insert bold text, it'd make navigating in text boxes a lot easier.
by chime on 9/6/20, 4:04 PM
by eyesee on 9/6/20, 6:11 PM
by ladberg on 9/6/20, 9:43 PM
by WantonQuantum on 9/7/20, 2:50 AM
System Preferences -> Desktop & Screen Saver -> Screen Saver -> Hot Corners -> Bottom Left Corner (or whichever you prefer) -> Put Display To Sleep (or Lock Screen if you prefer).
by evadne on 9/6/20, 4:36 PM
ControlPlane https://github.com/dustinrue/ControlPlane
by dschuessler on 9/6/20, 7:00 PM
- Ctrl+Cmd+Space brings up a Unicode-Char-Picker
- Shift+Alt+Cmd+V pastes from your clipboard without formatting from the source
- Shift+Fn+Ctrl+Power shuts off the display
by adamnemecek on 9/6/20, 4:16 PM
by eric-hu on 9/7/20, 3:45 AM
There’s the keyboard preference which I have enabled, but it doesn’t behave the same as my non Touch Bar MacBook. I can keyboard-interact with confirmation dialogs on my 2012 MacBook to hit Ok or Cancel. On my 2019, I must use the trackpad or the Touch Bar. I’ve been googling for a fix or even a bug report but it’s a surprisingly hard thing to google for.
by macinjosh on 9/6/20, 4:05 PM
You can drag the Spotlight search bar anywhere on your screen. But if you want to restore it to the default position long tap/click on the Spotlight icon in the menu bar and it will snap back.
by Gys on 9/6/20, 6:24 PM
by totetsu on 9/7/20, 1:45 AM
organize windows without using a mouse. https://github.com/eczarny/spectacle
stop accidentally navigating back in chrome with the touchpad.
defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE
Something about enabling darkmode? defaults write com.google.inputmethod.Japanese.Tool.DictionaryTool NSRequiresAquaSystemAppearance 0
show hidden files in finder? defaults write com.apple.finder AppleShowAllFiles YES
Disable attention seeking app bouncing animation, for those of us sensitive to these things.. defaults write com.apple.dock no-bouncing -bool TRUE
If you run dnsmasq, you can add
addn-hosts=/etc/dnsmasq-hosts-blocking/
to the your dnsmasq.conf. In that folder you can put
files from https://github.com/unixsheikh/dnsmasq-blacklist and https://github.com/adversarialtools/apple-telemetry
to try and block apple and others telemetry .. but apple just seems to get around it by using, x.apple.com.akadns.net or x.apple-dns.netby uniqueid on 9/6/20, 9:26 PM
by mindfulhack on 9/7/20, 5:38 AM
Make your Cmd-Tab do everything you've ever wanted it to do that it currently can't:
by peterhil on 9/7/20, 12:44 PM
For me, an immediately useful tip was hiding user login for Git user.
I would add the following tips to above article:
# System resource usage
* USE Method: Mac OS X Performance Checklist: http://www.brendangregg.com/USEmethod/use-macosx.html
# Emacs users
* For Emacs users with their config in version control, I would recommend downloading the latest Emacs.app version 27.1 instead of using Aquamacs, because Aquamacs has a bunch of customizations that do not play so well with original Emacs.
https://www.gnu.org/software/emacs/
# Printing
* If you have Acrobat or Acrobat Professional installed, add an Adobe PDF printer from System Preferences > Printers and scanners, so you can make better PDF files by printing from any application.
* You can save anything as PDF by choosing "Save as PDF" from the dropdown on the lower left corner on any print dialog.
* Open CUPS web UI by opening the following URL in a web browser:
http://localhost:631/ http://localhost:631/printers/
You may need to enable the web user interface by issuing:
cupsctl WebInterface=yes
Warning! Be sure that you are behind NAT or a firewall so as not to expose the web UI to internet!
by ChrisMarshallNY on 9/7/20, 1:30 AM
Also no Little Snitch.
I have had problems with iStat Menu. I really want it to work, but it always introduces random crashes into my system. Every couple of years, I try it again, but it hasn’t stabilized yet.
by Hammershaft on 9/6/20, 6:57 PM
by johnmw on 9/7/20, 8:26 PM
For a cool "hacker" (and more powerful in many ways) alternative to spotlight, install iTerm2, and activate a drop down quake style hotkey window. [1]
Then install broot, which is a fantastic command line search tool. [2]
by jungletime on 9/7/20, 12:33 AM
So my macbook is closed, inside a drawer, covered by a board, and connected to external monitor and keyboard.
1. How can I boot into windows from the mac desktop. Current procedure is to take off the board, open up the laptop, wait for startup, press a macbook key waiting for the os screen to start from which I can select windows icon. For some reason my external keyboard doesn't work during boot time. Its very annoying. Is there an app that will boot me into windows, from a mac desktop?
2. I have to shutdown the laptop at night because the fans are driving me crazy. But that means I have to pullout the macbook out of the drawer in the mornings, and open up the laptop to start it with a power button. Any apps that will put the macbook into sleep mode, that turn off the fans and external drives, quickly.
3. I miss cut and past for files the way it was on windows. This effectively moves them. Now I have to hold a key down and drag on a mac. Requires much more coordination, in selecting the destination folder. Is there anything equivalent to cut and paste on mac?
Thanks for any help.
by dwighttk on 9/6/20, 7:14 PM
Levelator (free): https://apps.apple.com/us/app/the-levelator/id1493326487?mt=...
LaunchBar (alternative to Alfred, free trial): https://www.obdev.at/products/launchbar/index.html
by Austin_Conlon on 9/6/20, 6:13 PM
by catmistake on 9/6/20, 7:20 PM
by mekster on 9/6/20, 4:43 PM
Unclutter - This gives you a nice non intrusive "memo zone" as well as manage your clipboard, so that copying password won't lose your user name into limbo.
BetterTouchTools - Who'll live without this one? Just give "three fingers swipe down" mapped to cmd-w and your life will be quite that much better. No more click at the upper corner tiny button to close a window which is an insanely dumb usability. Add several more to your likings and your life is even rosier.
And use a password manager, so that a new login made from your phone will be on your mac without effort and nothing gets lost on clean install even if you forget to export them if they're saved in the cloud, not to mention you can have randomized password for every site, but make sure to secure the master password with 2fa.
by michelb on 9/7/20, 8:20 AM
by AnonHP on 9/6/20, 5:11 PM
Instead of wasting time dragging and dropping, just press Cmd+Down Arrow to open the files (usually images are associated with Preview.app as the default application). Cmd+Down Arrow in the Finder opens (navigates one level down) whatever is selected: folder or single file or multiple files. Cmd+Up Arrow goes one level up from the current folder.
> Path Finder: A fancier version of Finder with multiple panes and various other advanced features.
Path Finder has a few nice features, but its updates and update schedules haven't been great. A cheaper alternative that also supports network transfers is Forklift.
by coldtea on 9/6/20, 4:23 PM
Terminal actually has it, View -> Split Pane or Command-D - and has had it for ages (as well as tabs).
by uuuuuuuuuuuu on 9/6/20, 8:38 PM
by tanin on 9/6/20, 9:20 PM
You can use a programmable tooltip for macOS, so you don't have to remember all the shortcuts for these workflows.
Please see https://github.com/tanin47/tip
by bhaskara2 on 9/6/20, 5:07 PM
by shinycode on 9/6/20, 10:23 PM
I open lots of things when working and that would be more useful than doing the exposé and switching back and forth do declutter.
It seems to me that this feature is available on Windows and has been for a long time.
I tried almost everything that I could google and I even bought apps that I don’t use anymore because I though that the level of customization would enable it.
Is there someone that knows a tool or a trick to allow that ?
by AJRF on 9/6/20, 9:08 PM
by rsync on 9/6/20, 10:31 PM
Circa Snow Leopard, I used "mondomouse" but that is abandonware and does not work.
I tried to use "dwellclick" but it's not a good solution.
I think there are now some new accessibility settings that actual enable a proper focus follows mouse in Mojave and later, but I don't have anything later than El Cap installed and am unable to test that ...
by kratom_sandwich on 9/6/20, 8:17 PM
by xenadu02 on 9/7/20, 4:13 AM
by diegoperini on 9/6/20, 10:19 PM
It makes Finder's title clickable to be able to copy or change the current path, just like Windows' explorer.exe.
by t0rst on 9/8/20, 2:22 PM
- before releasing the command key and in between tabbing you can type H to hide/show and Q to quit the currently highlighted app. Note that quitting is often slow - can take a while for app’s icon to disappear.
- with shift to reverse direction
- you can start a drag, then use Cmd-tab to switch to your destination app, and then drop
by CGamesPlay on 9/7/20, 1:34 AM
by jawngee on 9/6/20, 9:49 PM
by greggman3 on 9/7/20, 10:58 AM
by djKianoosh on 9/8/20, 1:52 PM
by missing_paren on 9/6/20, 4:08 PM
Well, I wish that were completely true, because cmd+backtick only cycles through the windows of the application, while cmd+tab lets you select the application you want.
From Ubuntu (or maybe rather Ubuntu's default desktop environment?) I am used to cmd+backtick allowing me to select the window - I did find an application that does enable this behavior [1] but I wonder what else is out there. I used to use Hyperswitch but it doesn't seem to work on Catalina
by LanceH on 9/6/20, 4:24 PM
by tagawa on 9/7/20, 5:38 AM
by pragmaticpandy on 9/8/20, 7:34 PM
by thomasdd on 9/7/20, 5:54 AM
that's what I discovered lately, as cool feature.
by mcraiha on 9/6/20, 4:02 PM