How to lock screen of host machine with TDM on Sierra I regularly use my iMac as an external display for my macbook using target display mode (TDM).  Since upgrading my iMac to Sierra, the screen locking behavior has changed in a disturbing way.  I'm hoping there's a configuration flag I can set to revert to the old behavior.  Here's the situation:

I unlock the iMac.  (log in to my account)
Connect the two macs with thunderbolt.
Hit command-f2 to enable TDM.  iMac is now an external monitor for macbook.
Use the macbook for a while.  Lock the screen, walk away.  Wait a long time.
Unplug the thunderbolt cable.
The iMac is logged in and unlocked. (!!)

Previously (before Sierra) on step 6, the iMac would have its account locked, which is of course what I want my mac to do if I haven't been using it in a long time.

How can I get my iMac to lock its account when it's being used as an external monitor in TDM mode?  Right now, it seems using TDM is a major security hole for the iMac.

This should not happen at all if your iMac locks itself after a period of time without TDM.
To lock your iMac's account after a period of time, follow these steps:

Choose Apple menu > System Preferences, click Security & Privacy, then click General.

Click the lock icon  to unlock it, then enter an administrator name and password.

Click Advanced.

Select “Log out after... minutes of inactivity.”

Set the amount of time before the user is automatically logged out.

(quoted from https://support.apple.com/kb/PH18670?locale=en_US)
.
It definitively is supported to log out a user while using Target Display Mode (TDM):

Any apps that are open on your iMac remain open and active while your iMac is in Target Display Mode. (...)
If you've set your iMac to automatically log out, apps are paused or closed when this happens but your iMac remains in Target Display Mode.

From: https://support.apple.com/en-us/HT204592#options
.
Also check these options in System Preferences:

Energy Saver > Wake for network access (uncheck)
Security & Privacy > General > Require password immediately after sleep or screen saver begins (check)
Desktop & Screen Saver > Screen Saver > Start after: 1 Minute

Please let me know if this solves the issue.


iOS VPN will NOT connect on certain WiFi I have downloaded a VPN service app, and it works fine. However, if I run on school WiFi, VPN hangs on "Connecting..." and after 10 seconds it disconnects and tries again. I believe this is a WiFi problem, but I don't know for sure.

Most schools have firewalls on their network that prevent VPNs from being used. This is because firewall website filtering can be usually bypassed by using a VPN.

So as you guessed, it is something on the network that’s blocking the VPN.

And just so you know I have not found a way to bypass a VPN blocker or firewall(I am also a student at a school with a similar firewall)


Create global shortcut to run command line applications What steps do I need to run a command line program via a global shortcut?

I setup Automator to create a new Run Shell Script and tried to assign a shortcut in System Preferences -> Keyboard -> Keyboard Shortcuts, but nothing happened.

Without knowing the specifics of what you are looking for, I'd suggest creating a new Service through Automator. Services can be bound to keystroke triggers, and can execute shell scripts (among other things).

To set up the keyboard shortcut, go to System Preferences -> Keyboard -> Shortcuts -> Services, select the service you just saved, and then click the "Add Shortcut" button.


/Library/Java - deleted it, how to restore? I'm having problems with long shutdown times and I read somewhere that deleting /Library/Java would solve it, so I did. It didn't do sh*t.

What was the content of that folder (a screenshot might help), and is there a way to restore it? (sudo rm -r'd it, ftw)

On Mavericks

pse@Fourecks:~$ ll /Library/Java/
total 8
drwxrwxr-x  2 root  admin   68 Oct 23  2013 Extensions/
lrwxr-xr-x  1 root  wheel   48 Oct 23  2013 Home@ -> /System/Library/Frameworks/JavaVM.framework/Home
drwxr-xr-x  3 root  wheel  102 Oct 23  2013 JavaVirtualMachines/
pse@Fourecks:~$ ll /Library/Java/Extensions/
pse@Fourecks:~$ ll /Library/Java/JavaVirtualMachines/
total 0
drwxrwxr-x  3 root  wheel  102 Jun 27  2012 1.7.0.jdk/
pse@Fourecks:~$ ll /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/
total 8
drwxrwxr-x  15 root  wheel   510 Jun 27  2012 Home/
-rw-rw-r--   1 root  wheel  1577 Jun 27  2012 Info.plist
drwxrwxr-x   3 root  wheel   102 Aug  3  2012 MacOS/

So (as long as you don't need the JDK) you might fix this be redoing the symlink:

cd /Library/Java
sudo ln -s /System/Library/Frameworks/JavaVM.framework/Home .


Is it not possible to make Apple Watch chime on the hour? It's pretty common to have watches announce the beginning of a new time interval (say to beep every hour). Mac OS X allows users to have the system "announce the time" down to the quarter of hour.

Is there a way for Apple Watch users to do something similar?

There's currently no native way to play a chime on the hour with watchOS - well, at least not without workarounds using the Timer, Reminders, etc.

However, there are a number of 3rd party Apple Watch apps available that provide this functionality. Below are just a few:

Little Ben
Cuckoo Watch
Diii


How to remove the device name from the bash prompt? Is it possible to remove the device name in my shell commands to "save space"?

My-MacBook-Pro:~ username$

to

~ username$

Yes, BASH (the default OS X Shell) has the ability to customize the prompt in many ways.

$PS1 is the the shell variable for the main prompt.

Try typing echo $PS1 in the command line and it will show you how $PS1 is currently configured.

If you just want to remove the the host name you can set $PS1 to \W \u\$ (note there is a space after the $) (i.e.$PS1="\W \u\$ ")

If you want this to happen every time you login in you will need to add export $PS1="\W \u\$ " to your .bashrc file.

There is extensive information on setting the PS1 prompt with other options in the man bash page.


Re-enable Mac media keys originally disabled via terminal My Mac media keys are completely disabled. I originally disabled them far too long ago to remember how exactly I did it but I remember it was via the terminal that toggled a switch not available anywhere else.

To be more specific all of my function keys function properly without use of the fn keys and the media keys do nothing even with the fn keys.

to re-enable media keys you can use:
launchctl load -w /System/Library/LaunchAgents/com.apple.rcd.plist
explained in this article


2011 MacBook wakes immediately on sleeping, even after change of HD and OS I have a 2011 MacBook Pro. About six months ago it developed a sleep problem - it wakes immediately on sleeping. Occasionally when recently rebooted it will sleep as it ought, but usually not. On each waking, the log says this:

localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?

Not helpful!

I've done all the obvious things (network, bluetooth, USB) and tried to reset PRAM and SMC, though the latter doesn't seem actually to reset.

More info which might be relevant - occasionally when the Mac is powered off and I plug in the charger, it boots.

Last week the original HD failed and I had a SSD installed. I also upgraded the OS from Snow Leopard to Sierra. The fault has persisted through both these changes. This leads me to wonder if this is a hardware issue.

Only other info about the machine is that it suffered the degrading-solder problem common to 2011 MacBooks. Since it happened before the Apple Repair scheme kicked in, I had it resoldered by a third-party.

Thanks for any help!

Edit: Further to this: a few things I've found: a process called 'hidd' is listed as Preventing Sleep in the Activity Monitor. Its parent is called 'launchd (1)'. And

pmset -g assertions

gives the following:

Idle sleep preventers: IODisplayWrangler

And finally - when I put the computer to sleep, it very briefly sleeps (1s or so), but then HD starts up again. The sleep light goes off, and does not wink or re-light, but the display stays off. To 'wake' it again takes 10-15 seconds.

Since you're not actually sure if the SMC reset did anything, I'd reset both the NVRAM and SMC again (and in that order) using the steps below.

Before doing so, ensure you have no external hardware connected and that you're using the built-in keyboard.

Reset the NVRAM

Older Macs had what's called Parameter RAM (PRAM), newer Macs use Non-Volatile Random-Access Memory (NVRAM). Here’s how to reset the NVRAM on your particular MBP:

Shut down your machine. Yes, a full shut down, not just logging out.
Press the power button and then press the commandoptionpr keys. You have to make sure you press these keys before the gray screen appears or it won’t work.
Hold those keys down until your Mac reboots again and you here the startup chime.
Let go of the keys and let your Mac reboot normally.

Note: When you log back in you may need to readjust some of your system preferences (e.g. speaker volume, screen resolution, startup disk selection, time zone information, etc).

Reset the SMC

To reset the SMC on your particular MBP, follow these steps:

Shut down your computer
Keep the power cable plugged in.
Press at the same time shiftoptioncontrol (on the left side of the built-in keyboard) and the power button
Let go
Turn your computer back on with the power button.

After resetting both the NVRAM and SMC, use your computer to determine if the issue still persists. IF it does, then test the hardware as per the instructions below.

Run Apple Hardware Test

Your model MBP uses Apple Hardware Test. To use this, follow these steps:

Shut down your MacBook Pro
Restart your MacBook Pro
Press and hold the D key before the gray startup screen appears.
After a while, Apple Hardware Test (AHT) will start.
When prompted, select your language and click the right arrow.
When the AHT console appears, you can choose to run Basic tests by clicking the Test button. However, I suggest you select the "Perform extended testing" checkbox before you click the Test button.
Your test results will appear in the window in the bottom-right of the console.

Note 1: that the extended test will take some time. Take a note of the results and report back.

Note 2: If pressing and holding the D key at Step 3 doesn't work, start again at Step 1 and, at Step 3 press and hold both the OptionD keys instead. This will try and run diagnostics from the internet instead, so you will need to allow more time for it to complete.


.git-completion.bash producing error on macOS Sierra 10.12.6 I've followed the process for git-completion as per the description provided at https://medium.com/@farooqyousuf/autocomplete-git-commands-and-branch-names-in-terminal-on-mac-os-x-4e0beac0388a:

The first step is to execute this command in your terminal window, this is basically grabbing the ‘git-completion.bash’ script and putting it in your home directory.

curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash

Now add this line to your ‘~/.bash_profile’. This will allow the execution of the git autocomplete script if it present

if [ -f ~/.git-completion.bash ]; then
  . ~/.git-completion.bash
fi

You can now restart all your terminal windows or just refresh the terminal window you wish to use this script in. To refresh do:

source ~/.bash_profile

Following is the error I'm getting while hitting tab key after typing git:

unknown option: --list-cmds=list-mainporcelain,others,nohelpers,alias,list-complete,config
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
  [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
  [-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
  [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
  <command> [<args>]

I ran into the exact same problem. After some digging, I finally figured out what the root problem is.

They made some major changes to the git-completion.bash script which requires a new feature in git v2.18, --list-cmds. The problem is that none of the package managers have updated to git v2.18 yet.

Most of the instructions out there say to download raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash . But that is not necessarily the best option because sometimes you will be downloading a newer git-completion.bash than your version of git supports.

So the solution is to download the git-completion.bash version that matches your git version. Then source it again. In this case:

https://raw.githubusercontent.com/git/git/v2.17.1/contrib/completion/git-completion.bash

Notice that it is referencing v2.17.1 instead of master. Later, when you install git v2.18, then you can switch back to master, or v2.18 tag.


Convert .bat command for mapping shared drive to AppleScript To get access to FTP file shares on a windows web server.

I need to run this batch code. I'm on a MacBook so how do I make it so I can run this sort of code?

net use W: /delete
net use W: \\10.0.2.3\web /persistent:no badPassword /user:office

You can connect to a server just with Finder. From Finder's Go menu, choose Connect to Server (⌘K). Enter the server address as smb://10.0.2.3/web then choose Connect. You'll be prompted for your username and password which can be saved in your Keychain.

If you want to use AppleScript, you can use the following:

tell app "Finder" to open location "smb://username:password@server/share"


Force Macs to run Xprotect updater through terminal to get latest NTPD security patch Apple released the the patch for an NTPD hole.  This patch is automatically updated if you have SystemPreferences-->App Store-->Install system data files and security updates; checked. Which we don't.

You used to be able to run in terminal the command:

/usr/libexec/XProtectUpdater

this would force a check for updates to xprotect.

It seems this command no longer exist in 10.9 and above, is there any other way to force a mac to run the data files and security updates through terminal?  Otherwise a solution to turn on just the check box for "Install system data files and security updates" and leave the rest uncheck.

Apple NTPD patch

Check out this post at macops.ca.

Using:

/usr/bin/sudo softwareupdate --background-critical

seems to be the answer.


Did Apple remove their Export Compliance advice? Up until a few months ago, when you uploaded a new build to iTunes Connect and tried to publish to TestFlight or the app store, Apple would display a simple yes-or-no dialog asking if your app uses cryptography. A few months ago, this dialog started containing a more detailed description of the export compliance guidelines, and some helpful advice about when you needed to select "yes" or "no" (I think it was something to the effect of "You can select 'no' if any of the following are true:" followed by a list of conditions).

Today when uploading a TestFlight build I am seeing the old dialog again - no detailed description or advice. Did Apple undo this change, or does it only show for app store builds?

(Please note I am not asking for advice on which option to choose; I already understand the export compliance process.)

Apple undid this change, it would appear. There was no mention of the additional guidance being added and also no mention of it being removed, but it's definitely gone now.

I could speculate that due to the nature of changes to copy regarding legal features of iTunes Connect, that someone in the legal department decided that the change was unsuitable, but there's been no confirmation of anything to this effect.


iPhone 2G has "NO SERVICE" after restore from possibly corrupt backup I'm having a hell of an issue with my iPhone 2G.

A couple of days ago, I noticed my phone was behaving strangely and appeared to be 'half-synched'. I tried restarting it then did a restore to my last backup using iTunes. To my dismay, I stopped getting any cell service after this; just no bars or "NO CARRIER" instead of data or voice service (everything else worked fine).  I called AT&T to report the issue and they were essentially no help and determined it to be a hardware failure. I tried resetting the network data, resetting to factory settings, doing a restore to a different backup but to no avail. The only thing that worked was when I switched the sim card to another spare iPhone I had.

OK, so now I had my old iPhone working with the sim card so I assumed it was a crazy hardware failure. I tried to restore to the more recent backup (the same one that 'broke' the first phone) and alas, my spare phone also has this problem now! I have tried restoring from an older backup but I still can't get any service; the damage appears to be permanent!

By the way, all my bills are paid, I am in an area with good cell reception, etc.

It sounds like this post covers the same or a similar issue.

Has anyone had a similar problem? Is there some way I can do an even lower-level reset than the iTunes restore? Any help would be greatly appreciated! I'm hoping to document the problem well here so that anyone else with a similar problem can hopefully find a solution.

iPhone OS 3.1.3 - no jailbreaks or any other hacks
Mac OSX 10.6.6
iTunes 10.1.1
Firmware 04.05.04_G

Given that you have already tried to set the phone in Recovery Mode and DFU to no avail, there isn't much else you can do on a device with only two buttons and a USB port :)

As already suggested, your best bet is to take it to an Apple Store for inspection. Your phone is not Jailbroken or hacked in any way, so AT&T should either replace it or have it fixed.

My best bet is that during the restore, the baseband got corrupted and now the phone cannot be properly recognized by iTunes.

The Before Disclaimer: I'm sure that since you're a loyal AT&T customer you may want to have them fix your phone, but that'd be in a perfect world.

Disclaimer #1: The following procedure may be "illegal" or "not approved" in certain areas, countries, etc. and it may be against your Terms of Services, morale, etc.

Disclaimer #2: Although I recently did these exact steps in my old iPhone 2G, I live in Europe and you know how we Europeans like to drink tea and laugh at certain things of the American culture and behavior, therefore I do not suggest you do this if you are unsure.

Disclaimer #3: I've seen phones get bricked (A.k.a rendered useless) after using these steps. I can confirm that I did this myself two weeks ago, downloading the exact same files that I've liked here and it worked like a "charm", but "your mileage may vary".

As with any other "gray" procedure, use at your own Risk.

Enough chit-chat…

If -after contacting Apple- you find yourself in a "you don't have warranty we're sorry, you need to pay for a new phone" situation, then you can try to save the phone by using a Jailbreak method.

My old iPhone 2G crashed two weeks ago and I had to do exactly this. These are the steps I performed:

For an iPhone 2G, your "best" and only option is to use the old pwnagetool 3.1.5 (latest for that model), which you can download from the "official" Website (Torrent file). It's an app called Pwnagetool. Do not download from other sources, you never know.

You will also need an old baseband, more specifically 3.9, which you can download from here. It's a file called bl39.bin. Do not unzip the .BIN, just leave it like that.

Save all that in a Folder somewhere.

You will also need the official latest iOS for your 2G phone. Which is -as you already know- iOS 3.1.3

You already have that file in your drive if you have been using it before. It should be located in:

~/Library/iTunes/iPhone Software Updates/

The file name should be something like:

iPhone1,1_3.1.3_7E18_Restore.ipsw

Copy that file to the folder where you downloaded the above files.

Now that you have all in place, you're ready to destroy your iPhone forever… so go ahead and launch the Pwnagetool.

Ignore the "you don't have iTunes 8.0" error (because you probably have the super latest 10.x iTunes):

It works nevertheless, so click ok.

At this point, if you have LittleSnitch it will warn you that the App is trying to connect to a place. It's the autoupdater (which doesn't update anyway), you can go ahead and Deny connections, no harm done.

And now you're ready to start. Disconnect you phone, you don't need it yet.

The application provides two methods, as you can see in the toolbar: Simple mode, and Expert mode.

I suggest you try Simple first and then, if it works, you can redo the whole thing with expert and tweak it.

Please note that if it works, by default, the Simple mode (and you have to use Expert to change it) will replace the "Apple" logo by a PineApple, like the one seen in this screenshot:

I won't go into the full detail of the process because it's rather simple, but I will tell you what this tool does and what it doesn't.

Pwnagetool will take the official "ipsw" and modify it to "jailbreak" it. This also allows you to perform a carrier unlock (which -in turn- may fix your carrier problem, which is the idea of all this). It will basically take the official file, modify it, and create a new one with a similar name and the suffix: CustomRestore:

iPhone1,1_3.1.3_7E18_Custom_Restore.ipsw

After you have this, then you have to proceed to "restore your iPhone" the "normal way". The app explains what to do, but the important step is that when you go to iTunes to click the "restore", you press the  ⌥ opt  and then click the button. This allows you to browse for the ipsw file, instead of iTunes picking the default one.

As you have correctly guessed, you have to find the one named Custom_Restore, which will proceed to jailbreak/unlock your phone, maybe fixing it.

It will take a while, the phone will restart, the phone will restart and the phone will restart. Kinda like that. At some point an app (BootNeuter) will appear and will ask you a few questions. Then it will restart again and I think again.

At some point (if you're patient) iTunes should recognize your phone and ask you if you want to "restore" a backup.

That's your decision at this point, because you mentioned that the backup is what caused the trouble. I'd try a fresh restore and then proceed to manually re-sync.

If, after all this, you phone works, congratulations. If you want to try the expert mode, go ahead, you can always save the ipsw you used in the first place and re-use it to restore the phone at any time. Go ahead, try expert and see the different options (like not replacing the pineapple and restore images, not installing Cydia, etc.).

In any case, you can -after all this- try to restore your phone using the original ipsw from Apple (which you used as a base anyway). That should be AT&T happy.

Sorry for the long post and I wish you good luck with it. I have an iPhone 3GS and a 2G and I love the 2G form factor way way more than any other iPhone.

FINAL COMMENT

As I've repeatedly said in the post, this procedure can permanently damage your phone. I don't know how, because I did it in a dozen of iPhones 2G here when the iPhone was originally launched and no phone ever failed on me, but if you google around, there are stories.

The only reason why I posted all this method is because your phone is old and if AT&T or Apple refuses to fix it, you can (and should) try to save it. My iPhone 2G has better battery life than my 3GS (albeit at a speed cost) and works fantastically. It was a gift from a friend who lives in the USA that came to Europe two months after the iPhone 2G launch and brought it in the original box for me.


What's the difference between Final Cut Pro X and Final Cut Studio? I visited the Wikipedia page about Final Cut Studio, which is apparently aimed at professional movie studios. The page says that it's now only available via a 1-800 number, but the link to the official page for Studio at Apple now points at Final Cut Pro X. Also, the prices are wildly different. $299 for Pro X. Around $800 for Studio according to some results on Google.

Is Studio an old, retired product and the high end editor suite is now Pro X (with an apparent huge slash in price), or am I missing something?

Yes. Final Cut Pro X is the new high-end professional video editor. When it was released, the pro video editors revolted, as they rewrote Final Cut Pro, changed the interface, and took out a lot of features they relied on. So, if you're a pro and you want to spend a lot of money on the old version, you call Apple and make an arrangement.


What are some steps to troubleshoot problems sharing printers, files, and screen? I am having many problems sharing (printer, file, screen) from a Macbook Pro (10.6.8) to a PowerMac G5 tower (10.5.8). It was working just fine until we switched internet providers and got a new router. I have checked IP addresses, etc.

What are some general troubleshooting steps I can take to determine where the problem might lie?

Please be more specific.  If nothing changed except for the router, though, let me ask: is the one machine plugged in directly to the network via Ethernet, and is the other accessing the network through WiFi?

If so, it may be that the router has a feature enabled called "WAP Isolation" -- basically it creates a separate network segment (or collision domain, if you like) for the wireless clients.  Try disabling wireless with the laptop and plug it in directly.  If it works, that's probably where the problem is.


Keyboard shortcut to prevent login items from loading but still allow extensions I know that if I boot my Mac while holding down Shift, then it does "safe mode" which causes it to boot without either login items or extensions. I often want to boot the computer and not load login items but still load the extensions!

Any keyboard shortcut whiz know what keys would have that effect at boot?

Disable automatic login in system preferences - users and groups - login options.

Reboot

At the login window type your password and then immediately hold down shift.

This will disable login items on a per login basis.

With proper timing this can be accomplished even with automatic login enabled. You must hold shift as soon as the spinning gear stops.

If you are talking about Lion Resume, that's another story.


Are songs streamed from iTunes Match stored somewhere on the Mac hard drive? I've installed iTunes Match and started to stream some songs. I was just wondering, where are they stored during streaming?I have a MacBook Pro, with Mountain Lion.

The songs are stored in the iTunes library, just like all other songs in iTunes. To find the storage location of a specific song, right-click it in iTunes and select "Show/Reveal in Finder" (or the equivalent in your language).


Apple Configurator 2: Where are the Blueprints? Apple Configurator 2 is scriptable with Automator, Apple-Script and Shell.
Nowhere it is though possible to invoke the blueprints I have defined in Configurator.
I can rebuild the contents of those blueprints within Automator, Apple-Script and Shell, but I cannot reuse, what I already built in Configurator.
Or am I wrong? Where are those blueprints?

My understanding (which could be wrong) is that blueprints are for people that don't automate things. You pick from a palette of options and build up "automation" from within the app.

If you want to shell script, you would just install the cfgutil Automation tools and have your script written to perform the steps you want. Basically, the blueprint steps aren't exposed to the command line tool in the current design of the app. If you want to use both, you'll have to set up your scripts and blueprints redundantly which is more work, more chance for error and more maintenance. Whether you make that time back depends on how many devices you have to manage and how efficient you are at setting things up.

http://krypted.com/iphone/apple-configurator-2/


Does the iOS Camera Roll contain all of my photos and videos, incl. what's in my albums? I have tons of photos in my iPhone Camera Roll. I have also created albums and moved photos around from the camera roll to different albums.

Is it true that the Camera Roll actually contains "all" the photos and videos I have?

I ask because I am going to make a copy of all my photos and do not want to use iCloud etc.

If I just copy everything in my Camera Roll to my PC hard drive, will that get everything I have in all the albums I have created?

Or must I copy the Camera Roll and all the Albums to ensure I get everything?

I know the organization or my photos will be goofy etc, but I just want all my photos and videos from my iPhone on my PC without using any cloud based services.

Yes, on iPhones, Camera Roll includes all photos, live photos, videos, screenshots, slo-mos and timelapses you have on your phone, even if some or all of them are in albums. You can plug your phone into your computer and copy your photos from the storage device that appears in your operating system's native file manager. You can also make a backup of your phone in iTunes and using a backup extractor tool, such as iMazing, recover the photos.


No new mail notification at apple mail dock icon when rules apply I've set a rule in apple mail. It's very simple. If a specific individual sends me mail it moves it directly to the destination folder. The problem is that it does not notify me that a mail arrived! If I open mail program I see that I have one new massage in the directory, but the apple mail icon at the dock have no notifications at all.

Is it possible to configure Mail.app so it shows unread count in specific other mailboxes, in addition to the inbox?

Mail does only look at one or all mailboxes for the count, it is set in Mail->Preferences->General, the field "Doc unread count"

You can make it look at a more complex setup by using Smart mailboxes.

In this case I would create a new Smart mailbox say Counter which would contain rules for any of Mailbox is Inbox and the destination folder.


Apple Silicon M1 Mac connecting 30" Apple Cinema Display I am attempting to connect an Apple Silicon Mac Mini, MacBook Air, and/or MacBook Pro to a 30" Apple Cinema Display at native 2560x1600 resolution.
The same question for Intel Macs with USB-C is asked here:

Connect Apple 30" Cinema Display to new MacBook USB-C
Connect New MacBook (USB-C) to Apple Cinema Display 30" (Dual-Link DVI)

I'm attempting to use the same chain of adapters as listed in those answers, which I have personally tested to work on an Intel USB-C Mac:

M1 Mac (USB-C / Thunderbolt 3)
USB-C to Mini DisplayPort adapter
Mini DisplayPort to Dual-Link DVI Adapter
Apple Cinema Display 30" (Dual-Link DVI)

However, this combination does not seem to work on my M1 Mac Mini.
I get no screen response on the M1 Mac. The monitor's power light is on, and USB-passthrough of my keyboard and mouse works fine, but the screen is not recognized by the Mac.
Do Apple Silicon Macs with Thunderbolt 3 require specific adapters, different from previous Intel Thunderbolt 3 Macs?
The Mac Mini-based Apple Silicon Developer Transition Kit (DTK) did not work with the Apple Cinema Display; I'm hoping that limitation was removed from the shipping version.
I'd like to continue to use the 30" Apple Cinema Display + Apple Dual Link DVI Adapter. Which additional adapters are needed to use that Mini DisplayPort output with an M1 Mac?
Discussion:

https://discussions.apple.com/thread/252063309
https://forums.macrumors.com/threads/mac-mini-m1-apple-cinema-display-30-anyone-got-it-working.2276122/

I purchased a new USB-C to Mini DisplayPort adapter.
This adapter works fine connected to an M1 Mac, Apple Mini DisplayPort to Dual-Link DVI Adapter, and 30" Apple Cinema Display.

https://www.amazon.com/DisplayPort-Biming-Thunderbolt-Displayport-ChromeBook/dp/B086G9YH41

I was previously using the same type of connector, but a few years older and from a different brand:

https://www.amazon.ca/DisplayPort-Hamkot-Thunderbolt-Aluminum-ChromeBook/dp/B071ZKLKB1

But that adapter does not work on my M1 Mac. It does work with Intel USB-C Macs.
I would be interested to know why the original adapter does not work. Do M1 Macs require some additional spec?


Fix slow startup after utility disk repair on a SSD I have a 250Gb Samsung SSD 840 series with Trim support enabled installed on a mid-2009 13" Macbook pro running Snow Leopard (10.6.8, 2.26GHz, 8Gb of RAM) and I experience extremely slow startup after trying to repair my ssd with the disk utility.

My disk was starting to boot a bit slower than usually and There were permission errors that I fixed with the disk utility and then when I verified the disk I saw there were erros so I inserted my Snow Leopard installation DVD and tried to fix them (huge mistake)... The disk utility reported mistakes and said it could not fix the disk, I was afraid of losing my data because but I didn't lose anything.

However when I boot now there is a grey screen for around 30 seconds, then there is the loading progress bar and apple's logo and it takes more than 2 minutes to startup  Besides I have no time machine backup because of some external hard drive problems I had recently.

Is there any way for me to fix it without formatting the disk? If I upgrade to Mountain Lion without formatting the drive will it fix the issue?

The problem may arise because the Disk Utility did not correctly finish the repair of your disk, and by doing so did not give back the boot flag to your SSD.

Go to System Prefences > Startup Disk and select your SSD as a Startup Disk
Try to reboot and see if it changes anything

Else, read this thread with many different, quite helpful inputs:

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


How do I run VLC with command-line parameters when clicking the icon? I've tried changing the Info.plist to point towards a bash script which runs the executable with the parameters that I want. This doesn't seem to work even though when I invoke it from Terminal.app with the same parameters the tests check out.

If it matters, this is 10.5 with VLC 2.0.3.

I also have a 10.8 machine with VLC 2.0.6, and was hoping for a method that wouldn't get blown away every time I upgrade VLC. On that machine I've tried to use Platypus, but it fails to have any effect either (VLC opens up, but doesn't seem to open with the correct arguments).

Your best bet would be to create an applescript wrapper like:

do shell script "/Applications/VLC.app/Contents/MacOS/VLC --fullscreen"

for example.  Save the script as an application.


How to prevent mail app from marking e-mails from VIP as spam I set someone's e-mail address as VIP, but lately his e-mails end up in the junk folder. Is there any way in the mail app to prevent a certain address's e-mails to be marked as junk?

First, make sure this person is in your Contacts, including the email address you want to mark as not being spam.  This is important because Mail checks there when determining what's spam.

Then, go to the Mail → Preferences, ‘Junk Mail’ tab, and make sure the following options are checked:

Enable Junk Mail Filtering
Choose ‘Mark as junk mail, but leave it in my Inbox’
The Following Types of Messages are exempt from Junk Mail Filtering:

Sender of message is in my Contacts
Sender of message is in my Previous Recipients
Message is addressed using my full name
Also select Trust junk mail headers in messages

After you do all this, Mail might still put some email in Spam/Junk.  Just right-click on the email and select ‘Not junk mail’.  It's not perfect but eventually it should learn.


Experience with iLugger? I have an iMac and I use it for development and video editing. I am looking for greater portability and I'm considering a MacBook or MacBook Pro. My other option is an iLugger.

I'm looking for owners of iLugger to share their experiences with iLugger and if it is a worthy buy.

I love my iLugger!!!!  You get exactly what you pay for. The only con I can say is the weight upon your shoulder, when using the shoulder strap.. Looks like they added wheels now, so this definitely is a good buy.


How do I solve the Error Code -36? I deleted some photos from iPhotos and Photos libraries that I should not have. I want to restore these from my Time Machine back of a couple days ago.
When I do this I keep getting the following error

The Finder can’t complete the operation because some data in “Photos Library”
can’t be read or written.(Error code -36)

Any help will be much appreciated.

I was able to get these files from time machine by accessing the time machine from the terminal. I used the following commands

sudo tmutil listbackup

this listed all the backup directories, their names contain the date of the backup.
then

cd <to the backup I wanted>

then

cp -R <iPhotos backup folder> <Pictures folder>

during this command, I did get a warning for one of the image files. My guess is that Finder cannot handle this situation.


Best Note Application Integrated With Exchange For IPad 2 I am looking for a note taking application that needs to be integrated with MS Exchange, because i am using an iPad, a notebook running Windows 7 and MacBook Pro.

I want to be able to take notes, create tasks and access them from all devices.

Is there any program that meets these requirements?

I've seen posts that say if you are synced to Exchange, the built-in Reminders app will sync your tasks; there is a slider for it in the Exchange setup. As far as a third-party app, try IMExchange2, it appears to sync tasks and notes.


How created watched folder with Automator to auto import new files into itunes? I was wondering if someone could help me with this. This what I'd like to do:

File is downloaded into Folder A, it is automatically imported into itunes and then moved to folder B. This happens automatically anytime a new file appears, I don't have to trigger a script, etc..

Can this be done with automator?

I've tried by making a workflow:
Finder Finder Items
Import Files into Itunes (but it won't import movie files, only audio)

If anyone can help or knows of a little app that do this please let me know! Thanks!

You can do it better by placing files to the folder ~/Music/iTunes/iTunes Media/Automatically Add to iTunes in Finder (or ~/Music/iTunes/iTunes Media/Automatically Add to iTunes.localized in Terminal.app) to be automatically added to iTunes without any third party program


How do I receive iOS app notifications on my Mac? I would like to mirror all notifications (including third-party apps) from my iPhone (5s with iOS 12) on my Macbook Air 2017 (Catalina 10.15).

My phone is not jailbreaked. Is there a native way to achieve it nethertheless?

A recent app to do what you want is Notifyr This app will supposedly send all Notifications to you Mac.  You need a mac built 2012 or later. This does vary for different computers and the actual years are given in the link.


What does the plus sign next to the price of an app in the App Store mean? There is often a plus sign in the upper left corner of the price button for an app. Even some free apps have this plus sign.

It means that it is a universal app, able to run on the iPad and iPhone.


Intermittent flashing ? after Sierra Update I was required to update to Sierra to get Xcode on my machine. I did that yesterday. Currently it stands at:

Version 10.12.4
MacBook Pro (Retina,13-inch, Early 2015)
Processor: 2.7 GHz Intel Core i5
Memory 8 GB 1867 MHz DDr3

After this update,when my Mac goes to sleep or is shut down, about half of the time it displays the flashing ?, prompting hand-wringing from me. I start going through all of the steps for system restore, but often the SSD is not located during the system restore, and when I restart again maybe the mac finds the SSD and starts up normally. This is very annoying behaviour, of course.

I have had the flashing ? before, and I took it to an Apple service center in Trondheim where they held it for a month before returning it to me, with the diagnosis that the hard drive had unmounted physically and all that was required was re-inserting it. Great. Glad that took only a month.

I am tempted to believe that this is a physical hardware issue where the hard drive is experiencing intermittent hardware connection. But I've never experienced it shutting down in use, as you would think would happen if it were something like a loose connector, which makes me doubt this hypothesis.

I asked this question on the apple forum, and I'm going to be reprimanded for the solution that I'm leaning towards: removing the back panel myself and staking the hard drive to the connector with adhesive. Taking it to a service center is unworkable for the following reasons: a) Because I'm currently on a Greek island in the middle of the aegean, and b) because I can't afford to lose my Mac for a month again for some tech to do what I want, which he probably won't because staking a hard drive isn't in the Apple book.

Any ideas here? I mention the Sierra update because of course, a lot of signs point to that, but the intermittent startups make me think that is circumstantial.

I'd do a NVRAM and SMC reset (in that order). Before following the steps below, ensure you have no external hardware connected and that you're using the built-in keyboard.

Reset the NVRAM

Reset the NVRAM on your MBP as follows:

Shut down your machine. Yes, a full shut down, not just logging out.
Press the power button and then press the commandoptionpr keys. You have to make sure you press these keys before the gray screen appears or it won’t work.
Hold those keys down until your MBP reboots again and you here the startup chime.
Let go of the keys and let your MBP reboot normally.

Note: When you log back in you may need to readjust some of your system preferences (e.g. speaker volume, screen resolution, startup disk selection, time zone information, etc).

Reset the SMC

There's a couple of ways you can reset the SMC on your MBP, however I prefer the following steps:

Shut down your MBP
Keep the power cable plugged in
Press at the same time shiftoptioncontrol (on the left side of the keyboard) and the power button
Let go
Turn your computer back on with the power button

After resetting both the NVRAM and SMC, use your computer to determine if the issue still persists.


Can't start tftpd because port is already in use by launchd Enabling tftpd

sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist

Start:

sudo launchctl start com.apple.tftpd

See logs syslog -w

com.apple.xpc.launchd[1] (com.apple.tftpd[30687]) <Warning>: Service exited with abnormal code: 1

Or with log stream --process tftp --level debug

Filtering the log data using "process BEGINSWITH[cd] "tftp""
Timestamp                       Thread     Type        Activity             PID    TTL
2020-01-21 12:35:44.903240+0200 0x5292a    Activity    0x6afa0              31479  0    tftpd: (libsystem_info.dylib) Retrieve User by Name
2020-01-21 12:35:44.903949+0200 0x5292a    Default     0x0                  31479  0    tftpd: recvfrom: Resource temporarily unavailable

I also tried to run tftpd directly without launchctl sudo /usr/libexec/tftpd -d -i /private/tftpboot/ with the same results.

Earlier I used this configuration and it worked fine. But after some changes (may be OS update) it became broken.
Current MacOS version is 10.14.6 (18G2022)

How to fix tftpd?

Appendix.
Configuration file /System/Library/LaunchDaemons/tftp.plist has default content:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Disabled</key>
    <true/>
    <key>Label</key>
    <string>com.apple.tftpd</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/libexec/tftpd</string>
        <string>-i</string>
        <string>/private/tftpboot</string>
    </array>
    <key>inetdCompatibility</key>
    <dict>
        <key>Wait</key>
        <true/>
    </dict>
    <key>InitGroups</key>
    <true/>
    <key>Sockets</key>
    <dict>
        <key>Listeners</key>
        <dict>
            <key>SockServiceName</key>
            <string>tftp</string>
            <key>SockType</key>
            <string>dgram</string>
        </dict>
    </dict>
</dict>
</plist>

Update1
It seems port is in use. Why? Who?

$ sudo lsof -i:69
COMMAND PID USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
launchd   1 root   23u  IPv6 0x55f5dbd8d897c847      0t0  UDP *:tftp
launchd   1 root   57u  IPv4 0x55f5dbd8d897e687      0t0  UDP *:tftp
launchd   1 root   59u  IPv6 0x55f5dbd8d897c847      0t0  UDP *:tftp
launchd   1 root   60u  IPv4 0x55f5dbd8d897e687      0t0  UDP *:tftp

launchd uses UDP port 69. Why?

$ ps -ef | grep tftp
501 94727 48073   0  4:16PM ttys007    0:00.00 grep --color=auto tftp

These steps solved my problem

Reload plist

sudo launchctl unload -F /System/Library/LaunchDaemons/tftp.plist
sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist

(Re)enable service

sudo launchctl disable system/com.apple.tftpd
sudo launchctl enable system/com.apple.tftpd

Start service (or restart)

sudo launchctl start com.apple.tftpd

Thank you everyone who participated in discussion, especially @Prado


Can't delete Exchange server account from 10.9.5 I did a clean install of 10.9 and then imported some old emails and my keychain.   Now my accounts keep showing an old exchange account for contacts from a previous employer.   I cannot delete this account.  Every time I delete it, it pops back.  HELP!

The problem is, that your account isn't saved on your iPhone but rather on the server. You have to delete the account on the server, than it shouldn't pop up again.


Does online backup work well for OSX? My external drive recently died, and my local backup failed (a string of bad bad luck). Good thing I have offsite backup, done with one of those cloud backup companies (backblaze).

Right now I'm requesting for a hard drive mailed to me with my files (4TB). I've never done this before, can I expect the files that come back to be the exact same? I have a hard time believing that because the backup system is not HFS I can only assume?

In particular, I'm concerned about things like my iPhoto library. In OSX I see it as one big file, but I know in reality it is just a "special" folder. Will the files come back as a proper iPhone library?

The data returned from Backblaze ought to be correctly recognised by the Mac. Folders like iPhoto have a special structure that the Mac shows you as a single file, but in reality it is just a folder.
In the same way, Applications are, in fact, folders too - but the Mac hides the structure from you by default.
This is what your iPhoto Library looks like on Backblaze…

When you get your drive, you may have to point iPhoto & similar apps [Aperture, iMovie, Final Cut Pro all have similar structures for their Libraries] to that 'folder' initially, but it should then be treated as your regular Library.
Edit:
I just tested this empirically by downloading my entire iPhoto Library from Backblaze.
When it arrived, it was in its original disk/folder hierarchy; so had that been an emergency situation I could have copied the entire structure right back to where it came from.
Initially, it looked like a regular folder, but [a step you may not need to take if everything is restored to its original locations] launching iPhoto with the  Opt ⌥  key down to choose a new Library & selecting that folder - as soon as it had finished loading to iPhoto, the 'proper' iPhoto Library icon & 'hidden' structure was restored to it.


Is it possible to receive SMS with the Messages beta for OS X? I feel like I've read 7 or 8 different articles on the Messages beta, but I'm not seeing my question's answer.

So, is it possible with Messages for OS X, to receive SMS texts sent to my phone number?

No. Messages beta works like it does on the iPad and iPod Touch. You can only message other Apple iOS 5 (or Messages) users.


How to prevent the black screen on iPod Touch? Is there a way to not let the iPod touch switch the screen off? I want to use my iPod as a "count down" timer with the built-in clock app. But after some time, the screen turns black thanks to the energy saver policy. I actually want to see the count down until the time is up!

I haven't got my iPod Touch with me but this works on the iPhone if you go to Settings -> General -> Auto-Lock and set it to Never. That should work.

Let me know if iPod Touch has removed this. Don't know why they would have!


Change "ignore ownership on this volume" from the command line for Mac OS X volume (This question is a spin-off of another question I asked on this site.)

New images always ignore owner/group

When creating a new disk image from Disk Utility it is automatically mounted. If you then select the volume in Finder and press Cmd-I (for the info window) you will see this at the bottom of the window:

This means that file owners and groups will be ignored on this volume. This is very convenient for external drives being shared between machines with different user accounts on them. For a backup volume it is not a good idea as you would like to retain the owner/group information for the files backed up.

Change this from Finder

To change this, simply uncheck the checkbox and it will remembered after you eject and remount the image.

Change from command line (Terminal)

Instead of mounting the image from Finder, you can also mount it from the command line using this command (assuming the image is called testimage.sparsebundle):

$ hdiutil attach testimage.sparsebundle/

Still, owners are ignored on the volume. Adding the -owners on option is (almost) equivalent to unchecking the checkbox in the image above:

$ hdiutil attach -owners on testimage.sparsebundle/

However, after unmounting and remounting the volume from Finder (or from the command line without the -owners on option), the checkbox is checked again.

Does anybody know how to make this change persistent using a command-line call?

You use diskutil for that. See diskutil(1) under enableOwnership and disableOwnership. Note that this setting is specific to a particular operating system installation, since it is stored in /var/db/volinfo.database. I.e., if you copy the disk image to a new computer the setting won't persist, but it does persist across reboots, mounts, umounts, etc. all on a single computer.

Use diskutil to find the identifier, then change the option:

$ diskutil list
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            Disk Image             *41.0 MB    disk2
$ sudo diskutil enableOwnership disk2
File system user/group ownership enabled


How can I transfer backed up iphone 6 files from Itunes to new iphone XR Iphone 6 was submerged in water and died. It was periodically synced to iMac desktop via iTunes to upload books on CD. iMac uses High Sierra 10.13.6 operating system

You may be experiencing compatibility issues between an older version of macOS and your iPhone XR. (Syncing files using iTunes was deprecated in macOS 10.15, so iOS 13 on your iPhone may reflect this change.)

Make sure your Mac and iPhone have the latest software release installed, then follow this Apple Support article to sync your iPhone 6 backup with your iPhone XR.


How to completely disable Siri on Sierra? I have answered 'No' to Siri initial prompt, but I can still see it in my process list. I've tried to kill it, but it loads again immediately. How can I unload and remove Siri from my Mac?

Ok, I found out the whole procedure by myself, thanks to @blueberryfields and @bret7600.

First of all you need to disable System Integrity Check to be able to edit the com.apple.Siri.plist file.

Reboot in Recovery mode by restarting your Mac and holding Command+R. It can take more time to boot as usual, that's OK, just be patient.
In the top menu go to Utilities and open Terminal.
Type csrutil disable and press Enter.
Type reboot and press Enter to reboot again.

Now you should edit the com.apple.Siri.plist file.

Open Terminal.app
Type sudo plutil -replace Disabled -bool true /System/Library/LaunchAgents/com.apple.Siri.plist

Now you should re-enable System Integrity Check. It is there for a reason.

Reboot in Recovery mode by restarting your Mac and holding Command+R.
In the top menu go to Utilities > Terminal.
Type csrutil enable and press Enter.
Type reboot and press Enter to reboot again.

Now if you check Activity Monitor - you should see no traces of Siri there.
You can repeat this procedure with /System/Library/LaunchAgents/com.apple.assistantd.plist to fully disable it.


If reference cell contains "x", return "y", otherwise return "z" I'm trying to build what seems like a dang simple formula, but for some reason it's stumping me. Here's the idea:

IF(//B4 contains "apple"//),"$100","$200")

so that it returns "$100" if B4 contains "apple", or "$200" if it doesn't.

I can't figure out the function to use in the //B4 contains "apple"// part. I tried this, but it didn't work:

IF(LOOKUP("apple",B4),"$100","$200")

What am I missing?

Try changing your LOOKUP function to EXACT, so that your formula would read

IF(EXACT("apple",B4),"$100","$200")

or

IF(B4="apple", 100, 200)

for a case insensitive solution, or

IF(TRIM(B4)="apple",100,200)

for a solution which will work even when there's whitespace around the word in the cell (leading/trailing spaces, etc.).

My Numbers is set to use ; instead of , as delimiters, so my test sample reads IF(EXACT("Apple";B4); 100; 200)


How to fix Right-click issue in WebStorm on Mac I am using the BetterTouchTool Version 1.47, and configured that a right click should be simulated using a tap with two fingers using the magic mouse (see picture).

The problem is that WebStorm 11.0.3 does not register the event, hence I am not able to right click in WebStorm using the magic mouse. I am running OS X El Capitan 10.11.1. Has anyone experienced the same thing, or have a solution to the issue?

After I got the 1.5 update of BetterTouchTool, and upgraded WebStorm to 11.0.3 the problem vanished.


How do I tell iTunes not to back up apps? I found that the apps I have stored in iTunes take up more than 10GB of space on my computer. Since I have a 128GB SSD I'd like to tell iTunes not to backup apps. I can download them again for free, anyway. If I uncheck the Sync Apps box, I get the message:

  Are you sure you do not want to sync apps? All existing apps and their
  data on the iPhone "kPhone" will be removed.

Back up apps is probably a wrong wording as you don't want to store the apps at all on your iTunes, if I understood you correct.

One option could be, to disable app sync. However, all apps are then probably deleted from your device and you have to download all of the again on your device again. If your apps will be deleted from your iOS device, you also will lose all the application data. Also the application data wont be backed up then to your iTunes (but could be backed up to iCloud).

Although you can redownload apps for free, you should keep in mind, that a developer (or Apple) can also remove an app from sale. It is then no longer possible to redownload the app. If you still have the app in your iTunes you still can continue to use it.


How to get the path associated to a favorite in Finder? I have some favorites in Finder (10.11.4) and I can't open some of them:

  "Folder name" can't be opened because the original item can't be found.

The folder can't be open because it is on an unmount volume. The problem is I don't know what is this volume and I would like to know the path associated to this favorite. I can't get this information with right click on the favorite, it is not listed in the Finder preferences and the information is not present in the plist file.

Where can I get this information?

If you want to find the original location of an unmounted folder you've added to the Favorites Sidebar, just select the item and press CommandI for Get Info.  Alternatively, you can right click it and select the menu item.

The location will be identified in the "Where" field.

In the picture below, I took a random folder (this one named "Music Archive") and attached it to my Favorites in the Sidebar.  I then unmounted it and "got info on it."

An easier way to accomplish this (if you are using external drives) is to make use of the tags field near the top of the Get Info dialog box.  See How to Keep Track of External Drives for further details.


MacBook Air microphone volume extremely low Everytime I try to make call with Skype or Google Hangouts from my MacBook Air, the embedded internal microphone volume is too low. I am sure it is working, because when I shout loudly enough, the people on the other side of call can hear me, but only really quietly.

I have Macbook Air 13'' late 2010, right now running OS X Yosemite 10.10.5, but I had this problem since the very beginning.

I have played with volume and also input volume levels in Settings → Sound, volume is on maximum level, but still unusable. I have Googled for the problem and tried several workarounds, none seems to be addressing my issue/working for me.

After closely looking on microphone input on the left side of my MacBook Air, I have found that the little holes are blocked with dust or something like that.

So I took the needle and removed the dust from microphone holes, and it's now working well!

Note: I know this would seem like obvious solution, but the holes are so little you cannot see anything in them unless you look really closely (or, more probably, use magnifier).


How to disable Xserve power saving while running ESXi I'm running Vmware ESXi 6.5 on an Xserve 3.1 and due to the power saving settings it puts the internal drives to sleep a short while after boot which prevents ESXi from saving settings.

I've tried booting into OSX and disabling there but the problem persists in ESXi. I've also tried the usual SMC and NVRAM resets.

The symptom is a 'disk timeout' for all internal and FireWire attached drives (same for SSD and HDD) after about 15 minutes.

Any suggestions greatly appreciated.

This isn't an answer as such but a fudge/hack that stops the timeout issue by writing regular random data to each drive (static data doesn't appear to work).
Create a shell script as below (mine is called .bmreadloop) on VMFS attached boot storage:
#!/bin/sh

while [ 1 -lt 2 ]
do

</dev/urandom sed 's/[^[:digit:]]\+//g' | head -c10 > /vmfs/volumes/bonoboBoot/.blah

</dev/urandom sed 's/[^[:digit:]]\+//g' | head -c10 > /vmfs/volumes/bonoboTwo/.blah

</dev/urandom sed 's/[^[:digit:]]\+//g' | head -c10 > /vmfs/volumes/bonoboHDD/.blah

</dev/urandom sed 's/[^[:digit:]]\+//g' | head -c10 > /vmfs/volumes/bonoboThree/.blah

sleep 10

done

Add run it on startup in /etc/rc.local.d/local.sh:
/vmfs/volumes/bonoboBoot/.bmreadloop >> /dev/null &

It's ugly but it works!


How to press `^|` in Visual Studio on macOS? I want to execute the "Format Document" menu item in Visual Studio on macOS.

I've attempted pressing control + | (pipe), but the item is not executed. Can ^| be interpreted differently than the above key sequence?

It could be capital i.

Try ctrl + Shift + \  if it's not i.


Downloading, rather than playing, flv files from Safari's Activity window The usual way for downloading youtube's flv files used to be to double-click on the conspicuously largest file in Safari's activity window (cmd-option-a).

For some reason doing so now triggers viewing the video using a plugin. The possible culprits are perian and vlc. Disabling perian doesn't help, and vlc does not seem to include a plugin. What to do?

Hold Option while you double click on the file to force it to download instead of play. If you have something downloading already (or are using an older version of Safari), you can also copy from the activity window and paste into the downloads window.


How can I repair the scroll ball on an older Mighty Mouse? I have a Mighty Mouse that came with an iMac nearly four years ago, and the scroll ball won't turn anymore. Is it possible to clean that or do something to make it usable again?

Try flipping the mouse upside down and rolling the trackball on a piece of paper, giving it an occasional tap to help dislodge any debris. Since the trackball is depressed while rolling , this helps debris escape from inside the housing. The paper will also help absorb any oil from your fingers that have collected on the ball that may allow debris to collect inside the roller mechanisms.

The 'official' Apple fix is to first spray the paper with alcohol cleaner, then roll the ball over it. This has always worked for me, never had to take apart.


Determine flags that were given for packages installed with homebrew Is there a way to check what flags were given when a package was installed with homebrew?

For example, the emacs formula has an absurd number of flags. If I did

brew install emacs --with-glib --with-librsvg

I would like to later determine that for the homebrew installation of emacs I gave the flags --with-glib --with-librsvg and not any other flags.

Test case with lua package:

Before installing the package, info shows all options.

$ brew info lua
lua: stable 5.2.3 (bottled)
http://www.lua.org/
Not installed
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/lua.rb
==> Options
--universal
    Build a universal binary
--with-completion
    Enables advanced readline support
--without-sigaction
    Revert to ANSI signal instead of improved POSIX sigaction

I install the package with just the --with-completion flag.

$ brew install lua --with-completion
==> Downloading http://www.lua.org/ftp/lua-5.2.3.tar.gz
######################################################################## 100.0%
==> Downloading http://luajit.org/patches/lua-5.2.0-advanced_readline.patch
######################################################################## 100.0%
==> Downloading http://lua-users.org/files/wiki_insecure/power_patches/5.2/lua-5
######################################################################## 100.0%
==> Patching
patching file Makefile
patching file src/Makefile
patching file src/lua.c
Hunk #1 succeeded at 231 (offset -5 lines).
Hunk #2 succeeded at 559 (offset -4 lines).
Hunk #3 succeeded at 575 (offset -4 lines).
patching file src/lua.c
==> make macosx INSTALL_TOP=/usr/local/Cellar/lua/5.2.3_1 INSTALL_MAN=/usr/local
==> make install INSTALL_TOP=/usr/local/Cellar/lua/5.2.3_1 INSTALL_MAN=/usr/loca
  /usr/local/Cellar/lua/5.2.3_1: 13 files, 312K, built in 6 seconds

After installing the package, info shows all options, including those I did not use. The command does acknowledge that the package was built from source and not poured from a bottle.

$ brew info lua
lua: stable 5.2.3 (bottled)
http://www.lua.org/
/usr/local/Cellar/lua/5.2.3_1 (13 files, 312K) *
  Built from source with: --with-completion
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/lua.rb
==> Options
--universal
    Build a universal binary
--with-completion
    Enables advanced readline support
--without-sigaction
    Revert to ANSI signal instead of improved POSIX sigaction

When a package is built from source the flags that were used to build are shown when you do brew info <package>.

In this case: brew info emacs | grep "Built from source"


Wiping my New MacBook Pro after Using Command Q to Stop Migration Got my new MB pro mid-2014 yesterday.  Began migrating over wi-fi only to learn that it will take 14 hours that I don't have.  After 45 minutes I halted on both computers using command Q.  My question, how do I safely wipe the new computer clean so that I can start again by transferring from time machine?

I suggest you use Apple Mac's Disk Utility, select the disk or volume in the LH column that you wish to clear, specify a format and name and click on Erase. Also select Security Options if you wish to prevent any recovery of previously deleted files.


iOS: How to change text size in app or otherwise read covered part? A certain app displays a number in a large font, and it happens that if the digits are too wide (eg. there are no narrow digits like "1" in the number, but only wide ones), the number is cut off at end and ellipsis are showed instead of the last two digits. So instead of displaying 02345678 it shows 023456….

The app support recommends to reduce the font size, but that does not help. I changed the size under Settings app → Display & Brightness → Text Size to all possible values, but it seems the app ignores that settings (I also rebooted in-between, as suggested by the support).

Is there any other way to see the entire displayed number? Some kind of zoom? Hack? Anything?

I am using an iPhone SE running iOS 12.2.

Is there any other way to see the entire displayed number? Some kind of zoom? Hack? Anything?

If the text is selectable, you can try by long pressing to see if there's a view that reveals the entire number. Depending on the app implementation, you may also end up getting the Cut, Copy options using which you can copy the number, paste it elsewhere and read the value.

It's most likely a bug in the app which is preventing it from either honouring system wide dynamic font size or simply not handling the display correctly.

You should consider reporting it as a bug to the developer of the software, quoting your experience so far with the support team.

Possibly the QA team has either skipped or not exhaustively tested it on a 4" screen sized iPhone, as most current users generally use larger screen sized iPhones.

If it's feasible for you (i.e. if you have a spare iPhone handy), consider running (and logging in if required) the app on an iPhone with larger screen. You'll likely be able to read the value.

If you do not have a second iPhone, but happen to have an iPad, it could work too. You can run the app on any iPad in iPhone compatibility mode (simply install the app normally). iPhone compatibility mode runs the app on an iPad simulating 4.7" iPhone screen size (iPhone 6/6s/7/8).


Why does my MacBook's monitor go to maximum brightness when waking up from sleep? I have my MacBook connected to an external monitor (via HDMI), and the brightness of MacBook monitor is set to 50% of max brightness . I usually put my display to sleep when I leave my computer for a break, and everytime I wake it up, the MacBook monitor will be set to maximum again.

Any idea how do I fix it so that when I wake up the display, I do not need to adjust the screen brightness down again?

I am running Lion on an early 2009 MacBook.

Try to reset the System Management Controller.

Resetting the SMC on Mac portables with a battery you can remove

Shut down the computer.
Disconnect the MagSafe power adapter from the computer, if it's connected.
Remove the battery.
Press and hold the power button for 5 seconds.
Release the power button.
Reconnect the battery and MagSafe power adapter.
Press the power button to turn on the computer.


How do I save files on Macbook with crashed OS? I have a Macbook that the OS has crashed (I am not 100% sure if the Hard Drive is dead, but I would like to save the files before anything else).

When I boot up, the screen just remains grey and there is a spinner that stays on forever.

I thought that if I got a thunderbolt cable and connected that Macbook to my other Macbook Pro, I could boot the crashed drive Macbook into Target mode and then get access to the files.

That doesn't seem to be working and now I am re-reading the instructions it seems that the target computer needs to be bootable (i.e. into OS X, which mine is not). I'm not familiar with how to take this unibody MacBook Pro apart.

So how do I get access to those files, before I reinstall the OS?

One option would be to used your other Macbook Pro to create a Linux boot CD or USB drive, then boot your Macbook from that. By default Ubuntu has read access to HFS+ formatted drives so that should allow you to read your files. Assuming the drive responds.

Some resources:

How to burn a DVD on OS X
How to create a bootable USB stick on OS X
How do I boot the live CD on a Macbook Pro?


How to find which template is used in existing Xcode project? I have one iOS application existing project and i have opened it in Xcode-7 but i want know which template is used in that?

In most cases, you can determine it by looking at the Story Board (*.storyboard, often * is Main).
Here we see the possible templates.

Then, how the typical story board layout looks for the...

Master-Detail Application

Page-Based Application

Single View Application

Tabbed Application

Game (which also features SpriteKit framework)


Safe not to eject Timemachine USB drive? I have an external 1TB USB drive (mechanical, not flash) dedicated as a Time Machine backup. It is completely handled by MacOS/Time Machine.
Is it safe to unplug it at any time, including while a backup is running? I am aware how this stuff works generally (missing cached data, corrupting internal file systems data structures, journaling etc.), but would like to know if Time Machine is - together with journaling - robust in this regard for devices dedicated to it.
It would be acceptable to lose the currently running backup; I just want to avoid corrupting the filesystem or the Time Machine state on it so much that I have to reformat.
EDIT: Someone mentioned the "Golden Rule" of always ejecting. This question specifically asks whether this Golden Rule is relevant to Time Machine-managed devices, or whether Apple has gone out of its way to make a Time-machine-managed device immune to the usual problems of unplugging during use.

Golden Rule - eject a drive before disconnecting it.
Even if it doesn't appear to be busy.
999 times out of a thousand, you'd get away with it - it's just that one last time that will completely wreck your file system.


Save as PDF from Word makes pixelated PDF in Acrobat but not Preview I have a 2 year old MBP. I'm using Word 2008 and if I create a PDF using Save As... or  Print > PDF, the resulting PDF will look fantastic when viewed with Preview. However, if I open the same document in Acrobat it looks heavily pixelated.

Is there any explanation for why this is happening? Or how it can be fixed?
Thx!

See attached photos

The first screenshot is from Preview and the second is from Acrobat.

Well, OS X has built in font-rendering that Preview uses, which tends to look pretty great.

Adobe Acrobat must be using their own custom software to render fonts that isn't as good.  Unfortunately, it is up to Adobe to fix their font rendering.  You might want to look for an Acrobat setting that enables anti-aliasing which might help.


Can thief use locked MacBook Air? My MacBook air was stolen from my apartment a few days ago. I got the address on the find my iPhone app, but then it said that the MacBook was locked, requiring a code. I didn't lock my MacBook from find my iPhone, and when I spoke to the Apple store they told me that it was probably locked because of the thief entering the wrong password too many times.

My question is: can the thief still use my MacBook? Can they delete the HD when it's locked and when I have a password on it?

If you set a firmware password (which isn't set by default) and you used FileVault to encrypt the disk (also not the default), then the thief probably can't do anything with it. Without the firmware password, they can boot from USB, repartition the drive and do a new clean OS X install. Without FileVault they can remove the drive and mount it elsewhere, and then access your data. I'm afraid that just locking the screen is not enough.


How can I change the SMB server address my Music files are on? I store my iTunes library (now Music.app) on a Samba server. The server's DNS name has changed, but the volume/share name has not. The share is called Media and is mounted at /Volumes/Media
However, I am unable to sync my iPhone or play music in Music.app because it somehow still tried to connect to the old DNS name, even though from what I can tell the path names coded in the library don't contain the Samba server name. However when i try to sync my iPhone I get a message

*There was a problem connecting to the server "old.server.dns.name"

This happens even if I first use Go > Connect to server... in the finder and connect to the server, so my music is available at the desired path /Volumes/Media/music...
I don't want to delete my library and re-import because I'll lose all my star ratings and play counts.
How can I resolve this? How can I update the Samba server path for the music in my Music.app library?

Oddly enough it is both more complicated and easier than it seems. Why? Because Apple wants you to do it their way, work-arounds sometimes fail and this is one of those times.
So, don't remove the iTunes library just reset it to default (inside Preferences > Music) mount your drive and then select the new location.
That should do it.


MagSafe LED sometimes won't light up I have a Mid 2014 MacBook Pro with Retina Display. As of a week ago, occasionally when I plugged in the MagSafe Adapter, the LED doesn't light up. The problem is fixed by unplugging the power adapter from the MacBook and plugging it back in.

Should I worry with this? Is it an indicator for something wrong?

Last time I remember with my previous MBP, I had the same issue and it was getting worse, and then the logic board died.

This issue can often be caused by debris in the MagSafe port, I sometimes get small metallic particles, attracted there by the magnet. If this is the case, brushing the port with a dry cotton swab can fix the problem ( see here: https://support.apple.com/en-gb/HT203207)


Dock Icon Show Desktop Is it possible to create a dock icon that shows the desktop?

Ideally I'm looking for 10.5.6 support and up.

You could create an AppleScript to minimise all windows and then pin it in your dock. An example of a script that minimises all windows can be found here:

Create a new Automator application that executes an AppleScript

Export this to save it as an app somewhere (File > Export)
Add the exported application to your dock
The first time the application runs, it will request the ability to control your computer, you need to allow it so that it can minimise apps.

You can optionally set a nice icon for this application, by selecting it and pressing cmd+i to open the info window and then pasting your custom icon over the current icon:


Gmail Exchange accounts Cannot Get Mail, server connection failed, on new device I have an iPhone 4s and an iPad 2. The 4s runs iOS 7, the iPad 2 runs iOS 9.3. On both devices, I have two Gmail accounts (one is straight gmail, one is a business domain), configured as Exchange accounts rather than Google accounts so new emails are pushed, not fetched.

Now, I just got an iPhone SE, restored from a backup of the 4s (and by the way on Cricket when the 4s was AT&T, but doubt that matters as my problem exists on WiFi too). Everything works on the new iPhone SE except the Gmail accounts no longer can get mail or connect to the server. They still work on the iPad. I know at first Gmail blocked my new phone thinking somebody else had gotten my password but I told it that that was me logging in and I can use both accounts as regular Google accounts or signing in directly with Safari. But I don't want email fetched, I want it pushed like o the iPad and the old phone.

I have tried deleting the accounts and re-adding them, and in the Accounts preferences area it seems to successfully connect and doesn't tell me that I have the wrong password unless I actually have the wrong password. But in Mail it just cannot connect to the server and I'm at a loss.

Does anybody have an idea of the cause and how to fix this?

I discovered the answer. It turns out Google disabled Exchange for new logins on iOS unless you have a paid business account. So for now my solution is to have the Gmail app installed so I get live notifications and use the default mail app to organize or write email.


Adding MP3s to iTunes 10 doesn't work for some files I have recently upgraded to iTunes 10. I had some MP3 files which I would like to add to the library. In the past I have dragged the folder into the iTunes "Library" section which has added all the songs, but this time it only added the last two songs of a ~20 song album. Adding the files individually does not work either, and "File > Add to Library" does the same thing (only adds two of the songs).

Is this a known issue, and is there a workaround?

In many cases, improper tagging causes the files to go weird places. I suggest you create a smart playlist that shows you “new added” stuff:

I usually have the same problem with mp3 with dubious tagging.


How to (easily) open links received on iPhone in an iPad I would like to open a link (received from iPhone WhatsApp) in my iPad.  If both devices are on the same wifi network, is there a mechanism that allows the iPad to open the link without retyping said link?   Ideally this would be done without typing characters.

I realize that I could share the link out through eMail to the iPad, however, I was hoping for something simpler like Airdrop

Yes you can absolutely airdrop them from the share menu of both WhatsApp and Safari. It appears in WhatsApp if you hold on the message, not link, and tap forward, then you see two options, 1: forward, 2: share. Tap share. Keep the conditions satisfied, Wi-Fi, Bluetooth, visibility in Airdrop. Same iCloud ID is good to have, not necessary.

Also, you can add it to the reading list and then open it on the other device after sync is done and then remove it when you're done reading.

Personal Opinion: I have found  universal clipboard fairly unreliable to use. See support articles on Handoff.


Changing iCloud email I need to change the iCloud email address associated with my iCloud. I can't update any apps. I can't check the current email address as its no longer active. How do I change it?

Open the Settings app on your iPad
Go to the iCloud tab
Scroll down, tap Sign Out.
In your case, tap Delete from my device, then  enter your password.

To get a new iCloud account on your iPad, go to back to the iCloud menu, then sign in by following the setup prompts.


How to browse the iBook store without owning an iPad? I am considering purchasing an iPad and one of the uses would be to read books. But I can't find a way to browse the iBook store and see what books they have available without actually owning an iPad. Is it accessible via iTunes?

Although there is no way to browse the store directly, there is this website which searches the iBookstore for a particular title or author. It also searches the Kindle and Nook stores.

http://www.leatherbound.me/


Safari "Search Tabs" Keyboard Shortcuts The new "Search Tabs" feature of Safari 8 is pretty nice. When "show all tabs" is activated, you can type some text to filter the tabs to the one you want. However, once I have a single tab visible, it would be very nice to be able to activate that tab. This would allow "spotlight" type functionality for tabs.

However, it doesn't seem like there is a keyboard shortcut to activate the tab once I've searched for it, so I'm forced to click the tab with my mouse! This seems like an oversight, I can't believe Apple would add a nice way to filter the tabs, but no way to select one!

Screenshot:

I have tried the following key combinations in an attempt to do this, to no effect:

Command+Return    ...+Space
Option+Return      ...+Space
Control+Return    ...+Space
Command+Shift+\  (The "Show All Tabs" Command on my Macbook)

This leads me to believe that it really is an oversight on Apple's part.

Kludge: Create An Automator Command to Simulate A Mouse Click

I used code that I found at https://discussions.apple.com/thread/3708948 to put together the following AppleScripts:

Attempt 1: Didn't Work
I ran this code in an Applescript wrapped in an Automator Service mapped to "Command+Shift+Option+Control+Space", using the numbers I get from pressing "Command+Control+Shift+4" to get the address for the area (600 pixels horizontal from left, 300 pixels vertical from top), and it would work in normal Safari (pressing the key combination would make the mouse click at that pixel address), but it had no effect when the same key command was run in the "Show All Tabs" mode in Safari!

on run {input, parameters}
    tell application "System Events"
            tell process "Safari"
                click at {600, 300}
            end tell
        end tell

        return input
    end run

Attempt #2: Worked, but Not Feasible

I did get a key command working with the following Applescript wrapped in an Automator Service, but it took 5.125 seconds to complete:(

    on run {input, parameters}

    set x to 600
    set y to 150

    do shell script "
/usr/bin/python <<END
import sys
import time
from Quartz.CoreGraphics import *
def mouseEvent(type, posx, posy):
          theEvent = CGEventCreateMouseEvent(None, type, (posx,posy), kCGMouseButtonLeft)
          CGEventPost(kCGHIDEventTap, theEvent)
def mousemove(posx,posy):
          mouseEvent(kCGEventMouseMoved, posx,posy);
def mouseclick(posx,posy):
          mouseEvent(kCGEventLeftMouseDown, posx,posy);
          mouseEvent(kCGEventLeftMouseUp, posx,posy);
ourEvent = CGEventCreate(None);
currentpos=CGEventGetLocation(ourEvent);             # Save current mouse position
mouseclick(" & x & "," & y & ");
mousemove(int(currentpos.x),int(currentpos.y));      # Restore mouse position
END"
    return input
end run


Some photos aren't displayed when iPhone connected to PC I have an issue where when I connect my iPhone (6S) to my PC via USB in an attempt to transfer photos, only some photos are displayed in the folders.

This isn't to do with the phone being locked (it isn't) or needing to tap  the "Trust this computer" option on the iPhone when it is connected.

Some photos are displayed and I can copy them from the device to my PC, but some, which are clearly displayed in iOS Photos, simply aren't there when I browse the file structure under the (the phone's name) > Internal Storage > DCIM > 100APPLE (etc).

I've tried:

Resetting the iPhone
Restarting the computer
Using a different USB port
Connecting to a different computer

I can also see the photos in question on iCloud and I can download them from there, but the reason I want to get them from the iPhone is that I also want the .AAE files.

After much frustration, Googling and trial-and-error, I came to the conclusion that the photos displayed on my phone weren't actually on my phone, but were instead "optimised versions" of photos stored in iCloud and therefore inaccessible through the file structure when connected to my PC.

(It should be noted that the photos did not appear pixelated or blurry in any way in the Photos app on my phone, but the following solution worked which indicates to me that these were "optimised versions"):

Navigate to Settings > iCloud > Photos on the iPhone
If "Optimise iPhone Storage" is selected, you have solved your problem:  this means that some photos appearing on your phone are in fact stored in iCloud
Select the option "Download and Keep Originals" - this will ensure all photos are actually stored on your phone, meaning they will appear when connected to a PC via USB.

Note: You may find that selecting this option results in a message that your phone lacks the necessary capacity to download originals of all your photos. I had to work in stages, allowing my phone to download the originals which I then copied to my PC and deleted from my phone, creating more space for more originals to be downloaded.


How to change country for iOS news feed? I'm Australian. I live in Spain. I use my iPad running iOS 9 in English (Australian) because that's my mother tongue. But I haven't lived there for 12 years and I care nothing about Australian sports results and celebrity gossip.

On iOS 9, when I swipe on the iPad home screen from the left, I see some news items. They all come from Australian newspapers and are about things happening in Australia.

How can I change the sources for this news feed to more global sources and items?

EDIT: my iTunes account is for the Spain App Store.

I do not know if you found your answer regarding your question but you need to change the settings of your iPad
Settings > Language & Region > Region
To chose the region that you need/want to get the news feeds from.

That should do the trick


Recover Time Machine without the password I'm having a issue with a Time Machine backup made on an external USB drive.
The TM backup is encrypted and I can't remember the password …
Does anybody know a tool to brute force the password ? (I remember the password is about 10 characters and alphanumeric (except for a "!" somewhere).

I'm running Mavericks.

Have a look at libfvde. It doesn't explicitly say it supports Mavericks, but might be worth a try.


Time Machine deleting backups from several months ago (but not the oldest)? During its "Cleanup" phase, Time Machine has recently been deleting backups from several months ago—even though these aren't the oldest backups, and my backup drive isn't full.

My backups go back to January 2012, yet just today, Time Machine deleted backups from May 21, June 11, July 2, and July 23 (all in 2012). And plus, my Time Machine drive still has 200 GB free.

Why's it doing this? Shouldn't it just either delete my backups from January 2012 first (if it needs the space), or just delete the expired backups in the past 24 hours or 30 days (based on its normal rules)?

According to Apple, Time Machine keeps backups

hourly for the current 24 hours
daily for the last month
weekly copy until the disk is full

You may be noticing the system deleting "extraneous days", pruning the weeks' worth of daily backups down to the weekly copy.

As long as you can still view the weekly copies in Time Machine, they are still there.


Disable Bluetooth on Apple keyboards and trackpad I have a Apple Magic Keyboard and Trackpad 2 connected to a MacBook Pro 2014 via USB. If I open up Bluetooth preferences I can still see both of these devices listed.

I'd like to completely disable any Bluetooth communication and use USB as the only communication channel.

How can I achieve this?

If I open up Bluetooth preferences I can still see both of these
  devices listed.

Yes.  These are the Bluetooth devices that you system has remembered.  Just because they are listed doesn't mean they are connected.

If you want to remove a device, go into System Preferences -> Bluetooth, then select the device, right (or Option) click it, then select
"Remove"

  I'd like to completely disable any Bluetooth communication and use usb
  as the only communication channel.

Turn off Bluetooth and plug in a USB keyboard/trackpad.

You can turn off Bluetooth by going to the same screen and clicking the button "Turn Bluetooth Off"

As for the keyboard and track pad, they are both Bluetooth 4.2 LE (Low Energy) devices.  This means they don't transmit anything unless they are paired (or pairing) with another device.  They sit in "listen mode" until it receives the signal to being broadcasting.  Basically, there's nothing to turn off.


Figure out which command is bound to a keyboard shortcut in TextMate I have a shortcut key conflict between TextMate and LaunchBar. I use ⌘+⌥+\ to call up LaunchBar's clipboard history. And it works great everywhere except in TextMate, which has this combination bound to some Bundle action.

I'd like to unbind this combination in TextMate so I can get to LaunchBar's clipboard history view when I'm in TextMate and pull things off the stack.

I checked under the Bundles menu for an option that would show me all Bundle commands bound to a particular key combination but couldn't find anything. Short of searching through every single command, or looking at the Bundles -> Select Bundle Item... list, is there any way to figure this out?

I figured it out!

The key was using the Bundles -> Select Bundle Item... (^+⌘+T) dialog box. When the box options, in the search field at the top of the dialog box, click the down arrow on the magnifying glass and change the search type from "Item title" to "Key equivalent".

Now you can press the ⌘+⌥+\ key combination and the list will filter to show you the commands bound to that combination:


I can't get calendar.app from the iOS app store I can't download / get calendar app from the iOS app store. I just updated to iOS10 and when I finished I noticed that something was missing in my home screen. I took me a while to realize that I lost my calendar app.

When I tried to get it from the app store I just couldn't. I can push the "get" button that transform into a install button. When I tried to push install I just can't. I can get any other apps from the app store. Buy or just get it.

Is this a normal behavior?

Thanks!

Try to restart your device whit:

On an iPhone 7 or iPhone 7 Plus: Press and hold both the Sleep/Wake and Volume Down buttons for at least ten seconds, until you see the Apple logo.
On an iPhone 6s and earlier, iPad, or iPod touch: Press and hold both the Sleep/Wake and Home buttons for at least ten seconds, until you see the Apple logo.

If the problem persists, make sure you make all system updates.

Try an alternative to load a Backup of your device from iTunes to restore the calendar App.


Is there any way to make my iPhone sync calendars with iCloud periodically? I have an iPhone and an iPad, both with iOS 6.1. I use iCloud for calendar syncing between them and my Mac. For whatever reason, the iOS devices don’t sync calendars with iCloud unless and until I open the Calendar app on the device. Is there any way to change this behavior so that iOS checks for calendar changes without my intervention?

(This is very annoying for two reasons: I set alarms on events frequently, but each time I do this on my computer I have to remember to launch Calendar on my phone or else it won’t know about the new event and it won’t remind me. Moreover, I don’t even use Calendar—I use Fantastical on the phone and Calvetica on the iPad—so it’s out of my way even to launch the Calendar app.)

Navigate to: Settings > Mail, Contacts, Calendars > Fetch New Data

And set:

Push = ON
Fetch = (as often as you like)

Move to Advanced, and set iCloud to Push


How can I find the macOS version codename? I want to find the codename of my version of OS X / macOS.
E.g. Lion, Leopard, Mavericks, etc.
If I click the Apple symbol, then "About This Mac", I only get the version number.
Where can I find the Big Cat or California Location marketing codename?

The version number is the correct thing to report when you have issues. You should also include the subversion.
The marketing names are from macOS - Wikipedia article, up to and including macOS Catalina.
╔════════════════════════════╦════════════════════╗
║          Version           ║      Codename      ║
╠════════════════════════════╬════════════════════╣
║ Rhapsody Developer Release ║ Grail1Z4 / Titan1U ║
║ Mac OS X Server 1.0        ║ Hera               ║
║ Mac OS X Developer Preview ║                    ║
║ Public Beta                ║ Kodiak             ║
║ Mac OS X 10.0              ║ Cheetah            ║
║ Mac OS X 10.1              ║ Puma               ║
║ Mac OS X 10.2              ║ Jaguar             ║
║ Mac OS X 10.3              ║ Panther            ║
║ Mac OS X 10.4              ║ Tiger              ║
║ Mac OS X 10.5              ║ Leopard            ║
║ Mac OS X 10.6              ║ Snow Leopard       ║
║ Mac OS X 10.7              ║ Lion               ║
║ OS X 10.8                  ║ Mountain Lion      ║
║ OS X 10.9                  ║ Mavericks          ║
║ OS X 10.10                 ║ Yosemite           ║
║ OS X 10.11                 ║ El Capitan         ║
║ macOS 10.12                ║ Sierra             ║
║ macOS 10.13                ║ High Sierra        ║
║ macOS 10.14                ║ Mojave             ║
║ macOS 10.15                ║ Catalina           ║
║ macOS 11.0                 ║ Big Sur            ║
╚════════════════════════════╩════════════════════╝


Help me navigate the dongle/dock situation please! Greetings!

I was recently issued a 2017 15' MBP for work, and I want to purchase accessories such that I can hook-up my home workspace to it. I thought I had the situation figured out, but as I hovered on the "checkout" button on amazon, I found a review stating my use case would not work.

The setup:
My home workspace consists of two Dell U2417H monitors. They are each currently hooked up via DP -> Mini DP to my 2015 MBP (personal). They support HDMI.
The ask:
Without making my monitors incompatible with my 2015, I would like to be able to use one USB-C connection on my 2017 to drive both 1080P displays and charge.
The failed idea:
I figured I could use the HDMI ports on my Dell monitors, hook them up to a dongle/dock and be done with it. But I can't seem to find any dongle with two HDMI outs. I found the Dell WD15 had one HDMI and one Mini DP, but evidently even using a HDMI -> mini DP and HDMI -> HDMI connectors I would only be able to mirror the two external displays.

What is the solution here? Two docks/docks seems inevitable. Do you have recommendations?
Thank You,
Salomon

You will need an external GPU driven by thunderbolt 3 if you want to output two HDMI signals from one usb-c port. (Something like this https://www.amazon.com/gp/aw/d/B075RTTFDJ/ref=mp_s_a_1_9?ie=UTF8&qid=1512722145&sr=8-9&pi=AC_SX236_SY340_QL65&keywords=external+gpu+thunderbolt+3)

If you just want to have a mirror from one to another, I think you can just use some HDMI doubler but I Donny think you will keep the same image quality (https://www.amazon.com/gp/aw/s/ref=is_s?k=hdmi+doubler)

The best, easiest, and cheaper way to do what you want is just to use two ports as HDMI output on your Mac.


How do I find out what computers I have authorized? I just authorized iTunes against a laptop and I was expecting it to be my third of five computers authorized on my iTunes account. But iTunes said it was the fourth.

How do I find out what machines are authorized against my account?

The question asks about computer Authorization. But some of the answers here confuse Authorization with Association. I'd like to clarify the terms first, using Apple's own definitions, then answer the question.
Authorization

Authorization refers to computers only. Authorizing a computer allows you to play media purchased from the iTunes Store with a specific Apple ID. In order to use apps, audiobooks, books, DRM-protected music, and movies on a computer it must be Authorized. Each Apple ID can authorize a maximum of 5 computers.
You can deauthorize each computer individually. If you've forgotten which computers you have authorized in the past, there is not a way to list all authorized computers. Apple only tells you the number that are authorized. However, once a year you can Deauthorize All computers from within your iTunes Store account settings.
More information about Authorization can be found in this Apple Tech Note.

Association

Association allows you to download past iTunes purchases onto a different device. Apple calls this iTunes in the Cloud. In addition, association allows the use of Apple features such as iTunes Match and Automatic Downloads.
You can associate up to 10 devices with each Apple ID. By device Apple means an iOS gadget or an authorized computer. (Since every associated computer must also be authorized that limits you to 5 associated computers for these features.) So you can associate one computer and 9 other devices, or 5 computers and 5 other devices, but not 9 computers and 1 other device. You're limited to 5 computers.
There is a list of associated devices which can be found in the Account section if iTunes Store.
For more information on Association see this Apple Tech Note

So the only way to determine which computers are authorized is by trial and error: Deauthorize each computer you own in turn using Store > Deauthorize This Computer… within iTunes.
If after doing this the iTunes Store still says you have authorized computers, you only have one option: Use the Deauthorize All feature of iTunes Store, and then reauthorize the computers you own. But keep in mind, Apple only allows you to Deauthorize All once every twelve months.
Special note about about Association and Android phones.
Using Apple's own definition from the Support site.
You can't view a list of your associated devices or remove any of your associated devices using an Android phone, but Android phones do count against your ten-device limit.
More information about Authorization and Association can be found on the View and remove your associated devices in iTunes page.


Where does homebrew log? Does homebrew keep logs, and if so where?

I did a brew update which broke python support in macvim, and now I can't even get macvim to build. I'm hoping that there are some clues in the log.

~/Library/Logs/Homebrew/

Homebrew creates log files in your Library folder at: ~/Library/Logs/Homebrew/

You can view the log files by holding down Option and using the Finder menu item: Go > Library, then navigating to Logs > Homebrew.

Alternatively, you can use the Console.app application to browse to the log files.

Homebrew History

The default creation of individual log files was added during 2013 to Homebrew.

Homebrew issue #10430 talks about logging and build errors. The issue report mentions no log file is kept but explains that a log can be created with the command format:

brew install <formula> 2>&1 | tee install.log


Is there any way to run Network Link Condition from a Standard User account? There is a known issue in Network Link Conditioner where if you install it in the normal way (Xcode > Open Developer Tool > More Developer Tools > Install Hardware Tools) it will run from an Admin account but crash in a Standard account.

For increased security, I develop from a Standard account. Is there any way to run Network Link Condition from my standard account without switching to the Admin account?

Related questions:

Why is the Network Link Conditioner preference pane crashing as soon as I turn it on?
Network Link Conditioner not working

You can start the System Preferences.app as Admin and from that use the Network Link Conditioner.prefpane.
To do so use the following shell command:
sudo /Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences

or the following AppleScript command:
do shell script "/Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences" with administrator privileges

When I click on the Network Link Conditioner in the window that is opened after the password is given, I get a message that System Preferences needs to be restartet to open the PrefPane. After agreeing to this the Network Link Conditioner is working for me while I'm logged in as normal (non-admin) user in 10.10.
In macOS Big Sur, the command is
sudo /System/Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences