What cable/adapter should I buy to connect a MacBook Pro's Thunderbolt port to a TV via HDMI?

Dr. Bott have HDMI adapters that can transmit audio as well as video, assuming your MacBook supports it (yours does): http://www.drbott.net/product/5499-MDHD/

Then, get a Thunderbolt to HDMI adapter by Apple which transmits both video and audio. Note that Thunderbolt is backwards compatible with Mini DisplayPort as far as these cables/adapters are concerned.


Howto run a Terminal command using shortcut or a button

There are multiple ways to do this, here are 2.
First method: Create a quick script that runs after a double-click.
Create a text file, named myScript.command. The '.command' postfix will let Finder know to run it on opening.
Add the following as plain text:
#!/bin/bash
killall -KILL Dock

Now the script exists but needs to be executable. To do this you need to do a chmod.
chmod 755 myScript.command

Running myScript.command will open a Terminal window and run the command. The first line, hashbang, will let your computer know to use bash for the following script. You can set the preferences in Terminal.app to close the terminal window after a clean exit.
Second method: Create a 'Service' and bind a keystroke to that service.
Create and install the service:

Open Automator
New Document -> Service
Add the 'Run Shell Script' module and insert your code killall -KILL Dock
Set the 'Service receives no input', save and quit.
Install your newly created service by opening it in Finder and choose 'Install'.

Attach a keystroke to this service:

Open 'System preferences' -> 'Keyboard' -> 'Keyboard shortcuts' -> 'Services'
Find the 'Kill Dock' service and attach a keystroke to it.


OS X doesn't log this sort of information by default to one central file.

You will get a configd message in the /private/var/log/system.log that the network configuration has changed.

Jul 18 11:06:54 mac configd[15]: network configuration changed.

Also, the kernel will log several messages - including the base station MAC address in the case of Wi-Fi networks - that are easily viewed in the Console utility.

7/18/12 11:06:28.000 AM kernel: wlEvent: en1 en1 Link DOWN virtIf = 0
7/18/12 11:06:28.000 AM kernel: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
7/18/12 11:06:28.720 AM UserEventAgent: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - PreProbe
7/18/12 11:06:28.778 AM configd: network configuration changed.
7/18/12 11:06:28.787 AM applepushserviced: <APSCourier: 0x108b322a0>: Stream error occurred for <APSTCPStream: 0x108b198e0>: The operation couldn’t be completed. Socket is not connected
7/18/12 11:06:53.000 AM kernel: MacAuthEvent en1   Auth result for: b8:8d:12:64:36:60  MAC AUTH succeeded
7/18/12 11:06:53.000 AM kernel: wlEvent: en1 en1 Link UP virtIf = 0
7/18/12 11:06:53.000 AM kernel: AirPort: Link Up on en1
7/18/12 11:06:53.000 AM kernel: en1: BSSID changed to cb:3e:44:64:63:60
7/18/12 11:06:53.000 AM kernel: AirPort: RSN handshake complete on en1
7/18/12 11:06:54.240 AM configd: network configuration changed.
7/18/12 11:06:54.612 AM UserEventAgent: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - Probe
7/18/12 11:06:54.612 AM UserEventAgent: CaptiveNetworkSupport:CaptiveStartDetect:2343 Bypassing probe on gator because it is protected and not on the exception list
7/18/12 11:06:54.613 AM UserEventAgent: CaptiveNetworkSupport:CaptivePublishState:1211 en1 - Unknown
7/18/12 11:06:54.638 AM configd: network configuration changed.

It's not clear if the system logs a "network configuration changed" message upon expiration of a DHCP lease when the routing table doesn't change. You should be able to use the console to debug this if you have a DHCP server that you can force (or simply observe) a renewal or DHCP change when the network connection itself remains stable. The messages above were from a manual forcing off of Wi-Fi and then back on.

The current DHCP status is logged in clear text to /private/var/db/dhcpd_leases and the last lease for each network interface appears to be logged to /private/var/db/dhcpclient with a dated file beginning with enX.

It seems plausible you could use the tmutil compare function to detect a change to this file if just knowing the last successful lease time was not what you wanted.

mac:db mike$ tmutil compare /private/var/db/dhcpclient/leases ....


How can I create a user that can login through SSH but not on the local desktop in MacOS X El Capitan?

Set up your new User as a Sharing Only account, this gives them no actual account on the computer itself that they can log into…

System Prefs > Users & Groups

Click the lock
Click the + sign to add a new User
Set the new account to sharing only from the drop menu [stepped out on the pic for clarity]

Ref : Apple KB -  OS X Yosemite: Create a sharing-only user account

After Comments...
Apparently, this works, but only in combination with some other tweaks.

You need to set up a new group, 'remote users'.
Add your sharing only user to that, then add that group to Remote Login

It seems that Sharing Only users by default have the shell /usr/bin/false and the home directory /dev/null.
Both of these values seem to be magic values for some PAM modules to block the user from connecting.
You have to change both and have the user added to the remote users group to make it work.


Eventually I moved my ~/Library/Mail folder to the Desktop, reset mail "to factory settings", then re-imported all messages from the moved folder.  It took about a day, including the backup I did first.

Following the above "reset" instructions involves deleting ~/Library/Containers/com.apple.mail/.  When I was perusing the new ~/Library/* and ~/Library/Containers/com.apple.mail/* setup, after relaunching Mail, there were differences before and after, in particular which items lived in the container and which lived in the real ~/Library.  This may be a clue to a cause, but at least there is now a sledgehammer solution.


Can MacOS Dictionary be invoked by a URI?

Yes: dict://
Example HTML code: Lookup 'foobar' in Dictionary
Tested with Safari under macOS Catalina using:
<!DOCTYPE html>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>Dictionary Lookup</title>

Lookup 'foobar' in Dictionary

When clicking the hyperlink, one is presented with:

I am wondering whether there is a URI syntax that will look it up in a specific dictionary. (And what is that syntax.)

If there is, I do not know it and I tried modifying dict:// adding the different tabs in the Dictionary app and none worked.
The only thing that worked was dict:// and dict:// followed by the search word, e.g. dict://foobar and in the case of the later syntax it open to the last active tab of the app. For example, if Wikipedia was the active tab when the app was closed it opens e.g. foobar there.


Use the Do Not Disturb feature to disable alerts during a specific time of day. A good explanation of the feature is given here.


FileVault: How come a new user can log in without disk password?

From Apple KB - Use FileVault to encrypt the startup disk on your Mac
Emphasis mine...

  Enable users

  If you enable FileVault on a Mac with more than one user account, you're asked to identify which users can unlock your startup disk as part of setup. Click Enable next to a user name to let that user log in to your Mac at startup. Then, enter the password for that account.

  Users that you don't enable can't unlock the startup disk. These users aren't able to use your Mac until after an enabled user logs in.

  Any new user accounts you create after you turn on FileVault are automatically enabled.


Absolute path to an application executable in OS X

The absolute path to the Adobe Reader executable is:

/Applications/Adobe Reader.app/Contents/MacOS/AdobeReader

Note the space in Adobe Reader and spaces either need to be escaped with a backslash.

/Applications/Adobe\ Reader.app/Contents/MacOS/AdobeReader

Or quote the fully qualified pathname, but not both.

"/Applications/Adobe Reader.app/Contents/MacOS/AdobeReader"

You'll have to test to see which form Excel will work with.

You can view the contents of a application bundle by a ctrl-click (right-click) on the application and select "Show Package Contents", then navigate to the Contents > MacOS folder where the applications executable is.

For Preview its: /Applications/Preview.app/Contents/MacOS/Preview


Keeping iPhone 4 Free from Oil Without Using Damped Cloth

Apple says:

  Cleaning iPhone

  Clean iPhone immediately if it comes in contact with any contaminants that may cause stains, such as ink, dyes, makeup, dirt, food, oils, or lotions. To clean iPhone, disconnect all cables and turn off iPhone (press and hold the On/Off Sleep/Wake button, then slide the onscreen slider). Then use a soft, slightly damp, lint-free cloth. Avoid getting moisture in openings. Don’t use window cleaners, household cleaners, compressed air, aerosol sprays, solvents, alcohol, ammonia, or abrasives to clean iPhone. The front and back covers of iPhone 4 are made of glass and have an oleophobic coating. To clean these surfaces, simply wipe with a soft, lint-free cloth. The ability of this coating to repel oil will diminish over time with normal usage, and rubbing the screen with an abrasive material will further diminish its effect and may scratch the glass.
  — iPhone
  User Guide, page 54

(emphasis added)

Or in other words: remember that little piece of cloth that came with your iPhone? That's all you should need.


What do I do when I get "Cannot Connect to iTunes store" when downloading an app?

What seems to work is signing out from my Apple ID (using the Apple ID link at the bottom of the App Store), then shutting off the device (hold the power button). Then I turn back on the device, go to the App store, enter my Apple ID info, and then try to download/update an app again.

Just restarting or relogging in to my Apple ID alone didn't seem to be enough.


I think the MacOS does not show folders if they have the "x" flag missing.  Try going to a Terminal window, then changedir to the folder

cd /Volumes
ls
cd name-of-folder-with-stick

And there try

ls
chmod 755 foldername

or even (for all files and folders there)

chmod 755 *


How can I get Aperture to use gmail for emailing photos?

To make "share by email" buttons on your Mac (system-wide!) open up in Gmail—instead of the Mail app—follow these instructions:

-Download and install Google Chrome, if it's not on your Mac already.

-Open the Mail app--yes, the stock Mail app.

-Press "Mail" on the menu-bar, in the top-left of your screen, and hit Preferences.

-Make sure you're in the General pane, and press "Choose default Email Reader".

-Choose Google Chrome from the dropdown menu.

Now your system-wide default email viewer is Gmail in the web. Let me know if this helped you!

Source: http://osxdaily.com/2014/05/06/change-default-mail-app-mac/


iOS 4 and Landscape Orientation Lock for iPhone

Orientation lock on iPhone with iOS 4 only does portrait lock at the moment. Hopefully they will have landscape lock on the next update.


How can I add shortcuts to Adobe Illustrator?

Plainly & simply, Adobe don't want you to try fight their very comprehensive keyboard shortcut system from System Prefs. You can't even see Adobe apps in the shortcuts Applications list unless you select 'Other...'.

Presumably the reasoning is to prevent potential clashes.


Here are two date commands that work on Mavericks to convert/extract time from date strings:

mac:~ me$ date -j -f "%Y-%m-%d %T" "2013-10-12 09:23:28" +%s
1381584208
mac:~ me$ date -j -f "%Y/%m/%d %T" "2013/10/22 10:45:00" +%h
Oct

It's not entirely clear what you seek, but hopefully these workable examples bridge the gap for your needs.


Making Terminal recognize HandBrakeCLI commands

Have you downloaded the command line version?

From HandBrake's CLIGuide:

  tell the shell to look for the program in the current working
  directory. To run a command in the Terminal, you just type its name.
  But the shell will only look in the places where applications are
  usually stored (like /usr/bin/). You need to tell it to look in the
  current directory. To do that, precede the program name with ./ like
  this:

  ./HandBrakeCLI

  Of course, running that won't do much anything useful. If you run
  HandBrake without telling it what to do, it will just tell you to read
  the help...

Or: Instructions on how to compile Handbrake in OS X, probably what you're looking for.


Can I run 533 MHz RAM in original Mac Pro?

You can't use slower RAM. In fact I've had trouble with some manufacture's RAM even though it met the spec. You need to go to a site that guarantees any new RAM will work in a Macintosh.

I didn't think that the original Mac Pro could run Mountain Lion. I've got a Mac Pro 2.1, from 2007, that refuses to allow Mountain Lion to be installed. Did you hack this?


unexpected ApplicationSupport alias in ~/Library

Alias is created by iTerm2. There's a ticket about this :

Maintainer:

  Sorry for the inconvenience. It has come to my attention that some people find this annoying. It's necessary for the Python API, but you can change the name of the alias or remove it completely with this setting in 3.3.3beta1:

The setting Create a Symlink in "Application Support" with this name being in Advanced" tab in App preferences.

https://gitlab.com/gnachman/iterm2/issues/8141#note_205533333


Depending on the configuration, an attacker with access to iCloud may get:

Contacts.
Calendar.
Notes
Safari bookmarks, navigation history, reading list.
Reminders
Passbook contents.
Location of other Apple devices associated with the same account, with Find my iPhone on.
Photos taken with any Apple device associated to the same iCloud account, or shared with that account (if iCloud Photo Sharing or iCloud Photo Library was on).
Access to any document stored on iCloud (Pages, Numbers, Keynote, others).
A full backup of any iOS device stored on iCloud (including all information on any app installed up to the last backup made).

Change your password immediately if you haven't done so yet.

Having your iOS device stolen and having your iCloud credentials compromised are two unrelated events, unless you happen to have your device unlocked, without password or pin, and have your iCloud password written in plain text somewhere inside of it.


How to sign in Messages app in Mac Mavericks from terminal

Messages supports AppleScript. You can view the Messages's AppleScript dictionary using the AppleScript Editor:

Applications > Utilities > AppleScript Editor.app

The AppleScript command log in suggests you can sign in programmatically:

  log in v : Log in to the specified service, or all services if none is specified. If the account password is not in the keychain the user will be prompted to enter one.

An example AppleScript to log in would be:

tell application "Messages"
    -- Log into every session
    log in
end tell

You can then use the osascript command line tool to issue AppleScript commands via the Terminal:

An example osascript command to log in would be:

osascript -e 'tell application "Messages" to log in'


Can't ssh into another mac on same network, wrong password

Have you checked your System Preferences > Sharing to make sure that Remote Login is enabled and that your account is in the Allowed users list?


Can Aperture open/view/edit a Photos library?

Here's what it says in an Apple Support article:

iPhoto — and Aperture, if you downloaded it — remains on your system in the Applications folder, and you can continue to use it. If you open iPhoto or Aperture after you upgrade to Photos, you’ll be asked if you want to open your library there or in Photos.
Any changes or edits you make in iPhoto or Aperture aren't reflected in Photos. And any changes or edits you make in Photos will not be reflected in iPhoto or Aperture.

It appears that you are able to open photos within both applications however edits will not be synced between Aperture and Photos.


Why can I not install Keynote on my MacbookPro?

As mentioned at the bottom of https://www.apple.com/keynote/features/

Pages for Mac, Numbers for Mac, and Keynote for Mac are available on the Mac App Store. macOS Catalina or later required

so if you haven't installed Keynote before you may not be able to download it from the App Store.
Alternativly you can use the web version of Keynote on iCloud or try an application like LibreOffice.


What is the best configuration for a Triple System?

On a new Mac (presumably one that uses an Intel i5 or better processor), I think the hassle of rebooting to use BootCamp outweighs the benefit. I would run both Ubuntu and your favorite flavor of Windows in one of the Virtual Machine products. Some prefer VirtualBox because it is free. I'm not in that camp, and I think it has poorer performance than the competing solutions. That leaves Parallels or VMWare Fusion. I've used both, and find little difference between them in real-world usage. I use VMWare Fusion, myself. I would purchase whichever one you can find at a discount. I note that you can often find Parallels included in the Mac software bundle deals that pop up several times a year.


Does remapping modifier keys affect special boots?

No, the operating system isn’t running before boot so modifications to the OS are not in play before it starts.


How to repair a MacBook Pro 2007 hard drive bus?

If you're certain the drive is known to be good and working and that the cable you're using is also in good condition then the answer is no: there isn't anything you can do to fix a broken controller yourself. You'll need to take it to an authorized Apple Repair Center. These things are usually solved with main board swaps as it's all, more or less, integrated on one board in this case.


How do I move my menubar to an external monitor?

Try and drag the menubar icon you're pointing to in that screenshot to the other monitor.  It's kind of hard to grab with the mouse pointer but it should work if you can click/drag that white space rather than the blue space representing the monitor.


Can I limit my dock to only show up on the main display?

Your only options are both workarounds:

Uncheck "Displays have separate Spaces" under System Preferences > Mission Control
Pin dock to right or left instead of bottom (obviously not ideal if you're a bottom pinner)

More details here: https://www.makeuseof.com/tag/how-to-keep-the-mac-dock-on-one-screen-in-a-dual-monitor-setup/


SOLUTION:

I went into Settings > iTunes & App Store and SIGNED OUT of the App Store. I restarted my phone. I went back into Settings and logged back in to iTunes & App Store. Upon checking the App Store for updates, the problem has been resolved.


Android message merge with iCloud Message history

For the record, Apple's Move to iOS app does work. In the end, I had to:

Borrow an old Android phone (i.e. pre Android 9).
Transfer the messages to that from my Android phone using SMS Backup and Restore.
Reset the iPhone so the Move Data from Android option was available – only possible when first setting up the phone.
Use Move to iOS app on the old Android phone to copy messages to iPhone.
Sign into iCloud on the iPhone to enable Messages in iCloud, which then merged the newly transferred messages with the ones already present in iCloud – I've confirmed that this has worked as the imported messages have synchronized to other devices.

The Move to iOS actually still wouldn't restore to my iPhone XR, so I had to restore to a borrowed older iPhone, then backup that and restore it on the new iPhone… Apple last updated this app in March 2016, predating the iPhone 7, 8/X, XS/XR generations, so hopefully it will get some attention soon to fix these issues, as not everyone will be able to borrow other devices to go through this process!


Shared Photostream and IPad 1 (first generation)

Short Answer: You can't

Shared PhotoStream is a feature of iOS 6 and therefore not available on iOS 5. Some users claim they had gotten the feature working and enabled by removing and re-adding the iCloud account, however I have never seen it work.

From the official description of a shared PhotoStream (Bold by me):

  Select photos directly from the Photos app in iOS 6, iPhoto or Aperture on a Mac


Troubleshooting high CPU activity in the WindowServer process

Check out the man page for perfdiagnose. This tool is purpose-made for diagnosing exactly this sort of issue, where a simpler tool like Activity Monitor can only show you symptoms.

The output from perfdiagnose is not intended for end-users, but for developers and teams at Apple. If you're not able to make any sense of the logs it produces, your best bet is to attach them to a bug report submitted to Apple.


SHA1 hash for OSX 10.10 Yosemite public release?

I run your request and here is the result.

eebf02a20ac27665a966957eec6f5e6fe3228a19  /Applications/Install OS X Yosemite.app/Contents/SharedSupport/InstallESD.dmg

And for Yosemite 10.10.1 the shasum is:

a673c2c6d967f4da2934b7d6cf3736936970b194

Please wait about a minute or two for Terminal to get the number.


Has Unix directory usage or policy changed in High Sierra?

No super big changes on directories is my feeling / opinion.

High Sierra changes very little with respect to SIP protection and you can easily use ls to read ACL and restricted status protecting from root / super user modification of files.

Everything that was changed materially was versions before. High Sierra does introduce APFS and the concept of snapshots and radically more efficient storage and access speeds - but on the UNIX directory level - this is a snoozer of an upgrade.

Your /usr/local change is the only one that's notable - you can't get rid of it* but you're free to roam within it and change things to suit your needs.

Apple provides additional details about SIP Protected directories.

——

* Of course, you can still get rid of SIP protected files / folders / directories by disabling SIP by doing the hokey-pokey of reboot, disable, reboot, change, reboot, re-enable, reboot (Assuming you want SIP in general but not for this one thing). But then, the next time an OS update comes, your work customizing the OS could (and eventually will) fail since the installer will then put the file back where Apple intended it to be - existing and protected by SIP.


How to only include certain Podcasts on the iPhone with the Podcasts app

EDIT: With more recent iOS updates, this technique is no longer as useful. Playlists are useful to control whether an episode is sync'ed to the device. If a podcast is in a playlist, and that playlist is selected to sync to the iOS device, then all the podcasts in that playlist will be transferred to the device.

What no longer works is being able to create a playlist in iTunes and then play that playlist on an iOS device. There is only a single Up Next playlist available, and you have to manage it on each device.

ORIGINAL: I use Podcasts on my MacBook Pro, my iPhone 5 and my iPad Air 2. The only thing that I have found to work is this setup.

All my downloads of new episodes, etc. are done on the MacBook Pro. I basically leave iTunes running most of the time even when I am away and only have my portable devices with me.

I use Playlists on the MacBook pro iTunes to sort episodes for which device. Video podcasts primarily go to the iPad and audio primarily to the phone, but when flying I often put audio podcasts on the iPad to save battery life on the phone.

Then in iTunes I connect each device and use the settings for the device to control which podcasts and which playlists are synced to the device. I generally only sync checked files and I uncheck episodes after they are played.

Also in iTunes on the MacBook Pro I have smart playlists for recently played and recently added and I use those to help me find the newer Podcast episodes quickly and to uncheck played episodes quickly.

This is admittedly a lot of work. I spend a couple hours or more each week managing my playlists. I sync nearly every day to add new episodes and clean up old episodes. I just could never make the "automatic" sync'ing work the way I wanted, so I decided to take control of it with these techniques.

Final Note: in iTunes Preferences on the Store tab, I turn off Sync Podcast subscriptions and settings. I have found there is a bug in this process that sometimes causes iTunes to stop downloading any podcasts. There was some discussion on the Apple Support Forums that pointed me to this change.


Why do I get this message every time I open the terminal?

Your zsh environment isn't finding locale in its PATH.
Either call locale by its full path:
if [[ "$(/usr/bin/locale LC_CTYPE)" == "UTF-8" ]]; then

..or update your $PATH to make sure that /usr/bin is included.


How to count the number of files and folders in iCloud Drive?

Using the macOS Terminal Application

First change the current directory to the root of the iCloud drive by entering the command given below.

cd ~/Library/Mobile\ Documents/com\~apple\~CloudDocs

Next, enter one or more of the commands given below.

List of folders and files

 find . -name "*"

List of files

 find . -name "*" -type f

List of folders

 find . -name "*" -type d

Count of folders and files

 find . -name "*" | wc -l

Count of files

 find . -name "*" -type f | wc -l

Count of folders

 find . -name "*" -type d | wc -l

To get a list of all files and folders sorted in lexicographical order, enter the following command.

ls -RlAa

Since the folders . and .. occur in each folder, you may wish to omit these folders by using the command given below.

ls -RlA

Using the Windows Command Prompt Window

First change the current directory to the root of the iCloud drive by entering the command given below.

cd /d %userprofile%\iCloudDrive

Next, enter one or more of the commands given below.

List of files

 dir /s /b

List of folders

 dir /s /b /a:d

Count of files

 dir /s /b | find /v "" /c

Count of folders

 dir /s /b /a:d | find /v "" /c

To get a list of all files and folders sorted in lexicographical order, enter the following command.

dir /s

Notes

iCloud is implemented differently on Windows and macOS operating systems. Some folders and files will appear in one operating system but not in the other.
The files and folders displayed may differ between the operating systems. I have found with macOS, some file names also differ between what is displayed by the Finder application and the Terminal application.
The counts of the files and folders in a folder may differ between the operating systems.
The lexicographical order is handled differently by Windows and macOS. Windows is case-independent and macOS is case-dependent.


Best offline maps for iOS 4.2.1 (iPod 2G)

There are multiple apps you can try:

OpenMaps
OfflineMaps
MapsWithMe
CityMaps 2 Go (not sure if this is the one you've mentioned in your opening post)

And there is a big discussion about saving Google Maps for offline use. So maybe there's a solution for you too?


The only exposed API to use the audio hardware under iOS is the RemoteIO Audio Unit API.  The driver for the audio input/output hardware does not seem to be exposed via a *nix device on Mac OS X, or in its iDevice derivatives.


The simple answer is it sounds like your operating system is totally fried. You will need to do a full erase (zero out all data and not the quick erase drive option) of your hard drive. Reinstall a legal copy of Mac OS X. This is absolutely key. It's just plain out not smart to install anything illegal. It is so easy to add key logging or any other type of malicious software into illegal copies of operating systems. Furthermore, they could easily install stuff that could grab personal data such as passwords, bank account information, or use your computer as a zombie to hide illegal activity. You could get easily screwed. Do you want that? I don't think so. Who would? Just buck up the cost and get a legal copy of OS X. It's worth every dollar and the peace of mind.

If you can't afford Mac OS X install a stable build of Linux, but I scratch my head as to why would someone have a Mac but not run Mac OS X as their primary OS. Doesn't make sense. You might as well have a PC.


Close dictation by clicking the 'done' button, not by pressing the Fn key again, unless you have given the process chance to finish typing what you said.

Each time you pause, you ought to see the text so far, but pressing function will just close the window without any further return from the online process. Conversely if you click the Done button it will still finish off what you were saying, even if it's not yet had chance to parse it.

If you close the dictation box using the function button then you may not be giving the process chance to finish, In effect generating a Cancel rather than an Enter.

The time you need to wait before closing may be dependant on your connection speed.

As you are dictating you ought to be able to see the volume level in the microphone icon on the dictation pop-up.


Show table of contents when opening PDF in Preview

This is currently not possible to be set as default in Preview. The closest you can get to this is Preferences → Opening for the first time: Always show sidebar. However, the sidebar that opens is the default thumbnail view, not the TOC.

You can provide feedback to Apple regarding this at the following page:

http://www.apple.com/feedback/macosx.html


How to assign single-key system-wide shortcuts to numpad?

You can assign key commands specifically to a numpad/10-key, as macOS differentiates between the 10-key numpad & the numbers above qwerty.

Until [I think] Mojave, all key commands must have a modifier to call them, so you couldn't specify only a single number.
This has recently changed & you can now assign a single numpad key to a key command. You still cannot do this with the qwerty numbers.

For instance, here I use  Ctrl ⌃   [10-key]  to switch between Spaces & the OS is aware that using the same key combination on the 'qwerty' numbers doesn't call that switch.
You cannot tell by looking at the commands, they look the same, but they are considered different by the OS itself...
Just to demonstrate, I changed my 'Switch to Desktop 1' command to just be numpad 1 & I can confirm this works as expected. Trying to assign only a single key from the qwerty section is not accepted.

However, unless you want to use some 3rd party structure like Karabiner [with which I have no experience] then you can only call items which either already have an entry in the shortcuts structure, or that have a matching menu command.
So, you can assign a single key to activate Dictation, as that has an entry in the Keyboard prefs, you could add * as your shortcut to take a screenshot for the same reason, but you couldn't directly assign
 Cmd ⌘   Tab ⇥   to another key.


Nope, apple requires that apps are build in Xcode.


Does Migration Assistant migrate macports?

The copying should work without a problem, but if you happen to upgrade to Snow Leopard at the same time, you might run into some compatibility issues, depending on the "ports" you have installed. Same goes for old "ports" that may have been specifically built for your old system (maybe processor dependent), you could run into problems there, too.

Remember to run selfupdate, and upgrade the installed ports (where needed).


Can you solve these intermittent audio problems with Ford Sync and iPhone?

I don't have an answer, but I have the identical problem with an iPhone 3G.  The sync system will recognize USB for about a month and then start failing until it flat out won't recognize anything device that is inserted into the USB port.  I've had the guys at the dealership look at it 3 times and each time they get it to start working again by upgrading the sync software or it just happens to start working.

Have you found a solution beyond using Bluetooth?  I can't even charge my phone anymore through the port.


My PC has over 200 GB of free storage but iTunes won't back up my iPhone with 64 GB

Usually when I see this issue, it's one of the following:

The iTunes backup folder is missing, damaged, or has incorrect permissions.
The iTunes backup folder was previously redirected to an external drive that's now disconnected (a fancy variant on missing really :))

There's two locations for the iTunes backup folder, depending on whether you installed iTunes direct from Apple or via the Microsoft Windows 10 store.

Direct from Apple:

In the Windows search bar type %appdata% (with the percents) and press return/enter. A file browser window will open to the Application Data folder.
From there, navigate to Apple Computer -> MobileSync -> Backup.

From the Windows 10 store:
 1. In the Windows search bar paste %userprofile%\Apple\MobileSync\Backup and press return/enter. A file browser window will open to the iTunes backups folder.

Do you have one or both of these folders? I usually like to start by recommending renaming the existing Backup folder and making a fresh new folder named Backup (must be named exactly Backup) and seeing if that helps.

My blog post about how to find the iTunes backup folders:
https://deciphertools.com/blog/where-are-iphone-backups/ (Obvious disclaimer: I'm linking to myself as a reference.)

I have more suggestions about fixing an error making a backup here https://deciphertools.com/blog/fix-iphone-backup-corrupt/ under the section "iPhone Backup Corrupt or Not Compatible - Can't Back Up" There's tips about errors restoring a backup as well, but please don't try those for this issue!


Not sure if these are Dead or Stuck pixels on my Retina Macbook Pro?

Some general advice - finish your school work and get a good backup as your computer can wait for a week to get service. If you can, call Apple and get the incident on the record now - just in case your warranty expires in the next day or two it's a lot easier to get someone to bend the end date if you did your part in letting them know you want help and have a reasonable situation to not bring it in.

That being said - if you really need this and your Warranty is ending and you don't want to depend on the kindness of someone extending that deadline - get it in for service if that is the most important thing.

As to the problem itself - it's pretty clear that you have a large white spot the size of about 16 complete pixel elements. Since LCD panels have back lit white light and several layers to prevent that light from escaping, it looks like those layers have broken down or not been formed in the first place. Both manufacturing imperfections and failure can cause sub pixel bright spots and even rows of failures if the control wires fail - but for a round spot like this to fail, the cause is almost always a physical damage that cracks the several layers of polarizer and lets light through the LCD assembly despite the transistor signals calling for the pixels to be dark like the surrounding area.

I would expect warranty to cover that sort of thing on either very new equipment or when there is absolutely no sign of external force and the company was being very lenient in not presuming that this was physical damage. I just can't see most people not noticing that size of a defect in a LCD panel at the time of manufacture or when you first started up the mac and had a dark background showing.

I would arrange for service at your earliest convenience - and if it gets repaired under warranty, great. If not, you'll know what a paid repair will cost and you can decide what to do with your time and money. I would ask them to quite you the in-warranty and out of warranty costs if you need to send the Mac in and can't let a trained technician look at it first hand.

In the mean time, you can see more about how sub-pixels are arranged on iOS devices and perhaps that will help you relate to the picture you took of the larger pixel areas on your screen.

And certainly don't try to fix it unless you want to put in a new LCD as a DIY or repair by someone that does that sort of thing. There's a lot of nonsense about massaging pixels and this would get worse if you push on the display - not better.


Printing out weird code instead of actual print jobs

That 'weird code' is actually PostScript, and is the raw data of the print job.

If this is a large network printer, these models very often have different LPD queues to which you can send the job. These can define the expected input data. (E.g. my HP 5200 has "RAW", "AUTO", "BINPS", and "TEXT" as LPD queues.) Check the manual of the printer, and see what print queues are offered, and make sure you configure the 'Printer' in MacOS to send to a particular queue.


Are there security risks for an iOS device?

Currently there aren't any vulnerabilities that can be used remotely to access data like this that I know of.

If someone had physical access to the device, then they could access any data on it, as the disk isn't encrypted. Of course, the high retail value etc would mean most thieves would likely just wipe and sell it, rather than try to extract data.

In short, right now there aren't any active exploits that allow remote data access (though there have been ones in the past involving tiffs and pdfs that may have allowed this).

If the device was stolen, you are out of luck though, even with a passcode lock.

It's possible to set up two things to mitigate this:

Get the passcode wrong 10 times, and device is wiped
Find my iPhone app from iCloud allows you to remotely wipe the device


Apple's official answer on this is a bit contradictory: their promotional page lists Apple Watch as a device you can use with them while their main support page only lists Mac and iPhone as compatible devices.

However, you can definitely use the Airpods with any Apple Watch running watchOS 3 or later. The Airpods should automagically connect to the Watch once you set them up on your phone using iCloud, but if you need to pair them to the watch manually, you can do it like you would with any bluetooth headset. Here's how:

Put your AirPods in the charging case.
Open the lid, but don’t remove AirPods yet.
Press and hold the circular setup button on the back near the bottom of the charging case until the status light between your AirPods at the top of the case starts rhythmically blinking white.
Launch Settings on Apple Watch, tap Bluetooth and select your AirPods when they appear on the list of nearby Bluetooth devices.
After device status changes from “Pairing” to “Paired,” AirPods are ready to use.
Start playing your music.

Those steps are from iDownloadBlog.

If it's still not working make sure:

The Apple Watch is running watchOS 3 and is not in Airplane Mode
The AirPods are within a few feet of the watch
The Apple Watch isn't paired to any other Bluetooth device (other than your phone, of course)
The AirPods are in pairing mode (press and hold the button on the AirPods' case)


How tough is the aluminum body of a MacBook?

The unibody construction is substantially more impact resistant than the previous plastic design. This is especially true in the display area where the front glass and the rear aluminum act more like an I beam than the old design. Not only is the construction more sturdy, but in falls, the damage tends to be less expensive to repair should you actually break things.

For example, the unibody macs with enclosure damage usually cost between $300 and $400 to repair where a cracked screen can cost upwards of $800 to $1200 for an Apple repair. The unibody parts require better tools and training to repair inside them, so that's about the only down side I can see to the newer design. Aluminum is really much stronger than the old LCD panel with thin metal braces and a plastic shell to cover the display. Even the new macs with matte displays are much stronger than the old pre-unibody displays on MacBook Pro / PowerMac line.

Of course, many single falls can break even the expensive parts in a unibody mac as the tolerances inside the machines leave little room for deformation to safely absorb the shock of a fall, but I have seen far more unibody macs that have skidded across pavement at highway speeds that still worked and had only surface damage than the previous generation of non-unibody macs. (Yes - it happens more than you might guess and when placed on the top of a car or truck, sadly they don't actually leave the vehicle until you get up to highway speeds. Now the ones run over by a following vehicle - unibody stands up better, but still doesn't usually survive that ordeal.)


Is it possible to manually TRIM the unused blocks (free space) for an existing APFS volume?

On APFS, macOS automatically performs a TRIM operation on the free disk space on boot via the AFPS Space Manager (spaceman). Therefore, as long as TRIM is enabled on the system (via trimforce for 3rd-party SSDs, see karolus's answer), you don't have to worry about it. There is no command and no need to manually trim the unused blocks.
Verification
If you want to personally verify the operation of boot time TRIM, you can search for spaceman-related messages in your boot log.
Execute the following command as root. It lists all messages from the kernel (--predicate "processID == 0") since the beginning of this month (--start $(date "+%Y-%m-01") and search for messages that contain "spaceman" (grep spaceman).
# log show --predicate "processID == 0" \
  --start $(date "+%Y-%m-01") | grep spaceman

And you can see messages like these
2021-01-13 11:54:28.559149+0800 0x1bc      Default     0x0                  0      0    kernel: (apfs) spaceman_trim_free_blocks:3009: scan took 7.102084 s, trims took 6.415750 s
2021-01-13 11:54:28.565684+0800 0x1bc      Default     0x0                  0      0    kernel: (apfs) spaceman_trim_free_blocks:3017: 28059445 blocks free in 247937 extents
2021-01-13 11:54:28.572872+0800 0x1bc      Default     0x0                  0      0    kernel: (apfs) spaceman_trim_free_blocks:3025: 28059445 blocks trimmed in 247937 extents (25 us/trim, 38645 trims/s)
2021-01-13 11:54:28.580121+0800 0x1bc      Default     0x0                  0      0    kernel: (apfs) spaceman_trim_free_blocks:3028: trim distribution 1:25496 2+:47953 4+:92857 16+:41261 64+:17838 256+:22532

The lines are too long to read, I slightly edited it to make it shorter. You should see logs lines that mentions "TRIM",
scan took 7.102084 s, trims took 6.415750 s
28059445 blocks free in 247937 extents
28059445 blocks trimmed in 247937 extents (25 us/trim, 38645 trims/s)
trim distribution 1:25496 2+:47953 4+:92857 16+:41261 64+:17838 256+:22532

As you can see, macOS just trimmed 28059445 unused blocks today. Assuming APFS uses a 4 KiB block size, it means the SSD has discarded 107 GiB of free space. And yes, it roughly matches the free space on my disk. Works as expected!


Lion: Switching an Application's launch preference off of Rosetta (PPC)

Application launch preferences are stored in ~/Library/Preferences/com.apple.LaunchServices.plist, including whether or not to open using Rosetta.

Opening up this file (easier to parse if you have Property List Editor installed from the developer tools) will allow you to find the entry for the specific app that's set to open in Rosetta, and you can strip out the PPC-relevant bits. Make a back up first, just in case.

More info is available here.


Syncing Linux server data with data on my Mac

You can combine the GUI-based arRsync tool for OS X with the use of /net to automount the share to achieve what you desire.

The remote share will be automatically mounted as long as you access as /net/hostname/exportname. So use that path in arRsync and when you fire the sync it'll automount and then scan and sync just the deltas.

There's good old command line rsync available if you prefer. It ships with OS X. Here is the manual page for it.


Not sure if the iPads with USB-C can do this, but if you connect your iOS device to a Mac, you can mirror/record your screen with QuickTime Player.

Connect your iPad or iOS device to your Mac.
Open QuickTime Player.
Select File > New Movie Recording.
Click the little arrow to the right of the record button and select your iPad from the list.

After this, your iPad's screen will appear on screen. I think the floating recording window will disappear if you don't have your mouse over it.

You may have to trust the computer on your iPad or iOS device to get this to work. The aspect ratio will be preserved on screen, so a portrait iPad would be 3:4 and landscape would be 4:3.


Copied application showing "prohibited" instead of app icon in Finder

I have seen Finder sometimes getting stuck still showing the last unfinished state of a file.  This may be a refresh issue, especially when you say that restarting the Finder solves it.

Alternatively, you could try to just run the application by simply double-clicking it.  If the "prohibited" sign is valid, you will receive an error message stating the cause.

Otherwise, it will simply work, potentially update the icon at that stage already or at least once you either restart the Finder or the computer.


Creating folders from the Open File dialog

This cannot be done from the Open dialog on the Mac. It, however, can be done from the "Save" dialog.

Enter the "Save" dialog (in Word, it's usually shown as a sheet). If you don't see the file tree, click the down-arrow next to the filename box (it's circled in the below image).

In the expanded window, navigate to the folder where you have your client information. To make a new folder, click the "New Folder" button in the lower-left of the sheet (again, circled in the below image).

(Screenshot examples from Word 2011.)


There is no command/utility named convert built into macOS.

convert utility is installed as part of ImageMagick. You can easily install ImageMagick using Homebrew by running:

brew install imagemagick

To install Homebrew, run:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


Why can't I send ZIP files in Apple Mail from an iCloud account?

I found a solution. I tarred my zip archive. So I used the tar command in the terminal (tar -cf output.tar input.zip) and then emailed the tarred zip file. I guess this prevents Apple from trying to count how many files are in the zip archive.


Mail App is using internet connection to capacity (Retina Macbook Pro Early 2013)

Mail > Preferences > Accounts > Advanced

There is an option called "Keep copies of messages for offline viewing"
If you have that set to All messages and their attachments, then Mail will download your entire Gmail archive, which could be several GB.
I suggest setting that to All messages but omit attachments, then quitting Mail, then deleting ~/Library/Mail/V2 and relaunching Mail.  It will take several minutes to clean up and re-download all the messages, but this time without attachments.


How to add a line break in a cell in Excel for Mac

The answer is to use Control+Option+Enter, which will create a line break in the cell.

As an alternative, Control+Command+Enter can also be used to achieve the same.

These combinations work both in Excel for Mac 2011 and the new Excel for Mac 2015.

As pointed out by Shameer in this answer, Alt+Enter now seems to work as well in the new Excel for Mac 2015.


iOS Mail app doesn't function like you are hoping it will unfortunately. The best suggestion I have is to add this mail account twice in iOS Settings, once using each email address you prefer it to have.


My guess is you had .Mac and ran Apple's .Mac backup tool as described in this article.

http://macdevcenter.com/pub/a/mac/2005/09/23/backup3.html?page=1

If the files have orange or purple umbrellas as icons, that would be a good clue that they came from that Backup program. Looking at the dates of the files might also help you establish how old they are.

These are probably very old and you could delete them or move them to an external drive to free up space on the drive, but it would be prudent to be sure before deleting them.

Turning off Time Machine would delete any local backup file store, and you can force that by running sudo tmutil disablelocal but those backups get stored on a separate /Volumes/MobileBackups filesystem and are normally very well hidden and don't use any incremental file naming scheme like the older software did.


How to spoof a USB-Ethernet adaptor's MAC address in OS X

I fixed this issue by installing my adapter's chipset driver on Mac Os X.
After rebooting, the usual command (e.g. sudo ifconfig en6 ether xx:xx:xx:xx:xx:xx) works as expected.
Below the details.

I had the same problem with a Tecknet UL688G USB 3.0 to 10/100/1000 Gigabit Ethernet adaptor.

On both Mac Os X 10.10.5 (Yosemite) and 10.11.4 (El Capitan) the command to change the MAC address was ignored, while it worked flawlessly on Ubuntu 15.10.

So no, not an hardware problem, at least in my case.
After a few failed attempts with third party software and useless drivers, I found out that my adapter had the Realtek 8153 chipset, as confirmed by the system report of Mac Os X:

I found the chipset driver on another manufacturer's website, relative to a different product that uses the same RTL8153 chipset, installed it, rebooted, and voilà.. after that it was possible to change the MAC address from command line.

PS. the Realtek's website has the driver as well; it is probably the most updated version, although it gave me some errors during the installation. However, it also works as expected.


How to debug USB storage issues on a MacBook?

In the past using Macosx El Capitan, I would sometimes see
the message USBMSC Identifier (non-unique) in dmesg
after I had disconnected my external drive and tried to
reconnect it later unsuccessfully.

My blackbox perspective of what was happening is that upon
the attempt to reconnect, the already cached mac id of the
usb device was recognized as already existing, but interpreted
as a different device, so the "reconnect" failed.
In that case, I disconnected the external drive from USB again,
powered down both the drive and the computer, waited a short while,
then reconnected the drive and booted.  The id was found as
unique again and the mount of the external drive succeeded.

I see the same log message upon another error in
Sierra 0.12.6, however. I'm seeing the USBMSC Identifier (non-unique
log message when I'm not able to mount an external drive which
has the same vendor ID as another previously connected external
drive, but different complete mac ids.
I haven't been successful at getting the OS to recognize the
second drive as unique yet.
I haven't tried to mount the drive using another OS yet, but thought
the "reset" scenario above might be helpful.


How can I access my Time Capsule remotely with iCloud?

Make sure that you have a clear path to the Internet in terms of firewalls, and ensure that TCP port 5354 and UDP ports 4500 and 5353 are open and unrestricted.

Once you've done that, make sure you are logged into iCloud on your computer, and that the remote Time Capsule is on (also making sure those ports are unblocked on that end). Your disk should now show up via AFP in the Finder sidebar!

Also try these steps from the Apple Support Article about troubleshooting Back to My Mac.

    Update all your Macs to OS X Lion v10.7.3 or later (OS X Lion v10.7.4 or later is recommended).
    Choose System Preferences from the Apple () menu. Open iCloud System Preferences and check that Back to My Mac is enabled. See if any diagnostic messages are provided under the Back to My Mac section to assist you with troubleshooting and resolving any connection issue.
    Toggle Back To My Mac off and back on by deselecting and then reselecting Back To My Mac in iCloud System Preferences.
    Make sure the computer you are trying to connect to is not sleeping and is set to Wake on Demand. For more information about Wake on Demand, see this article.

    If you are using an AirPort base station, make sure your firmware is up-to-date (open AirPort Utility 6.0 or later).
    Check your network for a multiple NAT setup and reconfigure your network as needed.
    Make sure NAT-PMP or UPnP is enabled (if you are using an AirPort Extreme Gigabit Ethernet base station, click here for information about AirPort Extreme Gigabit Ethernet and NAT PMP).
    Ensure TCP port 5354 and UDP ports 4500 and 5353 are open on your firewall. To learn more about ports used by Apple products, click here.

Note: Perform these steps only if you've verified the information in the previously listed troubleshooting section is configured correctly.

    Open Keychain Access located in /Applications/Utilities.
    Choose the System Keychain in the Keychains list on the left.
    Sort the Keychain list by Kind.
    Select all keys listing the "Back to My Mac Key."
    Delete the selected keys. You will be prompted for your machine's administrator password.
    Quit Keychain Access.
    Choose System Preferences from the Apple () menu. Open iCloud System Preferences.
    Toggle Back to My Mac off and back on again by deselecting (if still selected) and selecting the checkbox.
    Once Back to My Mac connects, quit System Preferences.


Does iTunes remember what I listened to and when?

Nope.

Unfortunately, iTunes does not save an exact history of when you played certain songs, only the order in which you heard them.
There is no way you can know which song you hear, say, 3 hours and 10 minutes ago (totally random figures).


Shortcuts - Saving a file to specific folder that is NOT ‘/shortcuts/‘

You can't access files outside /Shortcuts/ on purpose, it's called sandboxing and makes sure that your iCloud data is safe!

As a matter of fact, it used to be possible to trick Shortcuts.app with a relative path (e.g. /Shortcuts/../../hiddenData/), but that security problem (CVE-2019-7289) was fixed in February 2019: release notes


Wrong Application Name when Asking for Privacy Permissions?

For what it's worth, removing VMware Fusion, then reinstalling it seems to have fixed the issue.


Contact switched to Android; how to send texts instead of iMessages?

Your brother's Apple ID probably still has his phone number associated with it for iMessage. The smoothest way to deal with this is to have him disassociate his phone number from his Apple ID.

Apple has a self-service web site that explains how to accomplish this:

https://selfsolve.apple.com/deregister-imessage

If that doesn't work, this older KB article has a helpful section "Unlink a phone number".

If he has other Apple devices (Mac or iPad) that are using his Apple ID, your iMessages may be being delivered there. If none of those devices are available when you send him an iMessage, your phone will eventually offer you the opportunity to resend the message as an SMS or MMS.

Unfortunately you can't disable iMessage on a per-contact basis.


iTunes (Music.app) not converting song entirely / skip to the next one when playing

As a troubleshooting step I would start with booting into Safe Mode to see if the behaviour is replicated there, and also to see if the behaviour continues again afterwards when you've logged back in normally.

Boot into Safe Mode

Follow these steps to boot your Mac into Safe Mode:

Fully shut down your Mac
Restart your Mac
Immediately press the Shift key and keep it down
Let go of the Shift key when you see the login window (NOTE: If you have FileVault enabled you may need to log in twice).
Take a note of what happens (i.e. can iTunes play and convert full songs or not?)
Now exit Safe Mode by restarting your Mac as normal
Log in normally and test again

Once you've booted into Safe Mode, let me know how you went and we'll go from there.

Test with a new user account

Okay, let's now test to see if this behaviour persists in a newly created user account.

Go to Apple > System Preferences...
Select the Users & Groups preference pane
Click on the plus sign at bottom left (you may need to unlock the padlock first)
Now add the details for the new account and click on the Create User button
Once created, click on Login Options
Ensure that automatic login is off
Also ensure that the Show fast user switching menu is enabled
Exit preferences

Now log into the newly created account (there should be an option at top right of the menu bar), download an .mp3 file and test iTunes again.

Let me know how you go.


Theft of MacBook running El Capitan: Security Implications

Your keychain is encrypted with your login password, so the passwords stored in it should be pretty safe as long as they aren't somewhere else, too. Unfortunately, information sometimes leaks, so there may be notes, password reset emails, etc lying around unencrypted and potentially readable by whoever stole the laptop (or their fence, or...). So in theory your passwords are safe; in practice, you should reset them all.


System Events can only send a keystroke to the front most application or its window.

However, if you want to send a text message to a Buddy using Messages, while it's in the background, the following example AppleScript code works for me:

set targetBuddy to "+nnnnnnnnnnn"
set textMessage to "Hello World!"

tell application "Messages"
    set targetService to id of 1st service whose service type = iMessage
    set theBuddy to buddy targetBuddy of service id targetService
    send textMessage to theBuddy
end tell

The "+nnnnnnnnnnn" in set targetBuddy to represents the Buddy's phone number. Also, as coded, Messages is already opened and in the background. Otherwise additional code is required.

Note: The example AppleScript code is just that and does not contain any error handling as may be appropriate. The onus is upon the user to add any error handling as may be appropriate, needed or wanted. Have a look at the try statement and error statement in the AppleScript Language Guide. See also, Working with Errors.


How do I remove what appears to be malicious cached javascript?

Sounds like a DNS changer of sorts.
could maybe try running a scan with clamXav if your not too familiar with what files are legit and what ones are malicious.

where I found the dodgy DNSchanger file and instal.pkg
~/Library/Internet Plug-Ins
/Library/Receipts

Only clearing the cached files wont get rid of malware. It might only do half the job.

Here are some links, feel free to use them.. or not. :)

http://www.howtogeek.com/howto/38793/how-to-switch-mac-os-x-to-use-opendns-or-google-dns/ - When trouble shooting the issue, I noticed that the auto DNS settings in sys prefs were different to what our routers DNS address was.

Open DNS address:    208.67.222.222 & 208.67.220.220
google DNS addres:   8.8.8.8 & 8.8.4.4

http://www.macupdate.com/app/mac/15850/clamxav/ - read up on some of the user feedback before you try.

bottom line is - be aware of what your are accepting and installing on your machine.


How can I hide the Resent-from header in Mail?

Visit https://support.apple.com/kb/PH19118?locale=en_US
The following reads:

When you view messages, you can show more fields in the message header, such as List-ID or Resent-From.
Show the headers: Choose Mail > Preferences, click Viewing, then select “Show additional message headers.”

Change the headers that are shown: Click Select Headers. To delete a field, select it, then click Remove . To add a field, click Add , then enter a field name.


There is no universal shortcut. In Safari, two finger swipe functions as Back-/Forward (CMD + ←|→). In Preview, it's Left/Right Page (←|→). Using keyboard shortcuts doesn't give you the nice transitional effects.

You can use BetterTouchTool. It allows you to bind mouse buttons to keyboard shortcuts, either globally or on per-app basis.


The setting you wish to adjust is the built-in display correct?  Your screenshot is for the external.

To change the built-in display on a retina screen running Yosemite:

Unplug your HDMI (as in normal use)
Go the the Display preferences ( > System Preferences)
Set the display to Scaled and More Space.

Play a bit with it to get the look you desire.  Note: this may affect performance.

When connected:


There are tradeoffs to any choice of Apple ID, but unless your personal Apple ID are tied to an Apple email, you can always re-name the Apple ID and change email, DOB, security questions, etc…

For pilot projects on iOS where the budget for apps is less than $1000, I usually recommend a personal account option when you don't have someone in the organization to manage email / fire up new corporate accounts.

If you do have control and desire to set up work Apple ID, then you should do that and keep the purchases on a work account per policy. This also is my primary recommendation for Macs since software costs are often higher and you are less likely to shuffle people through a Mac as opposed to an iPad or iPhone/iPod.

The process of discovering how you want to enable your people to work, who will be responsible for managing Apple ID / passwords is more valuable than any decision you actually make. Most decisions can be fixed / adjusted / changed if you find you choose unwisely. Just write up your plan, review it internally and go. You don't have to get everything right if you can loop back in 3 months and see how you did and adjust accordingly.

I would go to the seller of your Macs and see if they can advise you on how to deploy. If you haven't purchased yet, go to your local Apple store (if there is one) and talk with their Business Team. They help hundreds of groups like you navigate the path of using Apple at work. They don't charge for their time, have amazing resources if you stump them, and can hand you off to a local consultant if it's more economical to hire expertise if you have more money that time or training. A good consultant will guide you and inform so you can use Apple's planning guides to best effect.

Here's my TLDR advice:

Empower each Mac user to use their work email as their Apple ID and have no form of payment associated with these accounts.
Expect them to handle purchases / updates with a discretionary budget of gift cards that work provides, so you'll train them or get them to Apple for training so they can perform basic tasks / troubleshooting without needing your help. Treat one-off purchases like other things you use expense reports for and review all purchases quarterly or annually to see which apps you want everyone to be using.
Enroll your work in Apple's VPP program (even though it's designed for iOS - you will be forced to think about how to deploy apps and the resources there are worth your time to read / understand.) My guess is VPP will come to Macs this year with 10.9 - but that's wild speculation on my part.
Use one account to gift required apps to each user account if you find gift cards unworkable. Use this for purchases that are role-based as opposed to exploratory or one-off needs.
Consider enrolling in Joint Venture so Apple can provide your first line of help desk training and support in a business setting.


OS X El Capitan suddenly can't open DMG files

I had the same problem, and managed to open .dmg files by going into Disk Utility>File>Open Disk Image. Once opened in Disk Utility, Double Click (Right Click) the icon and click show in Finder. Then I could install what I wanted! Hop it works for you!


Where are the Flash temp/cache files in safari 9? They move every version

In the past it used to be possible to find cached Flash video files and retain them.

However that doesn't seem possible in recent versions. There are a few "Cache" folders created if you install Flash Player (or use the one bundled with Google Chrome), but when a Flash video is actually playing the data appears to be written temporarily to a location similar to /private/var/folders/t5/zp1103fj4h924mvzysl1m9wh0000gn/T/FlashTmp.T6ja08 but it doesn't stick around long.


Mail.app has no entry for from: gmail-account

You could just go into Mail/Preferences/Outgoing Mail settings and verify the SMTP settings.
Gmail uses smtp.gmail.com on port 465


I used Homebrew to install gnuplot. I believe I had to use specify --nolua. First, I installed aqua term:
brew install aquaterm. Then I installed gnuplot with brew install gnuplot --nolua and that was it, gnuplot picked up aquaterm immediately.

Additionally, I sometimes use octave to plot. It's also got a formula in Homebrew, so just run brew install octave and away you go!


File extension shows in BASH but not in Finder

Be sure the file's own metadata is not set to hide the file extension. Right-click or control-click the file in Finder and check the setting in the "Name and Extension" area.


That was the Debugger window that was built into the Mac's ROM. I never learned what language worked in it.


How do I mark a document as final in word for mac 2011

On Word 2011 for Mac, marking as Final is found in the Review ribbon.  From here you can turn on/off Track Changes, accept or reject changes etc.

I hope this is useful.


I had this problem before and solved it by doing a forced restart. To do this simply press and hold both side button and Digital Crown at once until the view changes.


Make shortcuts to directories via terminal

I keep aliases in ~/.bash_profile.

Terminal and iTerm 2 open new shells as login shells by default. When bash is invoked as an interactive login shell, it reads ~/.bash_profile but not ~/.bashrc. The terminal emulators on other platforms often open new shells as non-login shells, so for example bash reads ~/.bashrc but not ~/.bash_profile. OS X users often use ~/.bash_profile as the personal configuration file corresponding to ~/.bashrc on other platforms, but it is also possible to source ~/.bashrc from ~/.bash_profile or to tell Terminal or iTerm 2 to open new shells as non-login shells.

If both ~/.profile and ~/.bash_profile exist, bash only reads ~/.bash_profile when it is invoked as an interactive login shell. ~/.profile is also used by other shells and programs that might not understand the same configuration options as bash.

/etc/bashrc is owned by root, and it might get replaced when you upgrade OS X.

See man bash|less +^INVOCATION or https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html for more information.


How could macOS be POSIX compliant without vi?

It's actually optional.

Per the The Open Group Base Specifications Issue 7, 2018 edition
 in the  Shells & Utilities Volume, the vi command states:

  This utility shall be provided on systems that both support the User Portability Utilities option and define the POSIX2_CHAR_TERM symbol. On other systems it is optional.

That particular specification is a component of the Unix 03 product standard which is what macOS Catalina is certified for.


Got errors when changing a readonly file (the CSS of pop-out dictionary) on OS X

You're attempting to edit a file within a restricted location, protected by System Integrity Protection.

$ ls -O /System/Library/Assets/com_apple_MobileAsset_DictionaryServices_dictionaryOSX
total 104
drwxr-xr-x   7 root  wheel  restricted  224B 19 Apr 09:29 ./
drwxr-xr-x@ 24 root  wheel  restricted  768B 31 Mar 12:15 ../
drwxr-xr-x   5 root  wheel  restricted  160B 31 Mar 12:19 2fcc349eb53d7c336b8372758b70508eb8e2ac0b.asset/
drwxr-xr-x   5 root  wheel  restricted  160B 31 Mar 12:19 61b49f47f0dce1c061c688d415e1f1a84c37fce0.asset/
drwxr-xr-x   5 root  wheel  restricted  160B 31 Mar 12:19 cd4d7cc1cd227a13d2b9c029f86c940f94b7543a.asset/
-rw-r--r--   1 root  wheel  restricted  3.4K 19 Apr 09:29 com_apple_MobileAsset_DictionaryServices_dictionaryOSX.plist
-rw-r--r--   1 root  wheel  restricted   44K 19 Apr 09:29 com_apple_MobileAsset_DictionaryServices_dictionaryOSX.xml

These cannot be edited even with sudo. To edit files within restricted locations, either:

Perform the edit from Recovery HD.

Boot into the Recovery HD by restarting whilst holding ⌘R.
Use the Terminal from the Utilities menu in Recovery to perform the edit. Note that / is the mount point of the recovery environment, therefore you should access your disk from /Volumes/yourdiskname/….
Reboot

Disable System Integrity Protection, perform the edit, then re-enable it.

Boot into the Recovery HD by restarting whilst holding ⌘R.

Open Terminal (from the Utilities menu).

Run the following command in Terminal:
 csrutil disable

Restart.

Perform the edit you wish to make to the files.

Boot into Recovery HD once more and run csrutil enable to re-enable SIP.


Settings > Mobile Data > Sim PIN

There's a Change PIN option there.
I can't provide a picture as I've never used a SIM PIN, so the screen looks fairly uninteresting ;)


Parenthesis don't show in built-in iPhone calculator app

The built-in calculator doesn't offer any visual clues to let you know you've opened a sub-group operation in an expression. The only thing that tips you off is you'll get a sub-result after you close the group show up in the display. For example, enter the following:

5 + ( 3 + 3 )

After you type the opening ( you don't see anything on the display. But when you press the closing ) the display shows you 6 to tip you off to the fact that the 3 + 3 operation was performed.

I prefer the TouchCalc app myself. It will show a small ( in the lower left corner of the display when you open a sub-expression grouping so you know you're actually perserving your order of operations as intended.


Does changing a daemon's plist file extension prevent it from being loaded?

launchctl list and sudo launchctl bstree will show you the jobs. You'll need to read up on the mach_init part as well as be aware that launchd gets more and more of the pie as you go from Tiger/Leopard/Snow Leopard/Lion - your in general question is basically "walk me through launched" - The command mdfind dashboardadvisory will search in the areas hidden by default in spotlight as system files.
@bmike
PS: post it as an answer if you want, so I mark it correct.


The only thing that may work for you is this (although, I wouldn't get your hopes up):

  Start your computer and hold the ⌘ + S keys to get into Single User mode.
  Once you're in Single User mode, type in unmount -uw / and press enter.
  Now, type in fsck -fy and press enter. It should go through several stages of checking and repairing the file system.

  It will most likely give you an error stating that it cannot be
  completed for some reason, but it's worth a shot.

Alternatively, if the issue is isolated to the file structure, you can try doing a reinstall of Mac OS X from the recovery partition. Doing just a reinstall should not erase any of your data.

However, you may want to try to back up your computer first. The only way that I can think of to do this on a MacBook Air 2011 is to use Thunderbolt target disk mode. This will require that you have access to another Thunderbolt equipped Mac as well as a Thunderbolt cable.

If you don't, I'd take a trip to the Genius Bar at your nearest Apple Store. They'll have the extra Mac and equipment necessary to do this. If they/you decide to do this while you wait at the Genius Bar, expect to be there for a couple hours just in case. If they/you decide to leave it with the Geniuses, there is a $99 data transfer fee that they'll most likely charge you.

The only other option is to:

  Boot your Mac to the recovery partition
  Open Disk Utility from the Utilities menu
  Follow these steps to erase your SSD
  Reinstall Lion on your MacBook Air


How to make an Image of my Solid State Drive

You can use the program dd to create a disk imgage of an entire disk (including hidden boot partitions etc.)
I use a GParted live CD (linux) to boot from so the disk I want to clone is not in use.

Once booted I go first go to GParted to get the deviceid (/dev/sda or something like that).
Then I open terminal to use dd. Be careful dd will erase your disk if you use "of=/dev/sdX" with the disk you want to copy.

To create an uncompressed img I use: (do not forget to change the drive letter!)

dd bs=4M if=/dev/sdb of=/mnt/bla/image1-`date +%d%m%y`.img

but you can also zip

dd bs=4M if=/dev/sdb | gzip > /mnt/Raspberry/test_dd/image1-`date +%d%m%y`.img.gz

"if=" is the source file or disk
"of=" is the destination
if no "of=" is used it will stream it to std. out with you can pipe thru (|)


How to limit search only to file name instead the content of files?

When you're in the Finder, hit Command + F. Notice under the Search: bar there's some options. Use the pulldown to select Name. Then set the next to Matches, Contains... and type in your search string.


Activation fails on iPad running iOS Beta 7

Try updating to the GM. It's the last usable version for the dev's.


How do i use my MacBook Pro on iPhone hotspot?

Simply turn off the Wi-Fi on your iPhone, and share your cellular connection through USB cable from your iPhone to your Mac.

If you don't otherwise need the crappy Wi-Fi network you have, just turn it off, most probably on your Internet connection router.

To improve the quality of your wireless environment, and if you don't use it to access your iPhone, I advise you to turn off Bluetooth on your iPhone too.


Click the bookmarks Button:

               You will then need to click the Parent Folder button:

             Until you come to the beginning of the Bookmarks list.

               There you should see the history.


Can not use the `gettext` which is installed by brew

That formula doesn't link - you can do it by hand if you require it:

  This formula is keg-only, which means it was not symlinked into /usr/local, because macOS provides the BSD gettext library & some software gets confused if both are in the library path.

The maintainers recommend:

  If you need to have this software first in your PATH run:
    echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile

You can even get a more explicit warning by trying to link it manually:

  $brew link gettext.

  Warning: gettext is keg-only and must be linked with --force.

  Note that doing so can interfere with building software.

If you're sure you need it linked everywhere:

brew link gettext --force

See this SU thread for details https://superuser.com/questions/747324/brew-install-gettext-should-i-force-link-it


Can I write an Automator/AppleScript script to download all the iTunes app updates?

At the moment this feature is currently not available or easy to implement. There has been mention that the next version of iOS and iTunes may include this feature. But its all speculative until it is actually released.


Found an iPhone submerged in a river, what (if any) components may be salvageable?

It depends. Other then testing each individual part, no one could really say. What I'd do is take the whole thing apart, rinse everything off with water (distilled would be best, but at this point it probably doesn't make a difference) and clean everything with isopropyl alcohol. Dry everything off and reassemble the iPhone. Try to power it on. If it powers on, take note of what still doesn't work and email the Apple ID associated with it (maybe you could get it back to them and charge a repair fee, they may also just let you keep it and, if they're VERY trusting, let you use their Apple ID password to take the iCloud lock off of it). If not, sell it as-is on eBay, where, depending on the model, you still might get $100+, $200+ for it.


My primary tools for reading OSX details on hardware are system_profiler and ioreg. For network interface details, ifconfig is the best bet. The first two will show you connection paths for the hardware as well as software driver information. In your example - media and status provide most of the details you listed.

mac:~ me$ ifconfig en0

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=2b<RXCSUM,TXCSUM,VLAN_HWTAGGING,TSO4>
    ether 00:1b:63:a8:33:33
    inet6 fe80::21b:63ff:fea8:3333%en0 prefixlen 64 scopeid 0x4
    inet 172.16.1.8 netmask 0xffffff00 broadcast 172.16.1.255
    media: autoselect (100baseTX <full-duplex,flow-control>)
    status: active

mac:~ me$ system_profiler|awk '/^Ethernet Cards/{c=15;next}c-->0'

        ethernet:

          Type: Ethernet Controller
          Bus: PCI
          Vendor ID: 0x10de
          Device ID: 0x0ab0
          Subsystem Vendor ID: 0x10de
          Subsystem ID: 0xcb79
          Revision ID: 0x00b1
          BSD name: en0
          Kext name: nvenet.kext
          Location: /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/nvenet.kext
          Version: 2.0.17

In your case, you are grepping for Duplex, Speed and Link and on Mac hardware you can get all of that data from ifconfig en0 | egrep [media|status] as desired.


iMac 21.5" Late 2009 and external monitor at 2560x1440 with MDP-DP cable?

Apple says it does:

iMac (21.5-inch, Late 2009) - Technical Specifications

  Simultaneously supports full native resolution on the built-in display and up to a 30-inch display (2560 by 1600 pixels) on an external display

A well made Mini DisplayPort to DisplayPort cable should work just fine.


New MBP 13 retina late 2013 battery problem

MAMP. quit out of MAMP and you will see vast improvement.


Lost password on Mac OS Extended (Journaled, Encrypted) Drive. Want to reformat it

The encrypted volume's password is not required for erasing the disk, only to mount the encrypted volume on the disk. It's unclear whether you're being asked for the password only when connecting the disk, or when you attempt to erase it.
In Lion, you can use Disk Utility to erase an encrypted volume, but not in Mountain Lion. However, you can erase the encrypted volume with the diskutil cs delete command (see Terminal section below) in both versions.

Disk Utility (Lion only)
The following steps should work in Lion:

Connect the disk to your Mac.

When prompted to "Enter the password for the disk 'your disk'," click "Cancel". You don't need to mount the encrypted volume to erase the disk.

Open Disk Utility and locate your external disk on the left side. Its name will likely start with its capacity and include "Seagate" or "Free Agent" in the name. You should see your encrypted volume directly under the disk. The volume will be indented and grayed out.

Select the disk on the left side, not the volume.

Click the "Erase" tab, found between the "First Aid" and "Partition" tabs. If you don't see the "Partition" tab, and all the buttons under the "Erase" tab are grayed out, double-check that you've selected the disk on the left side, and not the disk's volume.

Choose a format and enter a name, then click "Erase".

If this doesn't work, let us know which step is not working and how.

Terminal (Lion & Mountain Lion)

With the encrypted disk connected, launch Terminal and enter the following command

diskutil cs list

You should see output describing the encrypted disk, starting with info about the Logical Volume Group:
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 109FC023-5F18-438A-AF3D-14FF60334A0C
    =========================================================
    Name:         Le Disque
    Size:         68375502848 B (68.4 GB)
    Free Space:   0 B (0 B)
    |
…

If you have more than one encrypted disk, locate the Logical Volume Group with the name of the disk you want to erase.

Copy the UUID which follows the words "Logical Volume Group". In this example this is the UUID for the disk named "Le Disque":
109FC023-5F18-438A-AF3D-14FF60334A0C

Warning The next command will erase the disk specified by the UUID you enter. Make sure you've copied the correct Logical Volume Group UUID for the disk you want to erase, especially if you have more than one encrypted disk connected.
Enter the following command to erase the encrypted disk, replacing copiedUUID with the UUID you copied:
diskutil cs delete copiedUUID

When complete, the disk will be partitioned with one volume mounted, called "Untitled". You can then start using it or repartition or encrypt it in Disk Utility as needed.


How to find what ctrl+alt+up/down is mapped to?

All native macOS shortcuts are mapped through Settings > Keyboard > Shortcuts

You can search through all the lists and look for the following combination in the right hand column: ⌃⌥↑. When you find it, you can either disable the checkbox in the far left or change the shortcut by double clicking it and entering a new shortcut.

You should now be able to use that shortcut in any program that the developer has mapped that for.


The ioreg and system_profiler Will enumerate connected USB and other devices should you have a FireWire or other bus for a camera.

Sadly, ffmpeg won't see the path to these devices as described here:

Mac webcam - get the device

At least you'll have a starting point with the two commands to detect a connedtd device.


Mountain Lion on Intel Core 2 duo (2009 macbook pro)

I've installed Mountain Lion on a Macbook Pro 3,1 (2007). "Over the top", so no clean install.

Specs: 500 HDD, 2GB DDR2 RAM, 2.2 GHz C2D

This is the oldest MBP which supports Lion. And it runs fine. No hiccups so far. It boots as fast as before (~1 min). It sleeps reliably. But I can't comment on the battery life yet.


Can I prevent OS X from resizing and moving windows when sleeping while attached to an external monitor?

Go into the menu on your external monitor. If there's an option that allows one device to toggle the power on the other via HDMI, make sure this is deselected (honestly, I don't think this will have an effect as your laptop is doing the driving, but for the sake of troubleshooting...).

I too use an MBP Retina with external monitor (via HDMI). If I shut off the external monitor while it has application windows in its desktop, the screen on my laptop refreshes and said windows are moved to my laptop's display. However, if I power the external monitor back on, these application windows "automagically" move back to where they were (same location and size) on the external' Desktop (as long as I haven't shut down the computer in the meantime). So, it seems one solution (if you're hard set against also using your laptop' display) is to leave the laptop open, but decrease the brightness of the screen to 0. I do this all the time when watching a movie on the big screen, and, truly, the laptop' profile is no less "bulky" than it would be if it was closed. An additional benefit to this method is that the laptop stays cooler (than it otherwise would by closing it). You can verify this with any free temperature-monitoring app.

If the above does not work or is otherwise intolerable, you're looking at some heavy Linux scripting to get something like this to work (which, even for an expert programmer, should prove to be a great learning experience, if its even possible).


When is a MacBook Pro considered at 'end of life' and in need of replacement?

In a typical corporate scenario you have to balance cost, resale value, and depreciation. This is all the accounting department really cares about, and that's who the IT department reports to.
In general terms:

Macs are more expensive than the equivalent PCs. In other words if you need to do X, Y, and Z and it can be done on either platform, the cost of the minimum machine that will do it is less for PC than Mac.
Macs have a high resale value. After 2 years a PC will have dropped to a very low cost, but a similar Mac will still hold significant value.
Macs depreciate slowly, while accounting typically uses one depreciation value for all computer equipment.

The combination of high resale value, but the same depreciation may tip the scales in your favor - or at least temper the initial cost of the machine. The machine may be partially or fully depreciated when it's sold, but it will sell for a higher cost than the PCs they would sell at the same time.

In most scenarios anything shorter than a 2 year replacement plan is going to cost the company more money than the value they'll get out of the machine, but anything longer than a 3 year plan will cost the company in terms of performance (employee waiting for the machine to catch up) than they'll lose buying a new machine and selling the old one.


How do I format a (non-formatted) drive when the menu options in the Disk Utility are greyed out?

You need to format/partition the drive as a MacOSX Journal Extended first then you will be able to install Snow Leopard.


Macbook Pro not responding to keyboard or power button

Would it boot with the old (original) hard drive? If so, you need to either clone the HDD to the SSD via Disk Utility (hold Cmd+R at boot), or install OS X anew on the SSD. You can use DiskMaker X to prep a USB installer, or use a OS X install DVD, assuming you can find one and the MacBook has an optical drive (fairly sure a '10 model does).

Just sounds like a mechanical issue with the keyboard, but hard to know without OS X installed. I would simply plug in a USB keyboard (any keyboard will work) and try that.


IPv6 used to be derived of the MAC address of your device. This is the Modified EUI-64 format. Such addresses are recognisable by looking at the middle of the last 64 bits. If they contain ..ff:fe.. then it is probably a EUI-64 based address.

Because the algorithm produces the same 64 bits every time some people were afraid that it would become easy to track mobile devices such as laptops and smart phones. Every network would have a different prefix, but the last 64 bits would always be the same.

That is why Privacy Extensions were invented. A device generates new 64 bits every once in a while and uses that in the IPv6 address. Because new addresses are generated regularly the addresses are marked as temporary. A device can have multiple privacy extension addresses if the system is still using an old address when a new address is being generated. The system will keep the old address for as long as necessary. For new outgoing connections a system will usually use the most recently generated temporary address to maintain a maximum level of privacy.


Why hasn't my battery life improved even though I changed the battery?

The first step is to look at the detailed battery information from the System Information/System Profiler for each battery.

  Charge Information:
     Charge Remaining (mAh):     5587
     Fully Charged:              Yes
     Charging:                   No
     Full Charge Capacity (mAh): 5611
  Health Information:
     Cycle Count:                289
     Condition:                  Normal
  Battery Installed:          Yes
  Amperage (mA):              0
  Voltage (mV):               12420

Pay attention to the Full Charge Capacity and cycles for each battery.

The second step (assuming my guess that you have a non-unibody Mac where the battery is user-replaceble - swappable without removing the bottom of the Mac) is to run a simple calibration charge cycle on the new battery (and followed by the old one perhaps to compare). Once your computer gets to know the new battery (it guesses based on average battery performance until it determines the chemistry particular to each battery that gets used over time).

The third step if you really want to measure everything on both batteries is to use the pmset -g pslog command to document each battery as it powers your Mac from full to the low power shut off point.

Here is the relevant section from the man page linked above:

 If your system suddenly sleeps on battery power with 20-50% of capacity
 remaining, leave this command running in a Terminal window. When you see
 the problem and later power and wake the computer, you'll be able to
 detect sudden discontinuities (like a jump from 30% to 0%) indicative of
 an aging battery.


As seen in Apple Discussions your iMac has the SATA2 controller.

Also there are no limitations from the controller for the cache size of the HDD.

So you may easily go for an 7200 SATA2 16MB/32MB cache

note: The last 17" iMac, was the late 2006 model which I assume thats what you have :)

edit: Even if your iMac is SATA 1, it wont have any compatibility problems. It will just perform as much as it can (1.5Gbps/s)

last edit: If you use this tool you can see successful user upgrades and benchmarks of various hard drives.


What third party devices are air play compatible?

iHome should be releasing their iW1 soon, which they debuted at CES

 iW1 AirPlay wireless speaker system with rechargeable battery.


How do you disable VI-like behavior in macOS terminal?

I found a lot of clues here: https://coderwall.com/p/a8uxma/zsh-iterm2-osx-shortcuts
This is what I put in my .zshrc to fix things.
bindkey "\033f" forward-word
bindkey "\033b" backward-word
bindkey "\033[H" beginning-of-line
bindkey "\033[F" end-of-line

Alongside these terminal keyboard settings:

For some reason, the control (^) key modifier can be set, but does not activate the codes in the terminal. So I'm only using option and shift.
I found a similar solution here which mentioned you can see the key codes by running cat. https://stackoverflow.com/questions/12382499/looking-for-altleftarrowkey-solution-in-zsh
Initially I used whatever key codes I wanted. That was a mistake, because even though they worked on my local mac, they didn't work when I SSH-ed into a linux machine. Using less /etc/inputrc on the remote bash I found these existing shortcuts:
# allow the use of the Home/End keys
"\e[1~": beginning-of-line
"\e[4~": end-of-line

# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word

Also, my local bash had different settings. To find those out I used
bash-3.2$ bind -p | grep of-line
"\C-a": beginning-of-line
"\eOH": beginning-of-line
"\e[H": beginning-of-line
"\C-e": end-of-line
"\eOF": end-of-line
"\e[F": end-of-line

Which made me settle on the terminal keyboard settings you see at the top. Because they worked in all 3 settings (local zsh, local bash, remote bash).


Finally found it :)

Under home directory Library has all the data and most of them came from mail app which includes downloaded imap copies and attachments. I erased them by using mail app and everything is fine for now.


Show speed in Finder Copy progress window

AFAIK here isn't any "builtin/hidden solution".

You can get (probably rough) numbers:

open Applications -> Utilities -> Monitor Activity
Select Disk Activity and you get actual IO/Data speed.