LSOpenURLsWithRole() failed with error -10810 Can't open 'Install OS X Yosemite.app' I'm trying to install OS X Yosemite through 'Install OS X Yosemite.app' downloaded from the Internet. When I try to open it by double clicking it, nothing happens. When I use the terminal I get the following message:

$ open /Applications/Install\ OS\ X\ Yosemite.app/
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Install OS X Yosemite.app.

That would seem to imply the executable within the package isn't actually executable.

Where did you get it from?
If not Apple, I'd leave it well alone. If it was from Apple, try this in Terminal

chmod +x /Applications/Install\ OS\ X\ Yosemite.app/Contents/MacOS/InstallAssistant


Why does Disk Utility show one "Macintosh HD" as a logical drive and another that says core storage physical volume I am trying to figure out why I have 2 Macintosh HD Drives Appearing in disk utility.
One of them i can mount and shows it as being a logical drive and the second one i can't mount but it says it has no disk errors. also shows it as being a core storage physical drive, and has the same amount of gibbets as the other but has no data on it. please help

[Edited to reflect screen shots]

Technically that is 1 Hard Drive and 4 partitions (see how they are all indented from the drive they are in).

It looks like someone enabled showing all volume types in your Disk utility so it's showing you things not normally shown in the GUI.

OS X has something like LVM so you are seeing the Logical Volume (LV) and the CoreStorage (PV) both shown as partitions in Disk Utility. LVM provides many advantages over using a regular partition none of which are assessable in the OS X GUI, but you can read more about it on that link if you are interested. In Linux disks, logical volums, etc are labeled different from eachother but on OS X a disk can be /dev/disk0 and a LV can be /dev/disk1 which can be confusing because they are different in many ways.

Normaly you can only see the partitions that don't directly contain data by  opening Terminal.app running diskutil list.

So you may want to disable that setting to put the GUI back to it's simple defaults.


The SUM function in Numbers 3.6.1 on my Mac OS X10.10.5 isn't calculating correctly. Why? You can see in the attached screenshot that I have used the SUM function to add the values in column E. There are several "1" values (you can see one in cell E126) but the SUM always comes out at "0". Why is this?
To create this spreadsheet, I duplicated a Numbers spreadsheet in which I used "x" to denote a positive value (presence of different types of bees), then I used Find and Replace to change each "x" to "1" in this spreadsheet so I could use Numbers to compute a sum for each column. Would this find-and-replace maneuver make the values unable to be counted by the SUM function? How can I get Numbers to return a correct SUM for each column?

If the cells are in text format, they won't be counted. Check they are a number format cell first.

EDIT
I have tried it myself, when you find and replace, the cell is not automatically updated to a number cell. If you manually type in the number 1, it automatically gets changed to a number format.


Mac Book Pro crashing I have a Mac Book Pro (late 2008, unibody design). Recently I replaced the HD with a crucial SSD and added more RAM (2x 4GB instead of 2x 2GB). I also installed Mac OSX Lion on it. It worked fine for a few days but then started to crash. Either the screen froze or the OSX Kernel panic dialog showed up telling me to reboot.

I looked at the crash reports but have no idea what exactly is causing the crash (seems the look different every time) Here is the last one, I can post all of them if that helps.

Mon Aug  1 16:01:16 2011
panic(cpu 0 caller 0xffffff80002c268d): Kernel trap at 0xffffff80002a9ea2, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000118, CR3: 0x0000000044c71000, CR4: 0x0000000000000660
RAX: 0xffff7f8111e64000, RBX: 0xffffff800df9f540, RCX: 0xfffeffffffffffff, RDX: 0xffffff800df9f558
RSP: 0xffffff8111e2b4f0, RBP: 0xffffff8111e2b570, RSI: 0x0000000000000000, RDI: 0x000000000000982a
R8:  0xffffff80ccf90000, R9:  0x0000000000000000, R10: 0x000000000000ecca, R11: 0x0000000000000dc9
R12: 0x00000000000000e0, R13: 0x0000000000000ff8, R14: 0xffffff800df9f540, R15: 0xffffff8111e64000
RFL: 0x0000000000010202, RIP: 0xffffff80002a9ea2, CS:  0x0000000000000008, SS:  0x0000000000000000
CR2: 0x0000000000000118, Error code: 0x0000000000000000, Faulting CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff8111e2b1b0 : 0xffffff8000220702
0xffffff8111e2b230 : 0xffffff80002c268d
0xffffff8111e2b3d0 : 0xffffff80002d7a3d
0xffffff8111e2b3f0 : 0xffffff80002a9ea2
0xffffff8111e2b570 : 0xffffff800027f60d
0xffffff8111e2b5d0 : 0xffffff8000273add
0xffffff8111e2b6c0 : 0xffffff800027487a
0xffffff8111e2b6f0 : 0xffffff800026e7c2
0xffffff8111e2b720 : 0xffffff80002261e2
0xffffff8111e2b740 : 0xffffff800022643d
0xffffff8111e2b00 : 0xf`fff8000

I have no warranty anymore but would be glad if there is a way to figure out what's causing the crash and get it repaired for a reasonable price. Should I just hand it over to the next Apple store and ask them to repair it?

Since I note that it sometimes beeps three times when turning on (and then it doesn't boot) I assumed that one of the (newly bought!!) RAMs is faulty. Having two of them I removed the first and booted again. After a few minutes it crashed. I therefore assume that the first one is fault. I exchanged the RAM modules and run it now with the other one for almost an hour. No problems so far..


Initiate login from Terminal? Is it possible to login to another account from Terminal? I don't mean having a shell prompt as that user; I mean as if I went to the account switcher menu and changed using that.

Show the login screen (without logging out):

/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend

Switch current user (replace 501 with the correct UID):

/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -switchToUserID 501

(found at http://www.chipwreck.de/blog/2008/01/26/fast-user-switching-via-commandline/.)


Uninstall multiple versions of Adobe Bridge After installing Photoshop CS6 extended yesterday, I noticed that I have multiple versions of Adobe Photoshop and related programs (like Adobe Bridge), and they take up a lot of space.

I don't really use Adobe Bridge, but I have CS3 (came with Photoshop CS3 extended), CS4 (came with Photoshop Elements 8) and CS6 on my mac, is it safe to remove the older two versions and just keep Adobe Bridge CS6 without affecting the functionality of Photoshop CS3 and Elements 8?

What's the best way to do a clean uninstall of the programs?

Thanks.

Adobe has a cleaning tool that helps. If I remember correctly, put the old apps in the can, then run the tool, then delete the trash. If that doesn't work, read the cleaning tool instructions :)


MacBook Pro immediately shuts down when disconnected from charger, auto starts when opening MacBook, even after shutdown I am running macOS 10.14.6 on a late 2013 MacBook Pro.  The system immediately shuts down when the charger is unplugged.  Oddly, even after intentionally shutting down the computer, it auto-starts when I open the lid.

I reset the PRAM and SMC, which didn't help.

This began several weeks ago when the system shut down for no apparent reason.  When I restarted, the system date was way off.  I reset it to auto detect the date. I could still operate under battery power, but it would shut down long before the battery was drained.

Now it will not operate on the battery at all.  After this random shutdown the battery condition was displaying Replace Soon. Now it displays Replace Now.  Cycle count is 194.  System information shows that the battery is not charging, even though plugged in.  For several months now I have noticed that the case will sometimes get very hot to the touch above the keyboard at times.  I installed Macs Fan Control and verified both fans are working properly.

How can I resolve this problem?

Your battery is old even if it still has a low cycle count. You might even have a battery that has been damaged in production. In all cases you should not continue using your MacBook in this condition. The battery could start producing gases, inflating and destroy it in the process.


How to recover from a forgotten password for MacBook Pro? I've forgotten the password for my MacBook Pro, which uses OS X 10.9.1. How can I reset my password?

Recovery HD

The simplest way may be to use the Recovery HD, but this won't work if you have FileVault enabled.

Boot into the Recovery HD (hold ⌥ alt/option at boot and select the Recovery HD).
Once it has booted, click Utilities, then Terminal.
Type resetpassword then ↩ enter.
Follow the instructions.

Restarting Setup Assistant

In addition to using the Recovery HD, you can also restart the Setup Assistant, create a new Administrator account, then use that account to reset the password to the original account. This process will work if you have FileVault enabled, although you'll have to unlock your drive first before mounting.

You can restart the Setup Assistant by performing the following:

Boot into Single User Mode (hold ⌘ cmd + S at boot).
Mount the drive by typing /sbin/mount -uw / then ↩ enter.
Remove the Apple Setup Done file by typing rm /var/db/.AppleSetupDone then ↩ enter.
Reboot by typing reboot then ↩ enter.
Continue setup, making sure not to transfer data.
Setup a new administrator account. You can use this account to reset the password to the original account (through System Preferences → Users & Groups).

The new account can then be deleted once the original account has been recovered.


Error message from calendar program When I log into my computer I get this message from my calendar program:

The server responded with an error.
The request for account "iCloud "failed.
The server responded with "412" to operation
CalDAVCalendarSplitDualTypeCalendarQueueableOPeration.

What does this mean and how do I fix it?

I just got off the phone with support and now it's fixed. This is what we did:

System Preferences - > Internet Accounts
Select the iCloud account.
Uncheck "Calendars"
Open a Finder Window.
Go to the ~/Library folder. (He had me click on the Go menu and press the Option key in order to display the Library and then go to it from there.)
Copy ~/Library/Calendars onto the desktop, then delete the on the one in the ~/Library folder.
Restart.
System Preferences - > Internet Accounts
Select the iCloud account.
Check "Calendars"
Open the Calendars app. Wait for all the calendars and events to reload from the cloud.

That's it. Test by trying to make or edit events. If all is well, delete the back-up.


Share iCloud Family Calendar with Outlook My wife and I use the iCloud shared Family calendar for scheduling family events. I would like to be able to view this calendar from my work Outlook account. Is there some way to share the calendar with non-Apple calendar applications?

First, I am assuming by "Outlook" you mean the Outlook email client application and not an @outlook.com email account. In other words, your work computer uses the Exchange/Outlook system for emails, calendar, and so on.

If so - and assuming your IT department would permit this - you could try the iCloud Control Panel on your work computer. This add-in for Outlook will sync the Outlook email app with your iCloud email, calendar, and contacts - including your Family Calendar.

Instructions can be found on Apple's website. Good luck!


How to repair time machine after it loses its history I'm running Mavericks 10.9.4 on a MacBook Pro. I do time machine backups regularly to a Synology NAS (behind a Fritz Box router).
This worked well all the time. The last backup has been made last Thursday before I went into weekend.

Today I suddenly got the message that my backup is 230 days old, so I started to investigate, since this can't be.
TM says, first and last backup are from February 3rd 2014.
When I mount TM I also only get this choice to restore data from, so I aborted.

Looking at the logs from today I get the following kernel and backupd related lines: https://gist.github.com/kassi/f5c3e379d8af21f71415

Interesting parts in the log (in the gist)

Sep 21 22:08:39: it starts a typical backup (somehow 360 MB require 2.97 GB)
Sep 21 22:19:13: post-backup thinning reports several lines

of the following

Sep 21 22:19:13 hamal.fritz.box com.apple.backupd[2349]: Error: Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn’t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) deleting backup: /Volumes/Time Machine-Backups/Backups.backupdb/hamal/2014-09-21-220952.inProgress/6567A66B-EB3A-45DF-BEBF-EFD8C8D90AD5

Sep 21 22:20:56: it deletes some older backups (why? no hint given)
Sep 21 22:23:55: same error for basically every backup I'm missing

like the following

Sep 21 22:23:55 hamal.fritz.box com.apple.backupd[2349]: Error: (20) getxattr for key:com.apple.backupd.SnapshotContainer path:/Volumes/Time Machine- Backups/Backups.backupdb/hamal/2014-08-31-103145
Sep 21 22:23:55 hamal kernel[0]: disk4s2: 0xc014 (UNDEFINED).

Sep 21 23:05:59: several errors

of the following

Sep 21 23:04:02 hamal.fritz.box backupd[349]: Property list invalid for format: 200 (property lists cannot contain NULL)

Backup volume

The backup volume looks fine. No error reports and it's not full:

Sheratan> df -h /volume1/Time\ Backup/
Filesystem                Size      Used Available Use% Mounted on
/dev/vg1000/lv            3.6T    708.2G      2.9T  19% /volume1

On the web

I found this thread: Time Machine fails related to "Property list invalid for format: 200 (property lists cannot contain NULL)" and added some irrelevant path to my exclude list, but without any difference.

Does someone have an ides what might go wrong when following the hints in https://discussions.apple.com/thread/5087920?start=0&tstart=0?

Any clue what went wrong here and how to get my backup history back into TM?

Thx

Had a similar issue, but I didn't have a backup of the plist file to replace, so I did the following to recreate the SnapshotDates array:
Removed the last couple backups (in Finder; was unable to do it in Terminal likely due to system protection enabled). Then opened terminal and executed the following:
$ cd /Volumes/[Backup Volume]/Backups.backupdb/[hostname]
$ for x in `ls`; do echo -n $x | sed -E "s/^([0-9]+-[0-9]{2}-[0-9]{2})-([0-9]{2})([0-9]{2})([0-9]{2})/<date>\1T\2:\3:\4Z<\/date>/"; done

That outputs all the snapshots in <date>....</date> format; I copied those, then in com.apple.TimeMachine.prefs, found the appropriate backup volume under the Destinations element, and overwrote the contents of the SnapshotDates array (not the <key>SnapshotDates</key>, but everything inside the following <array>...</array> tags) with the copied lines.
Fixed indentation of the elements to match, and saved the file.
I haven't completed a new backup yet, I'm still waiting for the corrupt backups to finish getting deleted, but the date ranges of the existing backups now show properly.


is there any way to adjust the brightness of the Apple Cinema Display in 10.11 (El Capitan)? I saw the answer for 10.10 and 10.9.  Sadly I just jumped from 10.8 to 10.11 and discovered that my beautiful and perfectly well-functioning (last night) display is not kaput (too dark). Can it be made to work in 10.11 or do I have to find a copy of 10.9 or 10.10 somewhere and try to revert to that?  I did backup my mac before the upgrade, but still.  ARGH!!!!

Just found a simple way to do this that I already had available to me (simple for me, maybe or maybe not for others).  My mac mini is set up as a triple boot (Windows, 10.6, 10.11 [was 10.8 until last night]).  I have some programs that I still use that only work through 10.6 and some others times I need the newer 10.8 (and just got a newer iPhone and it needed a newer version of iTunes to allow backup which is what got me going on changing to 10.11 anyhow).  Anyway, setting the brightness in 10.6 and then rebooting into 10.11 works.  Obviously, not great if you have to quickly make it dimmer, but this solution is the best for me.  I think there is plenty out there on how to make a dual-boot mac setup (the triple boot with windows was a tremendous headache and I would not recommend it, but I did get it to work finally).


iPhone Manual Carrier Selection I have a Project Fi data-only SIM in my iPhone 6 (iOS 10). The data-only SIM allows my GSM-only iPhone (bought with an AT&T SIM) to get service from T-Mobile and would let me get service from Sprint (if my iPhone had CDMA band support.

When I put the Fi SIM card in, the Settings app got a new row called 'Cellular'. In the Cellular menu, there is a single toggle labeled 'Automatic' that defaults to off. If I turn off Automatic Carrier Selection, what will I be able to do? Will my iPhone actually be able to access Sprint? What's going on here, and what's the purpose of the Automatic toggle?

Here's an image:

tl;dr: What does the automatic toggle above control and what will happen if I choose a carrier other than Project Fi?

To clarify: Project Fi is a MVNO carrier run by Google that allows Nexus and Pixel phone owners to connect to T-Mobile, Sprint, and US Cellular networks under one pay-as-you-go plan. I have my main Fi sim in a Nexus 6P. The carrier also offers data-only SIMs to pop into a tablet or spare phone to give a secondary device data service to the same three networks. That's the data-only SIM I'm talking about here.

Your phone will not be able to access Sprint or Verizon networks, because it physically lacks the hardware to do so. The GSM radio in your phone cannot communicate with the CDMA signals that Sprint relies on.

Project Fi only works with T-Mobile and Sprint. From the list, we can rule out Verizon, Sprint and 310-830 (Sprint), so our only options are AT&T and T-Mobile. You can try connecting to AT&T if you like, it won't break anything - you'll be informed that you can't register to that network. Therefore, your only option here is T-Mobile (probably represented by Project Fi here). In your case, the Automatic toggle will always connect to T-Mobile because that's the only supported network.

Let's say you could connect to another network on that list, though. Let's say Project Fi supported both T-Mobile and AT&T. Leaving the Automatic toggle on would pick whichever of those networks had a higher signal.

So, to answer your TLDR:

The automatic toggle connects to the network that a) provides the best signal strength, and b) that you're able to use.
It won't work. You'll be given an error, or will receive no signal at all.


Identifying PowerPC applications that will not work on OS X releases beyond Snow Leopard? I understand the issue with migrating away from the Snow Leopard release of OS X to anything newer is that applications compiled for the PowerPC architecture will no longer function.

Is there a way to identify applications that are PowerPC-based without opening each and every application and looking at Activity Monitor? It would be great to know in advance which ones need updating so I can check if they've been recompiled for the x86 architecture.

I don't have a Snow Leopard install handy but this info is available in System Profiler...

Apple Menu > About > More Info

In the resulting app there should be a way to view the installed applications.  In that list there will be a column "Kind" that will state "Intel", "Universal" or "PPC".

Screen shot of how this looks in Mountain Lion: (may look different in Snow Leopard, but idea is the same.)


Image Capture asks for 'iphone to be unlocked' but when unlocked still dosnt work - issue with iOS 10 / OSX 10.8 compatibility ? Ive got a mac mini running osx 10.8.5. To get images from my iphone onto the computer i used to use osx's built in Image Capture application to transfer them across as it allows me to drag and drop file them where ever i want and is light weight and quick (unlike iPhoto / Photos in new versions of the OS).

Ive recently updated my iphone to a iPhone 6s running iOS 10.x (latest). Now when i plug the iphone into the mac mini and launch image capture it says the phone needs to be unlocked, so i input the passcode into the phone, but nothing happens in image capture and im not able to download the images.

Does any one know if this is an incompatibility issue between iOS 10 and OSX 10.8.5 or is something else ?

Just in case any one asks : Why havn't you updated from OSX 10.8.5.. Because if it ain't broke don't fix it. Its a machine used for work and its still super snappy, although if it needs updating to work with iOS 10 i will have to do it, i just don't want to do it un necessarily.

I saw a couple of other posts on this issue where they suggested deleting the plist files for image capture, i tried this but to no avail.

In the end i upgraded from 10.8.5 to 10.10.5 and it seems to have solved the issue. Not sure if its a incompatibility issue between 10.8.5 and iOS10 or rather that image capture was corrupt and upgrading OSX fixed that, but either way issue was resolved.


Find files with the same content in one folder (and all its sub-folders) Say I have a folder named container and there are many files/sub-folders in it. I would like to find all the files with the same content (they can have different names but the content should be the same).

Is there any way I can do this on Mac?

If you're comfortable using the Terminal, you can try rdfind which purpose is precisely to find duplicate files.

You'll need to install it with Homebrew first: brew install rdfind

Then, let's say you want to run a dry test on your ~/Download folder:

rdfind -n true -outputname result.log ~/Downloads/

-n true is for dry mode: no files will be affected
-outputname result.log will output the scanning into that file
~/Downloads/ is the argument of the root folder you want to scan
(you can pass more than one folder)

Running that command will look something like that:

$ rdfind -n true -outputname result.log ~/Downloads/
(DRYRUN MODE) Now scanning "/Users/ym/Downloads", found 20132 files.
(DRYRUN MODE) Now have 20132 files in total.
(DRYRUN MODE) Removed 0 files due to nonunique device and inode.
(DRYRUN MODE) Now removing files with zero size from list...removed 75 files
(DRYRUN MODE) Total size is 59782752628 bytes or 56 GiB
(DRYRUN MODE) Now sorting on size:removed 3795 files due to unique sizes from list.16262 files left.
(DRYRUN MODE) Now eliminating candidates based on first bytes:removed 579 files from list.15683 files left.
(DRYRUN MODE) Now eliminating candidates based on last bytes:removed 134 files from list.15549 files left.
(DRYRUN MODE) Now eliminating candidates based on md5 checksum:removed 94 files from list.15455 files left.
(DRYRUN MODE) It seems like you have 15455 files that are not unique
(DRYRUN MODE) Totally, 324 MiB can be reduced.
(DRYRUN MODE) Now making results file result.log

Or, you can use an application with a graphical interface like dupeguru:


How many displays can I plug into MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports) In the MacBook technical specifications documentation, I read that it supports up to 2 monitors (or 1, it depends on display parameters).

On Apple’s Thunderbolt 3  page, I read the same info but about a single Thunderbolt 3 port (of which I have 2).

What is the number of monitors I can connect to my MacBook Pro?

You can plug in a maximum of two monitors

The technical specifications gives you detailed info about what your specific model’s capabilities are.  In this case, your model MacBook - 2017 13 inch MacBook Pro - has enough bandwidth to support two monitors at 4K or less or just one monitor at 5K.

The Thunderbolt information page gives you a generalized perspective of Thunderbolt’s capabilities.


Install Windows7 into Bootcamp (using mid-2011 iMac) I am having a hard time getting Windows 7 to install on my iMac 2011. Any help would be most appreciated.
There seems to be a lot of different ways to get this to work depending on various system specs etc so I am getting confused trying to get the correct method to work on my particular machine.

My iMac specs:
21.5inch mid 2001, macOS High Sierra, Bootcamp version 6.1.0,
and a brand new 16gb blank USB Stick (formatted to MS-DOS Fat using Disk Utility erase feature, blank DVD-RW)

Here is what I have tried so far:

Method 1

Downloaded ISO Windows 7 Pro file
Formatted MS-DOS FAT 16GB 2.0 USB Stick using Disk Utility
Inserted blank DVD
Right click ISO file > Open With > DiskImageMounter
Disk Utility > Right click mounted iso file
File > New Image > Format > DVD/CD Master > Save file
Rename new file from .cdr to .iso
Right click > Open With > DiskImageMounter
Run Bootcamp (both boxes checked)
-- Download latest Windows support software
-- Install Windows 7

Bootcamp gives me this message:

The installer disc could not be found.
Insert your Windows installer disc and wait a few seconds for the disc to be recognized.

Method 2

Downloaded ISO Windows 7 Pro file
Formatted MS-DOS FAT 16GB 2.0 USB Stick using Disk Utility
Inserted blank DVD
Right click ISO file > Open With > DiskImageMounter
Disk Utility > Right click mounted iso file
File > New Image > Format > DVD/CD Master > Save file
Keep file as .cdr
Right click > Open With > DiskImageMounter
Run Bootcamp (both boxes checked)
-- Download latest Windows support software
-- Install Windows 7

Bootcamp gives me this message:

The installer disc could not be found. Insert your Windows installer disc and wait a few seconds for the disc to be recognized.

You have not burned the Windows 7 ISO file to the DVD-RW. For example, I have the Windows 7 ISO file named English_Windows_7_Professional_SP1_W64_X17-59186.iso. To burn to a DVD-RW, I would need to right click on the file in the Finder application and select Burn Disk Image "English_Windows_7_Professional_SP1_W64_X17-59186.iso" to Disk..., as shown below.

  Note: The Windows 7 ISO is required to include Service Pack 1 (SP1). See the website, Install Windows 7 on your Mac using Boot Camp, for more information.

Just so you know, 64 bit Windows 10 runs great on your model Mac. I know this to be true because I also have a iMac (21.5-inch, Mid 2011).


How can I reactivate the fn + arrow buttons that changed in Safari 5.1? Safari 5.1 (Snow Leopard) seems to have disabled the combination of fn + arrow buttons for navigation (page up, page down, top, bottom). I know the same can be achieved with option + top, down and command + top, down, respectively but I find it rather impractical to use.

Are there any tips already how to reactivate this or do I even have to fear that fn + arrow behaviour has been completely dropped in Lion?

Edit: Added Lion explicitly to the tags since they seemed to have dropped the Home and End behaviour of fn + arrow there as well in many applications.

I've noticed that home/end/pgup/pgdown aren't working on my main user account but if I create a new user and log in as them, they all work as expected.  So I figure it's a snipe hunt for some preference/library/plugin manager that is doing horrible things to Safari.  I already purged SIMBL but it doesn't look like it helped.

(edited to add) I poked around some more and I guess I made some changes to my default key bindings at some point - I removed ~/Library/KeyBindings/DefaultKeyBinding.dict and now PgUp/PgDown/Home/End all work as I expect in a browser, although now I'm stuck with emacs navigation inside of editboxes.  I can manage.


Clean MacOS system (clean terminal) I hope everyone is safe.

I tried to install an Apache version using brew yesterday on my MacOS Catalina, but there were conflicts with the Apache version of the system. After some tries, I deleted files I shouldn't have deleted. Is there a way to reset or reinstall or clean the Terminal, the binaries, and the system to have the factory settings? I already searched a lot but nothing worked for me.

Thanks by advance.

The simplest "whole system repair" is to reboot to Recovery  Cmd ⌘   R  at boot, then just reinstall the entire OS from there.

This will repair the OS, but not remove any data or apps.


How to open console on ipad? Some of my users are sending me bug reports saying my website doesn't work on their device. They send me screenshots and videos of the problem. When I use all the simulators and the devices that I have they all seem to work fine.

So I'll need my user to send me the console log on their device so I can identify the problem.

I've searched online a lot and most of the answers are old and outdated. I guess not a lot of people build for mobile browser anymore. I found a way to use safari and connect to a mac but my user doesn't own any other device. So ipad is the only thing we can use.

Any solutions?

Safari calls this the Web Inspector, so you’ll want to make your support clear by using the terms people will see. These developer tools are awesome for precisely what you seek.

Go to the settings app, Safari, Advanced.

As you can see this is a tethered operation where the data is shown on the desktop Safari. Most developers need to outsource this way and testing if you don’t find a Mac and iPad for testing and QA, but it’s entirely possible your users will help you to this level. It’s hard to be the developer and the tester since you know how you intended to use the app and can’t conceive of breaking it like someone who doesn’t know it uses the page in my experience. Also, timing delays and sketchy networks are hard to simulate in practice even when you enable the Network Link Conditioner on your simulator and devices for testing.


Create multiple bookmarks on iPad/iPhone home screen at once I have a list of about 10 bookmarks I want to create as iOS home screen icons. Are there quick ways to do this?

And is there a way to edit them once they're created?

I would nope and nope, at least without jailbreaking.

You can only create bookmark one by one and name them as you want.

Once they are created, the only way to rename them is to create a new one and delete the old one.

Jailbreaking allows to rename any apps, so I think web apps, too. I'm not sure about editing home screen web apps.


What is a good HFS+ NAS or network HDD I am wondering what would be a good, if any, NAS i can find with HFS+. My reason for wanting this is that I need the metainformation in the files to stay intact as I am dealing with a lot of OpenMeta tags.

For me this can be any NAS or "external HDD with network connection".

The question has been raised here (Which NAS for Mac users?) previously, but was not answered as to what drives do have HFS+.

So, HFS+ is a closed, proprietary format. For linux to work with this format, it needs hfsprogs, which is a module that supports HFS+.

Most NAS servers use linux-native formats, so if you want HFS+-based filesystems, there are a few ways.

a) Most NAS servers are built with Linux, and most of them have command line. You can load hfsprogs module and write a script to have the system mount your HFS+ formatted drives. In another word, customize the system.

b) Roll your own server, a good Synology enclosure costs about the same price as an Mac mini, you can get an external hard drive and have it running as an server.


Can I zoom in and out in macOS / Finder? Is it possible to Zoom around in macOS? I mean anywhere in macOS, even in Finder? And by Zoom I mean being able to Zoom in and out whenever you want!

Use Case

Many times a day I change my screen’s resolution (in System Preferences/Display Preferences), but if I could zoom in and out no matter what app I was in, even in Finder, that would be perfect. I was thinking a keyboard shortcut like using ⌘+ and ⌘- in some apps to zoom in and out.

You can zoom using Keyboard commands.
First you need to switch it on from System Prefs > Acessibility

& then you can change the specific key commands in System Prefs > Keyboard > Shortcuts


Xcode 5.1.1 together with xCode 6.1.1 - simulators deleted I had Xcode 6.1.1 installed together with the iOS8 simulators but I need to be able to test websites with iOS7 also so I installed Xcode 5.1.1 also and named it to this. (I also renamed Xcode 6.1.1 to that instead of just Xcode).

After that I got all iOS7 simulators in Xcode 5.1.1 working. But now all simulators from Xcode 6.1.1 are gone! When I try to add them back it just loads for a while and then nothing happens. What should I do?

I need iOS7 and iOS8 simulators to test with, preferably on the same computer and without any virtual machine (don't have disk space).

I have Mavericks on a Mac Book Pro Retina. Software OS X 10.9.5 (13F34)

You don't need both versions of Xcode in order to test with iOS7 and 8 simulators. With the latest version you will be able to test in both simulators. You just need to go to Preferences → Downloads and download the iOS 7.1 Simulator. Then you can define simulators with that version on your devices window.


Is there a way to stop downloading an app without restarting the iPhone? Is there anyway to stop downloading an iphone app without restarting the phone?

You can pause the download while it's in the "loading" stage by tapping the app icon (tap again to resume), but I couldn't find a way to actually cancel the download.


iOS 8.4 Update - data usage I have started the update to 8.4 last night, while my phone was charging and connected to the Wi-Fi. This morning it was still working on something (the black off screen with the loading bar and apple), and then it asked for my passwords, my touch id, my iTunes account etc.

I entered the passwords etc., it got accepted and then I left my house (therefore my Wi-Fi). 10 minutes later I receive notifications that I've used 900MB of data and I owe £19 for overspending.

How is this possible? Isn't it supposed to only update when connected to Wi-Fi or with my specific permission? I have no idea how to spend 900MB in 10 minutes. Please give me an official message from Apple saying that it will not update unless on Wi-Fi, or specifically approved.

I do not know if I had this problem because I have unlimited data, but my friend did. Notably, she also has a different carrier (Verizon) with limited data and when she noticed the high data usage she contacted Apple. They acknowledged that with some carriers this is a bug in the newest version of the iOS. The fix they had her implement, until the next version of the iOS comes out, was to revert to the prior version. Since the update had completed, she was forced to do this through a full reset. Since the phone came with an earlier iOS version, this is what it reverted back to and the issue was solved. Again, I am only reporting this as an observer and have not fixed/experienced personally, but thought I would offer this in the event it helps.


Is there a (working) iTunes 11 "search" shortcut? The Help Topics say that Ctrl+Alt+F should go to the search field, but it don't here. I'm on Windows 7, with iTunes 11.

Is there a shortcut for the search? (I really don't like to have to use the mouse)

Same problem here, but I have the answer: CtrlShiftF


How will macOS behave when creating folders in /private/var/folders to mount a NFS share with? I'm writing some software that can ideally mount and unmount multiple Network File System (NFS) locations dynamically.

To avoid clashing with local names I plan on generating a new temporary dir under /private/var/folders such as /private/var/folders/6l/jbv4dn11301f7t2wm1r3mqlr0000gp/T/temp_mount.RXArBC for each time I introduce a NFS share - in the hope that the OS can tidy up these folders on shutdown.

The worry I have is that for example, if I were to try to remove the folder before it was unmounted with something like rm -r /private/var/folders/6l/jbv4dn11301f7t2wm1r3mqlr0000gp/T/temp_mount.RXArBC - if the mount was not read-only, this would result in deleting the contents from the share (despite failing to delete the top-level folder as the mount service is presumably still holding a lock to it)!

I'm concerned the OS isn't expecting /private/var/folders to contain any mounts and thus pose a similar problem.

Can someone confirm how it is the OS will behave in this scenario? So far with my testing this hasn't happened, but I'm not sure this is indicative across the board for macOS users.

Another option I've considered is creating folders under somewhere like ~/Library/Application Support/MyAppDomain/MountDirs/ and performing tidy ups in my software as I go along, but I'm unsure how the OS will behave.

No.

This is a system directory that contains things like logs, databases, your sleep image, etc.  It's not a directory that you should be mounting file shares to.  The purpose of the /private directory has already be discussed in the following posts:

What's the "Private" directory in OS X for?
Snow Leopard *private* folder?

Even the automount service doesn't mount shares to that directory, it's mounted in /Volumes.

Your best bet would be to either mount the share in a shared user space (i.e. /Users/shared) or within the users own home directory.


Why is the RAM usage of my system smaller on startup than it is after using (and closing) software? When I start up my mac the ram usage is about 4 gig. I will open up a few programs like photoshop and indesign which use a lot of ram and then shut them down again to try to reclaim that ram when i have finished with them. the ram is often up to around 6 gig even though i have closed the programs down. it seems like the system doesnt fully reclaim the ram. whats going on here and can it be fixed? thanks.

It is not something you want "fixed", as this is intended behavior.

It is "costly" (in terms of time) to load new data into RAM, as is done for example when opening applications such as Photoshop and InDesign.

However, it doesn't cost anything to keep the data in RAM, and there's no process of "erasing" stuff from RAM before you load new stuff in.

Therefore it makes sense to keep for example Photoshop in RAM after you close it - in case you want to open it again soon. In that case, there would be parts of Photoshop already in RAM that do not need to be loaded again - saving you time.

If you go ahead and open up other stuff that need more RAM, those Photoshop parts would eventually be overwritten with new stuff.


How to screenshot Netflix? I am watching Netflix in Safari on macOS 10.13.3.

I just tried taking a screenshot through several methods:

⌘⇧3 while Safari in full-screen mode (Netflix isn't).
⌘⇧4 and dragging while Safari in full-screen mode.
⌘⇧3 while Safari is not full-screen and not focussed.
⌘⇧4 and dragging while Safari is not full-screen and not focussed.

But none of these captured the screen, I get only black images.

How can I extract a frame from a show on Netflix?

The source is the combination of Netflix and Safari, which disables screenshots and screencasts of its content to prevent piracy.

You should be able to take screenshots if you use Google Chrome:


How do I make packages out of non-package installers? I want to use Apple Remote Desktop to install software on the Macs in our office, but often the installers come as an application bundle (not the actual application which could simply be copied, but an executable that has to be run). An example of this is Adobe Flash. Is there a way to convert or "wrap" this type of installer in a package so that ARD will recognise and be able to deploy them? (ARD only seems to recognise .pkg files).

Apple has a first party Package Maker application available with Xcode. There's also Packages, a third party solution.


Boot Camp partition is on lowest brightness and will not change It all started this morning, since I listen to podcasts on YouTube before bed. I barely use my Mac partition, but still update it. I use my Windows partition for most of my stuff.

I went to bed with the screen dimmed all the way down and went to sleep. When I woke up, my computer was shut down but still perfectly fine. I started up Windows and after the "Starting Windows" screen, the screen went black since it is dimmed all the way down and now I can't brighten it back up.

Just point a small torch (I used the one in my old mobile phone) to the windows screen where it requires your password to log in and you will see slightly where is the box, click then enter your password and the windows will start then increase the brightness by using F2.

Worked for me.


Is there a hidden preference to get Mission Control to show application icons when grouping is turned off? When I turn on grouping in Mission Control to I get the application icon overlaid on the windows that belong to the application. Is there a hidden option to show icons on ungrouped windows?

Apple Icon>System Preferences>Mission Control>Unselect "Group windows by applications"

I think it is gonna work.

Edit: I tried, it works.


How to change charger LED color on MacBook Air I have the MacBook Air, and on the charger, there is a LED that is red-orange when charging, and green when charged. Is there any way to change the color of that? To, for instance, make it red when battery power is from 0-25, dark orange when the battery is 25-50, etc.?

I don't think that it could be possible to "change the color" of charger plug led easily without destroying it. It's hardwired. If you are good enough to work with soldering iron under microscope you could.

Here is a teardown: http://www.cqdx.ru/ham/do-it-yourself/diy-repair-the-mac-book-pro-l-type-power-supply-plug/


How can I open password protected Word documents on my iPad for free? I would like to open a password protected Word document on my iPad. I've found paid solutions but nothing for free. Am I missing an option?

Try GoodReader which is very inexpensive ($0.99) and most useful app on iPad. I use it all the time both on iPhone and iPad.


MacPorts on mountain lion - cannot install apache2 due to gettext package I have been having problem with installing gettext package from macports. When I am launching

 /opt/local/bin/port -v install apache2

it checks dependencies, and continues with gettext package installation. But the configure process freezes here:

checking for egrep... /usr/bin/grep -E

and nothing happens.. can wait hours, nothing changes.

I tried to configure, make, make install manually for that package and it went all fine. But, when same configure is launched by ports, it hangs there. Question:

1) How can that be fixed?
2) Maybe I can somehow manually tell ports, that I installed that gettext package manually already?

Sorry, if wrong "site" for this question. Felt most proper one.

sudo port -v install apache2 solved the problem :/

still unbelievable, that same operation from root user was hanging..

You need to run macport port command as root best using port as shown in all the examples in the Macports guide This is so that all the processes are set up as the correct user and the files are saved no changeable by other users.

e.g.
sudo /opt/local/bin/port -v install apache2


Automator "Quit Application" Action stops I'm trying to set up an Automator script to do a bunch of routine things before I pull my laptop off it's thunderbolt dock - turn WiFi back on, eject disks, and quit certain applications. It's this last one that's currently vexing me - using either AppleScript or the Automator "Quit Application" action, the script stops after executing the quit order. The app I'm currently trying to quit is MakeMKV. I've also tried it with Zoom (another app I'd like to close out).

It only stops if it actually has to quit the app - and the apps do quit. If the app isn't open, the step is skipped and moved past. The error I get is:

"Quit Application was stopped" if using the Quit action or
"Run AppleScript was stopped" if using the AppleScript action.

I've tried it with Chrome, Messages, and Notes, all of which quit gracefully. These other apps are executing the quit order - is there any way to figure out why the script is stopping, and suppress whatever is doing it?

edit: Code block looks like the following:

You can try these three potential solutions to see if either fare any better than the built-in Automator action.

The first is a plain AppleScript handler that takes a list of exceptions (apps that are exempt from being quit), and then proceeds to send a quit command to all the others (they being any application process not belonging to a file in the /System directory--therefore, Finder and System Events will be spared, but Automator will not unless it is specified in the list of exceptions, X):

to quitAll(X as list)
    local X

    tell application id "com.apple.SystemEvents" to script Apps
        property list : the bundle identifier of processes ¬
            where the POSIX path of its application file ¬
            does not start with "/System"
        property locked : X
    end script

    tell Apps to repeat with id in its list
        ignoring application responses
            set A to the application id id
            if A's name is not in locked ¬
                then try
                quit A
            end try
        end ignoring
    end repeat
end quitAll

The second uses the same method as above to retrieve a list of running applications but it grabs their pid numbers.  These are passed en masse to a do shell script call to kill the applications (some people get nervous about this, possibly because the name of the command sounds like it's a bad action to perform, but it's perfectly safe, and very standard.  Applications typically also save their window and document states, so the kill command can allow them to retrieve the .savedState data when re-opened later.

to kill(X as list)
    local X

    tell application id "com.apple.SystemEvents" to script Apps
        property parent : a reference to every process where the ¬
            POSIX path of its application file doesn't start with ¬
            "/System"
        property id : my unix id
        property name : my short name
        property locked : X
    end script

    tell Apps to repeat with i from 1 to length of id
        if name's item i is in locked ¬
            then set id's item i to []
    end repeat

    set my text item delimiters to space
    "kill " & integers in the id of Apps
    do shell script result
end kill

The last solution is an AppleScript-ObjectiveC handler that, once again, obtains a list of the running applications that aren't located anywhere in the /System folder, and don't appear (by name) in the list that's passed to the handler:

to terminate(X as list)
    set pred to "!bundleURL.path LIKE '/System/*'" & ¬
        "&&!localizedName IN[c] %@"

    script
        use framework "Foundation"

        set [A, P] to a reference to my [¬
            NSWorkspace's sharedWorkspace's runningApplications, ¬
            NSPredicate's predicateWithFormat_(pred, X)]
        (A's filteredArrayUsingPredicate:P)'s terminate
    end script

    run result
end terminate

I haven't tested this handler to see what permissions need granting, as I didn't want all of my programs to terminate.  But let me know if there are any hiccups and I'll direct you accordingly.  The word terminate inside the handler can be replaced by forceTerminate (case sensitive) to do a force quit on each application instead.  This, if it were me, would actually be my preference, as I have set my system to save the state of applications on forced terminations, and it avoids the "Do you want to save the current document?" banality.


Disk Utility Error "Storage system verify or repair failed" Installed Lion on a brand new HDD. Boots fine, but when I run Disk Utility on the Media, it reports

Verifying partition map for “WDC WD10JPVT-16A1YT0 Media”
Checking prerequisites
Checking the partition list
Checking for an EFI system partition
Checking the EFI system partition’s size
Checking the EFI system partition’s file system
Checking all HFS data partition loader spaces
Checking Core Storage Physical Volume partitions
Checking storage system
Problems were found with the partition map which might prevent booting
Error: Storage system verify or repair failed.

The "Error" statement was in red. Running the Disk Utility on the Lion partition in the same HDD reports no error.

Questions:

Is this because I've enabled File Vault on the HDD?
Should I be worried about the error reported by Disk Utility?

The error is not caused by enabling FileVault 2.

Context:

FileVault 2 uses Core Storage
to verify a logical volume that is in coreStorage world, Disk Utility will run both fsck_cs and more traditional fsck_hfs.

  fsck_cs does not perform an exhaustive validation, nor is it able to fix many
  of the inconsistencies that it does detect.

That said, I should not be immediately worried about the class of error given in your question.


Retina Macbook is emitting a noise from under keyboard The noise is not coming from the speakers and appears to be coming from the left side of the keyboard. Nothing I do with the volume changes the noise. You can listen to it here: https://soundcloud.com/steve-melvin/retina-macbook-noise

(Writing this up from a discussion in the comments, to help future readers...)

The noise in the sound recording is a high pitched buzzing noise, which plays for approx 1 sec, then off for a second, then on for a second again.

Some suggestions of things to try, in order to isolate the noise to a particular part of the system:

change the screen brightness
change the keyboard brightness
test with the main battery discharged & charged
test with a pair of headphones plugged in
test with mains charger plugged in & removed
test with an application generating high CPU load
test with an application generating high GPU load


Bose docking station is not working with new ipod touch Possible Duplicate:
  Why won't my iPod Touch play in Bose SoundDock speakers anymore?

I just purchased a new ipod touch and it is not working on my bose docking station. Both my daughters have older ipods and they are working. On my new ipod, when it is plugged into the docking station it appears to be playing, when discounected it plays on its own speaker and ear phones... Any ideas what may be the problem?

Depending on the age of the docking station (is it a Wave?  If so, version 1 or 2?) it may not allow a full range of functions on newer/older iPods etc (depending on the combination - i.e. an old one will not work with new iPods fully, a new one should work with old iPods tho) - this is because they changed the pinouts on the dock connector as part of changing from Firewire to USB.  Basically all iPods used to be Firewire based, then when they became windows compatible they changed to USB, but the dock connector maintained pin options for both, regardless of what was at the other end.  Even with USB iPods, older docks would still allow power to be sent over the Firewire pins for charging the device (as it allowed higher currents, and thus faster charging) - eventually Apple removed this capability, meaning that the dock would appear not to be able to charge your device, but 3rd party hardware manufacturers were too slow to modify their products (even though they had been warned prior to the change to stop using Firewire connections).


run first aid from recovery mode I have Macbook Air 2017 running Mojave 10.14.4, so I check every month to find out there is a virus or malware on my Mac, usually I only use CleanMyMacX and Malwarebytes so one day before I check my Macbook my friend says try doing first aid and when I check using the help first aid disk utility appears like this

disk utility asks me to do first aid through recovery mode, I do it or not

Better to run sooner than later.  Disk Utility is written by Apple.  Why are you worried. You should have a full backup of your system.

See this article. Pick diskutilty. Run disk first aid.
https://support.apple.com/en-us/HT201314

I read were many people do not recommend running CleanMyMacX.  Could be why you are experiencing problems with your machine. I recommend you stop running CleanMyMacX.  Read manufacture's site on how to uninstall. See:
https://macpaw.com/support/cleanmymac-3/knowledgebase/how-to-uninstall-cleanmymac-3

Simple put,  Apple attempts to provide all the malware detection and removal you need in Mac OS X.

"Effective defenses against malware and other threats" by John Galt
https://discussions.apple.com/docs/DOC-8841

"Avoid phishing emails, fake 'virus' alerts, phony support calls, and other scams"
https://support.apple.com/en-ca/HT204759

"MalwareBytes Anti-Malware for Mac Removes adware and malware Revives your Mac."  MalwareBytes has a more restrictive filter for adware than Apple. MalwareBytes has come to be accepted as the only malware detector you should consider.  For those pestered by browser attacks consider MalwareBytes.
https://www.malwarebytes.org/antimalware/mac/

etrecheck
Run etrecheck.   The first five runs are free. Provided a report on your machines hardware and software.  Great for diagnosing your system.  Click on the download link at the bottom of the screen.
http://etrecheck.com/

Apple on Security:
https://www.apple.com/business/resources/docs/macOS_Security_Overview.pdf

phishing
"fake" panic warnings
https://discussions.apple.com/docs/DOC-8771
https://support.apple.com/en-ca/HT204759


Piping audio from arbitrary program to Airport Express What are my options for sending audio from VLC on my MacBook Pro to my Airport Express?  (I know about AirFoil so far.)

Honestly I'm not aware of any (free) options that I can vouch for.  I've used a couple of solutions with little success.  What I can offer, however, is some praise for the AirFoil solution which has served me well over the past couple of years.

In terms of VLC, I would also add that there is an issue with syncing the audio to the video when using AirPort and VLC (or any other video player).  The Rogue Amoeba folks get around this by supplying their own video player, the Airfoil Video Player, which is capable of handling most video inputs and also making sure to keep the video display in sync with the audio.

So, while this doesn't answer your question as to other options, hopefully what I can do is allay your fears about wasting $25 on a product that may or may not work.  In my experience it works exactly as advertised.  And I've had good luck getting responses from the developers when I've had questions or minor issues.

Highly recommended software.

Good luck in your search.

-Steve


How to make a high-resolution capture in the Preview application on Mac? everyone. I use the Preview Application on Mac to view my PDF/JPEG/PNG files. Generally it works fine. But I've got some troubles with the "Select Tool".

I want to capture a part of a PDF file, like a graph or a chart etc, and insert the captured image into Evernote. That's how I do it:

Scale the PDF file so that the graph/chart looks big enough.
Command-3 switches to the Select Tool.
Select the graph/chart.
Command-C copies the selected part.
Go to Evernote, Command-V pastes the selected part, inserting it as a JPEG image.

Well, the problem is the resolution of the pasted image is so POOR. I don't know who to blame, Preview, or Evernote?

One more thing. I try to paste the selected part into PhotoShop. However, Command-V pastes the WHOLE PDF page. It seems that Preview, Evernote and PhotoShop say different dialects when copy/paste something.

Thanks for your help, guys.

If you just want to make a quick copy of a graphic inside a PDF for your Evernote, scale it big enough and make a (rectangular selected) screenshot of it (⌘⇧4).

As for copying a graphic from PDF into Photoshop: I think it would be a good strategy to save the PDF as TIFF (selecting a high enough resolution in the export dialog) and then cutting out the region that you need. This way, you can get an even higher pixel density / resolution than you would with a screenshot (simply because you can make the exported image larger than your screen).

A note aside: if the chart in your PDF was a vector graphic (scalable without losing quality), converting it to a bitmap graphic will always lead to some quality loss. But Photoshop cannot handle vector graphics, of course.

To your question about the copy-paste behavior: I think it's because of the way Mac OS X's pasteboard works. It copies the whole PDF from Preview (along with the information about your selection rectangle) then, on pasting, maybe guesses or lets the receiving application decide which part of the information in the clipboard it wants to use. Photoshop seems to say "just give me the whole PDF page, regardless of the selection", while the Evernote's rich text editor says "give me the selected part, converted to an image"...

It's a bit like, if you copy formatted text from a Web site, then paste it into a word processor that supports rich text (such as Word), it will keep the formatting, otherwise (if it's a plain text editor), it will pull only the text content of the pasteboard object, ignoring the formatting.


FindMy Friends incorrect street and town address In FindMy app my parents have shared their location. When they are home, the location view shows their correct geolocation, but the street address and town are incorrect. If I copy the address as shown in “FindMy” into maps or google maps it locates the address in a completely different place; In the town that the address is (the next town to where they live), not the location of my parents house. They live in a rural part of New Hampshire.

How can I report an incorrect street address in this app?

You can report any bugs with native Apple applications here: https://feedbackassistant.apple.com/welcome


Hiding iCloud folders from search on iOS I have a few files that come up frequently in my searches from the iOS equivalent of spotlight (idk what this is called just swiping down on the home screen) that I dont want previewed in search. I am trying to figure out how to hide them from search or prevent their previews (images) from showing up.

I have tried setting the containing folder to .noindex but that didn't seem to work.

Any ideas?

You cannot isolate one folder to be hidden from iOS spotlight, as per my knowledge.

To fully remove Files app from showing files in spotlight, Settings → Siri and Search → Files, turn it off.


5 Vertical pink lines - Imac 2011 - Won't boot up My mac was running fine one day then suddenly powered off and tried to restart itself. Upon restart it was stuck with the loading status bar and the screen had 5 vertical pink lines across it.
Having done some research it is most likely a GPU solder issue which can be fixed by reapplying thermal paste or by 'frying' it in the oven. https://www.youtube.com/watch?v=nB172HJeM0w
Although some have said they have fixed it via safemode/updates etc
What causes 5 pink bars on 27" iMac (2011)?
Just wanted to ask on here before I go ahead with the baking method as a last resort.
-I cannot get my mac to boot at all and cannot get in to safe mode.
-I created a bootable USB stick and that would also not load using Apple+R.
-Cannot boot from my(external HDD which I normally use instead of the internal drive/os
-The pinks lines do go away when it attempts to enter recovery mode, which does give me some glimmer of hope that it's a software issue and not hardware. But it just gets stuck on a totally blank white screen before it gets to recovery mode.
I guess one thing I haven't tried is putting an actual DVD in the drive, but I threw those out years a go so would mean sourcing one.
Any advice would be greatly appreciated before I start trying to take it all apart!
It's an old model too, and I really only use it as a display for my newer MBP. So not worth paying to get it fixed
Thanks!

Safe mode and recovery mode tend to not load specific graphic drivers or acceleration, so the clear signal there tends to reinforce the hardware trace and LCD are still fine and the visual artifacts are GPU failures.
Your research is likely right that reflowing the solder might help remedy this or it will point to a more embedded failure. Either way, kudos for trying to reuse this. Next would be repair or recycle or sell for parts. People will want the power supply and lcd and other parts.


How to restore ability to see server-stored mail drafts under "All Drafts" section of Favorites in MacOS Mail.app I have several IMAP email accounts whose drafts are stored on their respective servers, and I have gathered these draft folders into the "All Drafts" section of Favorites in MacOS Big Sur Mail.app.
In the last few weeks, I can no longer see these drafts by selecting "All Drafts" as I used to. The level of "All Drafts" shows the badge for the total number of drafts inside it across all accounts, but the message window is blank when "All Drafts" is selected. Instead, I now have to click the triangle and go down to the level of the specific account's draft folder itself to see or access any of my drafts.
What has changed? How do I go back to previous situation of being able to access any server-stored draft from any account under the "All Drafts" favorite folder? Can I reset this behavior without losing all my email accounts and settings?

The problem turned out to be that I had mistakenly turned on a filter for the "All Drafts" favorite folder and didn't realize it. Disabling the filter solved the problem. Sorry!


On OS X, how can I see which song/stream/... is playing in iTunes? On OS X, how can I see which song/stream/... is playing in iTunes?

I don't want to go to the messages dock on the right side of the screen, just want to see the currently playing title in iTunes itself.

The reason is that once every while when you double click an mp3 file in Finder, iTunes will play it, then continue with some web-stream. Not nice when you are on pay-by-the-kilobyte tethering...

Unfortunately, even the most recent release of iTunes doesn't have a very good method for this.

You could use the Mini-Player option, either from the Window menu, or toggle with option-command-M, but that is designed for album art - and won't show you the track info unless you mouse over it.

There are plenty of 3rd-party utilities, however.  I still use Bowtie for an inobstrusive floating desktop status, there are also others that can display your current track in the menu bar or via Growl, Mavericks' Notifications, etc.


Updating Mac app shared with Family Sharing prompts for family member's password I'm trying to update a paid app, bought by a family member but shared with family sharing, on the Mac App Store, and it prompts me for the password. The Apple ID is the family member's, and greyed out so I can't change it. I don't think we're supposed to share all our passwords in order to use Family Sharing, right?

TL;DR - It's possible you have a problem with date / certificates or Apple messed up server side - contacting support to figure out a workaround is likely the "answer" and you probably didn't make this happen.

This is an aggravating bug and it has been around for quite some time (from iOS 9 to iOS 10 is when I first experienced it).

I'm certain it's a bug since I never, ever have used the password for the other two members of the family that buys apps that I then installed using the App Store and my ID / password. Also - if this was broken for everyone, all the time, it would be explained in a KB article or fixed.

I have yet to have anyone from Apple support end up with anything other then ¯\_(ツ)_/¯ and I have to delete the apps and reinstall them.

I hope someone else can get more details or point out something I've missed and even better, I hope I can come back and edit this to say it's fixed when that day comes.


Is there an app to convert a video to HTML / JS / JSON? Apple's site does some neat tricks on their pages to display videos encoded as a JPG file and then decoded and rendered in a canvas element (see http://www.tuaw.com/2012/10/16/how-apples-iphone-5-website-works/).

Is there an app that will take a video and convert it into that?

I remember seeing something like that announced, but can't find any reference or link on my notes.

I found one such app: Phosphor

It does what I required.


List main folders that contain non changed folders and files since a specific date I want to list the main folders in a directory that all their subfolders and files have a modified date older than a specific date. Any advice?

I've tried this: find . -type d -newermt '7/15/09' from this question but it returns subfolders and files. I want to return only the parent folder.

So for example if I'm in the correct directory and it has 100 main folders named folder1 ... folder100 then folder1 has subfolders 1..10 and 10 files and all of these subfolders and files hasn't been modified for 6 months then I want folder1 to be listed in the result not the subfolders and files.

cd <to directory containting the main folders>
for d in */; do
    if [[ $(find "$d" -mtime -26w | fgrep -v .. | wc -l) -eq 0 ]]; then
        echo "$d"
    fi
done

should work, with the usual caveat about file/directory names containing newlines etc.

mtime compares the modification timestamp of the file with "now", -26w means "less than 26 weeks" (which is roughly 6 months).


Windows 10 partition disappeared after resizing My Windows partition disappeared after resizing it. I found a post on NERDr with a walkthrough for how to fix it and I did everything. This is what I got in my terminal:

Enter an MBR hex code (default AF): 07
Set the bootable flag? (Y/N): y

Unused partition space(s) found. Use one to protect more partitions? (Y/N): n

Recovery/transformation command (? for help): o

Disk size is 490234752 sectors (233.8 GiB)
MBR disk identifier: 0x0566FE4C
MBR partitions:

Number  Boot  Start Sector   End Sector   Status      Code
   1                     1    133448879   primary     0xEE
   2      *      133448880    489972567   primary     0x07

Recovery/transformation command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/disk0.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Unable to open device '/dev/disk0' for writing! Errno is 1! Aborting write!

Recovery/transformation command (? for help):

The problem is the second to last line, says the action was aborted because the disk cannot be opened.

Some partition map details:

Andrews-MBP:~ Drew$ sudo fdisk /dev/disk0
Disk: /dev/disk0 geometry: 30515/255/63 [490234752 sectors]
Signature: 0xAA55
         Starting       Ending
#: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
1: EE 1023 254  63 - 1023 254  63 [         1 -  490234751] <Unknown ID>
2: 00    0   0   0 -    0   0   0 [         0 -          0] unused
3: 00    0   0   0 -    0   0   0 [         0 -          0] unused
4: 00    0   0   0 -    0   0   0 [         0 -          0] unused
Andrews-MBP:~ Drew$ sudo gpt -vv -r show /dev/disk0
gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752
gpt show: /dev/disk0: PMBR at sector 0
gpt show: /dev/disk0: Pri GPT at sector 1
gpt show: /dev/disk0: Sec GPT at sector 490234751
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34          6
         40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
     409640  131769704      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
  132179344    1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
  133448880  356523688      4  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  489972568     262151
  490234719         32         Sec GPT table
  490234751          1         Sec GPT header

I also have some replies in Official Apple Support Forum, but in a hurry to fix this so I also posted it here.

The 4th partition got the wrong partition type. It's marked as an HFS+ partition, it should be Microsoft Basic Data though.

Boot to Internet Recovery Mode
Open Terminal in the menubar > Utilities > Terminal
Enter diskutil list and with the disk identifier of the internal disk found there: gpt -r show diskX. Usually it's disk0 - below I assume it's disk0. Use the disk identifier you have found in your environment in the commands below! You also have a CoreStorage volume (e.g. FileVault). Check its disk identifier also. Below I assume it's disk2. If you haven't mounted it (because you didn't unlock it - if it is encrypted), you don't have to unmount it below.
Unmount the logical volume and then the internal disk:

diskutil umountDisk /dev/disk2
diskutil umountDisk /dev/disk0

Remove the fourth partition:

gpt remove -i 4 /dev/disk0

Re-add the 4th partition with the same first block and size but with the proper type:

diskutil umountDisk /dev/disk2
diskutil umountDisk /dev/disk0
gpt add -b 133448880 -i 4 -s 356523688 -t EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 /dev/disk0

Reboot


Hotkey to move mouse and click I'm currently using Keyboard maestro to create a macro that allows me to move the cursor to certain coordinates and perform a left click.

Unfortunately under Yosemite it doesn't work as expected, since it clicks sporadically (it always moves the cursor but doesn't click everytime).

Are there any other viable options to achieve this? It would be great if I can set coordinates relatively to active window.

As an Adaption from @mat-burns code in this post
( Note You'll also need xcode installed. )

       #!/usr/bin/env xcrun swift

import Foundation

let kDelayUSec : useconds_t = 500_000

func moveMouseClick( p1: CGPoint) {

    let mouseMove = CGEventCreateMouseEvent(nil, CGEventType(kCGEventLeftMouseDragged), p1, CGMouseButton(kCGMouseButtonLeft)).takeUnretainedValue()
    let mouseDown = CGEventCreateMouseEvent(nil, CGEventType(kCGEventLeftMouseDown), p1, CGMouseButton(kCGMouseButtonLeft)).takeUnretainedValue()
    let mouseUp = CGEventCreateMouseEvent(nil, CGEventType(kCGEventLeftMouseUp), p1, CGMouseButton(kCGMouseButtonLeft)).takeUnretainedValue()

    CGEventPost(CGEventTapLocation(kCGHIDEventTap), mouseMove)
    usleep(kDelayUSec)
    CGEventPost(CGEventTapLocation(kCGHIDEventTap), mouseDown)
    usleep(kDelayUSec)
    CGEventPost(CGEventTapLocation(kCGHIDEventTap), mouseUp)
}

func main() {

    let pointX = 396
    let pointY = 214

    let p1 = CGPointMake( CGFloat(pointX),  CGFloat(pointY))
    moveMouseClick( p1)

}

main()

Change the lines:

let pointX = 396
let pointY = 214

to reflect you click point.

Save this code down as moveClick.swift

And then in Terminal.app run /bin/chmod +x ~/scripts/moveClick.swift to make the script executable

Change ~/scripts/moveClick.swift to your actual path to your swift file.

I do not have Keyboard maestro But I see it can execute a shell script.

Execute a Shell Script Action

~/scripts/moveClick.swift

In the example above we have hard coded the click point.

But if you want to make it versatile, we can make the code take arguments.

Using this code instead.

    #!/usr/bin/env xcrun swift

import Foundation

let kDelayUSec : useconds_t = 500_000

func moveMouseClick( p1: CGPoint) {

    let mouseMove = CGEventCreateMouseEvent(nil, CGEventType(kCGEventLeftMouseDragged), p1, CGMouseButton(kCGMouseButtonLeft)).takeUnretainedValue()
    let mouseDown = CGEventCreateMouseEvent(nil, CGEventType(kCGEventLeftMouseDown), p1, CGMouseButton(kCGMouseButtonLeft)).takeUnretainedValue()
    let mouseUp = CGEventCreateMouseEvent(nil, CGEventType(kCGEventLeftMouseUp), p1, CGMouseButton(kCGMouseButtonLeft)).takeUnretainedValue()

    CGEventPost(CGEventTapLocation(kCGHIDEventTap), mouseMove)
    usleep(kDelayUSec)
    CGEventPost(CGEventTapLocation(kCGHIDEventTap), mouseDown)
    usleep(kDelayUSec)
    CGEventPost(CGEventTapLocation(kCGHIDEventTap), mouseUp)
}

func main() {

    let p1 = CGPointMake( CGFloat(atof( C_ARGV[1])),  CGFloat(atof( C_ARGV[2])))

    moveMouseClick( p1)

}

main()

Again in Keyboard maestro.

Execute a Shell Script Action

~/scripts/moveClick.swift 396, 214


iPod touch stopped playing the Pandora app with the following error: "Cannot Connect to Pandora" An iPod Touch with the following specs:

2nd Generation
Version 4.2.1 (8C148)
Model: MC086LL

Stopped playing the Pandora app. with the following error:

Cannot Connect to Pandora
Please check your network connection and try again later.

This iPod Touch was working fine 2 weeks ago then starting getting this error. I'm connected to the internet and other apps like Safari work fine.
How can I resolve this?

I found the solution! The solution was to set the Date to the correct Date. It was set to 1969 for some reason:-/

Settings->General->Date&Time


How to keep an SSD in shape on Yosemite? As of OS X 10.10, Apple uses kext signing. Ever since it has become difficult and dangerous to manually activate TRIM for third-party SSDs on OS X. That means users with non-Apple SSDs will sooner or later see degrading write speeds.

So I am wondering what are my options to avoid this situation. Some approaches I could think of imply additional problems:

Are you aware of any alternative approach, that does not require disabling kext signing?
Are there tools or tricks to manually clean up a SSD (i.e. issue a TRIM command)?
If I decided to temporarily use a tool like TRIM Enabler how long would it need to be activated, in order to clean the disk?

To summarize: No TRIM on Yosemite. What can I do?

EDIT 3:

Yes! Since the release of 10.10.4, Apple now provides a new tool called trimforce, allowing users to activate TRIM also on unsupported disks. So now the ultimate and final answer is:

sudo trimforce enable

/EDIT 3

EDIT 1:

Finally I found a way! Apparently there is a neat trick hidden in the fsck tool as this answer says.

So in the future I will boot into Single User Mode (press ⌘+S at boot screen) from time to time and issue the command fsck -fy. It will check the disk and finish with the message Trimming unused blocks.

/EDIT 1

EDIT 2:

So there is a new tool called Disk Sensei that specializes on exactly that problem. It has a manual TRIM command and helps you turning Yosemite's kext signing on and off.

/EDIT 2:

Furthermore, I read about DiskFresh which would somewhat accomplish what I was originally asking for. This Windows (Bootcamp partition required) tool will rewrite all data of partitions or an entire disk. This approach seems a little less painful than wiping my SSD and restoring it from a backup. However, it also comes with the downside of doing an additional write cycle.


Add a second signature in iPhone/iPad Mail I have 2 email accounts on my iPhone and iPad, a work and personal.

I have edited a signature for my work account but can only seem to have one signature.

I also use Mail.app on OSX which lets me change between accounts that automaticly reply/send with the correct signature.

The iOS app doesn't seem to match a signature to an account rather it looks as though it attaches the signature to the iPhone.

Is there a way to add another signature to Mail?

iOS only supports a single signature, but you can use iOS 5's new text Shortcut feature to manage multiple signatures. The feature is in the Settings app under "General | Keyboard | Shortcuts".

Add a shortcut for each signature, e.g. wsig = Work Signature and psig = Personal Signature

Shortcut only supports single lines of text, so I get around this by having my default sig be my name plus a new line, then I type the shortcut text on the blank line after my name.


Can I switch in a new storage drive without again downloading the Mountain Lion installer? I have a time machine backup of my early 2011 macbook pro OSX system with mountain lion, I want to remove it's hard disk and replace it with SSD, I have a spare memory key, is there a way to restore data from hard disk to SSD without downloading full mountain lion image, I tried downloading it but Apple servers are too slow, I am getting a speed of 50kbps for a 4.37 gb download, my internet is fine and I have a 10Mbps connection.

Buy an enclosure kit from OWC or another vendor.
Buy and put your SSD in the enclosure.
Connect SSD/enclosure to your computer.
Format the SSD with Apple's Disk Utility.
Use SuperDuper! to copy your entire internal HD onto the SSD.
Set startup to the SSD and boot from it to make sure it boots.
Remove SSD from enclosure and install in MacBook Pro.
Put MacBook Pro's internal hard disk in now empty enclosure and use it as a backup.

You also can use Disk Utility to image the drive if you don't want to use a third party product like SuperDuper! or CarbonCopyCloner. Some people also prefer a simple USB to SATA connector and you can usually get them for less than $5 from Amazon if you don't need or want a drive enclosure for your old drive.

However, the use of your old hard disk in an enclosure and a backup tool like SuperDuper! or CCC gives you both an external drive and the beginning of a solid backup solution as well.


Compatibility between Dell UltraSharp U2715H monitor and 2011 non-retina 13" Macbook Pro I'm thinking about buying a new monitor for my old 13" Macbook Pro, primarily because I've been doing programming work on it and the laptop's display is often too small and seems crowded.

I found this monitor on Amazon.com and liked it a lot, but I don't know how compatible my Macbook Pro will be with the monitor.
One of my primary concerns is if the monitor will have black rectangles on the edges because the aspect ratio doesn't fit or something.

Does anyone know if they are compatible or how this configuration would work out?

Your model MacBook Pro shipped with an onboard Intel HD Graphics 3000 graphics card. This graphics card uses a minimum of 384 MB of DDR3 SDRAM shared with your main memory (i.e. your computer's RAM). The amount of memory it actually uses will vary depending on your graphics needs.

In terms of connecting an external display, your computer has a Thunderbolt digital video output port and supports the following display modes:

Dual display extended
Video mirroring
AirPlay Mirroring (not relevant in your scenario)

Your MacBook Pro supports an external resolution up to 2560 x 1600 pixels.

As for the Dell UltraSharp U2715H this has an optimal resolution of 2560 x 1440 pixels at 60Hz.

In terms of your concern relating to black rectangles and aspect ratios, this will depend on how you use it? Do you intend to extend your display or mirror it?

Regardless, this monitor uses a 16:9 aspect ratio and your MacBook Pro supports the following resolutions at the 16:10 aspect ratio (that you can mirror):

1280 x 800 (native)
1152 x 720
1024 x 640
800 x 500

Whether the difference between 16:10 and 16:9 will annoy you, only you can answer.

However, if you want to use it in dual display extended mode (I'm guessing you do), then you would just take advantage of the best resolution your MBP can output to the monitor.

The only hesitation I would have (and this would apply to any external display) is that you haven't specified how much RAM you have, so if you intend to do anything that is graphics heavy on the external display, you may find the Intel HD Graphics 3000 graphics card struggling.

Otherwise you should be happy with this display (if you really need the 27").

[EDIT]

(Additional info re screens with DVI ports)

If you go ahead with a different external display requiring a DVI connection and find that the highest available resolution is 1280 x 800 instead of 2560 x 1600, this is likely due to you using a single-link DVI connection on a display that requires a dual-link DVI connection. (Note: This is not a factor for the U2715H you're looking at, but may be for others).

If this happens you would need to connect the display to a dual-link DVI port to access the higher resolutions available. However, your model MacBook Pro does not provide a dual-link DVI connection without an appropriate adaptor!

For best results you will need to use a Mini DisplayPort to Dual-Link DVI adapter.

You should refer to this info on Apple's website (as the general info is still applicable to many external displays). Also of interest may be this Mini DisplayPort adapter FAQs page.


If one forgets their iPhone Lockscreen password, how would they go about getting it back? Someone I know forgot their iPhone lockscreen password. This goes for iPhone 4 to 5. How would they go about getting back into the phone? And if they can't, can they back up data aside from the password to refill their phone after restore? What are options here? I'm an Android user myself so looking for Apple product guidance.

Unfortunately there is no simple way of resetting the passcode without resetting the device itself.
The following knowledgebase article: http://support.apple.com/kb/ht1212 explains how you can reset the passcode by restoring the device from a recent backup. Even if the device is locked it will still sync with iTunes which allows you to restore the device which will delete all the data on the device.


How do I find out what apps are in iTunes and not on my iPhone, and vice versa? I want to find out:

What apps are in my iTunes Library that are not on my iPhone.
What apps are on my iPhone that are not in my iTunes Library.

Is there any way (either in Windows or using third-party software) to find out this information?

For apps that are in your library [associated to an account] but not on your phone, go to iOS App Store > Updates > Purchased, then tap the "Not on this Phone" tab.

For app that are on your phone, but not in your library. Connect your phone to you computer, load iTunes, select the phone from the connected devices list and go to the apps section. Each app that is installed on your phone will be missing the Install/update button next to it.


Boot Camp on Late 2010 Macbook Air using USB flash drive? I want to dual-boot via boot camp to install XP on an external USB flash drive on my Late 2010 Macbook Air.  Has anyone done this successfully?

Virtualization is not an option, installing XP on small internal partition and putting programs on USB drive is not an option, looking for a real solution only

(Important detail - I have a Macbook Pro that I can use to get things rolling)

Bootcamp is a tool for installing Windows on the same drive with your OS X.

If you want to have Windows on a USB, then boot from your Windows installation cd and install Windows on the USB.

Then whenever you want to boot into Windows, plug your USB, hit alt/option and select Windows as your boot disc.

It may be better though, if you find a ready/made Windows USB Edition.

Either way, it will work :)

Edit:

After your first boot into Windows, do not forget to insert the Mac OS X Installation disc, in order to install the Windows/Bootcamp drivers!


Google Chrome mysteriously requests information from Keychain A few weeks ago, Google Chrome suddenly started to request my linkedin password from the keychain on startup, before any web page is loaded.  Every time I open the browser window, after a few seconds, the following message pops up (I remove my email address from the image):

Even more annoyingly, once I click "Deny" the window closes only for a few seconds before re-appearing!  In total I have to click away this message between 2 and 4 times every time I start the browser (the exact number differs between runs).  Whether I try to use the browser or just let it sit idle seems to make no difference.

My questions:

Why is Google Chrome requesting this password and how can I make it stop doing so?
How could/should I debug issues like this myself?

Things I have tried unsuccessfully:

I have remove Google Chrome from the computer and deleted the directory ~/Library/Application Support/Google/Chrome.  After re-downloading and re-installing Chrome the message reappears.  Thus I believe the problem is not due to something contained in my configuration files.
I synchronise my settings, bookmarks, etc. via the cloud storage tied to my Google account.  Since the problem only appears on one of my computers, I don't think it has to do with my settings.  To make sure I searched for "linkedin" in the "Bookmark Manager" and the "Cookies and site data" pane, but there are no hits.
I tried to visit chrome://net-internals/#events quickly, so that I reach the events listing before the first keychain popup appears.  Nothing linkedin-related shows in the list.

After this I couldn't think of anything else to try.  Help would be much appreciated.

Google Chrome has the option of saving user credentials to web services. At first login, Chrome asks if credentials should be saved now, saved later, or never saved. Access to the credentials stored by Chrome, and control over these credentials, is found in the Chrome > Preferences > Settings > Show advanced settings... > Passwords and forms > Manage saved passwords link.

Unusual web service login requests that occur on application launch, or at odd times during a browsing session, can sometimes be traced to Chrome saved credentials. When these credentials also involve the user keychain, I suggest that the credentials be deleted from both the Chrome saved passwords list as well as from any associated keychain entries. There may be multiple  keychain entries, too, which should be deleted.

Furthermore, if you sign into your Google account in Chrome to take advantage of the syncing functions, (which can be quite useful,) you have the option of saving and syncing passwords along with other elements. Depending on your level of paranoia, you may want to shut this down or never sign into your Google account.

Personally, I never save any credentials to financial or medical sites, nor do I save credentials to my school's file servers and web services.


How do I install "R" on OS X using homebrew? How do I install "R" on OS X? Ideally using Homebrew?

There seems to be very little information online.

Install Homebrew (if needed)

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

Install R

brew tap homebrew/science
brew install r


Why won't closing the lid sleep my MacBook Pro with external monitor attached after upgrading to Lion? Up until yesterday (with Snow Leopard), closing the lid would cause my MacBook to sleep whether or not the external monitor was connected.

Since upgrading to Lion last night, closing the lid when the external monitor is attached just tosses all windows to that screen and keeps going.

I realize I can sleep via the Apple menu or keyboard before closing the lid. I'd rather not have to, and I'm wondering if there's a setting to restore the sleep-on-close behavior.

edit: See this as the behaviour has changed: Why won't closing the lid sleep my MacBook Pro with external monitor attached after upgrading to Lion?

There are two groups of people. Those who wish to have dual displays and have closing the lid go into sleep and people who wish to disable the monitor display, close the lid and use the external monitor as if you had 'docked' with it.

Previously, if you wished to switch from the macbook to an external monitor entirely then you had to perform the following to put the laptop into clamshell mode:

Make sure the computer is plugged in to an outlet using the AC power
adapter.
Connect a USB keyboard and mouse to your computer.
With the computer turned on connect the Apple portable (using the appropriate
Apple adapter if necessary) to the appropriate port on the external
display or projector and turn the display or projector on.
Once your computer's Desktop appears on the external display, close the
computer's lid.
Once the lid is closed, wake the computer up by
either clicking your mouse button or by pressing a key on your
external keyboard.

source: http://support.apple.com/kb/ht3131

So to put the machine in clamshell mode required you to put it to sleep and wake it back up again. As far as user experience goes, that is somewhat jarring.

As you have the other options to put the machine to sleep, it seems very likely that this change will remain.

Right now, there is no way to alter this behaviour.


What is the meaning of the check box and circle in this iTune U If it means watched, then I saw the check box is over there even though I selected unwatched column.

Does it mean downloaded? There is no tool tips and it's kind of silly to have 2 columns expressing the same thing.

The checkbox may means downloaded. What about the circle to the left of the checkboxes?

The checkbox is a tool for downloaded items to specify if you want that specific item to sync to your device. There is a setting in your iTunes device list to sync only checked items in iTunes:

If you have that setting turned on, unchecking any song or video will tell iTunes not to sync that item to your device during the next sync.

The circle is a progress indicator for downloaded items:

A filled circle indicates that the item is unplayed.
A half circle indicates that the item is partially played.
No circle indicates that the item has been played to completion.


Pages: Fit two A5 page on on a single A4 page in landscape mode I want to print the same content twice on a page and then cut the page into two parts. Basically I want to start with an A4 page in portrait mode, and want to end up with (approximately) two A5 in landscape.

Can this be done?

There is a way using Pages and Preview

Print your page from Pages into a PDF (Open in Preview works as well)
Open PDF in Preview
Select "Print"

Switch "Copies per Page" to 2


Can iPods (3rd gen) brick completely if left uncharged? I have an old 3rd generation iPod, barely used it since I got an iPhone a couple of years ago. I wasn't expecting the battery to hold its charge anymore (I've replaced it once or twice already, infact), but even when plugged in there is no reaction, the device is just dead.

Is this the natural conclusion of leaving it idle/flat for many months? Or do you think there is another problem with the device? (I could perhaps get a replacement battery but I'm not sure that would help)

Lithium-ion polymer batteries should not be deep discharged. This is a quote from Lithium-ion Polymer wikipedia page

  During discharge on load, the load has to be removed as soon as the voltage drops below approximately 3.0 V per cell (used in a series combination), or else the battery will subsequently no longer accept a full charge and may experience problems holding voltage under load. This can be achieved, as with other lithium-ion batteries, also harmed by under- and over-voltage, by circuitry that prevents overcharge and deep discharge.

So discharging batteries below some threshold will make it unable to recharge. The best way to store your battery is to keep it charged around 50%.

On the Apple Batteries iPod page, Apple says that you should:

  Use iPod Regularly
  For proper maintenance of a lithium-based battery, it’s important to keep the electrons in it moving occasionally. Be sure to go through at least one charge cycle per month. If you use your iPod infrequently (gasp), you might want to add a reminder to your calendar program

So my conclusion is that your usage pattern could be a probable cause for your battery problem.


iOS 9 Photos in on-phone album in random order: how to rearrange or sort? I created a new album in my phone and added about 90 photos to it that I've taken over the past year -- all in-phone: no iTunes, no computer, no iPhoto... When I open that album, all the photos are in random order. Is there a way to sort the album by date? Or manually drag the photos to a new order?

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

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

Hope this helps!


Run a list of commands in a script Trying to run this and get no such file or folder even though the individual files work in terminal.
#!/bin/bash

pkill Microsoft Teams

rm -r ~/Library/Application\ Support/Microsoft/Teams/blob_storage/*
rm -r ~/Library/Application\ Support/Microsoft/Teams/Cache/*
rm -r ~/Library/Application\ Support/Microsoft/Teams/databases/*
rm -r ~/Library/Application\ Support/Microsoft/Teams/GPUCache/*
rm -r ~/Library/Application\ Support/Microsoft/Teams/IndexedDB/*
rm -r ~/Library/Application\ Support/Microsoft/Teams/Local Storage/*

echo "Clearing Microsoft Teams Cache"

I know this must be basic stuff but not a Mac user normally.

Quoted Spaces
A couple of lines need quoting to deal with spaces:
pkill Microsoft Teams

Should read:
pkill "Microsoft Teams"

and Local Storage needs a slash to become Local\ Storage.
Absolute Paths
If you continue to encounter problems, try expanding the ~ and use absolute/full paths. This can solve many problems and allows scripts to be run from within other tools like cron or launchd.
ShellCheck
A useful tool to know about is ShellCheck. This online or offline tool can help point out common shell script problems.


How can I enable WiFi calling on an iPhone 4S? iPhone 4S (VZN Model) with IOS 9.3.2 unlocked and works with TMO.  What is the procedure / process to configure it for wifi calling.  As I understand it IOS 8 supports wifi calling.

As Bill Tanner has graciously pointed out, Apple indicates a 5C or newer model is supported.  I suspect that the 4S has the hardware necessary to perform wifi calling.  If this is not the case, I'd like to understand the gap that prevents wifi calling: I have successfully made SIP calls (a form of wifi calling) with the device.

I do not believe this to be a duplicate of the question posed regarding the iphone 5   The question is not whether 4S is supported for wifi calling, but what (if any) procedure would be needed to enable wifi calling functionality.  It would not surprise me this feature is feasible with the 4S and that Apple is in a position to easily add it to the list of model that are valid for wifi calling code / instructions

Insight into the procedure to enable wifi calling on the 4S would be appreciated.  Thank you

You need a 5c or later to use WiFi Calling.

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


OSX Mavericks not downloading from Mac App Store (Lion) I have OSX Lion 10.7.5 and am trying to download the new OSX Mavericks.
There is free upgrade option in the Mac App store, which I click and it starts downloading on the launchpad.
But when first when I went to the Purchases section of the App store, the button against the OSX Mavericks said Download.
When I click on it, nothing happened.
In the launchpad it just keeps saying Downloading without much progress.

Any idea as to what could be the issue?

I recommend to just be patient. I had the same issue, I repeatedly clicked "Download" in the App Store, and in the Launchpad I couldn't see much progress at first, but eventually it was downloading (without me having to do anything and insanely clicking probably didn't help). It might take a couple of hours, as heaps of people are downloading at the moment.


How can I synchronize old notes with an email account on the iPhone? I had hundreds of notes on my iPhone before I upgraded to OS 4.0. Now there is the new feature which allows me to sync the notes with an email account. I added my email account, but rather than sync all of my existing notes, it created a new folder in the Notes application.

How can I transfer notes from my old folder "On My iPhone" to my new one that is synced to an email account.

I'm looking for a method which doesn't require syncing to the computer, if possible.

Syncing the notes to your computer, then moving the notes to your email notes and letting it sync back to the phone would be the easiest.

Without syncing you could email each note to yourself by clicking the envelope icon at the bottom of each note. Then turn it into a note in your email account, of course this would take a long time but you wouldn't have to sync with your computer.


Sierra - 'There is a problem...' when connecting to Windows Vista PC I'm familiar with how this should work, but for some reason it's steadfastly refusing to cooperate on my system.

I have an old Windows Vista system, which I just use for hosting an old Parallel Port thermal label printer, and I'm trying to connect to it from my macOS Sierra installation. It used to work - but recently broke.

The issue appears to be related to attempting to connect to a file share on the same machine via the Finder: I can see the machine in the Network browser, but when I attempt to connect to it, I get the message that:

  'There was a problem connecting to the server "". The server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again.'

What does work is:

Connecting to the file share using Command-K, and entering smb://.local;
Connecting to another SMB file share (a Synology NAS) on the network using the Network browser;
Other Macs on the same network.

Whilst I can happily use Command-K to connect to the file share, when it comes to connecting to the Windows printer share, I have no choice but to use the Network browser. For the record, I'm attempting to connect to the printer share by:

System Preferences > Printers & Scanners;
Press the + button;
Select Windows;
Navigate into 'workgroup', then into  - this brings up the same error as before.

I've already tried creating a new user account - same behaviour - and connecting using a Thunderbolt to Ethernet adaptor instead of Wifi - same behaviour.

Any ideas?! Thanks.

I am guessing here but it just MIGHT be something to do with the shared printer on your Vista machine. I would be sorely tempted to remove the printer, uninstall the driver, use the printer utility to REALLY remove the driver, reboot and re-add the printer and the printer share.

Windows printer sharing can be flakey, ESPECIALLY if you are sharing it to a Mac. Not sure whether to blame it on the Mac or the PC, but I am leaning towards blaming the PC...


How to download macOS-Catalina-10.15 I'm looking to download a macOS-Catalina-10.15 but can't find it anywhere on the web nor the apple website. Could anyone help find a safe site, preferably apple to download? Thanks.
I have a Macbook-Pro

Mr. Macintosh lists 8 ways of getting macOS installers. All get them from Apple though some involve running scripts to make it easier. I suggest one of these:
Method 1. The easiest way (if your Mac is eligible) is via the App Store.
Method 8: Direct Apple links to some installers.
Method 5: For myself, I often the Mac Deploy Stick (MDS).  This is 3rd party software (aimed at those who administer many MACs), but inspects what is available from Apple and downloads what you choose.
But select a method for yourself. All download from Apple.