Messages no longer sorting by most recent message

Restore from a backup.

It looks like your phone has some serious issues with its OS. Something probably went wrong with the installation, so you should restore from a backup, or just start fresh. Here's how to do that:

iCloud

Make an iCloud Backup. Go to Settings - Apple ID (big thing with your name at the top) - iCloud - iCloud Backup - Back Up Now
Disable Find My iPhone. Go to Settings - Apple ID - iCloud - Find My iPhone and turn off the switch. You will have to enter your Apple ID password.

If you have forgotten your Apple ID password, go to iForgot

Wipe your phone. Go to Settings - General - Reset - Erase All Content and Settings.
Wait for your phone to do a full wipe.
In Setup Assistant, select that you'd like to restore from an iCloud backup. Choose your desired iCloud backup.

That's it! See if it worked.

iTunes

Make an iTunes backup. Connect your phone to your computer, and open iTunes. Select Your iPhone (in the top bar) - Summary - Back Up Now.
Disable Find My iPhone. Go to Settings - Apple ID - iCloud - Find My iPhone and turn off the switch. You will have to enter your Apple ID password.

If you have forgotten your Apple ID password, go to iForgot

In iTunes, click Restore iPhone.
Wait for the restore to complete
In Setup Assistant, select that you'd like to restore from an iTunes backup and follow the directions from there.


How to run an installed application as an admin?

On macOS the Finder hands off application starts to an admin cleared process named launchd. You don’t really have to do anything to run as admin since all apps run as admin when programmed to do so. What macOS does differently than windows is sandbox details and some files being immutable / read only / protected.
The closest analogous item might be adding the disk drill app to Full Disk Access, but I would check with the vendor and release notes before adding it unless you are sure it’s working correctly or have a backup.
This message isn’t really correct on macOS and wasn’t on OS X before either.


How to post Apple Watch activity of a group to slack?

Since health data is highly private, you’ll want to have an app run on each device so everyone opts in to the collection.

This has been done very well - https://apps.apple.com/us/app/challenges-compete-get-fit/id1051342211

I would start there and then see if you even need slack integration. The shortcuts app does have the ability to pull data from the health database, but you’re going to need to connect a few things and then architect the trigger or have people periodically push their data. The app above has already solved all those “design and technical challenges” for you so you can all just design a challenge on workouts and fitness

Here’s how you get started with shortcuts. You can chain them together and call any web API so that’s how you’d get things to slack if there isn’t a slack app that works with shortcut automation on iOS.

There is an app for slack you could install and see if shortcuts still can post to slack after the app was renamed
from workflow to shortcuts.

https://your-slack-instance.slack.com/apps/A03A1LEM4-workflow


Which options exist for SSH tunneling clients on iOS?

iSSH supported opening tunnels. For example, I can set a tunnel on local port 4444 that points to an IP address and port 80. Opening localhost:4444 in Safari then loads that website through the tunnel. iSSH also has good support for saved configurations and public key authentication.

Under the App Store rules, iSSH is only allowed to keep the connection open for up to 10 minutes in the background, so after 9 minutes or so I'll get a notification and the tunnel will be closed if I don't switch back to iSSH quickly enough.

As of 2015, iSSH isn't available anymore. The same functionality likely exists in other iOS SSH clients, but I haven't tried any myself.


All credit goes to patrix.

The problem stems from OSX preventing php script from executing screencapture command. OSX has no problem if you run your script manually, but if it is triggered as a response to a GET or POST request, than it raises the red flag.

To solve this 3 steps are needed:

Add permission to the user that is running httpd (and php) to execute sudo launchctl without password. In my case it is daemon. I got it from Activity Monitor. Edit /etc/sudoers with

daemon ALL=(ALL) NOPASSWD: /bin/launchctl

get the PID of loginWindow. you can use ActivityMonitor for that. PID is subjected to changes so to bullet proof yourself use:

pgrep loginwindow

update your screencapture command:

sudo launchctl bsexec PIDNUMBERHERE screencapture [options] path/image.png

It might be worth mentioning that step 1 adds a slight security risk and probably shouldn't be used in an internet-facing environment (especially with a PHP solution where everybody can easily read the source code).


Pages "Send via email" doesn't work after upgrade

I've got the same problem. Postbox seems to be the answer. Removed it and now Send via Mail works again.


Issues with Bootcamp trying to boot to a bootable device other than my HD

It seems you are booting directly to your Boot Camp partition, showing you the No bootable device, insert boot disk and press any key message (probably due to the BIOS emulation)

To fix this, go to System Preferences and select Startup Disk. Select the appropriate disk and restart.


iMessage "Start New Conversations From" options different on iPad than iPhone

The setting you are talking about can be found in

  Settings > Messages > Start new conversations from

This will only work if you have signed in with the same Apple ID on both- the iPad and the iPhone.

If you cannot get it to work, try signing out of both devices and signing back in.


Safari opens pdf in browser window, but doesn't auto rotate and there is no control bar

I think you are using OS X Preview in Safari.
Note: If you don't have Acrobat or Reader, or haven't installed the PDFViewer plug-in, then Safari shows PDF files using the Mac OS X native PDF support.
Solution 1
Get Adobe Reader XI (11.0.02) installed, inclusive the browser plugin. Now Safari will open the .PDF files in Adobe Reader, and you can easily modify what you see (e.g. rotate the documents).
Solution 2
Try right click (or two fingers click on my MacBook Air) on the PDF document, that should open a window to rotate the document.


In the latest version of Xcode (4.4), OpenGL Driver Monitor and similar tools are no longer included. You need to download "Graphics Tools for Xcode" from Apple's Mac developer downloads (requires free developer account).


Peripherals with Great Mac Compatibility

Razer Mice
Many of their mice are fully Mac-compatible (I use the Naga). Macro running and recording works perfectly, and they can be very complex (if you want). These are the only mice I've seen that work like this on a Mac.


Any way to sort each column differently in the Finder?

There may be a third-party way to do this I haven't heard of, but there is no way to achieve what you want here using native OS X settings.


I had actually forgotten about this, but a recent comment prompted me to post the solution I ended up going with.  Since macOS does not provide a debouncing facility, I ended up writing my own [1].  It hooks into keypresses using a CGEventTap, and if the most recent keypress keycode is equal to the current one, with a timestamp more recent than ±30ms, it disregards it as a bounce.

I apologise for the rough and ready state of the tool, but compile it with the Makefile (you'll need XCode or Developer Tools or whatever they're called these days), and run it using sudo ./debounce (root permissions are necessary because it hooks into all keypresses).  It works and has worked for me for the last year-ish, but use at your own risk, free of charge, free of warranty.

https://github.com/toothbrush/debounce-mac/


Use Product → Archive to create a binary of your app. Then go to the Organizer window and optionally validate it. Lastly, export the app to your desktop so you can distribute it as you wish.


Bootcamping a Mac. Got windows installed correctly but now it cant see the USB that Bootcamp had me make with all the Mac drivers

I see your problem. You should try to install the latest drivers for BOOTCAMP. If this doesn't fix it, there's a problem with your USB3 Drivers.

Install here : http://support.apple.com/kb/dl1638

Try this too : http://msdn.microsoft.com/en-us/library/windows/apps/jj945423.aspx

This should help :)


How to play Apple ProRes 422 outside of QuickTime?

I know that this is an OLD question, but I thought I would add to the answers posted back in 2011.

When it was released you could not open video encoded with ProRes in video players that did not support the Apple QuickTime playback architecture since ProRes was a proprietary Apple encoding format. But in late 2011 an open source decoder became available for ffmpeg as a compile in option.

Just to be clear, ProRes was never intended as a playback format. ProRes was designed as an intermediate codec for use during video recording and editing, and was a replacement for Apple Intermediate Codec. As a result, it was never intended to be used as a "playback" format. That's why you could only play it back with QuickTime or editing software.

For optimal high quality video playback across a variety of video players (that have the horsepower to play back your video) you need to encode your video as a H.264 MPEG-4 video. You will want to set both the temporal and spacial compression to minimum, and make sure that the playback bit rate is not capped in the compression software. H.264 and MPEG-4 were designed for playback, and that's why it's the main format behind YouTube, Blu-ray, and virtual all playback systems in use today. While H.265 is starting to become more common, it is not yet as widely playable across a variety of devise.

If you do want to try and use ProRes as a playback format, then you need to make sure that the player you are using connects to the QuickTime playback codecs, and that you have the ProRes decoder installed on your system. The only video player that I know that will handle ProRes (other than pro editing systems) is VLC, and you need to have the ProRes decoder installed to make this work.


How to use iCloud Drive on iPhone and iPad?

Those screenshots are from inside Pages, an app which contains support for iCloud Drive and allows you to select any Pages file inside any of your folders in iCloud Drive.

You can't just 'access' the files in iCloud Drive in iOS like you can on Dropbox. You need to use an app which supports that filetype and iCloud Drive to be able to open the files.


How to download all iTunes Connect screenshots for an app?

You can use the deliver tool and do deliver init in a folder.

Basically you need open the terminal and do:

xcode-select --install
sudo gem install deliver

and then do deliver init in a folder.


iOS 9 Photos in on-phone album in random order: how to rearrange or sort?

Sorting Manually In an album that you made (not a smart album like Time Lapses or Selfies), to move a photo around: head into that album, press Select in the top-right, hold down on the photo you'd like to move, and drag it to the place you'd like to move it to.

Sorting by date or name In the Photos app on Mac, go into an album, press "View" in the menubar, hover over Sort, and choose to either sort by date or by name.

Hope this helps!


Just to put this in as an answer...

You can see the broken bit, bottom right on the picture; the scratch might be a red herring, but the dark blob is a broken LCD.


You can export a group of contacts.

So first create a group, then add contacts to it. Theres no menuoption for it, but you can rigthclick on the group and select Export vCard-group…

Or you can select desired contacts to export, File -> Export… -> Export vCard-card…

This will give you one vCard-file containing one or more contacts.

Then you can share the vCard file as you wish.


Invoke QuickLook in Open/Save dialogue windows

Well thank you! :D
This will certainly be useful.

Just as a note to everyone who sees this, it apparently only works on the window, not on the dropdown. I cant get the quicklook in the Save As dialogue.


How to connect an extra monitor and a thunderbolt (LaCie) harddrive on a MacBook Pro (13" mid 2012)?

If either your LaCie Thunderbolt Drive offers more than one Thunderbolt port ([https://www.lacie.com/se/products/product.htm?id=10621](like this one)), or you have a native Thunderbolt display, you can "daisy-chain" them:

connect one device to your macbook (the one with two Thunderbolt ports, e.g. the drive)
connect the other device (e.g. your display) to the second Thunderbolt port of the first device (e.g. your drive)

If none of your Thunderbolt devices support daisy-chaining (i.e. don't offer a second TB port), then you would need a Thunderbolt Hub.

Another possibility would be to connect the hard drive via USB, if it can, [https://www.lacie.com/se/products/product.htm?id=10599](like this one).

One caveat though: this should work for any thunderbolt display. If you want to use the DisplayPort adapter, you should check whether it works when it is not connected directly to your Mac.


How to clean a sticky Magic Trackpad click?

My Magic Trackpad 1 also lost its ability to unclick and I had to lift it up to get it to release. I tried various cleaning fixes but none worked for me. It seemed that there was no spring-back action left in the magicpad. I use the pad a lot in photoshop with lots of clicking and dragging so I guessed the spring had finally just worn out. However I found a solution on this website.

https://www.ifixit.com/Guide/Magic+Trackpad+Click+Adjustment/6171

It was more than I wanted to try, but I really need my magic pad to work as I had a big project on the go. The fix works well and I added little adjustment to the procedure. In step 3 where the adjustment screw is pointed out in the photo, the bar it is set in is also the spring that provides the un-clicking action of the pad. I gave the whole bar a gentle pull upwards, away from the pad, this put some spring back into the trackpad. The Magic trackpad now works perfectly again.

I also used 2 rubber self-sticking bumpers to replace the feet. These bumpers are often used on the back of picture frames to protect walls or under trays to to prevent scratching tables. The size I got were 8mil and fit perfectly. The added advantage to putting them on first is than you fine tune the screw adjustments you make to the trackpad before replacing the white back to the trackpad. This video shows put the bumpers on.

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

Final word of advice, gently warm the white back of the trackpad before removing it. A hair dryer works well and I just laid mine in the sun for awhile.


MacBook Pro no longer outputs native resolution to external monitor when rotation is on

I had exactly the same problem, with the same monitor, Dell U2713 / U2713H / U2713HM / U2713HMt. I had two of them plugged in to my late-2014 Retina Macbook Pro 15" and only one was experiencing the problem. I tried 100s of different solutions (I can say for sure it's definitely not the cable!) and nothing worked. Just like you, I could get landscape 2560x1440 but not portrait. And I was getting the same error WindowServer: description_for_mode_number: IOFBGetPixelInformation failed (-536870206) when I tried to switch to portrait. That is, until I came across this: https://discussions.apple.com/thread/5485930?start=0&tstart=0. I regenerated the EDID override for the screen using the Ruby script, copied it into the correct location, rebooted and now it works again. I think I caused the problem by playing a game (Trine 2) in vertical (720x1280) resolution - after that, I tried everything to get the screen back to displaying portrait 1440x2560 but to no avail. Until I got the Ruby script from the thread above which fixed it.

Just to note, in case the linked thread disappears... the override file is in /System/Library/Displays/Overrides/ under the folder DisplayVendorID-10ac which is for Dell displays. The file for the U2713-series of monitors (and I think the U2711-series too) is DisplayProductID-4080. The contents of the file should be:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>DisplayProductName</key>
  <string>Dell U2713HMt</string>
  <key>IODisplayEDID</key>
  <data>AP///////wAQrIBATDA1NB4WAQSlPCJ4Iku1p1ZLoyUKUFSlSwCBALMA0QBx
T6lAgYABAQEBVl4AoKCgKVAwIDUAVVAhAAAaAAAA/wBHSzBLRDI3TjQ1MEwK
AAAA/ABERUxMIFUyNzEzSE0KAAAA/QAxVh1xHgEKICAgICAgAA0=
</data>
  <key>DisplayVendorID</key>
  <integer>4268</integer>
  <key>DisplayProductID</key>
  <integer>16512</integer>
</dict>
</plist>


"Too many files open" error when syncing an iPhone

This appears to be a bug with current versions of iTunes, and may be fixed in the future.

In the meantime, a workaround which sometimes works:

Disable "automatically sync this phone when connected"
Turn off music synchronization, and click "remove" when it asks you if you really want to stop synchronizing to this library
Sync the phone manually
Turn music synchronization back on, and then click "remove and sync" when it asks you what to do.
Sync the phone manually

After this point the library seems to be repaired and it starts to sync again, at least for a little while.

UPDATE: This technique stopped working for me (or rather, it failed to work; thanks, confirmation bias). However, doing a backup of my phone, and then restoring it from that backup, usually works. Eventually.


It will be available over-the-air, like all releases after iOS 5.0.

That version allowed iOS devices to be independent of any Mac or PC you may sync them to. More information is available from Apple's iOS page:

  iOS updates are free. And they’re available to download wirelessly on your iPhone, iPad, or iPod touch the moment they’re released. Your device even alerts you when it’s time to get the latest version. So you won’t miss out on all the amazing features in new updates.

A device should retain all your apps, content and settings after you update, but it's a good idea to ensure you have a recent backup, either on your computer or iCloud, just in case.


Using :!mvim filename (or !gvim filename) works for me, but I have the commands set up in /usr/local/bin (and /usr/local/bin in PATH), and I don't remember the installation instructions for where to get the script to put there. If you don't have that, try :!open -a MacVim filename, but this only works on existing files.

Also you can open a new window with ⌘N or :macaction newWindow:, but that won't let you specify a filename, and the working directory will be your home directory.


Why does my Mac's list of "Open with" applications start listing the apps twice and sometimes three times?

This happens because the LaunchServices database gets corrupted.

To fix on Mountain Lion:

Open Terminal.app in the /Applications/Utilities/ folder.
run /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
Restart

This command has changed over the years, but I just recently ran the above to fix the same issue on Mountain Lion. This hint on Mac OS X Hints covers the command for other Mac OS versions over the years.

If you don't like using the command line, the free tool Onyx also has an option under Maintenance -> Rebuild -> launchservices will work too.

As for how to stop it, I really haven't ever seen a way. I am not sure what actually causes it to corrupt other than I know it is very actively used.


Is it possible to have multiple branding for the same app in the AppStore?

Yes, it is certainly possible. Apple should not reject you for this purpose. It is entirely allowed to have different branding, color schemes, etc. according to the logged in user.

You can find the App Store review guidelines here:

https://developer.apple.com/app-store/review/guidelines/

As you'll see there's no section that explicitly allows nor forbids what you want to achieve. This means that what you want to do would normally be considered OK. Make sure that you comply with section 5.2 and do not use intellectual property (logos, branding text, etc.) that is not your to use.

However, if you also offer different functionalities - make sure that you supply the Apple review team with all the functionalities. It is not permitted to have the app reviewed with one set of functionalities, and then let users have a completely different set of functionalities in the app after they login with a specific "secret" set of credentials.

Also make sure to comply with section 3.1.1 about In-App Purchases, if you want the user to not only have different branding but also have different functionalities after login.

The screenshots on the App Store does not have to display all and every type of branding or color scheme possible in the app. There's no requirement for that, so you should not have problems here. However, the screenshots must be a true representation of the app itself - i.e. for example take screenshots of one of the color schemes / branding and use that. I.e. do not use screenshots that are different from what is actually possible to get within the app if you have the right credentials.


How do I make `Cmd` as `Meta` instead of `Option/Alt` key on `emacs` runs on terminal(with `-nw` option)

Programs running in the terminal are rather limited in what keys they can get. Gui apps get all the keys. Normally Cmd will go to the gui app only, because there's no ascii equivalent.

Other people's configurations with mac-command-modifier (or ns-command-modifier depending on which version of Emacs you have) are for the gui version of emacs, Emacs.app.
Inside a terminal, it's the terminal app that decides what happens with Cmd. Typically Cmd is only used for the terminal's own features. Terminal.app offers no way as far as I can see to send Cmd to emacs -nw. If you're using iTerm2.app you can tell it to send option instead of left or right cmd, and then you can have option map to meta.
You can globally swap the two keys in System Preferences, but this will mean Cmd/Option are swapped in all other applications too.

Related: https://emacs.stackexchange.com/questions/32074/cannot-remap-alt-cmd-on-mac-os-in-terminal and https://emacs.stackexchange.com/questions/7761/use-the-command-key-in-terminal-on-osx/32480#32480


If this solution existed I would have been very pleased. Unfortunately I've been searching for this option a lot and the answer is no.

I'm currently using a work-around in which I've logged in with my Exchange account on the iPad at home and only checked the option to display the calendar of that particular Exchange account. (This also works for an iPhone or iPod Touch)

The calendar is now visible to everyone with access to the iDevice, and you can open and combine them in view. So you can see everything together even when it comes from multiple accounts.

I hope this is a possible solution which can work for you, as there is no easy way to copy or sync your calendar (yet).


iPhone reports large storage On My Phone, but I can't find that usage

Tested this on an unused iPhone. After factory resetting, this screen shows 671 MB used. I have not activated iCloud, TouchID or such. I guess this is system related user data, which is otherwise nowhere accessible. (Caches, fonts, location tracking and temporary data etc.)


Using ACL to allow users to add files but not subdirectories in a folder

EDIT: The following is a partial solution. It will work at the shell level as expected but in Finder it can be bypassed with the if user is admin or knows the a admin user id & password. See comments below...

Check the man page on chmod and you will find...

 The following permissions are applicable to directories:
       list    List entries.
       search  Look up files by name.
       add_file
               Add a file.
       add_subdirectory
               Add a subdirectory.
       delete_child
               Delete a contained object.  See the file delete permission
               above.

So the command you are looking for is...

$ chmod +a "staff deny add_subdirectory" test

to forbid anyone in group staff from creating sub folder and then testing should give you

$ mkdir test/subtest
mkdir: test/subtest: Permission denied

Where as creating a file...

$ touch test/blah.txt
$

is no problem. You should also find that Finder will have the Create Folder option disabled as well.

HTH


How to stop Safari from saving passwords for certain page?

You could remove the password for that website right now by going to Safari > Preferences > Passwords > remove the needed website. Then, sign in again and choose Never for this website option when prompted to save password.


What should I do about iCloud if I have a Mac with OS X 10.10 Yosemite and an iPhone 4 with iOS 7?

You are correct. From John Siracusa's extensive OS X 10.10 Yosemite review: (emphasis mine)

  Upgrading is not mandatory, but iCloud Drive completely replaces the old “Documents & Data” item in the Yosemite’s iCloud preference pane. Applications like TextEdit and Preview won’t provide access to any form of iCloud document storage in Yosemite until iCloud Drive is enabled. You’ll be prompted to upgrade during the account setup process. If you decline, you can upgrade later by enabling iCloud Drive in the iCloud preference pane.

And Apple's KB page, specifically addressing iPhone 4 customers at the end:

  iPhone 4 customers

  iPhone 4 does not support iOS 8 or iCloud Drive. If you upgrade your iCloud account to iCloud Drive, you will not be able to use iCloud with Pages, Numbers, or Keynote on an iPhone 4. You’ll still be able to use the iWork apps on an iPhone 4, but without iCloud.

As for what you should do, I guess there aren't many counterintuitive answers here: Either get by without iCloud until you get a newer iPhone, or elect to use other syncing services like Dropbox, Box, or SpiderOak.


Typing >console in username box—nothing shows up until cancelled

This account is reserved for the graphical log in screen to shutter you to the command line environment / minimal text terminal. It’s not an actual account you can use to log in to the OS, just a signal to switch from one set of processes and interface to another.

That being said, I wonder if something is up and you have an actual account you are loggin in as, and not typing terminal a second time. Can you reproduce this on a clean install on an external USB drive? You might just need to reinstall the OS or examine the system log for errors at the time you try to log in.


FFmpeg

Using FFmpeg from the .dmg image:

Download from https://evermeet.cx/ffmpeg/, download the .dmg file
then use terminal to edit your files, with this command.

cd to the folder with the files.(type cd <space> then drag the folder to terminal)

for example cd /Volumes/MacDATA/Users/he/Movies press enter
- drag the ffmpeg(icon in black), and add the code behind.

`/Volumes/FFmpeg\ 87390-gd491d6a/ffmpeg -i input.mp4 -filter_complex rotate=5*PI/180:ow='iw*0.85':oh='ih*0.85' output.mp4`

Using the FFmpeg from brew

Use brew and run brew install ffmpeg.

ffmpeg -i input.mp4 -filter_complex rotate=5*PI/180:ow='iw*0.85':oh='ih*0.85' output.mp4`

change the input.mp4 and output.mp4 your filename, change the 5 to your 'degree' for example rotate=10*PI/180 and reduce the scale (0.85 thing) to maybe 0.75 for 10 degree.


iPad doesn't ask for home sharing password

If you don't want to just turn off Home Sharing on your computer, then two things come to mind.

If you changed the Apple ID somewhere else than the iPod settings - then that would explain things. (I've accidentally cleared the store account when I meant to change this upon going to a friend's house)

I just tested on my iPad and deleting the home share as depicted above immediately disconnected from my Home Share - I didn't need to kill iTunes on the iPad or do any re-starting - the effect was immediate as soon as I exited the settings tab.

Assuming you got the place correct, then your iPad iTunes database is a little corrupt. Sometimes syncing the iPad with a different iTunes library (music only) will delete your music and settings and allow things to work again. It's not easy to poke in the files directly on the iPad - and you may have to restore the device and set it up as new if getting a new set of iTunes data doesn't resolve it.

Lastly - you could check troubleshooting steps with Apple - the express lane at the bottom is good if the steps listed don't resolve it for you. It's highly unlikely to be something on your account with them or the computer, but they will know the oddball causes if the obvious next steps don't work.


Is it possible to STOP the 'Upgrade to macOS High Sierra' message that keeps stalking me?

Yes, this is possible. The safest option is to just move the OSXNotification.bundle file from the /Library/Bundles/ folder. You can do this either by using Terminal or from within the Finder.
Via Terminal
To stop notifications via Terminal, follow these steps:

Launch the Terminal app (by default it's located in the Utilities folder within your Applications folder)

Copy and paste the following command into your Terminal window:
sudo mv /Library/Bundles/OSXNotification.bundle ~/Documents/

Press Enter

When prompted, enter your password and press Enter again

The above steps are safe. The command at Step 2 simply moves the OSXNotification.bundle file from the the /Library/Bundles/ folder to your Documents folder. This means you can also undo this at any time with these steps:

Launch the Terminal app

Copy and paste the following command into your Terminal window:
sudo mv ~/Documents/OSXNotification.bundle /Library/Bundles/

Press Enter

When prompted, enter your password and press Enter again

Via the Finder
If you're not comfortable using Terminal, you can do the same thing via the Finder as follows:

Make sure you have the Finder active
Go to the Go menu and select the Go to Folder option
In the field that appears enter the following path: /Library/Bundles/
In the window that appears look for the OSXNotification.bundle file and move it to your Documents folder (or another folder if you prefer)

NOTES:

You could also delete the file, but moving it will stop these notifications while giving you the flexibility to activate them again in future should you desire.
The above steps will also work for older versions of macOS / OS X. However, the /Library/Bundles/ folder no longer exists from macOS High Sierra and beyond.


How can I disconnect my profile from a dead OSX Server?

You should be able to unbind your account from the active directory by going to
System Preferences -> Users & Grops -> Login Items -> Network Account Server -> Open Directory Utility -> Active Directory -> Unbind.

Apple official documentation


iPhone 4 cracked and will not slide over for password.

Man...that's rough.

If you have been backing up to iTunes or iCloud, your stuff should be there.  You are backing up, right?

There are a couple more options you can try before you take your iphone in for repair to get at your data:

Bluetooth Keyboard - just connect and enter your pin
Voice Over - triple tap the home button and "say" your pin

Both of those must have been previously set up.  If you didn't set them up, they aren't going to work.

One more you may want to try...

If either of those two methods are unavailable, try PhoneView which will allow you to get access to everything on your phone via your Mac.  It costs about $30, but that may be cheap considering how valuable your data is.

Finally, if all else fails, you will have to have the digitizer replaced.  Maybe a local repair shop can hook up a digitizer temporarily so you can back up your data, but that would be a long shot.


How can I change the Messages notification sound

A feature called System Integrity Protection, which Apple introduced in El Capitan, prevents you from modifying most system files on your Mac. You can still make changes, but you need to disable System Integrity Protection first. For security reasons, this can only be done from recovery mode.

  Reboot your Mac into Recovery Mode by restarting your computer and holding down Command+R until the Apple logo appears on your screen.
  Click Utilities → Terminal.
  In the Terminal window, type in csrutil disable and press Enter.
  Restart your Mac.

You will now be able to edit any files you wish! (Just remember, with great power comes great responsibility, or something like that.)

After you've finished making changes, you can turn System Integrity Protection back on, if you want. Just repeat the above steps, except enter csrutil enable (instead of disable) in step 3.


Transfer values between tabs in Numbers for iPad

There are two ways, depending on what you want to do.

If you just want to copy the current value or formula, make sure you are not in edit mode (i.e. there should be no keyboard or number pad visible). Click once on the cell you want to copy, pause so it doesn't think you are double tapping, and then tap again. A popover menu should appear. Click copy and then go to the other tab. Select the cell where you want to paste and repeat the "slow motion double tap." Then click paste.

If you want a cell to reference a cell from another tab you can do this to. Start by (quickly) double tapping the empty cell where you want the value from the other tab to appear. This should put you into edit mode. Push the equal sign button. Now navigate to the other tab and select the cell with the value you want to reference. Tap the cell once, and push the green check mark.


Attempting to run find command gives "Permission denied"

You need to be root to access certain system directories. Prepend your command with sudo:

sudo find / -iname *.app > ~/applications.txt

This will give a prompt for your password:

Password:

Enter your password (the characters will not be shown), then press Enter. The find command will then be run as root and have access to the directories.


How to get all options for com.apple.finder.plist in ~/Library/Preferences?

To read/write .plist files, use the defaults command.

The key that gets set when checking the [√] Keep folders on top when sorting by name check box under Advanced in Finder Preferences is named: _FXSortFoldersFirst

To set this in Terminal (or script) use the following command:

defaults write com.apple.finder _FXSortFoldersFirst -bool YES

To unset, use the following command:

defaults write com.apple.finder _FXSortFoldersFirst -bool NO

Note that in previous OS versions, Finder needed to be restarted using killall Finder to have some settings, when changed by defaults, work properly. In macOS 10.12, this is not necessary for this particular setting, however the Finder window does need to be refreshed by some means, e.g. toggling from list view to icon view and back.

If you want to toggle between List view and Icon view in the bash script vs. using killall Finder after using defaults write ..., use the following code block:

osascript <<END
tell application "Finder"
    set theWindows to every Finder window
    repeat with i from 1 to number of items in theWindows
        set this_item to item i of theWindows
        set theView to current view of this_item
        if theView is list view then
            set current view of this_item to icon view
        else
            set current view of this_item to list view
        end if
        set current view of this_item to theView
    end repeat
end tell
END

Note: This method may not work with all setting changes made to Finder, although it works for _FXSortFoldersFirst, nonetheless killall Finder may be required for some settings. It's just to early to tell with macOS 10.12.


Remove end-of-line hyphens in Word 2011 for Mac

You're right, the hyphens are artifacts from importing text from a PDF.

One way to do this (my preferred way, anyway) is to copy as plain text into a text editor such as Text Wrangler.  The hyphens generally have a space after them when importing so I do a find and replace starting with that pattern.  Then the resulting clean text can be imported or pasted into Word.  Not a application solution but it works pretty well for me.

Copy PDF content to clipboard
Paste as plain text into a text editor that supports find and replace (Such as Sublime Text, Text Wrangler, Atom or even VS Code.)
Do a Find and Replace of "- " Hyphen space without the quotes.
Replace with Null or empty string.  In other words, put nothing in the replace field.
Copy the resulted text to the clipboard
Paste the text into the Word document and apply desired formatting.


Is it possible to change the file format of Grab.app?

Doesn't seem to be possible. Even the limited Help for Grab.app suggests using Preview to convert away from TIFF. I presume you need "Timed Screen Captures" otherwise you would use the keyboard shortcuts?

Note that you can take the grab, then copy the image without saving (CMD+A, CMD+C), then ALT+TAB to Preview.app, then CMD+N, then save. Not very elegant.

You could also just deal with Grab.app saving as TIFF, but then set up an Automator action that watches a folder and converts TIFF to whatever you want each time a TIFF shows up in the folder. This ought to be fairly easy and transparent way to use Grab.app and get the file formats of your choice.


I have two bootcamp partitions but not my original 500GB

You now have a broken disklayout with broken filesystems on it.  That is not a good thing at all.

I would suggest booting into rescue mode on the mac, erase the whole disk and (may not be necessary) set a single partition on it.  Then reinstall MacOS to that, restore your time machine backup, and then start a fresh time machine backup so you have that functional.  Then use boot camp again to reinstall a supported version of Windows next to MacOS.

Word of warning:  I tried using the native Windows tools to restore a Windows installation on my Mac a good while back.  It did not respect the partition layout but scratched the whole disk including my MacOS partition.  I only did that once.


How can I set program associations in mac?

With on-board GUI tools this isn't possible. But you can download and install RCDefaultApp which is a PrefPane.

Open System Preferences > Default Apps. Choose the Apps tab, scroll down to VLC in the left panel and choose it. In the right panel scroll down to Extensions and hit the (cycle) button...

This works for other apps too - VLC is just an example also used in the question!


Yosemite Disk Utility: You may only split this volume in two

I monted the disk on Ubuntu, opened the disk utility and saw the following. It seemed like Apple Disk Utility messed up. I deleted all partitions, then mounted the disk on my mac and I could create three partitions like I wanted.


In Settings, login to iCloud (under the iCloud tab) and there you will get the option for Photo stream.

You can also go to the Photos tab in Settings and enable Photostream there. If you haven't logged into your iCloud account yet, the switch either won't be there or will prompt for login information.

If you are talking about sharing Journals in iPhoto through iCloud, start by creating a Journal, then tap the Share icon in the upper right corner, tap iCloud and follow the prompts.


Should I enable Trim for SSD drives in Windows / VirtualBox?

No. The Mac OS handles the physical drive - so any sort of second level defragmentation, optimizations or attempts of a guest OS to control the virtual file system driver would just add delay and complexity on top of the normal IO. Unless you were booting Windows directly in control of the SSD, this setting should be off.


How to prevent child from using Find My to interact with parent's device?

I would implement parental controls on their device. You set a passcode and then you can control which apps are hidden.

https://support.apple.com/en-us/HT201304

Start with hiding that one app and then see if you want to impose other restrictions. You might ensure iCloud backups are set and lock their iCloud to your family plan as well for extra security in case you lose the passcode or the device becomes locked.  Some people RE prone to try to erase or get around things, so getting a good backup can save you time and grief.

Also, you can decline to share your location with accounts one by one and let then use the app for other people to share if that’s compatible with your end goal.


The issue turned out to be something about my iPhone audio. A little later in the day I discovered that music wasn't playing. (Oddly, I was still getting sound effects from a game.) The music app would advance the progress bar on a song but produce no sound.

With that additional data, I rebooted the phone (full power down and power back up) and music would play and so would the voicemail. So whatever it was, it was software (because the power cycle cleared it).


How to interact with programs when names read from a list

"Connection is invalid" means that the script cannot communicate with the application. Perhaps it has been quit during execution… perhaps there is a duplication in your list? My best guess is that there is more than one process spawned by an application.

Anyway, I think your methodology could be improved. One of your problems is that you're checking the process for each item in your list. You should compile a list of processes, and check that. This avoids the problem of duplicate processes for the same application. It also deals with the issue of the process list changing during script execution.

set appList to {"Caffeine", ...}

tell application "System Events"
    set procList to (name of every process)
end tell

repeat with appName in appList
    if (procList contains appName) is true then
        tell application appName to quit
    else
        tell application appName to activate
    end if
end repeat

If you still get errors, you might have to enclose the tell application statements in try blocks.

One more thing: the approach you're taking doesn't work well if only some of the applications are open, and some are not. You're checking each individually and quitting if it's open, launching if it's not. So your list of applications will still be split between open/shut down. It sounds like you want to open a "set" of applications and close a "set" of applications using the same script.

Therefore, you may want to consider splitting this into two scripts, "open set" and "quit set", and/or checking whether your "main" application is open and cascading the open/close of your application list depending on that one application's state.


iPhone vibrates several times a day with no visible notification

Check your mail notifications specifically: it is possible to have vibration without sound or other notifications on a per account basis.

Settings > Mail > Notifications and then traverse each account. Make sure both sound and vibration are both set to none, if that’s what you want.


What is the default (blue) value for AppleHighlightColor?

The original value of blue is used when AppleHighlightColor doesn't exist, therefore you can reset it deleting AppleHighlightColor:

defaults delete -g AppleHighlightColor

You can change the AppleHighlightColor with a GUI through System Preferences → General → Highlight Color.

Setting the highlight colour to Green through System Preferences:

~ ❯ defaults read -g AppleHighlightColor
0.752941 0.964706 0.678431

Setting the highlight colour to Blue  through System Preferences:

~ ❯ defaults read -g AppleHighlightColor
2015-05-21 18:47:25.072 defaults[37881:344707]
The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist

-g is shorthand for NSGlobalDomain


There is an app named DriveDx that can show you if there are problems with the drive. Not that it is 100% full proof but better than nothing.

Also I remember I had issues with Paragon NTFS too (like file system corruption). Microsoft changes NTFS with each release and it is not "open source", so it is not known how compatible Paragon is. I am sure they do their best but it is difficult to be compatible with such closed system as NTFS.


Can i add an animation from crazy talk 7 into a whole keynote presentation?

With CrazyTalk7 you can output your creations as videos or images in different sizes, resolutions and file formats. You can convert your work to an AVI file in DVD, HD, iPad and iPhone quality. You may also convert it into sequenced image (BMP/JPG/TGA/PNG) files to broadcast on a web server.

If you wish to import a photo or movie into Keynote the most convenient way to do it is by dragging the file directly into Keynote. Just drop it onto you slide.

You can also import media by choosing Insert > Choose from the top menu.

Hope this helps answer your question.

If you have any further questions please contact Reallusion Customer Support directly using the link below. The support team will gladly help you.

http://www.reallusion.com/CustomerSupport/User/QForm.aspx


Packet sniffer for MacOS Mojave and above

1 - Wireshark

If you have brew installed it's trivial to install Wireshark via a Cask.

$ brew cask install wireshark

This will install both the GUI and CLI versions. The GUI version is called wireshark and should show up in Launcher. The CLI version should show up in your $PATH as tshark.

GUI

Invoking the GUI will show you a selection window from where you can select which network interface to analyze. NOTE: on my system we'll use en0.

A double click on en0 and you're in selecting packet data.

CLI

To use the CLI it's about as difficult.

$ tshark -i en0 | head
Capturing on 'Wi-Fi: en0'
137     1   0.000000 192.168.1.95 → 172.217.6.42 UDP 65 56557 → 443 Len=23
    2   0.111321 192.168.1.95 → 172.217.5.110 ICMP 70 Echo (ping) request  id=0x4300, seq=39758/20123, ttl=255
    3   0.118526 172.217.6.42 → 192.168.1.95 UDP 70 443 → 56557 Len=20
    4   0.150560  192.168.1.2 → 255.255.255.255 UDP 223 44779 → 7437 Len=173
    5   0.152892 192.168.1.87 → 192.168.1.255 BROWSER 241 Browser Election Request
    6   0.155246 192.168.1.10 → 192.168.1.255 BROWSER 239 Browser Election Request
    7   0.157628 192.168.1.69 → 192.168.1.255 BROWSER 243 Browser Election Request
    8   0.161358 192.168.1.95 → 172.217.5.110 ICMP 70 Echo (ping) request  id=0x4300, seq=40014/20124, ttl=1
    9   0.168584  192.168.1.2 → 192.168.1.95 ICMP 106 Time-to-live exceeded (Time to live exceeded in transit)
   10   0.194384 172.217.5.110 → 192.168.1.95 ICMP 78 Echo (ping) reply    id=0x4300, seq=39758/20123, ttl=47 (request in 2)
280 tshark: An error occurred while printing packets: Broken pipe.

NOTE: Wireshark has excellent tutorials and guides on line once you're past the install.

2 - tcpdump

If you want something even lighter, you can use tcpdump to capture all types of traffic, not just TCP.

$ tcpdump -i en0 -n | head
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on en0, link-type EN10MB (Ethernet), capture size 262144 bytes
20:01:20.630058 IP 192.168.1.95 > 172.217.5.110: ICMP echo request, id 17152, seq 21845, length 36
20:01:20.681163 IP 192.168.1.95 > 172.217.5.110: ICMP echo request, id 17152, seq 22101, length 36
20:01:20.688948 IP 192.168.1.2 > 192.168.1.95: ICMP time exceeded in-transit, length 64
20:01:20.728713 IP 172.217.5.110 > 192.168.1.95: ICMP echo reply, id 17152, seq 21845, length 36
20:01:20.732391 IP 192.168.1.95 > 172.217.5.110: ICMP echo request, id 17152, seq 22357, length 36
20:01:20.747365 IP 65.190.128.1 > 192.168.1.95: ICMP time exceeded in-transit, length 64
20:01:20.783439 IP 192.168.1.95 > 172.217.5.110: ICMP echo request, id 17152, seq 22613, length 36
20:01:20.803827 IP 174.111.103.48 > 192.168.1.95: ICMP time exceeded in-transit, length 36
20:01:20.820382 IP 192.168.1.2.44779 > 255.255.255.255.7437: UDP, length 173
20:01:20.834717 IP 192.168.1.95 > 172.217.5.110: ICMP echo request, id 17152, seq 22869, length 36
tcpdump: Unable to write output: Broken pipe

References

Wireshark User’s Guide
tshark man page
tcpdump Examples — 50 Ways to Isolate Specific Traffic
tcpdump tag from Unix & Linux Stackexchange Site


MacBook Pro Trackpad Suddenly Stopped Working Completely

The trackpad is connected over USB - so try these things before seeking hardware service:

Check System Information app like the image below
Disconnect all external devices and restart to reset the NVRAM (that causes the hardware tree to repopulate)
Make a system backup and possibly reinstall the latest combo update / or install a new OS on an external drive to ensure it's not a problem with the OS / software


Retrieve data from individual app after iOS 7 update?

You will need to use the original Apple ID with which the apps were purchased. Only then restore from the backup made (preferably the backup made via iTunes). This is the only way to retrieve the app data associated with the given application.


No - Apple iMac internals have very delicate connectors and expecially the hinges have tight tolerances, screw torque requirements, strong springs that can get lost if you don’t perform the maintenance properly.

Those training videos are pretty hard to find since most people that pay to become a tech won’t leak them.

You can search on YouTube to learn all the failures when people try to DIY their stand and mounts. Even the vesa mounts are easier than they were in the past, but I would reach out to sales support for help if you’re struggling with it.

It should go easy and if not, you could break things if you force it. Here are techs around the globe - the cost to do a VESA should be very low since it’s quick and easy for someone that’s done a dozen or so.

https://locate.apple.com


Headset mic not working with windows installed via bootcamp on macbook pro retina 15"

This may help if you have a red light coming from your audio port, and possibly if you only have partial sound:

support.microsoft.com/en-us/kb/2622620


How do I get  spell checking to work in Google Chrome?

Chrome has its own built-in spell checking - which I consider more correct when spell checking multiple languages in the same document (I specifically use English and German).

You can enable it in: Chrome Preferences → Show advanced settings... → Privacy → Use a web service to help resolve spelling errors


Mac running slow and some applications don't open in standard mode, but in safe mode it works well

One place to start is testing your Startup/Login items, as it's likely to be something that's getting loaded during normal startup (e.g. a Startup/Login item, a font you've installed, etc) that's causing the problem.

So I would:

Startup normally
Go to System Preferences > Users & Groups
Select the Login Items tab
Take a note of your Login Items
Now remove all of them by highlighting them and clicking on the - button below
Restart your computer

Now your Mac will boot up without those login items loading. Test this and see if the problem persists.

If the problem does persist, I'd then remove any fonts you've installed yourself.
If the problem goes away you know one (or more) of the Login items were causing the problem. You can then go back and add them back one by one until you've identified the culprit.

Let me know how you go.

[EDIT]

I forgot to answer your question about what the difference is between booting into Safe Mode and booting normally. In a nutshell, booting into Safe Mode:

doesn't load Login Items and any custom fonts you've installed (which is what my answer above is based on)
ensures that only macOS kernel extensions are loaded
runs a number of additional checks during startup (e.g. verifying/repairing your drive's directory, etc)
deletes various caches

The last two can result in your system effectively repairing itself if your problems are related to corrupted caches or directory issues. In your case, since the problems didn't go away after previously booting into Safe Mode, the problem is most likely related to Login Items or 3rd party kernel extensions.


hostname configuration for remote access

Open Terminal and type or copy & paste this bash one-liner:

 echo; MyExtIPAddrIs=`curl -s echoip.org`; host -4 $MyExtIPAddrIs|cut -c 22-100; hostname; echo

Your fully qualified domain name will appear after the words "domain name pointer" in the line that is output, and continues and includes, after the period at the far right, your mac's internal network address appearing on the next line.


How to monitor multiple macOS system usage?

macOS includes a graphical Activity Monitor application. This application provides an overview of the running processes, memory use, disk and network transfer.

UNIX Underpinnings

macOS is a FreeBSD based operating system. So if your needs extend beyond Activity Monitor, you can use almost any popular monitoring tool you like, i.e. https://collectd.org


Can I use MST on one mDP and 4k on the other?

Turns out macOS only support MST on thunderbolt and for >4k screens, but not for daisy chaining or multiple displays on mDP 1.2.  Point for Windows on this one, I guess.


Can I upgrade from 10.5 to 10.7 without installing 10.6 first?

The cheapest way to upgrade seems to be to buy and install Snow Leopard ($29 here) and then download and install Lion from the App Store ($29.99 [App Store link]). This totals to just under $60.

The other alternative is buying Lion on a USB sick. It's $69 here. According to the page, Apple seems to want you to buy Snow Leopard before using the USB installer (although you should be fine skipping SL technically), making this even more expensive.

If you really want to have a physical USB disk with Lion, you can make your own either before or after you install using instructions you can easily find here (on Ask Different) or elsewhere on the Internet.


Applescript to toggle "Announce the time:" in Sys Preferences

Using Accessibility Inspector, a part of Xcode, it shows that some of the time the Announce the time: checkbox reports "Parent does not report element as one of its children" and as such will cause AppleScript code to fail under certain conditions, and under other conditions not fail. In other words, writing my own code I can get it to check that checkbox sometimes and not other times.
In trying to ascertain a pattern to see how to workaround this situation I came to the conclusion that using fully visible UI Scripting was the most reliable way. It's also unfortunately an ugly way and requires letting the script finish without interruption once started, otherwise it will fail for sure. Such are the pitfalls of fully visible UI Scripting.
The example AppleScript code, shown below, was tested in Script Editor under macOS Big Sur with Language & Region settings in System Preferences set to English (US) — Primary and worked for me without issue1.

1  Assumes necessary and appropriate setting in System Preferences > Security & Privacy > Privacy have been set/addressed as needed.

This script requires that the Use keyboard navigation to move focus between controls checkbox is checked on the System Preferences >  Keyboard > Shortcuts tab, and as coded, the script checks its status and toggles the checkbox, as necessary, based on its current status.

Example AppleScript code:
--  # Check to see if System Preferences is
--  # running and if yes, then close it.
--  #
--  # This is done so the script will not fail
--  # if it is running and a modal sheet is
--  # showing, hence the use of 'killall'
--  # as 'quit' fails when done so, if it is.
--  #
--  # This is also done to allow default behaviors
--  # to be predictable from a clean occurrence.

if running of application "System Preferences" then
    try
        tell application "System Preferences" to quit
    on error
        do shell script "killall 'System Preferences'"
    end try
    delay 0.1
end if

--  # Make sure System Preferences is not running before
--  # opening it again. Otherwise there can be an issue
--  # when trying to reopen it while it's actually closing.

repeat while running of application "System Preferences" is true
    delay 0.1
end repeat

--  # Get the fully qualified POSIX pathname of the target .plist file.

set thePropertyListFilePath to ¬
    the POSIX path of ¬
        (path to preferences from user domain as string) & ¬
    ".GlobalPreferences.plist"

--  # Get the value of AppleKeyboardUIMode to determine if the
--  # 'Use keyboard navigation to move focus between controls'
--  # checkbox is checked on the **System Preferences** >
--  # **Keyboard** > **Shortcuts** tab.

tell application "System Events" to ¬
    tell the property list file thePropertyListFilePath to ¬
        set keyboardNavigation to the value of ¬
            the property list item "AppleKeyboardUIMode"

if keyboardNavigation = 0 then
    --  # Check the checkbox.
    my toggleKeyboardNavagition()
end if

--  # Open System Preferences to the Clock row of the Dock & Menu Bar pane.
--  #
--  # This UI Script needs it to be visible, hence the activate command.

tell application "System Preferences"
    activate
    reveal anchor "Clock" of ¬
        pane id "com.apple.preference.dock"
end tell

delay 1

--  # Tab to the 'Announce the time:' checkbox and toggle it.

tell application "System Events"
    repeat 9 times
        key code 48 --  # tab key
        delay 0.2
    end repeat
    key code 49 --  # spacebar
    delay 0.1
end tell

if keyboardNavigation = 0 then
    --  # Uncheck the checkbox if it
    --  # was previously unchecked.
    my toggleKeyboardNavagition()
end if

delay 0.5

tell application "System Preferences" to quit

--  # Handler(s) #

--  # Toggles checkbox: 'Use keyboard navigation
--  # to move focus between controls'

on toggleKeyboardNavagition()
    tell application "System Preferences"
        activate
        reveal anchor "shortcutsTab" of ¬
            pane id "com.apple.preference.keyboard"
    end tell
    tell application "System Events"
        tell front window of ¬
            application process "System Preferences"
            set i to 0
            repeat until (exists checkbox 1 of tab group 1)
                delay 0.1
                set i to i + 1
                if i ≥ 20 then return
            end repeat
            click checkbox 1 of tab group 1
        end tell
    end tell
end toggleKeyboardNavagition

Note that because of the comments and coding style the script is long. It ends with end toggleKeyboardNavagition, so make sure you highlight all of it when copying and pasting to Script Editor for testing.

Notes:
In the tell application "System Events" block in with there is the repeat 9 times loop that does the tabbing in order to toggle the Announce the time: checkbox, the value of the delay command may need to be adjusted.
If the normal state of the Use keyboard navigation to move focus between controls checkbox is unchecked, then do not run the script immediately back to back as it takes a second or two for the value of the property list item "AppleKeyboardUIMode" in the users global preferences file to update the change. I'm mentioning this mainly for when doing testing more so than when in normal production use, as it shouldn't be an issue then.

Note: The example AppleScript code is just that and sans any included error handling does not contain any additional error handling as may be appropriate. The onus is upon the user to add any error handling as may be appropriate, needed or wanted. Have a look at the try statement and error statement in the AppleScript Language Guide. See also, Working with Errors. Additionally, the use of the delay command may be necessary between events where appropriate, e.g. delay 0.5, with the value of the delay set appropriately.


Completely disable autocomplete in Mac Mail

May be this discussion will help you:
https://discussions.apple.com/thread/6861390?start=0&tstart=0


External webcam slow and lousy on a Mac mini?

So, I fixed it. By unplugging it, and plugging it back in to a different socket! Suddenly I get audio and the video is perfect.

It's not much of an answer but it was the solution for me!


How to reorganize labels in iPhone contacts?

Install iContacts app then remove the Custom label


iMessages no longer mirrored on iPhone when phone is unavailable (and other device isn't)

I had the same problem of text messages which used to mirror on my MacBook suddenly stopped. Apparently, in a recent IOS update, they added the ability to turn this feature off. This worked for me: On your iPhone go to Settings:Messages:Text message forwarding and make sure your computer is listed and it's turned on.


Force Finder and Trash to stop using external drive so Disk Utility can erase

I shut down, unplugged the drive, started up, logged in, plugged in the drive and quickly opened Disk Utility and clicked erase, and it just worked.

I'm not sure if it matters that I did that fairly soon after logging in.

I'm not sure if it matters that I didn't open a Finder window or the Trash.


Replacing the Internal Time Capsule Hard Drive

You need to let the TC format the drive. If you can't make that happen using a reset + reconfigure from the AirPort utility, you might have an incompatible drive (i.e. Needs more power or cannot be used due to incompatible features).

It's not going to work like an external drive that happens to be built in, the TC OS needs to manage the disk. OS X can read such disks, so it might seem like any normal formatted disk if you hooked up the old one.

If you still have the old drive, you might have more luck cloning it to the new one prior to installing it.

Also, if wifi doesn't work, ethernet might still work, especially if the Time Capsule needs a reset.


You might want to look into both OmniBuzz and SleepyMe; they're both free IOS app which seems to provide the functionality you want. I've not personally used either before but I have a friend who gets the train to work at a ridiculous hour every day and raves about OmniBuzz.

From what others have said about SleepyMe; it seems that the app currently only supports audible alarms (i.e. no option for vibration only) which may be a concern if you don't want to irritate other passengers.

Let's hope you never miss your stop again!

Best wishes, Tom


App Store repeatedly asking me to update

Yes! Absolutely.

Please note, I have merely copied verbatim my answer from here and added a clip from here

These instructions are for use in /Applications/Utilities/Terminal.app

Just open Terminal.app, and follow along!

Happy Administrating!

The App Store is simply not suitable for administration. Barely a quasi-package manager, it is not nearly as useful or reliable as real package managers like pkgsrc, FreeBSD ports, aptitude, RPM, macports or even softwareupdate. In my experience, it is unpredictable and a beard for commercial developers to hock their wares. So there is really only one rational and responsible way, as a competent administrator, to work with App Store:

 sudo launchctl unload -w /System/Library/LaunchAgents/com.apple.store_helper.plist

 sudo launchctl unload -w /System/Library/LaunchAgents/com.apple.storeagent.plist

 sudo mkdir /System/Library/LaunchAgents\ \(disabled\)/

 sudo mv /System/Library/LaunchAgents/com.apple.store* /System/Library/LaunchAgents\ \(disabled\)/

And just put it out of your mind, it won't trouble you any longer. ;-)

softwareupdate

In order to update your Apple Software, you can use softwareupdate.

 man softwareupdate           # softwareupdate man page

 softwareupdate -h            # softwareupdate help

 softwareupdate -l            # list available updates

 sudo softwareupdare -i -r    # use this install all recommended updates

MacPorts

If you're looking for a mature package management solution, for OS X I recommend MacPorts. MacPorts requires an appropriate version of xcode; xcode_5.1.1.dmg is the most recent version for Mavericks.

Get to know  MacPorts

Install MacPorts

 curl -Ok https://distfiles.macports.org/MacPorts/MacPorts-2.2.1.tar.bz2

 tar xf MacPorts-2.2.1.tar.bz2

 cd MacPorts-2.2.1

 ./configure

 make

 sudo make install     # *not war!*

 cd ..

 rm -rf Macports-*

 sudo /opt/local/bin/port -v selfupdate

add MacPorts to your $PATH:

 export PATH=/opt/local/bin:/opt/local/sbin:$PATH

If for whatever reason you need to remove MacPorts

to completely uninstall MacPorts

 sudo port -dfp uninstall --follow-dependencies installed

 sudo port -dfp uninstall all

 sudo rm -rf /opt/local

 sudo rm -rf /Library/Tcl/macports*

Apple Remote Desktop

And/or use ARD instead, though not a package manager, it manages packages, installations, updates, and upgrades, it will do what you want, save you time, and will not let you down:

For Apple Remote Desktop 3, for 10.9:

Check out the admin guide first to convince yourself that this is the way to go:

curl -Ok http://images.apple.com/ca/fr/remotedesktop/pdf/ARD3_AdminGuide.pdf

    open ARD3_AdminGuide.pdf

Then install:

curl -Ok http://supportdownload.apple.com/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/031-2845.20140313.rerft/RemoteDesktopAdmin372.dmg

hdiutil attach -quiet -noverify -nobrowse -noautoopen RemoteDesktopAdmin372.dmg

sudo installer -pkg /Volumes/Apple\ Remote\ Desktop\ 3.7.2\ Admin\ Update/RemoteDesktopAdmin372.pkg -target /

but that might throw a funny error if not running 10.9, or if no previous version of ARD is installed, and if it does, try:

pkgutil --expand /Volumes/Apple\ Remote\ Desktop\ 3.7.2\ Admin\ Update/RemoteDesktopAdmin372.pkg ARDexpanded/

or to equal effect (either/or here, don't need to use both pkgutil and xar... I'm just being thorough):

mkdir ARDexpanded

cd ARDexpanded

xar -xf /Volumes/Apple\ Remote\ Desktop\ 3.7.2\ Admin\ Update/RemoteDesktopAdmin372.pkg

And we no longer need the disk image attached, so eject it:

hdiutil detach -quiet /Volumes/Apple\ Remote\ Desktop\ 3.7.2\ Admin\ Update/

And now what you'll see if you

cd ARDexpanded/RemoteDesktopAdmin372.pkg/

ls

is

    Bom         PackageInfo Payload     Scripts

What's in the Payload file, which is a cpio archive compressed with gzip, is what you're after. So with a few piped commands we can get to the app bundle:

cat Payload | gzip -d - | cpio -id

ls

returns:

    Applications Bom          Library      PackageInfo  Payload      Scripts

And you're nearly done.

cp -R Applications/Remote\ Desktop.app /Applications/

Now you have installed Apple Remote Desktop Admin 3.7.2

So all that's left to do is purchase your license:

open http://store.apple.com/us_smb_78313/product/D6020Z/A/apple-remote-desktop-3-volume-licenses-20-seats-price-is-per-seat

Launch /Applications/Remote\ Desktop.app and serialize. And get some work done.

For 10.6 Snow Leopard, you'll need a slightly earlier version of ARD:

curl -Ok http://images.apple.com/ca/fr/remotedesktop/pdf/ARD3_AdminGuide.pdf

curl -Ok http://supportdownload.apple.com/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/041-6789.20120917.xD6TR/RemoteDesktopAdmin353.dmg

hdiutil attach -quiet -noverify -nobrowse -noautoopen RemoteDesktopAdmin353.dmg

sudo installer -pkg /Volumes/Apple\ Remote\ Desktop\ 3.5.3\ Admin\ Update/RemoteDesktopAdmin353.pkg -target /

and if it throws back at you this:

    installer: Cannot install on volume / because it is disabled.
    installer: This update could not find Remote Desktop on this volume.

then try:

pkgutil --expand /Volumes/Apple\ Remote\ Desktop\ 3.5.3\ Admin\ Update/RemoteDesktopAdmin353.pkg ARD353

hdiutil detach -quiet /Volumes/Apple\ Remote\ Desktop\ 3.5.3\ Admin\ Update

drill down to the Payload:

    cd ARD353/RemoteDesktopAdmin353.pkg/

    ls

returns:

    Bom         PackageInfo Payload     Scripts

So run:

cat Payload | gzip -d - | cpio -id

ls

returns:

Applications Bom          Library      PackageInfo  Payload      Scripts

And you're nearly done:

cp -R Applications/Remote\ Desktop.app /Applications/

purchase your license:

open http://store.apple.com/us_smb_78313/product/D6020Z/A/apple-remote-desktop-3-volume-licenses-20-seats-price-is-per-seat

Launch /Applications/Remote\ Desktop.app and serialize. And get something done.


2019 MacBook Pro 15 inch: Screen flicker randomly

Reset NVRAM

If the screen flickers take effect particularly when viewing images while browsing the web, the best way around this might be resetting the NVRAM of your device. Resolving this issue involves rebooting you device. But because the NVRAM is a type of memory that saves data automatically, even when the device is forcefully switched off, this issue will not go away when you just reboot your device.

To resolve this issue, switch off your Mac and then turn it back on, pressing down "Command" + "Option" + "P" + "R" keys until you hear some chimes or see the screen blinking twice during the restart. If that still doesn’t fix the flickering screen with macOS 10.14, reset the System Management Controller (SMC) as decribed below.

Reset The System Magement Controller (SMC)

This method applies only to portable Macs with an inbuilt battery like MacBook Air and MacBook Pro with Retina Display. Details of the steps for resetting the SMC of any other Mac device is also readily available on the web.

To reset the SMC, unplug the Mac's external display, and then turn off the Mac. Make sure the device is connected to the MagSafe power adapter. Press down “Shift” + “Control” + “Power” for a couple of seconds and then release them simultaneously. This resets the SMC of the MacBook Pro / Air instantly. Afterwards, press the power button to boot the Mac, and once the Mac is booted, plug back the display.


What does an Apple Series 4 Watch require to have Fall Detection +
Emergency 911 calling fully operational? Does the watch need to be paired with a certain iPhone Model/iOS release?

You only need to meet the minimum iPhone and iOS requirements.*

GPS + Cellular:  iPhone 6 or later running iOS 12 or newer

GPS only:  iPhone 5s or later running iOS 12 or newer.

Obviously, either model will support fall detection.  However, for fall detection to work with the GPS only model, you will need to have your iPhone with you whereas the cellular model, you don't.

Does anything need to be manually configured/enabled on the watch?

Yes.  You need to configure both Emergency SOS and your Medical ID information.  Full details on how/what is involved can be obtained from this Apple Support document, https://support.apple.com/en-us/HT208944
Pay particular attention to these caveats:

https://support.apple.com/guide/watch/make-an-emergency-phone-call-apd4ea933124/watchos

Some cellular networks may not accept an emergency call from your Apple Watch Series 5, Apple Watch SE, or Apple Watch Series 6 if your Apple Watch isn’t activated, if it isn’t compatible with or configured to operate on a particular cellular network, or if isn’t set up for cellular service.

https://www.apple.com/watchos/feature-availability/

The availability lists countries and has a footnote explaining in footnote 2

Device must have been setup for cellular service with a carrier but does not require an active cellular plan. https://support.apple.com/en-us/HT207578

Footnote 1 says series 5 is needed:

The international emergency calling feature requires an Apple Watch Series 5 (GPS + Cellular) model.

*Apple Watch Technical Specifications


Preview and Skim are not opening Latex compiled pdf file

My machine has MacOS 10.12.5 and MacTeX-2016 and it works fine, both with Preview and Skim. I used the command-line in Terminal. Here are what latexmk --version and pdflatex --version report on my system, respectively.

Latexmk, John Collins, 22 April 2016. Version 4.45

pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016)
kpathsea version 6.2.2
Copyright 2016 Han The Thanh (pdfTeX) et al.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.21; using libpng 1.6.21
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with xpdf version 3.04

I know this does not really qualify as an answer but I don't have enough reputation to comment on your question!


My solution was to create a 415GB file and then delete it.  Now everything is working fine.


Smart Cover on/off no longer functioning

Go to "Settings" and then "General" and verify that the "iPad Cover Lock / Unlock" feature is turned on. If this feature is enabled and the issue still persists I would suggest you test out your iPad with a different smart to verify the issue isn't with the iPad itself.

Is your smart cover an Apple branded smart cover or third party? I only ask because Apple would not decline you replacement support unless the smart cover is question is not their product.


OSX Stuck - Window manager is responsive, but can't create any process

After trial and error, the correct answer proved to be such: disable IPv6.
The OSX machine started to freeze when I switched internet connection and WiFi router.


How can I block a given DNS from being used?

Since you have two other DNS addresses listed, you can click on the entry for 192.168.1.1 and click the "-" (minus) button to remove it (although it may not have any practical effect on connecting to sites).

The IP address 192.168.1.1 is your default gateway and is the address of your router or modem that you connect to for Internet access. By default, this address will be added in the DNS list in OS X, and the DNS lookups will be done based on the DNS servers configured within the router/modem (where again, the default would be what your ISP provides).

The order of the DNS server entries matters for how DNS lookups are performed. So OS X would anyway try the first two that you have from your ISP before going with the third one.

If you wish to check and find the fastest DNS provider for your connection, you can use the free namebench tool and reconfigure your DNS accordingly.

You can also check your router/modem configuration and configure it to use specific DNS servers if needed (note that any settings in OS X will override these settings):

Open a browser window and go to http://192.168.1.1
Type in the administrator credentials (check your router/modem manual or with your ISP for the credentials if you don't know)
Navigate through the settings, check and/or reconfigure DNS


The fact that your system is on Leopard rather than Snow Leopard (10.6) will make things a bit trickier. A fair amount of software is only compatible with 10.6 and above.

That said, I'd suggest installing GnuPG using one of the UNIX package managers for Mac OS. I see MacPorts still has a legacy installer for Leopard - see this link.

Unfortunately there doesn't seem to be a binary for 10.5, only 10.6, so you'll need to build it from source, which the MacPorts port command will manage for you.


How do I adjust the settings on my MacBook so it doesn't automatically open things when I turn it on?

Open up System Preferences then search for Login Items

Then find the list of items and delete the ones you dont want to open.

Note: You must click the subtract button or else the item will still open up. I don't know what the tick does but the item will still open even if its not ticked. The application must disappear from this list or it will continue to open. (eg. Docker, Thor and Kawa are not ticked yet they still open on startup for me)


How do I transfer or sync u2 songs of innocence from My Library to my iPod?

Check your sync settings. If all music is set to sync it should work out.

Another possibility is that they haven't been downloaded yet. In that case a small cloud should be next to the songs in your library. When you click it, they're downloaded.


What port does iPhone native Facebook app use?

First, this is a really good question. Wow. I've been trying for days to figure out how to attack this one.

I set up "Charles Web Debugging Proxy" on my Mac and set up my iPhone to hit it.

First, it hits http://api.facebook.com/restserver.php, which spits this back:

<chat_connect_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd">
<host>9.channel</host>
<port>80</port>
<channel>p_123456789</channel>
<seq>0</seq>

Meanwhile, it also connects to iphone.facebook.com which gives some XML. Then it connects to 0.9_channel.facebook.com:80 and sends some requests which return JSON.

It looks like everything is done over port 80. Are you sure theres no other problem on your end?


How to get iTunes to copy music you import to a safe/internal folder

Launch iTunes then open Preferences, either from the Edit menu or by holding  Ctrl ⌃   ,

In the Advanced tab, check 'Copy files to iTunes Media folder...'

This may prompt iTunes to ask if you want to Consolidate existing files. If it does, say Yes.
If not, then do it manually afterwards, from File > Library > Organise Library.

This will grab all existing files from all locations except the iTunes Library & copy them there.


I had the same situation two days ago, not on a RAID although I doubt that matters, and I ran Verify Disk in Disk Utility on the drive and it said "Volume bitmap needs minor repair for orphaned blocks" so I then ran Repair Disk and it cleaned it up and my free space was what it should have been after emptying the Trash and it wasn't at the time.

Note: I ran Verify Disk and Repair Disk in Disk Utility and was backed up before doing so.  As a general rule one should always have everything continually backed up and especially before performing Disk Level Operations of this nature, even thought I've never yet had a disk messed up doing so.


As 'Dempa' said in comments, you should do a hard-reset:
https://support.apple.com/en-us/HT201559 <- "Force Restart"
If this does not solve the problem, you should back up your info in iTunes (Assuming that you cant open Settings app):
https://support.apple.com/en-us/HT203977 <- "iTunes Backup"
And if restoring doesnt solve the problem, you will have to go into an Apple Service Shop/Center, however they are called in your country, and ask for technical assistance.

**Im pretty sure the HARD RESET step is what you need.

Hope it helps.


iOS simulator screen size not equal to window size

Now It's more flexible with Xcode 9- Simulator. You can pick & drag any corner of simulator to resize it and set it according to your requirement.

Look at this snapshot:

Note: With Xcode 9.1, Simulator scale options are changed.

There are several other ways also, to scale your simulator.

Keyboard short-keys:
 According to Xcode 9.1

Physical Size       ⌘ 1      command + 1
Pixel Accurate      ⌘ 2      command + 2

 According to Xcode 9

50% Scale           ⌘ 1      command + 1
100% Scale          ⌘ 2      command + 2
200% Scale          ⌘ 3      command + 3

Simulator scale options Menu:
Xcode 9.1

  Menubar  >>  Window  >>  "Here available options for simulator scaling" (Physical Size & Pixel Accurate)

Xcode 9.0

  Menubar  >>  Window  >>  Scale  >>  "Here available options for simulator scaling"

Using Terminal Command
Follow these steps to scale simulator using terminal commands

Close/Quit simulator. (if open)
Open Terminal app (using Spotlight search, Press ⌘ + SPACE to open spotlight search)
Copy following text and paste it next to terminal cursor.

defaults write ~/Library/Preferences/com.apple.iphonesimulator SimulatorWindowLastScale "0.3"

Open 'Simulator' (Run your iOS project using Xcode).

You will find simulator scale update.


Will the new 2015 "MacBook" be able to run VMs effectively? Windows especially

As far as I know, the new MacBooks as of today have only begun shipping from online orders, so I won't be able to speak from personal experience - but I would be very wary about the MacBook being able to handle intensive tasks like Parallels, especially in tandem with Visual Studio or Eclipse.

Parallels' recommended hardware specs for running Windows 7 include "...an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor (Core Solo and Core Duo processors are no longer supported)." The new MacBook has sufficient RAM (8 GB minimum) to fulfill their requirements, but the Core M processor (see the tech specs) will be the issue with running these types of tasks on the MacBook.

Check out the benchmark details here compared to the i7 that you are using currently and you'll see a noticeable difference - Core M running at 1.1GHz which effectively makes it a mobile processor if anything.


I need help getting the pf firewall to work

Let's clear up a few misconceptions here, and get your PF working for you.  First, the ALTQ portion of PF handles QoS, or Quality of Service functionality, which might only be relevant to your needs if you were doing some sophisticated network routing through the machine and needed to prioritize the routing of certain types of latency-sensitive, network traffic -- video streams, cell phone calls, etc -- in order to reduce latency and assure such traffic of a greater responsiveness.

I would not worry about the QoS portion not having been implemented in Apple's port of what appears to be the FreeBSD version of PF.  Apple must have envisioned less of an enterprise-level network routing usage of their operating system and more of a home-user and office-user usage in opting to skip the ALTQ inclusion.

Next, I find the following command more useful for an overview of what PF is doing:

sudo pfctl -vvv -s all

Our next step is determining what you would like PF to do.  The meat-and-potatoes configuration for PF is the file /etc/pf.conf.  Is there something specific you would like PF to do, or would you like me to post a few example pf.conf files, in order to give you an idea of how it is used.

All in all, you make a wise choice in choosing to use PF.  It is a shame that Apple, for one reason or another ( hint -- think Edward Snowden... ) has opted to deploy its operating system with its firewall onboard, but disabled by default, and without any packet filtering rules enabled by default...

Doors wide open, if you ask me...

Hope that this helps.


File sharing from OSX 10.6.8 to OS 9.2.2

I now have Leopard and various versions of Snow Leopard installed on my Mac Pro and I get the following results:

All versions can mount a remote OS 9 volume or folder. Leopard can write files to the mounted volume without any difficulty. Some versions of Snow Leopard can write some files at a first attempt but some of these appear empty or corrupted.

I eventually found I could get consistent satisfactory results by using a bash script to write about 40kB to a dummy file twice. After this further files can be written without any difficulty until the connection is terminated. Whist this is slightly tedious I can live it.

Further insights or fixes would be of interest to me.

Here is my bash script:

open 'afp://user-name:password@###.###.###.###/volume/web-pages'; sleep 1; f(){ echo {a..z}{A..Z}{z..n} > /Volumes/volume/web-pages/dummy-file; }; f; f


How do I use two different desktops on two different monitors with Lion?

You wouldn't need two VMs running, merely one running while you use the host OS X would accomplish what you want.  It would be easier to give a suggestion based on a more detailed explanation of what you wish to do or accomplish.

If you want something to not disappear when changing spaces try using the "assign to all" option.

From comments below, option for multiple docks

dockit
dockshelf


With a POP account you can't "send" (upload) email to the server.
As "Buscar 웃" told you, if you have another email account (with IMAP of course), you can upload emails from the first account (POP account) to a folder on the second account (IMAP account).
To do that, first you create a new folder on the IMAP account, then you select all the emails you want to "transfer", then do a right-click on the selection and select "Copy To > the folder previously created". I recommend you to copy (Copy To) emails instead of move (Move To) them, to prevent any emails’ loss if an error occurs during the transfer.


I keep getting a weird email address trying to facetime me on my iphone5? is this spam?

Just ignore it and do not reply. It will stop eventually.

You might want to make your Facetime profile private, and consider changing your password just in case.

You might be targeted by a spammer.

Check you settings in Facetime:


Opening .msg file in Outlook for Mac 2011

For everyone in 2016 who is also looking for a free software without IAPs and similiar "problems" (MailRaider for example was free years ago):

MSGViewer is a free software, which can be downloaded via sourceforge. It does, what the name stands for: viewing / showing the content of the msg files! I just tried it after browsing for a good software that does not cost 10 Dollars or more and I can recommend it.

MSGViewer SourceForge link.

Edit:
Just had an .msg file with images inside: msgviewer is also capable of showing them.


How to check whether my Intel-based Mac is 32-bit or 64-bit

Run this on the command line:

getconf LONG_BIT


Can Java 5 be installed on any other OS other than OS X 10.5?

This thread indicates one might use the shareware package Pacifist, to unpack and then reuse old Apple installers for Java 5 on Snow Leopard.

Disclaimer: The original author of this comment has no known affiliation or vested interest with the software vendor for Pacifist, nor has actually tried this himself. Still, there seem to be a lot of happy users in the linked thread. :)


CPU usage is too high with Yosemite and an external monitor

This is a design feature documented by Apple. See if cooling your Mac and the processor can then speed up again and do the work you want. See this post on ideas for cooling while in clamshell mode.

Any reason not to run my Macbook Pro upside-down in clamshell mode?

Some people have luck removing Intel kernel extensions, but if you disable safety and overheat your system, that might be out of warranty if the cpu fails.

rMBP kernel_task spikes when connecting more than one external monitor

I would watch things closely if you do that and try other cooling methods first, like buy a stand designed to cool your Mac.

http://www.svalt.com

If that doesn't work, try resetting the System Management Controller one time to ensure it's not a measurement error.

If you only need occasional cooling or to convince yourself, go ahead and open the clamshell and make sure there is good ventilation and you are not blocking the air inlet or outlet by the display hinges. The thermal management software reacts quite rapidly to changes in internal temperature.  could even use Magnets to force the display to sleep while it's actually open and allowing the entire keyboard surface to be exposed and cooling the Mac that thinks it's still working in closed clamshell mode.

https://support.apple.com/en-us/HT203184

  Activity Monitor may show that a process named kernel_task is using a large percentage of your CPU, and during this time you may notice a lot of fan activity. This process helps manage temperature by making the CPU less available to processes that are using the CPU intensely. In other words, kernel_task responds to conditions that cause your CPU to become too hot. When the temperature decreases, kernel_task automatically reduces its activity.

So, also quit the other tasks and apps you don't need if you can't make the physical arrangement of the Mac more cool or more conducive to radiating the heat away if convection isn't working for you. The GPU will cause lots of heat if it's pushing many pixels. Decreasing resolution might help in an edge case, but you'll want to attack cooling in general as a first step.

You could also get some advanced tools to peek into the CPU rate to confirm it's reacting to heat:

kernel_task hundreds of % CPU yet cpu frequency is being lowered


Installation of bundled software failed on my MacBook Pro 10.6

I was having the same problem and I went to Apple Software Installer Update 1.0 (link).

It said:

  This update addresses an issue that may prevent certain Apple software from installing. This update is recommended for all users running Mac OS X 10.6.8.

Worked for me hope it works for you.


Can't update boot security on new Macbook Pro

I was able to move past this by creating another account (called admin) then switching between my account and the admin account. Once I did this I was able to open the dialog box and move forward.


Stress Testing Your Mac For Optimal Performance?

There is a built-in hardware test designed by Apple.

With the introduction of Intel-based Macs, Apple has built the AHT utility right into your Mac.

Simply hold down the D key while starting up your Mac to boot into the Apple Hardware Test.

I would not recommend using garden variety www not approved test programs. This would be the same as if you have a car with a speedometer marked 150 MPH would you actually drive it @155 MPH to find out if it holds up using non OEM tires?


Macbook's "Internal Memory Card Reader" uses 896ma/900ma doing nothing, is this normal?

Current Required lists what is necessary to operate the device (the internal memory card reader) not what is being used.

This Apple Support article is about USB ports, but the information under Confirming power usage in System Profiler is directly applicable to your question. In this case the "port" over which power requirements are noted is where the internal card reader is connected to the motherboard, not the card reader itself.


It's provided by Dock.app. So you could try osascript -e 'quit app "Dock"' or killall "Dock".


Excel 2011 crashes when printing certain worksheets

The Excel-worksheet probably contains an embedded OLE object. Within Excel you can check this by right clicking each "image". When the context-menu's last option is Format object, you found it.

To fix it, choose the option Save as image and choose a location and name. Then delete the object, and insert the previously saved image.

There is also another way to check for embedded objects. An .xlsx file is actually also a .zip file. You can rename the extension so you can unzip it (or use unzip filename.xlsx -d directory_to_unzip_to on the command line).

When the newly created folder contains a folder xl/embeddings, and this folder contains at least one file, the excel contains an embedded object.


How to find a file which can't be found on macOS Big Sur

I see the exact same thing. I noted the time (09:35:25) and found this in Console:
Nov 14 09:35:24 Honu amsaccountsd[673]: objc[673]: Class AMSDaemonConnectionInterface is implemented in both /System/Library/PrivateFrameworks/AppleMediaServices.framework/Versions/A/AppleMediaServices and /System/Library/PrivateFrameworks/AppleMediaServices.framework/Versions/A/Resources/amsaccountsd. One of the two will be used. Which one is undefined.
Nov 14 09:35:24 Honu amsaccountsd[673]: objc[673]: Class AMSXDProtoMessage is implemented in both /System/Library/PrivateFrameworks/AppleMediaServices.framework/Versions/A/AppleMediaServices and /System/Library/PrivateFrameworks/AppleMediaServices.framework/Versions/A/Resources/amsaccountsd. One of the two will be used. Which one is undefined.

Nov 14 09:35:25 Honu MRT[674]: getattrlist failed for : #2: No such file or directory
Nov 14 09:35:29 --- last message repeated 2 times ---

Nov 14 09:35:29 Honu mdsync[694]: objc[694]: Class MDSPathFilter is implemented in both /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata and /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mdsync. One of the two will be used. Which one is undefined.
Nov 14 09:35:30 Honu com.apple.xpc.launchd[1]

So it seems to have to do with something called "getattrlist".
Here's a link that might be of help:
https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/getattrlist.2.html
That said, I still don't really know what this is but now I now know that I'm not the only one with this issue.
I know that this is likely not much help. If I find out more, I will post back.


How to save a black & white photo as a color photo with Preview App

Instead of saving, go File > Export... and save as a new JPEG.


pkg file extracting instead of installing?

Most obvious cause would be that some other app has taken over the .pkg extension - maybe a file compression utility.

Find any .pkg file &  Cmd ⌘   i  to Get Info.
Where it says Open with, select Installer, then Change All


On El Capitan, is it possible to display picture just on an external monitor, and not on the laptop's screen?

If you have another keyboard and another mouse you can close your MacBook Pro :

If an external display is detected and the MacBook is plugged to the power, you can close it without any software.


Can't change the screenshot directory because "com.apple.screencapture: command not found"

The error message is telling you that the shell (bash) is expecting the first expression on the command line to be a program, script, or shell built-in. com.apple.screencapture is none of those.

The command you are missing is defaults, with a sub-command of write, like so:

defaults write com.apple.screencapture location /Users/mac/Documents/Zoology/edited\ screen\ shots


Portable monitor on Mac Mini not detected

I have had the same problem. I just upgraded to Catalina. I also updated my zen screen to the Catalina upload on the display link website.  My monitor now starts when I start my mini Mac. However, I must make sure I turn off my Asus display when I shut down the computer, if I don’t Shut down the monitor it won’t start when I restart my mini Mac.


Routing localhost traffic to external IP address

Ok, I finally managed to solve the task. As Bob Harris suggested on Apple's forum, I used ssh tunneling to setup it.

On Windows I use OpenSSH
On Mac OS I use Core Tunnel
Core Tunnel doesn't allow to bind to 443 port directly, so I used another port and redirected 443 to that port via PF as described in initial post.


The folder icon with question mark that you're seeing appears when no bootable media is found, and in your case seems indicative of SATA cable failure or hard drive failure. Your local Apple Store can help diagnose this (they have a more thorough in-house hardware test OS that isn't publicly available), but I'd place my bets on cable failure, given your symptoms and how failure-prone they are known to be.

If it's just the cable, they can replace it for you (typically £100 for parts and labour), or you can get the part and tools for around £15 and replace it yourself if you have the time and patience. If it's the hard drive itself, you'll obviously need to replace it, and your data is likely lost — in this situation, don't attempt to recover the data yourself; you'll do more harm than good. Instead, consult a data recovery specialist if you desperately need the data and don't have a backup.

To attempt some better diagnostics at home, make a bootable Ubuntu USB and see if that detects your drive. I've had some luck in the past with that, in situations where a SATA cable has failed sufficiently that the Mac EFI and macOS (including Recovery) refuse to show it, but Linux will do its best to provide info. When in Ubuntu, open the Disks app to see if your drive is detected. If it is, check the SMART report (select the disk in the left sidebar, click the three-line icon in the upper-right, click "SMART Data & Self-Tests...") If all is reported good, the cable is almost certainly the issue.

P.S. "obviously I can’t repair a disk that doesn’t appear in [Disk Utility]" — Likewise, you cannot use fsck to check a filesystem that the OS cannot see, hence why it says everything is fine.


How can i remove this tab in finder? It keeps showing every time

On the finder menu bar, click "View" and click "Hide Preview"


How safe is it to use Apple's wireless keyboard?

It’s actually quite safe to use Bluetooth keyboards.
Since 2009 on, bluetooth keyboards have encrypted all traffic end to end with the exception of service discovery.  In other words, only the advertising packets that basically say “I’m a keyboard” or “I’m a trackpad or mouse” are unencrypted.  Everything else, including the authentication is encrypted.
How does macOS Sierra securely pair with Bluetooth keyboards without a code?
Entering a key or a passcode is not part of the security mechanism; its a form of Simple Secure Pairing or SSP.  The passkey is just a way to identify devices to be paired.  It’s definitely not a way to prevent MITM attacks.
So, is Bluetooth safe?
It’s more accurate to say “it’s safe enough for US Government standards.

Bluetooth adheres to U.S. federal security regulations, ensuring that all Bluetooth devices are capable of meeting and exceeding strict government security standards.

NIST Compliant: The National Institute of Technology develops security standards and guidelines for federal agencies to protect their information and information systems.

FIPS Approved: These Federal Information Processing Standards are developed by NIST in accordance with the Federal Information Security Management ACT (FISMA).

Further reading:
NIST Special Publication 800-121 Revision 2N Guide to Bluetooth Security


iOS using wrong public key to encrypt mail

There is no list, you can scroll through to edit the public keys of the emails you received.
The only way is to open an old mail (signed with the old public key), hit the certificate and manually uninstall it.
It seems that iOS on iPhone has a bug since version 9.x that causes that new public keys of certs can not overwrite the old versions automatically.
See the discussion here:
https://discussions.apple.com/message/29015875?start=0&tstart=0

Do NOT follow Apple's advice in the support document "Send an encrypted message to someone outside your Exchange environment". Specifically, do NOT manually trust the certificate by hitting View Certificate>Install because (I believe) this will keep a trusted certificate in your keychain after this certificate expires and is replaced. iOS will not let you install an updated certificate with the same RFC 822 Name (email address), and will continue to encrypt using the same trusted-but-expired certificate. After hitting Install, you'll have to Reset All Settings to get rid of it (bad).
Rather, View Certificate, then request a copy of the Root Certificate Authority (.cer) and, if necessary, the Intermediate CA (.cer) that signs the sender's cert. Install these .cer certificates in your System Profiles. In my experience, I need both the Root and Intermediate CAs for iOS.

(btw: I had exactly the same problem)