Prevent Mac to sleep when lid closed on Mojave / Catalina

You can accomplish this in  terminal. No additional software needed.Display global power settings:pmset -g

System-wide power settings:
Currently in use:
 lidwake              1
 autopoweroff         1
 standbydelayhigh     86400
 autopoweroffdelay    28800
 proximitywake        1
 standby              1
 standbydelaylow      10800
 ttyskeepawake        1
 hibernatemode        3
 powernap             1
 gpuswitch            2
 hibernatefile        /var/vm/sleepimage
 highstandbythreshold 50
 womp                 0
 displaysleep         10
 networkoversleep     0
 sleep                1 (sleep prevented by sharingd)
 tcpkeepalive         1
 halfdim              1
 acwake               0
 disksleep            10

To stop sleep entirely:sudo pmset -a disablesleep 1To revert, allowing sleep again:sudo pmset -a disablesleep 0


Where is the "Double click on titlebar to minimize" setting located in Mavericks?

The setting is in System Preferences -> Dock


Is FileVault insecure by default with EFI auto-login enabled?

FileVault2 is full-disk encryption. At pre-boot you can enter the recovery partition or boot from another disk, but not your FV disk without the decryption key (derived from your password). A firmware password takes care of being able to get into recovery or other boot disks, by the way.

The usefulness of FV is, if someone gets ahold of your data, it's useless without that decryption key, in this case coming from your password. Now once the disk itself is unlocked, there are accounts on that disk and each one may have stronger or weaker security, but it's a different layer now. Kind of like breaking into a bank with multiple doors; the firmware is one door, the file vault is another door, then you reach the user's doors.

Hope that helps.


Transferring purchases from iPhone to iTunes - Why is it necessary?

As you said, Apple knows what you have purchased and they are all linked to your account. However, transferring your purchases means that the purchased files (apps, music, movies…) will copy from your device (iPhone 5s) to your computer then you don't need to re-download them from the internet.


How can I permanently add my SSH private key to Keychain so it is automatically available to ssh?

On OSX, the native ssh-add client has a special argument to save the private key's passphrase in the OSX keychain, which means that your normal login will unlock it for use with ssh. On OSX Sierra and later, you also need to configure SSH to always use the keychain (see Step 2 below).
Alternatively you can use a key without a passphrase, but if you prefer the security that's certainly acceptable with this workflow.
Step 1 - Store the key in the keychain
Just do this once:
ssh-add -K ~/.ssh/[your-private-key]

Enter your key passphrase, and you won't be asked for it again.
(If you're on a pre-Sierra version of OSX, you're done, Step 2 is not required.)
Step 2 - Configure SSH to always use the keychain
It seems that OSX Sierra removed the convenient behavior of persisting your keys between logins, and the update to ssh no longer uses the keychain by default. Because of this, you will get prompted to enter the passphrase for a key after you upgrade, and again after each restart.
The solution is fairly simple, and is outlined in this github thread comment. Here's how you set it up:

Ensure you've completed Step 1 above to store the key in the keychain.

If you haven't already, create an ~/.ssh/config file. In other words, in the .ssh directory in your home dir, make a file called config.

In that .ssh/config file, add the following lines:
 Host *
   UseKeychain yes
   AddKeysToAgent yes
   IdentityFile ~/.ssh/id_rsa

Change ~/.ssh/id_rsa to the actual filename of your private key. If you have other private keys in your ~/.ssh directory, also add an IdentityFile line for each of them. For example, I have one additional line that reads IdentityFile ~/.ssh/id_ed25519 for a 2nd private key.
The UseKeychain yes is the key part, which tells SSH to look in your OSX keychain for the key passphrase.

That's it! Next time you load any ssh connection, it will try the private keys you've specified, and it will look for their passphrase in the OSX keychain. No passphrase typing required.


1 - Restart.

2 - Hard reset (home and power buttons).

3 - If you have it, the XCode device manager sometimes detects devices that iTunes does not.

One of those three should solve the problem entirely, and if not - jailbroken? also any error messages?


Why Mac OS X requires any amount of free disk space?

The amount of space the OS needs is neither fixed nor predictable. It depends on a huge number of factors: what programs you run, what you do in them, what background activity they trigger, what background activity happens for other reasons, etc. Hard drive space is used for overflow from RAM, logs, temporary files, etc.  If the system reserved a fixed amount of space for this, it would wind up being bigger than it needs to be a lot of the time (and hence waste space), and too small some of the time (which would be very bad).


How can I enable Brother printer's two-side printing functionality?

On the page you linked, on the Printer driver download section, it specifically states:

  *Not all features are available for all products.

This is one of those features

Also on the Supported OS page, it likewise states:

  Please note that the available features may vary depending on the operating system.

It appears a Brother is using a generic(ish) CUPS PPD file meaning it’s a one-size-fits-all driver and two sided printing is simply not available.

It’s not a “popular” piece of advice, but your best bet is to get something with a bit more robustness in driver support like HP, Xerox, or Lexmark.  Brother has been really strong in the Windows space, not so much with Mac.


Why can't I use the windows 10 boot stick I created for my MBP?

Apparently, you need a MacBook Pro introduced in 2012 or later. I assume it is a firmware compatibility issue, IIRC, UEFI started happening for Macs just around 2012.


Memory wear corresponds more to drive usage than to drive size. SSD controller employs wear leveling techniques to spread writes evenly over the whole SSD, so the wear level is approximately the same for all memory cells during drive’s lifetime. Assumption about wear–size relation comes from premise that larger drive will probably contain more unallocated space which could be used for wear leveling. Needless to say that this does not hold universally.

Trim command on the other hand is issued by operating system, which notifies SSD which pages no longer contain valid data, and recent versions of both Windows and OS X supports it (although Apple does not enable it by default on 3ʳᵈ party SSD, so one has to use Trim enabler or similar application to get it working.

To answer your questions:

No, wear leveling does not care about partition scheme. Yes, Trim will work correctly.
Windows does memory caching of drive operations, yet it happens in RAM and does not involve other drives.


Is there a way to find out information on battery through macbook serial number?

Unfortunately, information would not be attainable simply through the serial number. It is unlikely that you obtained the incorrect battery, since AASP's source their parts from Apple to perform warranty-service repairs. I poked around online and noted that you are not the only one who has the bq20z45 part number from SMP, nor the only one to have a Full Charge Capacity different than ~8000. I found this via various user screenshots on Amazon.

Likely, the battery is correct for your unit and will function as expected. If not, all warranty repair services are either covered by your Applecare Protection Plan or, if out of warranty, 90 days from date of service. Should you continue to have concerns, I'd call the AASP back to verify that you got the right item.

EDIT: It may be worth it for you to calibrate your battery. Charge all the way to 100%, then unplug the unit and use it until it dies w/o charging it up again. Repeat once and that should get your battery reporting accurately as well.


Sierra Automator KeyboardViewer App Shortcut

Thanks all! process whose frontmost is true and visible is true froze Keyboard Viewer behind a Finder window that also froze - 2 freezes in 2 days. Following seems to work quite well, in macOS 10.13.2. Simply add the delay 1.

    on run {input, parameters}
        if application "KeyboardViewer" is running then
            quit application "KeyboardViewer"
            delay 1
        else if application "KeyboardViewer" is not running then
            activate application "KeyboardViewer"
        end if
        return input
    end run


Does a Snow Leopard reinstall require rebuilding my Development Environment?

If you are wanting to just reinstall Snow Leopard on top of itself, running the installer from the disc will not wipe out your development environment. I've done this myself with no issues.

Be sure not to pick Erase and Install. Archive and Install is not what you want either. You essentially want to do an upgrade (can't recall what the exact option is at the moment, but I'm pretty sure it's the default).

Of course, always run Time Machine anyways in case something catastrophic happens.


In the "System Preferences" app select "Spotlight" from the top row. Now, uncheck the box titled "Spotlight search keyboard shortcut:"

I set the Alfred keyboard shortcut to Command-Space, which works a bit like Alfred on stock Yosemite machines.

If you want to keep the ability to search Spotlight with a keyboard shortcut, you could also change the shortcut using the popup menu to the right of the checkbox.


eMac G4 Recovery Mode with Windows Keyboard

OS X Recovery was introduced with OS X Lion. At best, your eMac supports 10.5.8 Leopard. If you want to install from scratch, you'll need either the original install disks or a system installation disk.

You can bring another bootable OS X drive that runs a supported OS for that hardware and get to things like terminal / Disk Utility as well but this hardware pre-dates recovery on the firmware / OS level.


Can I have my iPhone navigate through my car's stereo?

Can your car accept the iPhone's music audio as an input to the stereo? On my care (Acura TL), the bluetooth profile lets me play iPod music through the stereo when the phone is paired. As a result of that, ALL of the phone's audio plays back through the stereo... including text alerts and any apps that play back voice sounds (navigation, etc).

It's probably too simple an answer, but it's worth checking to see if you can pair up using the audio profile for music -- in which case you'd get the phone's other audio as well.


How to get ongoing notifications of unread texts?

The closest you’re going to get is to set Messages alerts to repeat 10 times by going into Settings → Notifications → Messages. There, swipe to the bottom to reveal the Repeat Alerts menu:

This will cause Messages notifications to ring for 20 minutes after the initial one, or until you’ve read/dismissed them.

Next, make sure Do Not Disturb is disabled by going into Settings → Do Not Disturb and toggling both Manual and Scheduled to Off (there are no VIP notifications in Messages yet).

You could also assign a custom loud and obnoxious text tone to the family member in question that will make it more likely a message from them will wake you up, but that alert sound will trigger for all text messages they send you, even during the daytime.

Coworkers who were on-call 24/7 also found it useful to turn on LED Flash for Alerts under the HEARING section of Settings → General → Accessibility.

If you lay your iPhone face down at night it will flash brightly when you receive a notification, although this will be active at all times for all notifications, so you might need to disable this every morning and re-enable it at night.

A note on Do Not Disturb: if you have a habit of using Do Not Disturb and occasionally forget to turn it back off, you can make sure it gets disabled at night by enabling Scheduled for a 1-minute duration every evening, say, from 10:30 to 10:31 p.m., or sometime before you go to bed.


Can a standard user upgrade OSX versions or does it have to be an admin user?

In order to make any "deep" changes to macOS it will ask for an Administrator username and password.

The only way a non-admin user can get around this limitation is by knowing the username and password of an admin user.

So no they can't use that app to upgrade their systems.

They could however copy the app off and make a bootable USB installer on another Mac and then boot their work Mac from that USB to upgrade it, depending on how technical they are. or how determined.


There are a bunch of editors running in Terminal already installed by default. Some of them come with quite a learning curve though...

nano rather easy to use, onscreen help, limited functionality
emacs takes some time to get used to, start with the tutorial (type Ctrl-h t)
vi/vim takes some time to get used to as well, especially because it's a modal editor, start with the help document (type :help)

And of course there is also Textedit.app. Doesn't run in Terminal but is quite a versatile editor to get started.


How to take out HDD (hard drive) from a G5

Here is the G5 manual (late 2005): https://web.archive.org/web/20130514170019/http://manuals.info.apple.com/en/Power_Mac_G5_Late_2005.pdf

On page 45 it is explained how to open the casing and onward to how to change storage devices.

Hope that helps!


Open Terminal.app and type

mkdir ~/.Trash

It will create a new empty folder that Mac OS X can use to store trashed files; this won't save any old deleted files from the original .Trash folder you deleted.


Downgrade from Yosemite OS to Mavericks OS: -2003F message error

Try to boot in Safe Mode (Cmd+x) to see if it boots. If not, try to boot in single user mode (Cmd+s) and have a look at the output on the screen. It may be able to give you more information to help you solve this issue or post screenshots here.


Wireless Keyboard Volume Down acting different

Most likely a change was made to the Fn key setting. The behavior you are seeing is "Show Desktop", but generally requires pressing Fn-F11 to activate. (Note on my keyboard Volume Down is F11. It may differ on yours, but the steps below don't chnage.)

To change this behavior:

Open System Preferences.
In the second section, click on Keyboard, then on the Keyboard tab if necessary.
Uncheck "Use all F1, F2, etc. keys as standard function keys."


In Mission Control, is there a way to set-off desktops, to distinctly differentiate them?

Easiest would be to give each one a different background. You could have a background of a single color and change the color for different spaces. You could even make a solid colored image with a large number on it like 1, or 5 and make 10 of these images. Then give each space a different number background.


Can I set up domain filtering on an Airport Extreme?

Easiest way I know is to use a service like OpenDNS. You set up the Airport to send all DNS requests to OpenDNS and use their filtering (which can be quite sophisticated) to do the job of blocking or whitelisting web addresses. Of course you need to be able to protect the DNS settings on the Airport, but this is doable.

I have it set up for general filtering and monitoring on my home network which has more than 5 computers and more than a dozen wireless handhelds all served from an Airport Extreme.

Check it out at http://www.opendns.com/


Is it really true that the iPhone doesn't have turn-by-turn navigation?

The thing is that the built-in Maps app uses Google Maps for the maps, and the Google Maps license doesn't allow a third-party to implement voice navigation using it.

So, Apple's Maps isn't allowed to implement voice navigation, but any other GPS software provider can offer the feature along with their own maps.

Here is a nice review of some of the GPS software available for the iPhone: http://www.macworld.com/article/156720/2011/01/gps.html

Also, that situation could change, since Apple purchased a maps company a few years ago.


How do I remove multiple mail rules using iCloud server?

At this time, no, you can only delete them one at a time by clicking 'Edit' and then 'Delete'.

You can always submit feedback about this on the iCloud feedback page, or if you have a developer account, you can submit a bug report on this as well.

I personally wish these rules could be as strong as some of those in Mail.app, as well as synced between the two (iCloud mail on the web, and Mail.app on the computer).


Sharing keyboard/mouse via software with another computer?

I'm not sure if it will fit this specific use case but if you can forego the shared monitor, you can use a tool like Synergy or Share Mouse.

FWIW, I've used Synergy before across 3 computers and it worked well.


In the Web Inspector, under the Network tab, unselect ‘Use the resource cache when loading resources’. Blue means the cache is not used, black means the cache is used.

As you wished, this only takes effect when the web inspector is open. Note that this is a cache bypass, not a permanent ‘cache empty’, so when you un-bypass the cache, any cache from prior to the bypass will be used. To use the latest resources with the web inspector closed, empty the cache using the button to the right or Develop → Empty Caches (⌥⌘E).

Currently, in Safari Technology Preview there is a re-designed Network tab in the Web Inspector with a new cache bypass icon, which I expect to make its way to Safari soon.


There was a known issue with upgrading Macs with a T2 chip, such as yours, to macOS 10.15.6. Apple have yet to acknowledge the problem but have rolled out (about 3 hours ago) a new update to the software catalog that is reported to fix the problem.
Give it another try now.


How to install bitmapped *.fon and *.bdf fonts on Lion?

You may want to try FontLab Studio. My brother used it a few years ago when he needed to design fonts for use on Mac & Windows machines. Website claims it can open .bdf files, but no mention of .fon files.


Find the size of a given Time Machine backup

There is no such thing as a given backup image in Time Machine. Practically speaking only changed files get backed up each time but the snapshot volume also contains links to the most recent version of all unchanged files on the backup drive. So each snapshot volume represents a backup of your whole hard drive (also summing up the size of all snapshot volumes together will give you a number significantly higher than the size of your whole backup disk).

To find out how much data was added/changed/removed during one Time Machine backup, tmutil calculatedrift /Volumes/Time\ Machine/Backups.backupdb/NameOfYourMac is the way to go:

pse@Fourecks:~$ sudo tmutil calculatedrift /Volumes/Time\ Machine/Backups.backupdb/Fourecks
[...]

2013-06-02-131853 - 2013-06-02-164246
-------------------------------------
Added:         807.2K
Removed:       5.0M
Changed:       100.7M

2013-06-02-164246 - 2013-06-02-174230
-------------------------------------
Added:         9.9K
Removed:       0B
Changed:       43.8M

Drift Averages
-------------------------------------
Added:         715.6M
Removed:       535.5M
Changed:       571.5M


Is it possible to have one menu bar while having displays as separate spaces in Mavericks?

There's no built in function afaik.
However - even if you manage to hide the menu bar via terminal magic (don't know if there is) you will still face the issue that windows can't lap over the monitor (since windows can't lap between spaces), you can only move the complete window to one space/monitor or the other


Open the Mac App Store and search for "Alarm Clock". Take your pick from the many apps that will do the job.


IMAP account stopped working after upgrade to iOS 9 - problem with CAcert certificate?

It turns out that in my case the problem is not the CAcert certificate, nor the TLS version - it's the enryption ciphers offered by OpenSSL on the server, or rather, that some of them use parameters that are too weak.

When Apple shipped their iOS 8.4 update a while ago, they made improvements to their TLS library coreTLS in order to prevent the so-called Logjam attack. It is safe to assume that these improvements are also part of iOS 9. As Apple mentions in this technote, coreTLS no longer accepts export-strength ephemeral DH cipher suites. In my case, this is not the problem, though, because my server does not offer such ciphers to its clients.

What Apple "forgot" to say in their technote is that they also added new requirements for the remaining DH ciphers. In this, they probably followed the Guide to Deploying Diffie-Hellman for TLS, which is an "official" document with recommendations made by the people who discovered the Logjam attack. Specifically, coreTLS now requires that DH cipher suites use a minimum DH group size.

The "DH group" is a parameter for DH ciphers whose strength is measured by its size in bits. The guide referenced above mentions that modern browsers now require a minimum DH group size of 1024. Apparently coreTLS has also adopted this requirement, because this is what I discovered on my server...

The Courier IMAP server has the following line in its config file /etc/courier/imapd-ssl:

TLS_DHPARAMS=/etc/courier/dhparams.pem

When I examine the DH params file, I get the following output:

$ openssl dhparam -in /etc/courier/dhparams.pem -noout -text
    DH Parameters: (768 bit)
        prime:
            00:e0:01:64:54:ec:1c:17:86:f3:02:81:08:44:75:
            67:e6:ab:5c:dd:61:0a:a6:49:1e:23:48:98:29:e9:
            48:36:d3:6b:9c:0f:0f:89:7d:7b:7a:17:1f:03:f3:
            53:4f:cf:d7:4d:a3:8f:00:6e:af:fb:e2:95:e6:45:
            71:c3:8b:74:d2:b4:8c:7c:7d:4b:e1:11:12:eb:7e:
            31:fb:c2:ff:f0:60:3d:07:69:d8:36:19:43:03:00:
            52:43:5b:99:21:5f:c3
        generator: 2 (0x2)

As can be seen, this DH group only has a size of 768 bits, which is definitely not up to modern standards.

To solve the problem I created a new DH group with increased size. I followed the advice in the "Guide to Deploying DH" and created a group with size 2048 bits:

openssl dhparam -out /etc/courier/dhparams-2048-bit.pem 2048

Change permissions of the new file so that they match the original file's permissions:

chmod 600 dhparams-2048-bit.pem
chown daemon:daemon dhparams-2048-bit.pem

I then updated the Courier IMAP config file:

TLS_DHPARAMS=/etc/courier/dhparams-2048-bit.pem

and restarted the server

/etc/init.d/courier-imap restart

After that the Mail app worked fine. Problem solved.

PS: Above I said that the coreTLS changes were shipped with iOS 8.4, yet in my question I claim that I have iOS 8 devices that do not have any IMAP connection problems. Both statements are true, but as I now realize I forgot to mention in my question that those iOS 8 devices are still using iOS 8.1.x. Sorry for that.

Additional Protocol tests: I played around with the Courier IMAP setting TLS_STARTTLS_PROTOCOL, in order to force the client (iOS 9 Mail app) to a specific TLS protocol version. Strangely enough I discovered that neither TLSv1.2 nor TLSv1.1 seem to work (SSL3 also does not work, but that's OK). The only option that does work is

TLS_STARTTLS_PROTOCOL=TLS1

(this remains true even after I upgraded the DH group size)

I tested the same settings with iOS 8.1.2 - there the Mail application is able to connect with all 3 protocol versions (TLSv1.2, TLSv1.1, TLS1), and even SSL3.

This is really, really weird. Although it's hard to believe, at the moment it seems as if iOS 9 Mail app can only use TLS1. Despite improvements in security on the DH cipher front, not supporting TLSv1.2 would be a bad regression, IMO. It might also be that my server is somehow misconfigured in a way that I don't recognize at the moment. It would therefore be useful if someone else could make similar tests to either confirm or discard my findings.


Treat MacBook screen as monitor even when closed?

I'm not sure that this is quite the solution that you're looking for, but the utility Stay does make sure that windows return to a set position when connecting an external display. I haven't had a chance to use it myself, but since purchasing a new external display, I must say it's tempted me.

You might also check out this related thread on .SX, which has more suggestions.

A quick search pulled up this article, which might also solve your question by disabling the sleep signal sent when you close the lid… Someone with stronger terminal-fu than myself might know some direct CLI commands to do this directly.


Why are my browsers only downloading some files but not others?

Have you tried to ⌥-click a link to a download?

This usually guaranteed to download the file.


Correct settings to record computer audio with Garageband, internal mic and ishowYouAudio

I believe the problem you are experiencing is caused by the computer CPU receiving to many command redirects. This delays the audio from being cached (stored) in the buffer at the proper time to be outputted. The lack of momentary audio data (samples) results in the static or clicking sounds.
Proof test 1: Does this problem occur when the laptop is cold and just turned on? If no, then this is the problem.
Is short you are asking the computer to do too much and as time passes the accumulative effect plus with the computer running warmer/hotter it will start to experience audio problems.
You will note that the problems first starts with your onboard microphone. Yet, the guest input remains normal with no problems.
Resolution 1: Poor-Maybe the computer is throttling back on the CPU because of excess heat. Do what you can to reduce the computers operating temperature.
Resolution 2: Increase the cache buffer size in iShowU. I am unfamiliar with this and a quick review did not lead to this being a possible alternative or not. This will create a delay in the signal. Find a happy medium if this option is available in your iShowU audio preferences.
Resolution 3: Flushing the RAM sometimes works. I use the free version of this "Memory Clean 2 (Direct Version)" and flush the RAM when static starts.
Resolution 4: Try using a different (light weight) browser.
Resolution 5: Amazon search this: Focusrite Scarlett Solo (3rd Gen) USB Audio Interface with Pro Tools | First. Then you need a XLR (balanced) microphone (no USB). This will be a $200 setup. You can use Pro Tools |First if you want as an alternate recording device.

I experienced the same problems over a decade back. It doesn't matter how powerful your CPU is or how much RAM you have. This problem is not cause by the lack of either, it is a data flow problem. An external audio interface plus a XLR (balanced) microphone is a solid start to removing audio problems.

I noticed your voice needs a compressor on it to enhance the clarity of your speech. If you use the Pro Tools | First (free) included I believe it comes with a compressor as well as other virtual audio hardware (EQ & etc)you will adopt for your productions.


Is there a full list of FN-key mappings for the MacBook Pro?

So far this seems to be the most complete list:
http://support.apple.com/kb/HT5636


This is no longer possible. There used to be a way to disable them (iTunes 10 and earlier), but the ability was removed in iTunes version 11.


How do I convert old Pages documents to Pages '13?

I've posted a general solution for all three iWork programs here, but here's what to do for Pages.

This solution requires using Terminal. Do the following:

Make a backup copy of your file
Open Terminal.app
In the Terminal window, type cd (that's with a space after the cd) then drag your file to the window. It should insert the full path of your file (e.g. /Users/me/Documents/My\ Great\ File.pages).
Copy and paste the following command as a single line and press Return: gunzip --stdout index.xml.gz | sed 's-:version="72007061400"-:version="92008102400"-g' > index.xml
If you don't see any errors (such as No such file or directory), now type rm index.xml.gz and press Return
Type exit and press Return and try to open your file. It may give you a compatibility problem report but should open.

Explanation

The file index.xml.gz is a compressed XML file that holds information about your document. The command in step 4 uncompresses the file and runs it through a search-and-replace program which looks for the version 72007061400 and replaces it with the version 92008102400 (I don't know what these versions mean but it appears to work). It outputs to an uncompressed version of the file, which is why in step 5 you remove the original, compressed file (iWork will used compressed or uncompressed files).

Notes

If step 4 gives you a No such file or directory error, it's possible the index.xml file is uncompressed, in which case you can replace the step 4 command with sed 's-:version="72007061400"-:version="92008102400"-g' index.xml | gzip > index.xml.gz, and step 5 with rm index.xml.

This solution could be adapted to an Automator action by someone motivated.

Source

This method is adapted from a similar solution for Keynote documents which I found in a comment on this Google+ post.


Auto Adding from Google Chrome to macOS Notes

Here's my rough service workflow:

Only texts can be added, and a new note is created.
Apple Script:

on run {input, parameters}

    tell application "System Events"

        tell process "Notes"

            click menu item "New Note" of menu "File" of menu bar 1
            click menu item "Paste" of menu "Edit" of menu bar 1

        end tell

     end tell
     return input
end run

Update*2:
To add pictures, simply use another Apple Script block that clicks a menu item. And add some delay for Notes app to launch.

on run {input, parameters}

    tell application "System Events"

        tell process "Google Chrome"

            click menu item "Copy" of menu "Edit" of menu bar 1

        end tell

     end tell
     return input
end run


When this has happened on my 3GS I would reboot it just in case.

I've never determined the cause, but it does appear to heavily use the cellular radio and the CPU to maximum power, both of which generate significant heat and reduce the battery charge significantly.

Since it happened so rarely - perhaps a few times a year - I assumed it was some weird iOS glitch and I chose not to pursue it any further.

If it's happening to you more than a few times a year, though, I'd take it in and have it replaced.


My computer is still showing remnants of the old Apple ID

Apple does have several places for id - I have for historic reasons 2 different ids and so note some of the differences.

There are actually separate places that have logins.

iCloud/Mail login
iTunes login for music/vides etc
iPad/iPhone app store
MacOS store
Apple developer (I have several different ids here)

I have one id for 1 and another for the rest and others for 5. But I think the Mac Appstore could be set as a different id.

2 and 3 might  be the same (although that could be historic as iOS apps were updated via iTunes)

This does mean that you will need to change id separately for 1,2,4 and 5 (I think 2 and 3 are covered by one change)


How do I change what's returned by /usr/libexec/java_home

The problem here is that Oracle have chnaged the meaning of JRE on Macs.

The Apple and Sun definition is JRE is the runtime for apps and web applets.

Oracle's definition of JRE is for webapps only. This means that it does not change /usr/bin/java

The JDK definition had not changed. Oracle has this at http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk

Oracle does also have a old style JRE that changes /usr/bin/java but have hidden it


How do Wi-Fi networks persist between installs?

They are synchronised over iCloud, so if you log in to iCloud the list of networks and their associated passwords are added to macOS.


This site appears to have a link to the latest version that supports PPC.  I don't have a PPC Mac, so I can't verify it.

It also mentions that this will not last forever, as Spotify will update their servers at some point and not allow that version to connect any more.

You can also try Spotify-0.6.6.10.dmg from PowerPC Software Archive.


How can I enable Mountain Lion Spellcheck in Google Chrome?

Spell check is a system service so by using the standard Mac control for a text box, chrome would magically get to use the service.

Since chrome isn't programmed to use the standard control (they wrote their own implementation) - you would need to either get the chrome devs to change the code or you would need to change it yourself and re-compile your version of Chrome. Both are likely to involve a serious amount of engineering since the code base is quite complex.


Time machine out of space / Merging time machine backup

TM will not move your old snapshots to a new drive, although I'm pretty sure that if you first used Disk Utility's Restore tab to clone your old backup drive to the new one (after reformatting it properly), it would see the old snapshots properly.

But there's a bigger problem. You are trying to use TM as an archiving tool, but that's really not what it's designed for. TM will expire old snapshots as it sees fit, so if you want reliable retention of old files it's not the right tool for the job. Unfortunately, I don't have a good suggestion for a better tool, but I would strongly recommend looking for something more appropriate.

That said, switching TM to a new drive (and removing the old one from its backup target list) would be a semi-reasonable way to retain all of the old snapshots (and having multiple redundant backups is a good idea). Doing that and switching to a new archiving tool would also be reasonable (since you probably won't be able to migrate the old TM snapshots to any net tool you select).


iOS Simulator cannot create devices after upgrading to Xcode 6

This error can happen if you renamed Xcode.app.  I suggest you do the following:

Quit Xcode.app, iOS Simulator.app, etc.
Execute: sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
Execute: rm -rf ~/Library/*/CoreSimulator
Reboot and try again.


Is there any way to rename app name in lauchpad?

You can by using an Administrator account and renaming the apps in Finder. LaunchPad will show the changed name accordingly.

There also is this app, which seems to make renaming items and other operations in LaunchPad possible. Unfortunately, it seems to be discontinued, so try it at your own risk.

Finally, if you are comfortable with SQLite databases and SQL, you could manually make the necessary changes in the LaunchPad database. I'd advise you to first back up your database before you start tinkering with it. You can use the built-in sqlite3 command-line client to manipulate this database. You'll want to find the appropriate records in the apps table, and update their title field.


Mac OS X (from 10.4) after going to sleep will write the memory content to disk (safe sleep). After the blinking white led stops the "hibernate operation" will be completed.

If power is still available your Mac will wake up instantaneously from memory. If power (and the memory content) was lost your Mac will take a little time more to wake up (from hibernation) since the memory content has to be read from disk.


Does the MacBook Pro with Retina have two Thundebolt busses, or are the two TB ports sharing a bus?

Each physical Thunderbolt port can handle two (duplex) 10 Gb/s channels. Per Anandtech's very thorough review, the Retina MacBook Pro has four channels, two for each port.

A further Anandtech article says that the 2011 MacBook Pros used the Light Ridge controller, which has four channels, however due to having only one physical port, only two of those are actually available to the user. It's not clear what chip the 2012 non-Retina MBPs use, but it's likely the same Cactus Ridge chip used in the Retina machine, but with the similar limitation - each port is limited to two channels, so that's all you'll get, regardless of what the controller behind it supports.


Why does a network volume have a "-1" at the end after upgrading to Lion?

When the drive is ejected, does the directory /Volumes/Nic's Airport Extreme/Webb Family Network Storage/ exist? If so, move it to the desktop (so you save any contents, if any) and reboot.


Is recovering deleted apps possible yet?

No. But you can see which apps are purchased, but not installed in the App Store, in your account.


How can I check if the motherboard has been replaced?

The MAC address is linked to the logic board. So, if the logic board has been changed, MAC address will have changed too.
I've been told this by a Genius et Genius Bar when he said they need to change my logic board and asked if my router was checking MAC address for allowing net access, as I will then have to reconfigure it.
It also seems to be backed-up by this technical note (look for first occurrence of "logic board").

Edit: For your previous MAC addresses (ethernet and wifi and bluetooth, as I suppose they all change on a logic board exchange), you will find them on your computer's box, if you still have it (but it seems to be the case:)). These are the Ethernet ID, Airport ID and Bluetooh ID. You can then check in System Profiler to get the current ones.


iPhone 4s overheating and suffering from drained battery

I would suggest backing up your phone with iTunes (a whole backup and not only synchronising) and transfer all your purchase. Afterwards, restore the phone with iTunes.

Test it for a couple days and if the issue is solved, bring back your back up. If the issue reappears, restore it again and re-download your content manually. It might be your user data or settings, or an app making your phone work when it's not supposed to.

If the issue persists even after the clean restore (without bringing back your back up), I suggest to get your device checked at a Genius Bar near you.


They should be in /usr/local/Cellar/graphicsmagick/1.3.26_1/include/GraphicsMagick.

 $ tree -L 3 /usr/local/Cellar/graphicsmagick/1.3.26_1/include/
 /usr/local/Cellar/graphicsmagick/1.3.26_1/include/
 └── GraphicsMagick
     ├── Magick++
     │   ├── Blob.h
     │   ├── CoderInfo.h
     │   ├── Color.h
     │   ├── Drawable.h
     │   ├── Exception.h
     │   ├── Geometry.h
     │   ├── Image.h
     │   ├── Include.h
     │   ├── Montage.h
     │   ├── Pixels.h
     │   ├── STL.h
     │   └── TypeMetric.h
     ├── Magick++.h
     ├── magick
     │   ├── analyze.h
     │   ├── api.h
     │   ├── attribute.h
     │   ├── average.h
     │   ├── blob.h
     │   ├── cdl.h
     │   ├── channel.h
     │   ├── color.h
     │   ├── color_lookup.h
     │   ├── colormap.h
     │   ├── colorspace.h
     │   ├── command.h
     │   ├── common.h
     │   ├── compare.h
     │   ├── composite.h
     │   ├── compress.h
     │   ├── confirm_access.h
     │   ├── constitute.h
     │   ├── decorate.h
     │   ├── delegate.h
     │   ├── deprecate.h
     │   ├── describe.h
     │   ├── draw.h
     │   ├── effect.h
     │   ├── enhance.h
     │   ├── error.h
     │   ├── forward.h
     │   ├── fx.h
     │   ├── gem.h
     │   ├── gradient.h
     │   ├── hclut.h
     │   ├── image.h
     │   ├── list.h
     │   ├── log.h
     │   ├── magic.h
     │   ├── magick.h
     │   ├── magick_config.h
     │   ├── magick_types.h
     │   ├── memory.h
     │   ├── module.h
     │   ├── monitor.h
     │   ├── montage.h
     │   ├── operator.h
     │   ├── paint.h
     │   ├── pixel_cache.h
     │   ├── pixel_iterator.h
     │   ├── plasma.h
     │   ├── profile.h
     │   ├── quantize.h
     │   ├── random.h
     │   ├── registry.h
     │   ├── render.h
     │   ├── resize.h
     │   ├── resource.h
     │   ├── shear.h
     │   ├── signature.h
     │   ├── statistics.h
     │   ├── symbols.h
     │   ├── texture.h
     │   ├── timer.h
     │   ├── transform.h
     │   ├── type.h
     │   ├── utility.h
     │   └── version.h
     └── wand
         ├── drawing_wand.h
         ├── magick_wand.h
         ├── pixel_wand.h
         ├── wand_api.h
         └── wand_symbols.h

 4 directories, 82 files


The resize filter only takes effect if the image is being resized, which you are not doing, since your export resolution is the same as the input.
E.g neared pixel option.:

Nearest Pixel (Fastest): Samples the nearest neighboring pixel when resizing an image.

In general this setting determines how the pixels are being calculated, e.g. if you resize from 4K to 2.7K or similar.
You can read more about all the settings at apple support.

As mentioned in another post in a comment, I would advise you to ask these video questions in a film/video forum. They will most likely give you more detailed and technical answers than here, since although you are using an Apple product, how to export videos is probably one of the most interesting/most discussed questions, because it determines what the actual audience will be able to see.


How to take a picture with the mac webcam in PNG?

The version of imagesnap distributed through Homebrew (and available on https://github.com/rharder/imagesnap) doesn't support PNG. Apparently support for other formats besides JPG was removed when QTKit got replaced by AVFoundation.

If you download 0.2.5 directly from http://iharder.sourceforge.net/current/macosx/imagesnap/ you get a version which also supports other formats.

$ ./imagesnap -h
USAGE: ./imagesnap [options] [filename]
Version: 0.2.5
Captures an image from a video device and saves it in a file.
If no device is specified, the system default will be used.
If no filename is specfied, snapshot.jpg will be used.
Supported image types: JPEG, TIFF, PNG, GIF, BMP
  -h          This help message
  -v          Verbose mode
  -l          List available video devices
  -t x.xx     Take a picture every x.xx seconds
  -q          Quiet mode. Do not output any text
  -w x.xx     Warmup. Delay snapshot x.xx seconds after turning on camera
  -d device   Use named video device


I wouldn't use nslookup to test reachability on macOS. Try scutil instead:

scutil -r www.apple.com
Reachable
scutil -r 192.185.0.218
Reachable,Directly Reachable Address
scutil -r allabouthadoop.net
Reachable

Then you'll need to check if the ports you want are open once you've verified network reachability (and if you have to go through a router or the address is directly reachable on a local subnet to your Mac). I use https://brew.sh to get nmap installed easily.

/usr/local/bin/nmap allabouthadoop.net
Starting Nmap 7.70 ( https://nmap.org ) at 2018-09-02 15:10 HST
Nmap scan report for allabouthadoop.net (195.201.179.80)
Host is up (0.23s latency).
rDNS record for 195.201.179.80: free-hosting-clients.freehosting.com
Not shown: 985 closed ports
PORT     STATE SERVICE
21/tcp   open  ftp
22/tcp   open  ssh
25/tcp   open  smtp
80/tcp   open  http
110/tcp  open  pop3
143/tcp  open  imap
443/tcp  open  https
465/tcp  open  smtps
554/tcp  open  rtsp
587/tcp  open  submission
993/tcp  open  imaps
995/tcp  open  pop3s
7070/tcp open  realserver
9100/tcp open  jetdirect
9103/tcp open  jetdirect

Nmap done: 1 IP address (1 host up) scanned in 14.66 seconds


I realize you have posted your own answer, but others may want to know what was wrong.

Basically, you had journaling turned off. To turn journaling on, you need to highlight the partition and click on the "Enable Journaling" button. To see the change, you may have to quit and reopen the Disk Utility application.

To turn journaling off, do the following using the Disk Utility application.

Highlight the partition.
Press and hold the "alt/option" key.
From the menu bar select "File->Disable Journaling"
Release the "alt/option" key.
Quit and reopen the Disk Utility

You should alway have journaling enabled for "Mac OS Extended" formatted partitions, but there can be cases where you may want to turn it off. Especially if you are going to be using Linux.  Many linux distributions (like Ubuntu) can read "Mac OS Extended" formatted partitions, but they can only write to them if journaling is turn off. So enabling and disabling journaling may be useful if you need to transfer data from Linux to OS X.


Can't sync contact & calendar to iOS 4.1 device since Mavericks update

In order to sync contacts and calender, you have to use iCloud now.

With iTunes 11.1.2 and OS X Mavericks they(Apple) disabled the option to sync locally according this Document.

  Note:   These instructions apply only if you use OS X v.10.8.5 or earlier. If you use OS X Mavericks v.10.9 or later, your contacts, calendars, and other info are updated on your computers and iOS devices via iCloud. For more information, see iCloud Help at icloud.com.


When you buy an new hard disk, normally it's formatted with a FAT32 file system that is not compatible with TimeMachine.

In order to use the HD with TimeMachine, the file system myst be HFS+ Journaled. Use Disk Utility to format the hard disk with HFS+ file system and go to TimeMachine preferences, you should now be able to use it.


Visualize character glyph in Pages application

You should be able to use the app UnicodeChecker for this


These credentials are stored in your keychain, which you can see using Keychain Access, an application in the Utilities folder. Search for the IP address or hostname you use to connect to your WebDAV server.


Do iPhone apps have permission to make calls without user interaction?

I've experimentally checked the iOS behavior by trying to initiate a phone call from one of my apps.

Here are the results:

It is possible to programatically start a phone call without user confirmation. I've just written a single line of code that is executed right after the App has been loaded. Meaning that if your App is in the foreground it can start a call at anytime, even without needing user to tap anywhere.
I've sent a silent remote push notification to the App in order to wake it app if it is not running, and then execute the same code. No call was started; iOS does not allow an app to initiate a phone call if the app is running in the background.

So answering your questions, the only way to start a phone call without the user noticing it, is by somehow convincing the user to leave the malicious application running in the foreground, and then start the phone call, as iOS won't allow this operation if the app is backgrounded.

Currently iOS does not provide any mechanism to block starting phone calls from a particular app, but it can only happen if the app is in the foreground.


How to distribute custom app using Apple Business manager?

Usually you do this by going into "Device Management Settings" and entering your Apple Customer Number as well as your reseller's ABM/DEP IDs. This means that when you purchase new devices from this reseller, they're automatically added to ABM.
You can read Apple's guide on this here.
If you want to manually add a few devices to test with, you can do that too:
Install "Apple Configurator 2" from the App Store on a Mac. Connect the device to the Mac. You'll automatically be prompted on whether to enroll this device. When you have done so, it will appear in ABM under Devices and then "Devices added by Apple Configurator 2". You can assign it to a MDM server.
You can read Apple's guide on this here.
Remember that you need to have an MDM solution in advance.


How do I use MS Exchange 2003 with OS X?

A little amplification of what "apps" you are specifically referring to would be helpful. Assuming your company is using Exchange 2003 SP2, you should be able to use Active Sync with Microsoft Outlook for Mac or Entourage. This should allow you to sync your contacts, email and calendar events. Beyond that an app would need to suport active sync to interact with an Exchange 2003 server natively.


Iphone lost photos and videos when jailbreak

What you need to do is restore your iPhone from the latest backup you made. In order to do that, follow these steps:

As you can see, this is from apple's website, so those are the directions.

If you did not create a backup before jail breaking, it is going to take a more complicated route to find your photos and videos, if it's even possible at that point.

Hope this helps!


According to a thread on superuser, in the system preferences, disable launching iTunes for audio CDs will stop that.


Safest way to copy files to AirPort Disk from the command-line?

Using rsync is likely your best option and the flags enumerated in your question are reasonable.

An alternative tool to use would be dd. This tool approaches the copying process at a lower level and is often promoted where exact copies of disks are required. The dd manual has all the options. I prefer rsync for its relative simplicity.

Post Copy Check

You may want to extend your script to perform a post-rsync check. Use another tool, such as diff to compare the source and destination folders are equivalent.

If diff does not provide the incremental control you seek, consider comparing the md5 hashes from the source and destination's contents. See How can I calculate an md5 checksum of a directory?


Kernel Panic, especially at boot or sleeping mode: Thread "x" crashed. CPU issue?

The screenshot with the panic shows that the reason for the kernel panic was that launchd stopped running.

I would suggest looking at the log files for launchd to see if you can find the reason for that in there. Usually you'll see something like "exited at instruction [...]" or "trying to read/write [...]" or "[...] (sent by PID [...])" right before the crash.

I don't see anything in your observations that indicate that this must be a problem with the CPU. It could be a software problem (such as problem with your installation media) - and it could be a hardware problem (most likely I would say is RAM - might also be a cooling problem).

I would suggest booting into Internet Recovery and let the machine sit there for an extended period of time to see if it crashes here. If it still crashes there, I would swap the RAM modules and check if that fixes the problem.


You can move the IO80211Family.kext from /System/Library/Extensions. The Wi-Fi won't function without this file, so moving it will prevent the Wi-Fi from working. If you leave the file on an external drive, you won't be able to re-enable it without the file.

Alternatively, if you're able to disable the admin account, it's a bit easier. Go to System Preferences → Network → Wi-Fi → Advanced and require administrator authorisation to turn the Wi-Fi on.


Starting from iOS8 and Yosemite You can capture the screen of iOS device from Quicktime directly. Here's the steps:

Connect your iPhone, iPad or iPod touch to your Mac via a Lightning Cable.
Open the QuickTime app.
Go to File and select ‘New Movie Recording’.
A recording window will appear. You will a see little arrow for drop down menu in front of the record button. Click that arrow and select your iPhone.
Select the Mic of your iPhone if you want to record music, app/game sounds.
Click the Record button. Now perform the tasks on your iOS device that you want to record.
Once done tap the stop button and save the video.
Done!

NOTE: works only with iOS8 and Yosemite and devices with Lightning Cable.

All steps taken from: ioshacker website. Enter there for screenshots.


How can I charge powerbank that has single C-type in/out from MacBook?

If the macbook usb-C port is not rated to provide what the powerbank demands then it will not negociate and deliver power.

As you say the macbook charger will charge the powerbank correctly and the powerbank will charge the macbook, then the issue is the rated output of the macbook USB-C port.


Downloading an application without the admin password

The whole purpose of the OS requesting authorisation is to prevent software being installed without permission. If there were a method of bypassing the request, that would be considered a 'security flaw' and Apple would (hopefully) fix it quickly.

If you are not the actual owner of the Mac, then you need to ask the owner for permission to install the software.


How to sync home folders with Dropbox/Onedrive/Google Drive?

I sync some small local folders using Dropbox (Google Drive seems more reluctant to this sort of thing, I have no experience using OneDrive).

To do this, ln -s /path/to/file /path/to/link in Terminal works for me, no problem.

Disclaimers

This solution is Mac (possibly *nix)-specific, see here.
This is not officially supported by Dropbox.
Your home directory contains lots of config files I would be wary of sending via network connection at all.
All the services you have listed have 'free' and 'premium' versions. I won't enumerate these here, but be aware of file and upload/bandwidth restrictions which will likely cause problems with this approach.


Recover QuickTime 7 Pro registration from backup?

The file that contains the serial number, if you still have it, would be here:

Macintosh HD/Library/Preferences/com.apple.QuickTime.plist

*NOTE: This is the main Library folder, not your User folder Library.


LCD Display not working, always white and random bars

Have you tried messing around with the lvds connector? (i mean simply disconnecting it and reconnecting again) I'd try that. Also, hot boot or cold boot?

As for the lcd I'd just replace it with the one made specifically for your model, connectors might be diff. like the camera connector, wifi antenna etc. - a lot of catches in general. I guess you could try getting a retina display for your model, retina and non-retina come in the same case

Also, try searching for some louis rossman video on youtube about a problem similar to yours, he's a saint.


A .cfg is a config file for programs, saved in plain text, used in Windows.

To view on iOS simply...

Install iFile
Transfer the file to your iOS Device (Easiest is via iCloud)
Open iFile
Import into iFile (For iCloud: Navigate to Clouds>iCloud>Select File)

6.Go to Files

7.Tap on the file to view

To edit (and/or view) simply...

Rename file.cfg to file.cfg.txt
Transfer the file to your iOS Device (Easiest is via iCloud)
Install Textor
Open the file in Textor and edit

Note: I am not affiliated with any of the apps above and will not gain financially or otherwise from the purchasing/downloading/using of these apps. They were merely suggestions.


Create a Smart Playlist for iCloud Songs that have been downloaded Locally

If you use the "location" parameter, and select "is on this computer", that will show only the ones downloaded—providing you don't have any other music.

This works for me, as I want to keep the storage on my MacBook Air to the minimum.


El Capitan issue: Drag-and-Drop to open an image with the Preview.app in the Finder Toolbar not working

You have to enable the option with a somewhat misleading name "spring-loading delay". It is now a component of System Preferences → Accessibility → Mouse & Trackpad, see answer at Spring loaded folder settings missing in Yosemite


Make safari use normal `back` and `forward` button as other browser

macOS doesn't natively support using mouse buttons for forward and back. You can use gestures if you have a Trackpad or magic mouse, but not buttons.
However, there are a number of apps that will do this. One lightweight option is https://sensible-side-buttons.archagon.net/
P.S. I also have a personal fork of this app with some idiosyncratic features I wanted—e.g. hold down the middle mouse button while pressing a side button to use the side button's native behavior. https://github.com/Wowfunhappy/Side-Button-Enabler/releases/tag/1.1


You can't. It may automatically adjust based on external lighting conditions if the "Adjust keyboard brightness in low light" option is on in System Preferences>Keyboard, but I haven't experimented to confirm this.


With the Mailboxes column showing click the plus sign to the right of the header "Favourites", which appears when hovering the pointer over it.

Then, in the resulting window, select "All Archive" as the Mailbox to add:


How would a Pages document end up as a series of embedded PDFs?

The state of the file you see might be the result of the use of a new function introduced with version 5.2 of Pages: the view only mode.
See the official documentation here:

Share and edit a document with others.

The original file on the Mac of your grandfather is still fully editable. The view-only mode does only restrict modification upon the shared version on iCloud. If your grandfather want to make the shared version fully editable by others (sharing the iCloud version),
then he should modify this setting on the original file and afterward resend a link toward this document.

Try these 2 documented functions on a new empty document to avoid errors.


How to create a macOS Sierra iso installer successfully?

I was facing similar issue when I upgraded to Sierra. Adding -force flag resolved issue. Try hdiutil detach -force /Volumes/install_app it might work.


wget -nd -r -l1 -p -np -A jpg,jpeg,png,svg,gif -e robots=off http://www.apple.com/itunes/

-nd (no directories) downloads all files to the current directory
-r -l1 (recursive level 1) downloads linked pages and resources on the first page
-p (page requisites) also includes resources on linked pages
-np (no parent) doesn't follow links to parent directories
-A (accept) only downloads or keeps files with the specified extensions
-e robots=off ignores robots.txt and doesn't download a robots.txt to the current directory

If the images are on a different host or subdomain, you have to add -H to span hosts:

wget -nd -H -p -A jpg,jpeg,png,gif -e robots=off http://example.tumblr.com/page/{1..2}

You can also use curl:

cd ~/Desktop/; IFS=$'\n'; for u in $(curl -Ls http://example.tumblr.com/page/{1..2} | sed -En 's/.*src="([^"]+\.(jpe?g|png))".*/\1/p' | sort -u); do curl -s "$u" -O; done

-L follows location headers (redirects). -O outputs files to the current directory with the same names.


The application bundle should go in /Applications. This application bundle should contain everything. Libraries, dependencies, everything that the app needs to run, so that should the application bundle be copied to another machine's /Applications directory, it should be able to run.

Installing in /Applications requires admin. Should admin not be available, the standard location for a single user application is ~/Applications. This directory should not be expected to exist.

If something needs to be 'installed' on the system for the app, such as the aforementioned 'resource database', the app should prompt to install it in:

/Library/Application Support/developername/appname/

Should something need to be 'installed' for the current user, it should go in the same path prefixed with their home directory. This doesn't require admin.

~/Library/Application Support/developername/appname/

User files should not be saved in the root of the user's home directory. The user should have the opportunity to save files wherever they please, preferably with a standard OS X save dialog.

Also…

Cache files should go in:

~/Library/Caches/developername/appname/

The users preferences should go in:

~/Library/Preferences/com.bundleidentifier.plist

If something more than a single property list needs to be saved…

~/Library/Preferences/developername/appname/


Central admin-managed contact list for iPhone

Hi Rune,

Using [ContactBox][1] a person can share a list of contacts with a group of people/devices. By default anyone the list was shared with can update the list but the list admin (the person who created the list) can prevent the other group members from editing. Any changes made to the list are synched to all group members. What is synched is a list and not an "account" and you can create as many lists as you want and share each one with a different set of people.

Hope that helps, Gal
Disclosure: I the founder of ContactBox


You should disable activation (it's hacktivation) when jailbreaking if your phone is unlocked (or locked to your carrier).

In PwnageTool you should choose Expert and deselect the Activate the phone checkbox.


How do sync programs get around the iOS sandbox?

They can't as all 3rd-party apps on a non-jailbroken iOS device are limited by the sandbox, both installed from the App Store and from ad-hoc/enterprise distribution.

Either they are using public APIs to access data 'the iOS way' (structured and anticipated) such as accessing the Camera Roll to import/save photos, or are integrated with an app to share data in a way that the developers of both apps have worked together to make it happen (this doesn't necessarily mean they actually know each other as they could have used a framework, such as the Dropbox framework).


Some windows in OS X Lion do not move to foreground when taking focus

I've noticed this in versions of OS X as far back as Panther. It seems to happen more often with apps that use heavily tweaked windows (like Microsoft Office, Adobe apps, or Java apps, particularly Eclipse).

It's just a bug in the app. File a report with the vendor if you want and maybe they'll be able to fix it.


Setting Default gmail Send-From Address on iPhone for photo sharing

After receiving an IOS update to 10.1.1, I was then asked which email address to use when sending a photo.  Either I didn't find the right spot under IOS 9 or this was addressed in IOS 10.


itunes cards purchased in US and used in Africa or Turkey

That’s how many online services work when selling Apple gift cards. They email the redemption codes and hope that no one else gets the email and redeems them. It’s the first person to claim the code that gets the money.

I would send the code over iMessage since that’s encrypted quite securely.

If you were doing a lot of this, I would read the terms and conditions since this is likely against the literal terms, but if you are helping someone that legitimately has a US App Store account and is simply traveling and not wanting to wait for the physical card to ship, I can’t imagine Apple coming down on you or them once you explained the situation if it somehow was flagged as improper.

Your friends could also enter their AppleID into wallet on their iPhone or iPad and then send you a screen shot that you could take to an Apple store and have the employees scan and then take your payment. That credits the AppleID instantly - no need to send the redemption code.

I haven’t tried sharing the wallet item, but they might do that as well if you have an iPad or iPhone and could take that into the store for purchase.


How i can log various information of files in directory?

I am not sure if you need to have it in this particular way, but why not simply using something like

ls -l > logfile.txt

and add the necessary options to ls if you want it a little bit more specific


If Thunderbolt is a successor to DisplayPort, why can't it support DisplayPort multi-streaming?

You should be able to and it may be a limitation of the system you are on or any intermediary devices.

Here's my setup:  Dell Precision M3800 with nvidia Quadro K1100m graphics.  Connected out of the Thunderbolt port (by a mDisplay port cable) to a Dell U3014 monitor which is connected to another U3014 (by a full size Display port cable).  I had to enable DP1.2 on the monitor in the settings for it to work.

I'm looking to see if I can use the Elgato Thunderbolt 2 Dock in between my laptop and the first display to utilize Network, USB, etc... in addition to dual displays.


Does Mac keeps a history of all actions I have done with files/folders similar to terminal?

To your first question:

Yes it does keep record of lots of stuff--lots of records.

Open the Console log and have fun looking through it.

To your other questions:

Only if you realize the mistake immediately some stuff is recoverable.

It also depends how full your disk is (theoretically), so the deleted information would not be immediately overwritten.


Can I replace my charger twice if its under warranty?

I have no idea what you mean by High power electricity, but generally Apple will replace something as many times as necessary while it's under the warranty period so long as you haven't damaged it in some way.

Your question implies that your chargers were not faulty, so if Apple determines that they've been damaged, you may be out of luck. However, if the chargers are supposed to be able to manage whatever it is you mean by High power electricity, then they should still be covered as something isn't working properly.

Of course, this assumes that by damaged you mean it no longer works, rather than just some sort change in cosmetic appearance.

Regardless, the only way to find out is to ask Apple. If you get no joy and feel that a replacement is honestly warranted, then your local consumer laws may offer a process you can avail yourself of.


possible to drive two external mointors with mid-2013 new macbook air?

Have a look here: Air powers three monitors.

It looks like it could be possible. I'm not sure about the HDMI adapting method though. I do not know of anyone doing that yet.


You will need to go to Store->Sign Out, then sign in with your own account.

After that, delete the software that is asking for the old account password, and reinstall it under your account. If the software is not free, you will need to buy the software again.  You do not have a license to use the software, unfortunately.

In your case, there’s only keynote needing an update so you know keynote had that account tied to it.


Messages not delivered. No "send as text" option

Persistent Not delivered error usually is related to connectivity issues, so make sure you're connected to the internet, then double check your iCloud credentials by going to Settings and verify that you're logged in properly into your Apple ID account (you may also consider signing out and signing in again).


Cannot wake Mountain Lion from safe sleep

I'm delighted to report that, after installing the OS X Mountain Lion v10.8.3 Update, this problem has gone away:

  About the update

  This update is recommended for all OS X Mountain Lion users and includes features and fixes that improve the stability, compatibility, and security of your Mac, including:

  [ deletia ]

  A fix for an issue that may cause the screen to display incorrectly after waking from sleep


In SystemPreferences->Energy Saver->PowerAdapter:
uncheck "put harddisks to sleep when possible" (this is/was meant for HDD not SSD)
uncheck "Wake for network access" !!

in "schedule..." bottom right side: uncheck the two possibilities.
Restart after that to be sure.
That should do it.


Just right click the link.

If you have a pdf viewer plugin enabled (which it sounds like you do), you have the option to *Open Link in..." it or Save Link As...

When you choose Save Link As... you even have the opportunity to change your download location.

The way that I am doing is through Full Acrobat Reader, not through a 3rd party plugin or Preview.  In fact, PDF plugin is disabled:

When I click on the PDF link, it opens in a new browser Tab for viewing, but now I have the opportunity to select "Download" if I want to save it (It's not saved to my Downloads folder automatically.)


How do I open a new tab in Mobile Safari?

Take a look at below screens. Two steps, two arrows. Press double square to open tabs and then + to open new tab.


Where does Microsoft Word store autorecovered documents in Catalina?

You will get the AutoRecovery folder under the Library of your user folder.

The library under your user folder is normally hidden. So press command+shift+. to see all the hidden folder.

After this, go to

/Macintosh HD/Users/xxx/Library/Containers/com.microsoft.Word/Data/Library/Preferences/AutoRecovery

Here xxx is your username

You will see your recovered files over there.


How to create nested folders in iCloud Documents?

I'm afraid not. iCloud is designed for iOS devices without a user accessible file system. iCloud files are strictly associated with apps and only allow one level of folder nesting.

If you're not happy with this, you can send feedback to Apple about it here: http://www.apple.com/feedback/icloud.html

You could use Dropbox instead (https://www.dropbox.com/) which has more flexibility around file organisation. The downside is that you only get 2GB free but you can earn more free storage in various ways. Google Drive (https://drive.google.com/start#home) gives you 5GB free.


To analyze problems like that it helps to

check whether the target of the symlink exists (ls -l ~/Applications/calibre.app/Contents/MacOS/ebook-convert)
check whether the target is executable
verify whether the shell sees the file in question (type ebook-convert)

Doing so made me realize that Calibre was installed in /Applications instead of ~/Applications.


WD Passport 1TB USB 3.0 Time Machine external HD not being recognized on Yosemite

Reboot your computer.

Login to your desktop

open up activity monitor.

Check to see if fsck is running
if fsck is running...

Your computer is attempting to repair the drive, so that is WHY it is not showing up in any of the places you are looking beacuse fsck has already unmounted it.
You have two options (both are risking or dealing with data loss so proceed at your own risk!! )
Option a: You can force quit fsck from activity monitor - then OSX should mount your drive with an error that looks like this...

Next steps for option a:
a1. you can attempt to backup and data that you do not have a copy of. Keep in mind the finder might hate copying large files out
a2. If the finder cannot copy files off, you can attempt to repair your file structure or "preview" your drive with disk warrior. To help you copy your files off.
Then assuming option a fails / succeeds and you do not need any data.
Option b:
version 1: If the drive is business critical, then replace it.
version 2: If this drive is for home use and not a huge deal if might die on you randomly then your best bet is to reformat your entire drive and then keeping a eye on it.


How can I stop using beta iOS on my iPhone?

To opt out of getting future betas, delete the iOS beta profile. On iOS 10, this can be done as follows: Settings > General > Profile > Delete Profile.

This will not remove the installed beta. It appears, the easiest way you can go back to a non-beta version is by restoring a backup.

Some articles that may be useful:

Removing iOS beta profile
Downgrading to iOS 9


Yes - you would use the health app and place steps and distance walked/run into your dashboard and then take the phone out for a walk or jog.

If no data is logged, you can conclude that the processor is likely faulty. You could confirm it by backing up the device and restoring a clean OS and repeating the step test.


Xcode 6.0.1 CTRL-Drag from view to source code not working

Resolved. Had to associate a class to xib file as per screenshot below:


Display message box only if "filter finder items" finds an item (Automator)

It is doing the right thing.

There is no decision making being done so the dialog box will appear every time. To fix it, you will need to add an AppleScript action as discussed here

https://discussions.apple.com/thread/509298?start=0&tstart=0

So, if the filter returns an empty list {} then it quits.

Here is what it looks like...


iMessage Fails to Send or Receive Photos

I had this same issue a few months ago and I resolved it by turning off iMessage in Settings - Messages and then turning it back on.


Will rsync copy extended attributes, ACLs, etc. reliably enough for Time Machine?

Rsync, with the -E option, will copy the extended attributes and ACL of a file. The man page for rsync states:

    -E, --extended-attributes   copy extended attributes, resource forks

    -E, --extended-attributes
                  Apple-specific option to copy extended attributes,
                  resource forks, and ACLs.  Requires at least Mac OS X 10.4
                  or suitably patched rsync.


TARGET in the Makefile needs to be updated.
For example, I'm using an M1 Macbook Pro with macOS Big Sur 11.2.1, so I changed it to arm64-apple-macosx11.2


Can I turn off IPv4 and just use IPv6 on my Mac?

I assume you're talking about on your Mac since you don't specify.  Yes you can do this but in all likelihood, you won't see much other than your internet connection probably won't work.  Most ISPs (Internet Service Providers) are not yet ready to handle IPv6 traffic and many won't be right up to IPv6 day on June 8th 2011.  Many won't be ready beyond then either.  But it won't do any harm to try it out if that's what you're worried about.  As an aside, the last batches of IPv4 addresses were distributed recently.

To turn IPv4 off go to System Preferences > Network > Advanced > TCPIP

Then on the drop-down list next to 'Configure IPv4' select the 'Off' Option.  Then beneath that, you can set the 'Configure IPv6' drop down menu to whatever you want.


Erase USB in Disk Utility says "Permission denied"

Try with diskutil:

diskutil eraseVolume HFS+ "new name" disk1

Replace new name with the name you wish the disk to have, and disk1 with the disk identifier (select disk → Info).


Is there a way to have separate docks per display?

I do not have the Yosemite but on Mavericks works as follows:

  The trick is to assign a second Space to the desktop. You do that by
  pressing the Mission Control button on your Mac keyboard (F3) or
  whatever you've assigned in System Preferences > Mission Control, and
  moving the mouse to the upper right of the display until you see a
  Plus (+) icon. Click it to create a new Space.

After you've created a second Space, your dock option will change. Now you'll see this:

Now you can assign the app to the Desktop of your choice, typically either the desktop on display #1 or display #2.


You can achieve this in two ways:

Deactivating the "iCloud Photo Library", which links the photo libraries in every iOS / OS X device you own and have configured under the same Apple ID and automatically syncs every picture taken, added or removed to all the devices on the system. With the setting inactive, you can work in the "classic" way, by downloading the images of each device to your main library and then emptying your iOS devices. You won't get the alert because the libraries will no longer be synced.
Keeping the iCloud Photo Library on and activating the "Optimize [device] storage" setting under Settings > iCloud > iCloud Photo Library which will keep a full resolution copy of your image on iCloud and on the devices that don't have this setting on –your Mac, probably– and leave a lower resolution copy on your phone or any device with the setting activated. A higher resolution copy will be downloaded on demand if you open the picture later on.

Check the explanation Apple gives on the matter here: https://support.apple.com/en-us/HT204264

It's important to note that this will change the experience when browsing pictures on the Photo app a little bit, as each time you look at a picture in full screen it will begin downloading a bigger copy which will have a little delay; expect an increased use of your bandwidth and depending on your settings, of your data plan. Also, depending on the size of your Photo Library, you may fill the 5GB free plan and be asked to pay a monthly fee for an increase in your iCloud capacity.


In 2020 - get a Dream Machine if you can. The software does all this automagically. Then add AP as needed to complete your coverage based on your measured quality and channel needs.

Your question is probably too broad, but a pair of recent 802.11ac AirPort extremes might actually run well with 50 clients. I would get a third for 75+ or if your clients aren't on 802.11 AC substitute 2 Express for each one Extreme to get adequate bandwidth over WiFi.

Don't place them all together on one table. The closer they are to the external walls of the room, the better your interference situation will be.
Do link them with cat 5e or better ethernet cable
The one connected to the internet is the router and you'll have plenty of reservations out of the box.
Set the rest up in bridge mode.
Run a wireless scan using airport utility on iOS or get a Mac program like WiFi Explorer so you can assign channels manually and troubleshoot things like spectrum noise to signal and channel overlap and utilization.
If all of your clients are Mac and iOS, and if you place the base stations equally around the space,  toggling Wi-Fi off and on on the clients should do an acceptable job of balancing the load and matching each client to the closest base station
I would probably make different SSID for both 2.4 and 5 GHz and for each base station. You can make the password the same for all of them in that way if you need to go in and read distribute things you can.

If you set things up as I have described, you can choose and arbitrarily large pool of IP addresses, devices will retain the same IP address in general, UDP broadcast won't be a problem.

Set up the first Airport Extreme with Channel 11 and Channel 36
The rest go in bridge mode:

channel 6 and 153
channel 1 and 161
channel 11 and 157 (note 11 overlaps with the first - so make sure this is quite far from the first base station)

Avoid channel 149 since it's used initially for AirDrop/AirPlay. Don't use any channels other than 1, 6 and 11 on 2.4 GHz. If you have more complicated wifi planning needs, get a tool like wifi explorer to actually measure your network conditions in real time.


How to disable an email account when the password has changed?

Disconnect from the network, then enter the password. The device can't check the password with the server, so enables the switches anyway, then you can switch the Mail toggle off to disable it.


System on external drive using on iMac and MacBook Pro

It's because authorizations are OS or profile based, but machine bound. Every time you start the OS on a Mac that is different from the last time it started up, all authorizations become invalid and have to be reissued and are stored on your disk again for the machine that you currently use.

Look in to Mobile Homes to see if that would work.

By the way, what you are doing is probably totally unsupported, so bugs are to be expected, even if it works.


Need to replace a hard drive in a macbook

Yes, the new hard drive is empty.  In fact, if it purports to have OS X on it, I would be suspicious.  I'm not sure Apple have ever supplied OS X on a separate drive.
"Old" laptop Macs (before OS X Lion) were sold with an optical disc. After a certain time most have shipped without an optical drive or a disc to put in it.  In that case the internal hard drive (or SSD) was supplied with a recovery partition.  You may be able to use Lion or later on a boot-able USB.
Yes, you might want to look at iFixit's guides or Apple's support articles.
Just Torx screws.


Connecting to the Internet with an iPad or iPod Touch, via public wifi

When your iOS device doesn't get an IP address from the router that will route packets to web sites like www.apple.com or some of the other under the hood servers like the iCloud servers and APN (Apple Push Notification) servers it will let you know it's not connected to the internet.

In this case, it's almost always a problem with the wireless router or the internet service in the shop. Even if other people are surfing, the router could be out of new addresses and need a reboot. If no-one in the shop has access, then the causes could be lots of other things and not a temporary outage of DHCP addresses.


You should be fine. The service is available globally and can be availed by walking into any of the nearest authorized service provider in your city/state. The /in/ subsection is not available on Apple's homepage because Apple doesn't yet have an online store/retail store in India.

Just search here:

Apple - Find Locations

Prefer visiting one of the Premium service providers. They generally maintain inventory or are able to procure parts in India. I am including an example search result from Bengaluru.

I do not have any document to link to, to support my claim. Speaking from personal experience.

Also, refer to this document from Apple:

Keyboard Service Program for MacBook, MacBook Air, and MacBook Pro - Apple Support - India


You are referring to the editable slide in the main pane of the Keynote window, right?

I do not believe you can change where it displays in the window. Your best bet may be to resize the window such that the slide appears to be centered (i.e. use the smallest window size that fits the slide), then put the window in the middle of the screen.


Can I replace the HDD in a Fusion Drive?

The fusion part is not contained in the drive. There is a separate connector for the SSD on the logic board. You can definitely replace the hard drive with a larger one once you buy it.

Fusion Drive is a marketing term for what's known under the hood as CoreStorage, the technology which, among other things, can combine two drives into one. Apple doesn't pull any hardware tricks to implement this. It's 100% software-based. They have a connector (albeit somewhat proprietary) for the SSD, and another connector for the HDD. Combined with CoreStorage, they form the Fusion Drive.


Why does Apache want to use xcode for installation resources?

It's hard to really know why the authors of the tool made a specific choice without tracking them down in many cases, but this one shouldn't be hard to guess.

Xcode is how Apple distributes a working C compiler to each version of OS X. therefore checking in Xcode for gcc makes good sense to me.

As you correctly have demonstrated, if you prefer to install another compiler or store is elsewhere, the configure tool is happy to use another path to the compiler.


Cannot access specific website (MBP - OS X 10.10.5)

1 - Run Disk Utility from the Utilities folder and "Repair Permissions."  Let it run.  It will take a while.  When it is done, quit the program.

2 - Reinstall an anti-virus program and run a scan.

3 - Open Safari and from the "Safari" menu, click on reset Safari.

4 - Go to System Preferences, click on "Security and Privacy."  Make sure your firewall is set to "ON."


iPhone/iPad "Reader" mode distorts presentation of or doesn't show content

I'd suggest you disable Safari reader view for the page in question. See https://stackoverflow.com/questions/2999600/how-to-disable-safari-reader-in-a-web-page


Macbook Pro Mid-2012 Retina Screen Flicker

Certain MacBook Pros made between February 2011 and December 2013 were found by Apple to be defective.  Apple is offering to repair them for free.  The symptoms were:

  Distorted or scrambled video on the computer screen
  No video on the computer screen (or external display) even though the computer is on
  Computer restarts unexpectedly

Affected Models:

MacBook Pro (15-inch Early 2011)
MacBook Pro (15-inch, Late 2011)
MacBook Pro (Retina, 15-inch, Mid 2012)
MacBook Pro (17-inch Early 2011)
MacBook Pro (17-inch Late 2011)
MacBook Pro (Retina, 15 inch, Early 2013)

You have two repair options:

Carry In

Bring your MacBook Pro to a participating provider - Apple Retail Store or Apple Authorized Service Provider.
A technician will run a diagnostic test on the MacBook Pro to verify eligibility.
Repair turn around time will vary based upon parts and technician availability.
You will be notified when your MacBook Pro is ready for pickup.

Mail In

Call Apple and request a postage paid box to send your MacBook Pro to the local Apple Repair Center.
A technician will run a diagnostic test on your MacBook Pro to verify eligibility.
The repair process takes approximately 5-7 days from the time your MacBook Pro is received at the repair center until it is returned to you.
After it has been serviced, your MacBook Pro will be returned to you by mail.

See Apple's page on this topic for more info.


How can I get ^C to show up when I do Control-C on a Mac terminal?

I'm not entirely sure of this, but for a different reason I upgrade the Bash on my machine (brew install bash) and this behaviour started to show up. This post is what I followed to update Bash. It would be good practice not to overwrite your old Bash but instead just use the new one. Brew puts the new Bash at /local/usr/bin/bash anyway.


Does the 2020 Apple M1 MacBook Pro support 2x daisy chained Thunderbolt Displays?

No, you get only one external display - for two supported displays total and they do not chain (in the case of the mini and two external displays).
One is the MacBook Pro / Air screen and the second can be as large as the 6K Pro Display XDR. The Mac mini has the same limitation - two displays only, no chaining of displays. Initial reports from the Thunderbolt 2 to 3 adapter are very encouraging that those displays work well. As do the latest displays with newer connections.

https://www.apple.com/pro-display-xdr/specs/

Now, just because Apple doesn’t support it, you can add all sort of Thunderbolt docks and USB to HDMI adapters.
Five displays works with third party software + hardware.

https://www.youtube.com/watch?v=Kq_FyjcAULA

This team has tested 5 displays from an Air and 6 from the Mini. It looks like you can push things far more using DisplayLink software instead of the supported direct connection with reasonably priced adapters if you really need more pixels.


sntp gives the current offset. The ntp.drift file is updated only occasionally, I think when the daemon starts.


Mac collected from customer support, some settings have been reset

Some settings in OS X are “per machine” which is mostly derermined by MAC address. Since you for a replacement logic board that address has changed so OS X is using defaults since the settings for the former logic board do not match the hardware it is currently running on.
This is normal and expected. Just set them again to your liking and you'll be fine.


You can use spotlight (⌘-Space) to do most anything. ⌘⇧A opens Apps folder, ⌘⇧H opens Home folder.

To fix your problem: Try opening the Terminal app (launch via Spotlight). Then type killall Dockand press return. That will attempt to kill the Dock process and relaunch it.

If that doesn't work you can check Activity Monitor (launch via Spotlight) and search for the Dock process to see if it's running at all, and if so, if it's hanging.


Where are the MacOS startup boot icons located?

The specified directories

/System/Library/Extensions/IOSCSIArchitectureModelFamily.kext/Contents/Resources/
 and
/System/Library/Extensions/IOStorageFamily.kext/Contents/Resources/

do indeed contain the .icns files used by the startup boot manager or at least it contains replicas of the .icns used.


Cannot access directory through standard user even when permission is given

I solved the problem.

When I ran:

chmod -R 777 /vpn/directory

What I actually ran was:

chmod -R 747 /vpn/directory

So, the group wheel had only read permission. I thought my standard account was not part of the group wheel and I ran

dscacheutil -q group | grep 'wheel' -A 4

To make sure. I got the output:

name: wheel
password: *
gid: 0
users: root

--
name: wheel
password: *
gid: 0
users: root

However, after running:

chmod -R 777 /vpn/directory

I am now able to access the files I need.

Thank you very much.


Explanation for Ridiculously Slow Copy Speed

OK - your iostat output is showing you that the disk2 spindle is the limiting factor. I would guess from the relative idleness of the other drives that you are copying from and to images stored on disk2. In that case, the head will seek back and forth and back and forth rather than filling up the drive buffer with lots of data.

Typical hard drives cannot perform more than several hundred IO per second due to physical limitations of the head moving along with rotational speed limitations (some time is lost waiting for the drive to spin so the area where the write will happen is under the write head.).

You could try making sure the data being written is going to a physical disk different than the one where it is being read and see a substantial speed up.

It might be faster to first copy the disk image to one of your other three drives, do the copy and then delete the source image from the "temporary" location.


How can I sort PDF by date in Adobe Acrobat on iOS?

Clicking on "recent" sort the documents by descending date of last opening:


command + tab or clicking on any app in dock opens all windows of that application

cmd-Tab in macOS always works like this. It switches apps instead of windows, and all non-minimized windows of the app in current desktop will popup.

alt-Tab in MS Windows switches windows.

Personally I like the behavior of MS Windows. If you want this behavior, you might check something like HyperSwitch.


The Apple Support Knowledgebase is your friend.

There are a few steps needed to change the homefolder name, requiring logging in as the root user, which requires that the root user be enabled and then disabled when the task completed.

The process is much simpler in 10.5 or greater and is a bit more cumbersome in 10.4 and earlier.


Macbook Pro with abnormal CPU usage and unrecognised battery. How to alternative SMC reset

In the Apple Support article on SMC reset it reads "On MagSafe power adapters, the LED might change states or temporarily turn off when you reset the SMC.". Other than that SMC reset does nothing visible. So probably the reset is working.

It seems like the battery is dead. In that case the Mac will throttle the CPU to reduce power consumption. This explains also the high load. Since the battery is necessary to buffers peak loads, the MacBook relies on it to operate properly.

You must replace your battery.


PayPal emails go to Spam folder on Mail Mac

E-mails that have been placed into the spam folder by Apple Mail will have this header:
If you see an e-mail in your spam folder that lacks this header, than the e-mail has been automatically been placed into the spam folder by your mail provider. You should mark it as "not spam" from within your mail service's web client.


Change "focus switch" behaviour in OS X Yosemite

macOS is an application-centric model (by most recently used), whilst Windows uses a window-centric model (by z-order).

Read more: https://www.isotoma.com/blog/2010/05/10/solving-the-real-alt-tab-problem/

You can use a number of third-party apps to make macOS use a window-centric model, see the answers to this question for some examples.


Can't automatically update iTunes apps from different country on Mac

I learned that unfortunately the best solution when moving to another country is to open a new account in the new country and go through the tedious task of logging with different accounts when you do the updates.

I didn't do that but my wife did. And now I have the exact same issues plaguing my account as you do. I moved from North America to Europe.

I partially solved the problem by restoring the iPhone and iPad. deleting and re-downloading the apps in iTunes and re-syncing the iPhone and iPad.

Now most applications simply appear in the Apps "Updates Available" section. Otherwise they can be updated directly from the iPad or the iPhone then synced back to iTunes.

But next to my Apps I still have 27 apps as showing for updates but I can't download them as the updates are available in the US store and the apps have different versions in the US than in my current store.


As you mentioned yourself, you can use QuickTime Player in order to view your iPad screen on the Mac in real time. Here's the exact procedure:

Using a USB-to-Lightning cable capable of data transfer, connect the iPad to the Mac.
Unlock the device and opt to Trust This Computer, entering your passcode if needed.
Launch QuickTime Player, then do ^⌘N (Command + Ctrl + N).
After approving access to camera and microphone if requested (as is needed on macOS Mojave and later), click on the small downwards-facing arrow next to the record button.
Choose your device under Camera in the drop-down menu.

You will now see the iPhone within QuickTime Player on your screen. Keep in mind you won't be able to play content with DRM (e.g. iTunes, Netflix etc.) this way.


Books or Info about Mac OS X under the hood

I've read several articles by Amit Singh at http://kernelthread.com, and have always found them very interesting.

He's book is Mac OS X Internals: A Systems Approach


Voice/vocals are really hard to hear on my iPod

There is in fact an equalizer setting on the iPod touch.  Go to Settings -> Music -> EQ to get a list of all of the different equalizer settings.  The best choices for you are probably "Off", "Spoken Word," or "Vocal Booster."  If your problem continues, feel free to leave me a comment.


New Terminal behavior after upgrading to OS X 10.11

The short answer is "Hide Marks" in the "View" menu of Terminal.

After I discovered the behavior wasn't specific to emacs, I started looking at Terminal more critically.

In the Edit->Marks menu there is an option 'Automatically Mark Prompt Lines' which defaults to on for El Capitan.  Disabling this option will stop the addition of new "marks".  You can remove specific marks using Cmd-Shift-U on the line you want to remove the mark from.  And finally "Hide Marks" to turn off the visual indicators of the marks.

After removing emacs from the list of suspects, I found several other similar questions on Ask Different, Super User and Stack Overflow that all reached the same conclusion.

Commenter nwinkler provided a link to his research on what marks are and how this feature can be used.  Thanks!


Time Machine won't delete old backups until it thinks it needs more space to store a new backup. However, you do not get a warning before the deletion happens - only after the deletion deed is done, does the warning pop up.

You could trust this in the short term, however starting a backup of a cleanly reinstalled Mac is one way to have the system estimate it needs 100% of the side of the drive to start the next backup.

I would not connect that drive to the restored Mac until you can turn off Time Machine and then copy using Finder one of the old backup intervals you wish to save. You could just set the old drive on the shelf or get a new drive to store the "long term" snapshot.

Basically, you don't get notified before the deletion happens, so if you want to keep files, you need to take action now if you are not 100% certain that there is enough space to prevent automatic deletion.


IIRC, there is a pretty simple way to do this! The first set of instructions in this link explains it pretty well, but in case the link breaks, here is the text from the site. The idea is to delete the network configuration related plist files.

  Turn off Wi-Fi from the menu bar.
  Navigate to /Library/Preferences/SystemConfiguration/ in Finder by pressing ⌘ + Shift + G.
  Select the following files:

  com.apple.airport.preferences.plist
  com.apple.network.identification.plist
  com.apple.wifi.message-tracer.plist
  NetworkInterfaces.plist
  preferences.plist

  Copy these files in a safe location so that if anything gets messed up, you can easily restore them.
  Delete the files (from the original location).
  Reboot your Mac and enable Wi-Fi again.

Let me know how this goes!

Via the command line:

cd /Library/Preferences/SystemConfiguration/
sudo zip backup.zip \
         com.apple.airport.preferences.plist       \
         com.apple.network.identification.plist    \
         com.apple.wifi.message-tracer.plist       \
         NetworkInterfaces.plist preferences.plist
sudo rm  com.apple.airport.preferences.plist       \
         com.apple.network.identification.plist    \
         com.apple.wifi.message-tracer.plist       \
         NetworkInterfaces.plist preferences.plist

Note: In macOS Mojave 10.14.4, the file com.apple.network.identification.plist didn't exist on atleast 1 machine where this was tested. The file not found errors can be ignored.


“Couldn’t create temporary file” error when erasing free space on startup disk

Ran into the same issue while erasing free space on El Capitan. I was doing it from the terminal, and this was likely the error you ran in to:

Error: -69847: Couldn't create temporary file
Underlying error: 1: POSIX reports: Operation not permitted

As @Tetsujin mentioned, there is a solution in this question — though, in this case, I think the easiest solution is to run the operation via the command line, with sudo. From a terminal window, you should be able to do:

sudo diskutil secureErase freespace 0 "/Volumes/[Disk Name]"

This isn't the accepted answer in the linked issue, but it's one of the answers...and way easier than all the other solutions.

The 0 in the command specifies that you want to overwrite the free space with zeros...there are other "more secure" options, although there are arguments that erasing free space may not be necessary at all, when you have a solid state hard drive.


User Data Migration from HFS+ Disk Image

This is a rather broad question, so the answer will be somewhat broad as well.

Adding a new user

You can create a new user in System Preferences->Users & Groups. Once done you can then copy/move the copied user data into the newly created home directory and adjust ownership of files/directories.

There is a certain risk that some paths in configuration files etc will break, but this is hard to say from outside. You can reduce the risk by making sure the shortname of the newly created user is the same as it was on the old system.

Reinstalling an application

This heavily depends on the application in question. Some of them require just the .app directory to be copied, others have support files installed all over the system, and if they require registration it may again be somehow more complicated. To dig into this, please ask a new question and mention the name of the application.

PS: https://support.apple.com/en-gb/HT204320 implies that you should be able to select a mounted disk (partition) as a source for migration. But I don't have a way to verify that for 10.4.x.


Downloading 32 bit iOS Apps for 32 bit iPhones after iOS 11 is released

While Apple is moving to 64-bit apps on the App Store, that doesn't mean they're 64-bit only apps. In fact any new apps published since 1 February 2015 has had to support 64-bit. This is also the case for any updates to existing apps (i.e. they also must be 64-bit compatible).

In other words, any 32-bit only apps submitted to Apple will be rejected, but if that same app also supports 64-bit, then it'll be available for both 32-bit and 64-bit versions of iOS etc.

In summary, any app that:

is only 32-bit is on borrowed time
is only 64-bit is fine
that supports both 32-bit and 64-bit will be fine


Where do we find our reviews in iTunes App Store?

Your reviews are available from Store->View My Account, then check the "Manage >" link after the "Reviews and Ratings" text in the "Settings" section of the page.