Miscellaneous stupid Mac tricks, cool Mac tricks, and stupid cool Mac tricks Thread

I have been frustrated for years by the way shell commands that should be instantaneous sometimes take multiple seconds because Gatekeeper decides to peg a CPU for no good reason. It turns out there's a fix. Go to "System Settings > Privacy & Security > Developer Tools," and add Terminal, Emacs, or whatever is running shell commands to the list of applications that can "run software locally that does not meet the system's security policy." Rejoice in the lack of arbitrary pauses.
 
That was my reaction too! I remember reading about the whole "native textboxes support emacs keybindings" (being a vim user this wasn't super useful for me) but I didn't realise there was a whole separate clipboard, wow.
I have learned to perversely depend on the independent Ctrl-K and Cmd-X clipboards. As an Emacs user, I enjoy the keybindings, and am regularly irritated by the way iMessage breaks them.
 
  • Sad
Reactions: VirtualWolf

xoa

Ars Legatus Legionis
12,363
Subscriptor++
Taking us for a blast back to 2021 (sorry Hap!):
Rather than navigate through an Open/Save dialog box to where you want to go in an application, simply drag that folder (or the icon proxy in the title bar) to the dialog box. The Open/Save path will change to that folder.
The title bar proxy icon trick was always quite useful on occasion, but at some point (Monterey maybe?) unfortunately Apple decided to start hiding it by default. There was a defaults setting to use which I'd been meaning to post itt, but I was just hunting through the Accessibility panel and noticed that under Display there's a "Show window title icons" toggle which in fact controls it via the GUI. Nice to have an easy way to get that functionality back, and also the fact that it made it into the GUI makes it more likely it's not going to go away any time soon.
 

xoa

Ars Legatus Legionis
12,363
Subscriptor++
I've long since stopped pludging on macOS major updates until at least x.y.2 and more typically .3 or even .4, so I dislike Apple having opted in the last few years for continuous badgering with no GUI to disable it even if automatic updates are turned off. The OS can still be told to shut up though from the command line via remaining preferences. One approach is to simply change the Software Update notification dates to something arbitrarily far in the future, which should then change back when you do a manual check. If you run a quick defaults read com.apple.SoftwareUpdate it'll give you a list of existing automatically set values including notification count and product code, but importantly two on dates. These can then be altered:
Code:
% defaults write com.apple.SoftwareUpdate MajorOSUserNotificationDate -date "2030-02-01 20:00:00 +0000"
% defaults write com.apple.SoftwareUpdate UserNotificationDate -date "2030-02-01 20:00:00 +0000"
The date doesn't matter just sometime well into the future. It should also alternatively be possible to directly tell notifications not to happen for for the software update bundle ID via IIRC defaults write com.apple.systempreferences AttentionPrefBundleIDs '{ "com.apple.preferences.softwareupdate" = 0; }', which I think still works but would need to test.

Altering user preferences doesn't carry any risk with this stuff honestly, trivial to undo, but it's still always good habit to keep at least a simple text file of tweaks you make to your system like this. Some folks go all the way to automating their system setup, the fairly well known Jeff Geerling for example uses an Ansible playbook as part of his process. A huge amount can also be done with configuration profiles as well, though Apple's documentation here (or in general, sadly) is haphazard and sometimes out of date so some experimentation may be required. Like, there's a lot in their Configuration Profile Reference manual {PDF} but it's 6 years old now. Still it's a powerful tool and makes it ultra easy to do a ton of otherwise tedious work. I use profiles to bring Macs and iDevices up with all my email accounts and network settings amongst other things.
 

VirtualWolf

Ars Legatus Legionis
11,079
Subscriptor++
Some folks go all the way to automating their system setup, the fairly well known Jeff Geerling for example uses an Ansible playbook as part of his process.
Oh shit this is awesome. I'm already partially doing that for my dotfiles (and using Ansible for it specifically) but installing all the applications is a bit of a pain.
 

FranzJoseph

Ars Centurion
2,141
Subscriptor
Taxing the Mx Mac Mini regularly and too skint to buy a Studio? Have a nice horizontally ribbed big flat heatsink lying around, like from an old passive GPU? A variable voltage power supply and some big PC case fan? Why not add them together?

Every bit helps and if it keeps the tiny Mini fan spinning up to full 4,500 RPM, you lose a few dB right there.

(place the heatsink to the back of the Mini's top, that's where it gets most warm – the alu case it pretty good at transferring heat, even just in rough contact with the heatsink without any ungainly thermal paste blemishing the surface finish forever)
 

cateye

Ars Legatus Legionis
12,727
Moderator
Taxing the Mx Mac Mini regularly and too skint to buy a Studio? Have a nice horizontally ribbed big flat heatsink lying around, like from an old passive GPU? A variable voltage power supply and some big PC case fan? Why not add them together?

Every bit helps and if it keeps the tiny Mini fan spinning up to full 4,500 RPM, you lose a few dB right there.

(place the heatsink to the back of the Mini's top, that's where it gets most warm – the alu case it pretty good at transferring heat, even just in rough contact with the heatsink without any ungainly thermal paste blemishing the surface finish forever)

Shit, where did I see this recently... someone with access to an array of massive finned coolers for ultra spicy PC processors tried adhering them to the top of a Mac Mini using thermal paste, trying different sizes and metals, some with fans, some without, etc. I think someone in the MacRumors forums also did this, but they just literally set the cooler on top without any sort of medium between the plate and the top of the Mini, and it still helped—Other than creating a total Frankenstein's monster of a contraption, this apparently works to reduce temperatures of the Mini under load.
 
  • Like
Reactions: FranzJoseph

FranzJoseph

Ars Centurion
2,141
Subscriptor
Shit, where did I see this recently... someone with access to an array of massive finned coolers for ultra spicy PC processors tried adhering them to the top of a Mac Mini using thermal paste, trying different sizes and metals, some with fans, some without, etc. I think someone in the MacRumors forums also did this, but they just literally set the cooler on top without any sort of medium between the plate and the top of the Mini, and it still helped—Other than creating a total Frankenstein's monster of a contraption, this apparently works to reduce temperatures of the Mini under load.
"Liberating" heatsinks from obsolete PC parts is a nice way to get some quite hefty bits of metal with fins, I think I have around ten of them or so dating back to Pentium III CPUs and very old GPUs. Some repurposed just sitting on top of the router and such.

For the Mac Mini, thermal paste or thermal pad would be ideal, but I am afraid it would mar the brushed aluminium finish and no amount of IPA would ever get it off entirely.

But even just metal on metal it does help a bit! Though I don't have any numbers, just anecdotal experience. Anything that helps to keep the RPMs below 4,000 or so is a massive boost, as at 4,500 RPM the fan – while comparatively still quite quiet compared to some GPU fans – does increase quite a few decibels in noise.

I also tried forcing more air underside the Mini into its circular intake by putting a fan in front and angling it downwards a bit, but that's a pretty hard choice between the two fans trying to outperform (and thus hinder) each other. Without any proper fluid dynamics simulation, I guess I'll just stick with one on top blowing over a simple heatsink.

I'd love to see a FrankenMini with a big brass heatsink on top of it, machined to the exact dimensions and curves :D

I was even thinking about getting a custom curved alu one cut, but it's just too expensive at these sizes and in single unit numbers for me. Should have thought of that earlier, before a relative retired and sold off their plasma metal cutting company, lol!

Alas, no exactly matched curved heatsinks on AliExpress either so far, just the usual rectangular stuff...
 

xoa

Ars Legatus Legionis
12,363
Subscriptor++
Shit, where did I see this recently... someone with access to an array of massive finned coolers for ultra spicy PC processors tried adhering them to the top of a Mac Mini using thermal paste, trying different sizes and metals, some with fans, some without, etc. I think someone in the MacRumors forums also did this, but they just literally set the cooler on top without any sort of medium between the plate and the top of the Mini, and it still helped—Other than creating a total Frankenstein's monster of a contraption, this apparently works to reduce temperatures of the Mini under load.
Yeah putting a big old cpu heat sink on top of my new mini definitely helped reduce the fans a lot, for some reason before that it would just occasionally start to get very hot and extra comfy at random...?
fuzzy mini.jpg
;)
 

FranzJoseph

Ars Centurion
2,141
Subscriptor
Yeah putting a big old cpu heat sink on top of my new mini definitely helped reduce the fans a lot, for some reason before that it would just occasionally start to get very hot and extra comfy at random...?
;)
Given that Alan Turing themselves had a tabby cat and apparently loved it, up to the point that it might have helped him formulate his famous mechanism how spotty animals' colouration appears out of a very simple system, I'd just say that any computer with a cat on it is inherently 1,000% faster and much less error‑prone ;-)

A cat‑puter means one happy kernel, after all!

(also, how did you steal my ginger cat?!?)
 
  • Like
Reactions: xoa

grahamb

Ars Praefectus
3,806
Subscriptor
If you copy cells from a spreadsheet, open Preview, and click Command+N to create a new document from the clipboard, it will create a new scaled image with the cells from the spreadsheet.

(Caveat: I’ve only tested this with Numbers)
Related, if you have any image data on the clipboard, and open a new document in Preview it will contain the clipboard content.
 

CommanderJameson

Ars Tribunus Angusticlavius
9,594
Subscriptor
Another iPhone tip - get to the current app's settings, straight from Control Centre. This is neat AF! (the whole video is informative; one of those where you know most of it, but there’s things that make you go “ooh, didn’t know that”)


View: https://www.youtube.com/watch?v=oURXZpC6zZc&t=230s
 

Hap

Ars Legatus Legionis
11,992
Subscriptor++
Another iPhone tip - get to the current app's settings, straight from Control Centre. This is neat AF! (the whole video is informative; one of those where you know most of it, but there’s things that make you go “ooh, didn’t know that”)


View: https://www.youtube.com/watch?v=oURXZpC6zZc&t=230s

Good video. I always forget how useful Shortcuts can be - mainly because I'm just not creative enough. I did, however, actually take the time to create a right click shortcut on my Mac to resize images to 2K in width (height stays proportional) for posting on Ars. Otherwise if posting something from my Library I have to open an app and resize (export is defaulted to full size/jpeg).

EDIT: It was an Automater WorkFlow that I created - not a Shortcut.
 
Last edited:
You can hide specific individual applications from Spotlight by adding them to its privacy pane, even though it says "Prevent Spotlight from searching these locations" as if you can only stop searching entire folders/drives.
Fun fact: Applications on MacOS are folders. They have an extension of .app and a special file system bit to tell the OS to display it as an application instead of a folder
 
  • Like
Reactions: ballet_ld
I use this AppleScript folder action to center the Finder window of my user folder whenever it is opened.

I have Command-N set to open my user folder.

This can be attached to any folder.


AppleScript:
on opening folder xFolder
    
    tell application "Finder"
        activate
        set the w to the container window of xFolder
        
        
        -- Get screen dimensions and window dimensions
        set screen_bounds to bounds of window of desktop
        set screen_width to item 3 of screen_bounds
        set screen_height to item 4 of screen_bounds
        
        -- The Finder window opens automatically. We need to reference it.
        -- We assume it's the frontmost window (Finder window 1).
        
        -- A small delay might be necessary to ensure the window is fully opened and recognized.
        --delay 0.1
        
        -- Get the current bounds of the new window
        set window_bounds to bounds of w
        set window_width to (item 3 of window_bounds) - (item 1 of window_bounds)
        set window_height to (item 4 of window_bounds) - (item 2 of window_bounds)
        
        -- Calculate the centered position
        set x_pos to (screen_width / 2) - (window_width / 2)
        set y_pos to (screen_height / 2) - (window_height / 2)
        
        -- Set the window's position. Position is top-left corner coordinates.
        set position of w to {x_pos, y_pos}
    end tell
    
end opening folder
 

CommanderJameson

Ars Tribunus Angusticlavius
9,594
Subscriptor
New day, new mysterious AirPods firmware update I cannot for the life of me figure out how to trigger. Anyhoo, seems like there’s some neato features (iPad screenshots, because that’s what I was using when I got the notification). I’ll be trying out the “pause media on sleep” thing this weekend!

IMG_0045.png


IMG_0046.png
 
  • Like
Reactions: Honeybog

Honeybog

Ars Tribunus Militum
2,738
New day, new mysterious AirPods firmware update I cannot for the life of me figure out how to trigger. Anyhoo, seems like there’s some neato features (iPad screenshots, because that’s what I was using when I got the notification). I’ll be trying out the “pause media on sleep” thing this weekend!

View attachment 125694

View attachment 125693

In my experience, pause on sleep works shockingly well. I’ve opened shows that fell asleep watching and have found them saved at exactly the last thing I remember.
 

CommanderJameson

Ars Tribunus Angusticlavius
9,594
Subscriptor
IIRC, to trigger an airpods firmware update you must have them near an updated phone or ipad (they're connected to) and have them in the charging case with the case plugged in to a power supply via cable.
Thanks - but negative on the cable part. My APP2 charge exclusively wirelessly, and have done since I got them.
 
  • Like
Reactions: jaberg

benwiggy

Ars Scholae Palatinae
1,241
Yeah putting a big old cpu heat sink on top of my new mini definitely helped reduce the fans a lot, for some reason before that it would just occasionally start to get very hot and extra comfy at random...?
I've had a succession of Mac Minis, and placed them on top of a 7-inch IKEA trivet ("LÄMPLIG"). Anecdotally, it seems to improve cooling. I'm still on the M2 Pro old form factor shape, and I've never heard the fans; though that might just be the ARM goodness.
 

ant1pathy

Ars Tribunus Angusticlavius
6,951
I need some new ear tips for my APP2. Before I just buy them off Apple for the low low price of just one kidney, tell me alternatives. Are there better materials? Are the off-brand ones any good?
Comply generally gets favorable word of mouth impressions.
 

Jonathon

Ars Legatus Legionis
17,431
Subscriptor
I need some new ear tips for my APP2. Before I just buy them off Apple for the low low price of just one kidney, tell me alternatives. Are there better materials? Are the off-brand ones any good?
Apple's tips are $10 for two pairs-- cheaper than most of the good aftermarket options AFIACT. (Comply are $30 for three pairs; Spinfit runs about $15ish for one pair.)

If the old ones were comfortable, buy a new set of Apple tips in the same size. If they weren't, I'd probably give Comply a try first, rather than Spinfit's slightly different silicone tips. Foam has different isolation characteristics and a different feel than silicone, and Comply's been around for quite a while (they predate AirPods) and they're generally well-regarded.
 

CommanderJameson

Ars Tribunus Angusticlavius
9,594
Subscriptor
Apple's tips are $10 for two pairs-- cheaper than most of the good aftermarket options AFIACT. (Comply are $30 for three pairs; Spinfit runs about $15ish for one pair.)

If the old ones were comfortable, buy a new set of Apple tips in the same size. If they weren't, I'd probably give Comply a try first, rather than Spinfit's slightly different silicone tips. Foam has different isolation characteristics and a different feel than silicone, and Comply's been around for quite a while (they predate AirPods) and they're generally well-regarded.
Yeah, I posted before I investigated pricing, and assumed I was in for a “polishing cloth” style rinsing by Tim.

Apple’s UK pricing is slightly higher at £15, but yeah. Spinfit is £15 for a single pair, and Comply is £25ish for a set of 3 (assorted sizes). If the rumours come true and M5 Pro and Max chips come out today, I’ll just bung a set of Apple tips on the order.
 

zogus

Ars Tribunus Angusticlavius
7,180
Subscriptor
Good video. I always forget how useful Shortcuts can be - mainly because I'm just not creative enough. I did, however, actually take the time to create a right click shortcut on my Mac to resize images to 2K in width (height stays proportional) for posting on Ars. Otherwise if posting something from my Library I have to open an app and resize (export is defaulted to full size/jpeg).

EDIT: It was an Automater WorkFlow that I created - not a Shortcut.
I am not smart enough to use Shortcuts or Automator that creatively, but I did come up with a couple of good use cases for them on my iPhone:

1) iOS lets you selectively deny cellular access to an app by flipping a setting in the Control Panel, but surprisingly, you can’t do the same for WiFi access. This sucks, but you can kind of get around it by attaching an automation to the app so that the WiFi is turned off when the said app is brought to the front, and is turned back on when it is sent to the background. I use it mainly to discipline some older games that show me ads way too often. You just have to remember not to play the games in question after sending a big download job into the background!

2) I like the Dark theme, but LINE (a messaging app which you kind of have to use if you live in Japan) doesn’t work well with it—in particular, older cartoon stamps that predate the Dark theme tend to be rendered unreadable. So I’ve wrapped an automation around LINE to switch to Light mode only while LINE is the front app. This works surprisingly smoothly: I often forget it’s even there.
 

Honeybog

Ars Tribunus Militum
2,738
1) iOS lets you selectively deny cellular access to an app by flipping a setting in the Control Panel, but surprisingly, you can’t do the same for WiFi access. This sucks, but you can kind of get around it by attaching an automation to the app so that the WiFi is turned off when the said app is brought to the front, and is turned back on when it is sent to the background. I use it mainly to discipline some older games that show me ads way too often. You just have to remember not to play the games in question after sending a big download job into the background!
This also works for VPNs and can be super useful. I have it set to turn on my Mullvad VPN when I open data-hungry apps like NYT Games (and it’s 300 trackers), but disable it when I open banking apps.
 

wco81

Ars Legatus Legionis
32,315
In mid January, the FBI raided the home of Hannah Natanson, a Washington Post reporter and seized her devices, to pull information about sources. The Post sued, saying that those devices contained information on sources which go well beyond the scope of the case for which the DOJ presumably had the FBI confiscate the reporter's devices.

A judge later ordered the FBI not to review any of the data seized.

But the FBI had only limited access to the data on her devices.

She put her iPhone 13 in Lockdown mode and the FBI CART forensics team was unable to extract anything by the time the court order stopped them.

She had a personal MacBook Pro which was powered off.

But she also had a work-issued MacBook Pro which was powered on.

The FBI agents couldn't make sure give up the passcodes and passwords to her devices. However, they could use biometric authentication to unlock devices as a result of a court case.

Natanson’s personal MacBook Pro was powered off when it was found by FBI agents. The Post-owned MacBook Pro was found in a backpack in the kitchen and was powered on and locked. The FBI said an agent “presented Natanson with her open laptop” and “assisted” her in unlocking the device with her finger. The declaration described what happened as follows:

Natanson was reminded the FBI has authority to use her biometrics to unlock the laptop and Natanson repeated that she does not use biometrics on her devices. Natanson was told she must try, in accordance with the authorization in the warrant. The FBI assisted Natanson with applying her right index finger to the fingerprint reader which immediately unlocked the laptop.
In 2024, a federal appeals court ruled that the Constitution’s Fifth Amendment protection against self-incrimination does not prohibit police officers from forcing a suspect to unlock a phone with a thumbprint scan. That case involved a traffic stop, rather than a home search authorized by a warrant.

The FBI has so far been unable “to obtain a full physical image” of Natanson’s work laptop, but did make a “limited partial live logical image,” the government filing said. At least some of Natanson’s Signal chat messages were set for auto-deletion, so FBI agents took photos and made audio recordings of the chats, but the government filing said this was done “only for preservation purposes and no substantive review has occurred.”

The FBI apparently hasn’t gotten any data from Natanson’s personal computer. “Natanson’s personal MacBook Pro is password protected and encrypted and therefore no imaging was effected [sic]. The FBI paused any further efforts because of [the] Court’s Standstill Order. No review has occurred,” Rozhavsky wrote.

https://meincmagazine.com/tech-policy...ckdown-mode-after-seizing-journalists-iphone/

They "assisted" her in unlocking the work MBP with her right-index finger. But did she tell him which finger she used for TouchID? She told them that she didn't use biometric authentication so did they try different fingers and found the right one before too many failed TouchID attempts would make the MBP require a password again?

In any event presumably Android mobile devices and Windows laptops have biometric authentication as well so robust passwords seem to be in order.

They also seized an external HD, which probably wasn't encrypted.

Didn't know about Lockdown Mode but good to know about it.

Apple says that LockDown Mode “helps protect devices against extremely rare and highly sophisticated cyber attacks,” and is “designed for the very few individuals who, because of who they are or what they do, might be personally targeted by some of the most sophisticated digital threats.”

Introduced in 2022, Lockdown Mode is available for iPhones, iPads, and Macs. It must be enabled separately for each device. To enable it on an iPhone or iPad, a user would open the Settings app, tap Privacy & Security, scroll down and tap Lockdown Mode, and then tap Turn on Lockdown Mode.

The process is similar on Macs. In the System Settings app that can be accessed via the Apple menu, a user would click Privacy & Security, scroll down and click Lockdown Mode, and then click Turn On.

“When Lockdown Mode is enabled, your device won’t function like it typically does,” Apple says. “To reduce the attack surface that potentially could be exploited by highly targeted mercenary spyware, certain apps, websites, and features are strictly limited for security and some experiences might not be available at all.”

Lockdown Mode blocks most types of message attachments, blocks FaceTime calls from people you haven’t contacted in the past 30 days, restricts the kinds of browser technologies that websites can use, limits photo sharing, and imposes other restrictions. Users can exclude specific apps and websites they trust from these restrictions, however.
 
  • Like
Reactions: educated_foo

FranzJoseph

Ars Centurion
2,141
Subscriptor
In mid January, the FBI raided the home of Hannah Natanson, a Washington Post reporter and seized her devices, to pull information about sources. The Post sued, saying that those devices contained information on sources which go well beyond the scope of the case for which the DOJ presumably had the FBI confiscate the reporter's devices.

A judge later ordered the FBI not to review any of the data seized.

But the FBI had only limited access to the data on her devices.

She put her iPhone 13 in Lockdown mode and the FBI CART forensics team was unable to extract anything by the time the court order stopped them.

She had a personal MacBook Pro which was powered off.

But she also had a work-issued MacBook Pro which was powered on.

The FBI agents couldn't make sure give up the passcodes and passwords to her devices. However, they could use biometric authentication to unlock devices as a result of a court case.



https://meincmagazine.com/tech-policy...ckdown-mode-after-seizing-journalists-iphone/

They "assisted" her in unlocking the work MBP with her right-index finger. But did she tell him which finger she used for TouchID? She told them that she didn't use biometric authentication so did they try different fingers and found the right one before too many failed TouchID attempts would make the MBP require a password again?

In any event presumably Android mobile devices and Windows laptops have biometric authentication as well so robust passwords seem to be in order.

They also seized an external HD, which probably wasn't encrypted.

Didn't know about Lockdown Mode but good to know about it.
Biometrics were always suspect. Anything where the secret is in plain sight and is on you can be abused that way, however lawfully or not.

Still, given a fascist‑enough regime, not even a lengthy password will save you.

After all, it takes only a few waterboarding sessions for you to divulge all of your passwords and everything.

The only problem with it is that you tend to tell everything, including whatever the interrogators want even if not true, just to save yourself of more of it. Which is why torture is really bad evidence and not quite admissible in democratic courts, because apart from all of its depravity, it's so fucking unreliable at getting the truth. But it still works for the passwords.

My take? Not having any suspicious content at your phone at all. Just like the Soviet dissidents in my family line did (only it wasn't phones, but flats back then, when hiding samizdat activities). Your phone should be clear of anything you want to hide and look perfectly normal with a few plain Facebook photos in it. Or at least hide any of it in plain sight.
 
  • Like
Reactions: educated_foo

gregatron5

Ars Legatus Legionis
12,531
Subscriptor++
There's an inherent tension in security measures specifically because our ------ courts (in the USA) decided that biometric unlock can be compelled. At issue is that normally biometrics are "safer" for the average person. You can't shoulder-surf a FaceID. (Thumbprints can be lifted, but it's not trivial. Some face ID systems can be fooled by photos, but Apple's usually cannot.) So usually biometrics is both safer and faster.

That said, they can be compelled. Typing your passcode in public is dangerous for the reason listed above. Also, if you're in a place with cameras and a camera records footage of you entering your passcode, that's fair game too. So the tension between what's "safer" in a given context varies, and can vary very quickly in today's climate.

Enough preamble, fun trick: If you hold your lock button and either volume button for a few seconds, the phone will lock and disable biometrics. You don't even have to look at it as it will vibrate. So you can put your hand in your pocket or purse, hold the button until your phone vibrates, and then it is locked with a passcode.

I don't know if macOS has a quick-lock mechanism like that, but it should. (It should also offer the ability to re-lock from the watch when it's unlocked from the watch, but that's a slightly different issue.)
 
  • Like
Reactions: educated_foo

Jonathon

Ars Legatus Legionis
17,431
Subscriptor
There's the QL thing for mobile devices but generally, it's safer to power down your devices before potentially having your devices inspected.

This Locked Down sounds great but it might arouse suspicions at ports of entry if they see "Locked Down" on the screen of your device.
The lock state after you hold the power and volume button shows the same screen that you get after rebooting the phone or after failing Face ID multiple times-- it's just the normal "your passcode is required to enable Face ID" screen, not a special "this phone has been locked down" screen. [EDIT: there is a different message for the first unlock after a reboot; it's a "your passcode is required after restarting" message.]

That said, powering down your phone (even if you power it back on immediately after) is still safer than leaving it on and locking it (as long as you don't type in your passcode). Data in iOS can be encrypted in one of three* modes: unencrypted, encrypted until first unlock, and encrypted unless the device is unlocked. If the device hasn't been unlocked since the last reboot, that minimizes the surface area for forensic tools to work against since "encrypted until first unlock" files remain secure (sensitive applications like Mail or Messages use this class, since they need to sync in the background while the device is locked).

* Technically four, but one is kind of halfway in between encrypted until first unlock and encrypted unless unlocked.
 
  • Like
Reactions: FranzJoseph

FranzJoseph

Ars Centurion
2,141
Subscriptor
I don't know if macOS has a quick-lock mechanism like that, but it should. (It should also offer the ability to re-lock from the watch when it's unlocked from the watch, but that's a slightly different issue.)
At least iOS does. Five presses of the power button. Calls up 112 (911), locks it or both, depending on your settings. Either locks up your phone requiring the password.