Late 2011 iMac wont boot after Mavericks install

There are 3 more start ups you can try:

Press Option-Command-P-R until you hear startup sound a second time.
Press Command-V during startup. -Start up in Verbose mode.
Press Command-S during startup. -Start up in Single-User mode.

here is more detailed information what to do.

  Start up your computer in single-user mode to reach the command line.
  Note: If necessary, perform a forced restart as described in the
  Emergency Troubleshooting Handbook that came with your computer. On
  desktop computers, you can do this by pressing the reset/interrupt
  button (if there is one) or holding down the power button for several
  seconds. On portable computers, simultaneously press the
  Command-Control-power keys. If your portable computer doesn't restart
  with this method, you may need to reset the Power Manager.

  At the command-line prompt type:

`/sbin/fsck -fy`

  Press Return. fsck will go through five "phases" and then return information about your disk's use and fragmentation. Once it finishes,
  it'll display this message if no issue is found:

** The volume (name_of_volume) appears to be OK

  If fsck found issues and has altered, repaired, or fixed anything, it will display this message:

***** FILE SYSTEM WAS MODIFIED *****

  Important: If this message appears, repeat the fsck command you typed in step 2 until fsck tells you that your volume appears to be OK
  (first-pass repairs may uncover additional issues, so this is a normal
  thing to do).

  When fsck reports that your volume is OK, type reboot at the prompt and then press Return.

Your computer should start up normally and allow you to log in.

or see the link for more information.


Where does OneNote for Mac store its notebook files?

OneNote stores things in an application container in your user's Library folder. Open Finder and use the go to folder function and paste

~/Library/Containers/com.microsoft.onenote.mac/Data/Library/Application Support/Microsoft User Data/OneNote/

The current version has an offline data file in a 15.0 subfolder. You can snoop on the program when it's running to see what files and ports are open.

sudo lsof | grep OneNote | grep -v Applications


Where are the audio files of "Voice Memos" stored on macOS Mojave?

.m4a files created by Voice Memos can be found at

  $HOME/Library/Application Support/com.apple.voicememos/Recordings

Inside that folder is an .m4a file of the actual recording, prefaced with a string of numbers. The file is not saved with the name you give the memo in the interface, unfortunately.

The Voice Memos interface allows you to send the audio file through Messages, Mail, or export it to Notes or AirDrop:

.


How to disable Top Sites in Safari on High Sierra

So turns out you can just secondarily click them, then disable Show Frequently Visited Sites from the menu that appears.


Can I put a MBP (2012)'s hard drive into a Lenovo laptop and continue using MacOS?

It will simply not load at all.
Any non-Apple computer will not even recognise the hard drive's format type without extra software installed.

It is theoretically possible to get a non-Apple computer to boot to macOS/OS X, but it is against Apple's licensing agreement to do so & is consequently off-topic on all of Stack Exchange.
It's also not a trivial task & not guaranteed to work.


Why don't I see a path to etags in PATH when running Emacs from http://emacsformacosx.com/ from the OS X dock?

This looks like an OS X bug coupled with different undefined behavior in Ruby and Emacs.

The root cause is that when launching Emacs from Finder, OS X is passing the PATH environment variable to the process twice! I wrote a test case and submitted it to Apple's bug reporter (id 19801095). Here's my test case:

#!/bin/bash

mkdir -p /tmp/test.app/Contents/MacOS/

cat > /tmp/test.app/Contents/MacOS/test <<EOF
#!/usr/bin/env ruby
\$stdout.reopen('/tmp/test.app.log', "w")
ENV.each_pair {|k,v| puts "#{k}=#{v}" if k == 'PATH' }
EOF
chmod +x /tmp/test.app/Contents/MacOS/test

launchctl setenv PATH "Extra PATH"
open -W /tmp/test.app
cat /tmp/test.app.log
launchctl unsetenv PATH

If you save that and then run it from the Terminal then it will print:

PATH=/usr/bin:/bin:/usr/sbin:/sbin
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
PATH=Extra PATH

This only happens on 10.10. 10.9 will only print one PATH.

So that is the root cause. What's actually happening? The Emacs from http://emacsformacosx.com uses a Ruby launcher script so that it can ship a binary that runs optimally on OS X installs from 10.6 to 10.10. This launcher script manipulates the PATH:

ENV['PATH'] += ':' + File.join(base_dir,     "bin-#{arch_version}") +
               ':' + File.join(base_dir, "libexec-#{arch_version}")

So ENV['PATH'] only manipulates the first instance of PATH in the list. When Emacs launches, it only pays attention to the last instance of PATH. Which on is right? Well, POSIX talks about this case in the spec:

  If more than one string in an environment of a process has the same name, the consequences are undefined.

That means that neither of these programs are technically in the wrong.

Ok, so why does it behave differently from Terminal? That's because something is filtering out the duplicate PATHs in the environment when you are running from Terminal. I suspect bash. But it could also be Terminal.app. Either way, there's only one PATH in the environment and so the Ruby launcher and Emacs communicate correctly.

So what's the solution then? I think the Ruby launcher needs to change to deal with this, since it appears to be the default behavior in 10.10. That's a shame, since it's just more cruft. Luckily (as you can see from the above test script), Ruby can get to both PATHs so it can filter out everything but the last instance which would make it work the same way Emacs works.

Edit: There's now a bug report on the Emacs build project

Edit: This is now fixed. Nightly builds after February 11th and releases beginning with 24.5 should work (24.5 is currently a pretest but should be released shortly).


How to make Mobile Safari open email links in the Gmail app?

There is no way (yet) to change that without jailbreak tweak. Apple forces you to use Safari and (in this case also) Mail.app.

You can find the tweak here: http://www.webpronews.com/jailbreak-tweak-lets-you-make-chrome-your-default-ios-browser-2012-06


Dock moves to either bottom of main screen OR left of second screen - can't do left of main screen

The Dock will only go to the left of the left-most monitor, or the right of the fight-most, [based on your setup in System Prefs > Displays > Arrangement & not on their physical placement if this does not match.]

It will not sit in the middle.
If you want it to go to your current working display, it has to be set to the bottom, & you need 'Displays have separate Spaces' switched on.


Why are regular Folders in Smart Folders not showing up in Open File dialogs?

This is indeed the expected behavior, as explained in this article by Howard Oakley. The article deals with tagged folders, but the behavior also applies to Smart Folders.


The Unix shell is probably the best text list transformation software.

$ sed "s/^/'/;s/$/'/" <<< cube | awk '{printf "%-12s=> t(%s),\n",$1,$1}'
'cube'   => t('cube'),
$ sed -E "s/(.*)/'\\1' => t('\\1'),/" <<< cube | column -t
'cube'  =>  t('cube'),

Or write throwaway scripts in some scripting language:

puts "cube
page".gsub(/^.*/) { "'#{$&}'".ljust(11) + " => '#{$&}'," }

Even if there were GUI applications for tasks like this, it would probably be more useful to learn (or get faster at using) scripting languages or text editors.


How to close apps from Mission Control on macOS Sierra?

I have recently bought a new MacBook Pro after 4 years of using Windows, and I really missed the ability of directly closing windows in Mission Control, as I used to do in my good old Mac OS X Snow Leopard.

I have searched around the web and in macOS Sierra settings, but I didn't found a OS native way of achieving it.

So I installed this little tool (I also used it in the old days) called Better Touch Tool. It allows you to set customised keyboard and gesture shortcuts.

I use a 3 finger tap to close windows directly bellow the cursor (which works anywhere, even in Mission Control). You can set up any shortcut you want. I find using it very convenient, I hope you do also.


Yes, that works without problems. I have used such a setup myself.

Note both devices should be connected to the same local network. It doesn’t work remote over the Internet without special VPN.


macOS, Can't disable default calendar alerts

UPDATE:  Cancel all of this.  I just realized today that all my default 1-hour alerts are again back on my desktop device calendars.  However they are NOT back on my iPhone.  iOS shows no default 1-hour alert, but macOS does on both laptop and desktop (High Sierra and Sierra, respectively).
So I don't know if this is a bug in macOS Calendar or iCloud or what, but it's still driving me nuts.  Original "answer" follows.

At the moment it appears I have finally solved this.  Apparently I must not have tried changing all the alerts from my phone after all though I thought I had.  Changing them from macOS simply did not work, but changing them all one by one from the phone, seems to have done the trick.  This morning my usual alert at 9am that always would go off at 8am, did not.  It went off at 9am as desired.  So unless I find things revert back again... I'm going to call this the solution.

Change the alerts from an iOS device, not macOS.


Black sun animation in iTunes. Does anyone know what it is?

That is the Visualizer.  You can press Command + T (Ctrl + T on Windows) to start it.  Or it is available form the View Menu.

View --> Show Visualizer

Also in the View Menu you can change some of the settings for the way the Visualizer looks.

View --> Visualizer --> <More Options Here>


iOS 11.0.2 - AirDrop not showing up in Control Center even after long pressing the "Network Icon Group" in the Control Center

I am using an iPhone SE and a long press on the network settings box in the control center is working fine for me.

If the box opens but there is still no icon, you can check if there are any restrictions active like in the article mentioned by Melvin Jefferson (found in settings / general / restrictions).


Not enough space on disk to install App Store app, but which one?

Check the "purgeable" space of your APFS disk with Disk Utilities. It seems Finder count this space in free space, but not App Store.

But you can trick macOS to clean up APFS by creating a huge garbage file, then deleting it.

You can create a huge file that will force macOS to clean purgeable files to free you space. In order to do so, type this command in a terminal:

dd if=/dev/zero of=~/hugefile bs=15m

It will create a file called hugefile in your home folder, which you can check the size with Get Info and stop when it's big enough for you, using ControlC. Or you can simply let it run until you are out of space in the disk and things start to stop working.

This command takes a long time to allocate the memory, you can also stop it when it's 5~10GB.

In practical, what I have done earlier is letting dd run for about 30 seconds, then killing it with ctrl+c, and deleting the file:

rm ~/hugefile

Hope this will help in your case too. Then App Store happily installed the update if it is trying to udpate.


I like to remove all RAM and then power up just like you did. If there are severe hardware issues - the system often won't give you the correct diagnosis. Now if this works, there still could be hardware issues:

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

Then I put in one RAM stick and try rebooting. If that doesn't work - reset NVRAM one time (hold for two beep cycles) and then repeat the power off / power on. You've probably done all you can and will actually need to get the hardware repaired or just pieces reconnected internally. The clock batteries aren't needed for successful boot - then you can set the clock as needed - they're nice to have and not required.


When the USB sound card is plugged to the Mac, do you see it in System Profiler (from Apple Menu -> About this Mac -> More Info... -> System Report) as a USB device ?

If so, can you then see the audio device in System Preferences -> Sound -> Output ?
If not, would other USB devices work on the same USB port ?


why are my iPhone4 videos different in size?

Recording videos with Instagram will save them in the lower resolution. To record at native resolution, use the Camera app.


My iPad Air Wi-Fi (A1474) won't restart after getting a new system update

Try putting your device in recovery mode, you'll need a lightning cable and iTunes
https://support.apple.com/en-gb/HT201263


How do I duplicate Apple Configurator profiles?

Got it.

Open the XML file in TextEdit (or some other XML editor of your choice).

Scroll to the very bottom.

Look for:
        PayloadDisplayName
    Orig Profile
    PayloadIdentifier
    orig.profile

Change these two instances Orig to Dup or some other unique name.
Save file.
Go to configurator > import > point to file - it imports as 'dup profile' with all other settings in tact.

(I suppose you could also make XX copies of the XML file and edit each one, but it is easier just to leave the file open in TextEdit, make a change, save, import, make a change, save, import, lather, rinse, repeat.)


Turns out this is due to having the nobrowse mount option set for the affected partition. Removing this option for the partition's /etc/fstab line fixes this issue.


My answer is No. I have been looking for weeks. I have tried many programs, read many articles, and even called apple. Apple said, "We do not make our software with web development in mind."


Catalina 10.15.5 Bluetooth (Keyboard) Connection Not Working

What have you already tried to fix this? Does the keyboard connect to any other device? Can the MBA connect to any other BT device? Have you performed the usual troubleshooting steps of reboot and/or reset SMC? – fsb Jun 3 at 16:23

Thanks fsb the SMC reset did the trick.


Does my MacBook Pro have an expiry date?

That's not likely an expiry date, as much as an end of cycle for manufacturing. The date April 24, 2012 bears no significance to the Macbook Pro. The 2011 Macbook Pro was the second last edition of the Macbook Pro line and was released in October 2011, as June 2012 saw the release of the Macbook Pro Retina line and the final Macbook Pro. If you were to open up a 2012 MBP, you would likely see a different date listed on the 604-2751-C part. Given the lead times to manufacture, it would make sense that there was no further production of the Macbook Pro bottom plate past that date.


Xserve CPU Status LED's under Mountain Lion

It is possible to re-enable the front-panel LED array on the Xserve when running 10.8. It appears that the process responsible for displaying/updating the readout on the front panel is the hwmond process. Unfortunately, hwmond is not included with OS X v.10.8. However, it is possible to use the hwmond executable from a 10.7.5 system.

The hardware that I tested with was an Early 2009 Xserve. After copying hwmond from the 10.7.5 system into /usr/sbin, I copied the com.apple.hwmond.plist launchd configuration file from /System/Library/LaunchDaemons/com.apple.hwmond.plist, and installed into /System/Library/LaunchDaemons on the 10.8.5 system. After a reboot (or a launchctl load -w /System/Library/LaunchDaemons/com.apple.hwmond.plist), the system identifiers are working normally.


Debug AirDrop between MacBook Pro and iPhone 6s Plus

The best tool for visualizing AirDrop networking and peer counts is Apple's Wireless Diagnostic on OS X. Open it and don't click the window that is presented. Instead, open the Monitor Window (Command+7) and look at the bottom where AWDL shows up:

The top half is the classic WiFi we all know where you join a base station for internet access. The bottom half shows AirDrop status. Channels that are negotiated (149++ in my case), whether the connection is idle, in low power mode, or data transfer is happening over AirDrop. As you change your iPhone AirDrop - the Mac should change the display in the monitor window in near real time.

The rest of this short article has some poor long term strategies, but they help me corner the culprit in many cases and then I go back and adjust the thing that was blocking me.

Turn off your AirPort/WiFi network so that none of the devices have to juggle or choose between the ad-hoc network that gets created for AirDrop and the actually WiFi network of choice. This helps prevent interference between the two Apple devices - I believe that AirDrop uses 5 GHz channel 149 but can't find that in writing in the moment - but avoiding any strong WiFi signal helps immensely in debugging AirDrop)
Cycle BlueTooth on both devices in the settings - having it on helps me connect devices for AirDrop
On the Mac - disable the firewall entirely temporarily
On iOS - reset the network settings

Check that the airdrop wireless network interface exists on the Mac OS:

mac:~ me$ netstat -nr | grep awdl0
fe80::%awdl0/64                         link#6                          UCI           awdl0
fe80::5ce6:2cff:fe85:f703%awdl0         5e:e6:2c:85:f7:3                UHLI            lo0
fe80::aced:abff:fe2f:814e%awdl0         ae:ed:ab:2f:81:4e               UHLWIi        awdl0
ff01::%awdl0/32                         link#6                          UmCI          awdl0
ff02::%awdl0/32                         link#6                          UmCI          awdl0

The IPv6 addresses you have will be different as will the MAC addresses ( like the 5e:e6:2c:85:f7:3 in my example output above)

At this point, you should be set for success. If you don't have the airdrop interfaces, a reboot of the Mac might help, but the problem might be deeper than a restart in that case.

Let's dump the actual AirDrop partners in real time from the Mac:

dns-sd -B _airdrop._tcp

This runs and should show other Macs as you come in range and open their AirDrop finder windows. iOS devices similarly should register and un-register from the dns-sd listings as they come and go.

mac:~ me$ dns-sd -B _airdrop._tcp
Browsing for _airdrop._tcp
DATE: ---Wed 21 Oct 2015---
17:15:05.628  ...STARTING...
Timestamp     A/R    Flags  if Domain               Service Type         Instance Name
17:15:05.630  Add        2   4 local.               _airdrop._tcp.       f7954d04c333
17:15:05.843  Add        2   4 local.               _airdrop._tcp.       aac40572c2f3
17:15:53.055  Add        2   4 local.               _airdrop._tcp.       8dde35896ba3
17:16:46.685  Rmv        0   4 local.               _airdrop._tcp.       8dde35896ba3
17:17:52.062  Rmv        0   4 local.               _airdrop._tcp.       f7954d04c333

Next on the inconvenience scale, but useful for debugging is a raw TCP packet dump of the actual traffic arriving over the AirDrop network. You won't necessarily need to know that the hex information is, but you can see some of the traffic as the iPhone negotiates with the Mac or the absence of negotiation:

sudo tcpdump -i awdl0

To exit the tcpdump, press Control-C and also expect a 15 second delay or more for packets to show in the terminal window. This tcpdump would be my next to the last resort, and I'd possibly capture the output to send to AppleCare/Engineering if I couldn't make progress with trying to add a third device to the AirDrop party.  You should see lots of "mdns" traffic in the dump if AirDrop has any chance of working. Also - adding other devices to the AirDrop party is good - open photos on iOS and try to share the image with your Mac(s).

The last resort would be to use a tool like WiFi Explorer to inspect the channel utilization in your location if you find that AirDrop works in the absence of other WiFi interference but not in the locations where you prefer to share files. Also Apple's Wireless Diagnostic can help with channel recommendations and capturing raw packets from WiFi over the AWDL frequencies.

Some 2.4 GHz devices are notorious for spamming the multiple WiFi channels with noise, and without survey tools, you won't know that issue.


Automatically Connect to Multiple Servers on Login

You are correct. Since both server volumes have the same name, Login Items will think you are trying to add the same exact shares to Login Items.

To get around this, create an Automator application that follows this basic pattern:

Then drop this Automator application into your Login Items. Every time that you login going forward it will run the script, thereby mounting each of your identically-named volumes.


How can I unlock an iPhone 3G that no longer has a service plan?

The programmer chpwn has created a web site where you can see if you can unlock your iPhone at http://caniunlock.com. Look there, and also at http://jailbrea.kr for jailbreak information. Good luck!


I believe it's because you have no SIM card in your iPad. It seems to appear in place of the cellular icon. It looks to possibly be a bug. You could try restoring it, that could fix the issue.

https://discussions.apple.com/thread/8566966


F11 not presenting code of Macaulay 2 to the Emacs buffer in OSX

I solved the problem this way, thanks to Marc for demonstrating M2 and Emacs.

The file you are modifying in the above buffer needs to have ending *.m2

where notice the heading at the top and the highlighted code for showing that the code is getting read correctly.

by this way, Emacs determines which compiler it uses for the selected code. So

Save as File.m2

F12 opens up the M2 promth

F11 interepts a single line at a time

Wuoala, M2 works out of the box with Emacs, awesome.
Enjoy.


I need help deleting downloaded songs from iTunes using my iPhone 4?

In the Music app, find the song you want to delete in the list and swipe from left to right on the name of the song. Then tap the Delete button that appears.


I would suggest visiting a Apple Authorized Service Provider to troubleshoot this (what i suspect is a hardware issue)
https://www.apple.com/support/macbookpro-videoissues/

Unfortunately MacBook Pro (15-inch, Mid 2010) intermittent black screen or loss of video Quality Program has ended
https://support.apple.com/en-us/HT203554


Can I force Safari on iOS to store a password, though the site disallows it?

Actually, it seems you can do this! I just found the settings under Safari->Passwords and auto-fill. The setting is called "always allow".


PDF annotations: Annotating with Preview on Mac, view annotations on iPad

This seems to be an interesting problem.  I started annotating PDFs on my iPad using GoodReader.  Such annotations always show up fine in another PDF readers on other platforms.  Then, more recently I wanted to do a similar things on my MacBookPro.  At the time, I didn't realize Preview provides this feature.  The App Store provides an abundance of choices for PDF annotation programs.  I chose PDFProfessional since it only costed a few bucks.  I soon noticed it had a problem similar to the one you described.  I could see lines and scribble, but not text notes in other viewers unless I clicked and expanded the text box.  Otherwise the text box seemed empty.

Last month PDFProessional released an update and this fixed that problem.

It may be be that providing annotations that show up universally is harder than it seems and Preview just hasn't reached that level yet.


From what I can tell from reading the Specifications Page, there are no speakers built into  this particular monitor.  There are however, two different audio outputs:  HDMI 1.3 and 3.5mm headphone/speaker jack

The easiest way to test this out is just get a cheap set of speakers or a headset with the 3.5mm jack and plug them in.  If it works, you know all is well with your setup - you just need speakers.


Why are emails not updating on my iPad but are on my iPhone

Just had exactly the same problem ... BT mail worked fine on my iPhone and PC but NOT on the iPad.   Solved the issue by simply deleting the 'Mail' app and reinstating from the app store .. re-entered email and password and away it went fine.  I can only assume that there may have been a corruption in the iPad mail app.


Terminal.app ignores ~/.profile file settings

Ok, what shell (bash, zsh, ...) are you using? Bash for instance reads .profile in absence of .bash_profile and .bash_login, though of you are NOT using bash as a login shell it will most likely go straight to .bashrc

A similar question was asked on this forum before, and pjmorse added this link:

http://hayne.net/MacDev/Notes/unixFAQ.html#shellStartup

which describes what files are read, and in what order, by a shell in OSX.


How can I export a Numbers 3.x chart to PDF?

open the context menu on the chart (e.g., control-click or right-mouse click)
select Copy as PDF.
paste into application (e.g. Adobe Illustrator) or in Preview create a new file with File -> New from Clipboard and save as PDF.

When copied and pasted in this way, the chart remains a high-resolution vector graphic.


How to remove an app stuck in "waiting" mode from the Mac App Store?

I had a problem with not being able to stop an old OS from downloading. In order to delete it and stop the download, once opening launchpad, I held down the 'option' on my keyboard which caused the apps to wiggle just like on the iphone. I could then click the 'x' and delete them/stop the download.


What can I do besides taking in Macbook to remove firmware password?

Your only option is to visit an Apple Authorized Service Provider (AASP) or one of their Genius Bars.  The process to bypass a firmware lock changed a few years ago and now requires that a certified technician (ACMT) contact Apple with the Mac's information, which Apple will then process and use to remove the firmware lock.

You can find a list of AASPs using Apple's locate tool, https://locate.apple.com. Select the service option and search for a provider in your location.

Even with older Macs, where the firmware password could be bypassed by changing the RAM configuration and resetting the PRAM, the firmware lock would persist after wiping the hard drive and re-installing the OS.  This behavior still exists today.


OSX 10.11.x and Adobe CS6 suite incl photoshop?

Last night I updated to OSX 10.11.6. I have made no changes to my Photoshop CS6 installation since posting this question.

With this update, Photoshop now opens and loads perfectly fine. I have not done any complex operations, but it works fine. Seems the Apple Feedback site may get read after all.

This may be of interest to other Mac Users with issues with Photoshop CS6.


Why my CodeRunner mac app keep output “(B[m” before my correct output?

It looks like a language encoding issue.  Check that the space characters at the beginning of the string are actually half-width space, and not Japanese full-width spaces.


Can I designate a wireless network that always takes precedence, if available?

You are right. There is no way of setting preferred networks on iPhone's iOS 5.


I'm not really sure whether the iOS discovery algorithm is documented anywhere public in its entirety.

The standard way of doing this though is to setup SRV records in DNS to let clients know, which servers are available.

For IMAP (without SSL as you requested) you would setup a SRV record such as:

_imap._tcp     SRV 0 1 143 imap.mycompany.com.

For POP3 you could have a record like this:

_pop3._tcp     SRV 10 1 110 pop3.mycompany.com.

The priority in those two lines are 0 and 10, meaning that the client should prefer IMAP over POP3.

A different way of going about this could be to add a SRV record for Microsofts autodiscover mechanism. That SRV record redirects the client to a file called autodiscover.xml that you must host on a web server. That XML-file then contains the details of your servers.


How to display a folder knowing its path?

In the "Go" Menu in Finder there is a "Go to Folder..." menu item.

Alternatively you can use the shortcut:  Cmd ⌘   Shift ⇧  G

You can

Open a new Finder window
Use either of those commands
Type the path in the dialog that appears


Is it possible to hide all theme related packages from Cydia?

Cydia > Sections > Edit

Turn the toggle to "Off" next to the "Theme" sections.


Try this advice as per link:
http://osxdaily.com/2014/05/09/remove-windows-boot-camp-partition-mac/

Before trying out:
1. Please backup your Mac OS X files first as a precaution.


If you have a valid US Apple ID, it should accept the US iTunes gift card.  It should not matter in which country you are physically.  I know because I do this myself.  Does your account show the correct balance, in other words was the voucher correctly processed?

I expect that there is just a small fluke and likely you should try again later to see if the purchase can be completed.


Connecting Asus ZenScreen MBC16 to Mid-2015 MacBook Pro

Using an Asus ZenScreen should be fine. The only issues I've ever seen people have is that the auto sensing orientation feature (to switch between landscape and portrait modes) seems to be somewhat glitchy.
Considering you're on macOS High Sierra, you should be using the ASUS MB series driver v4.3.
Even if you have already installed this, I would suggest downloading/installing it again. Once you do, go to Apple > System Preferences... > Security & Privacy.
If you're prompted to enter your credentials to unlock the Preference Pane, then enter them in.
Next, check to see if you have a message at the bottom of the window asking you to allow use of the software (If so, you'll see an Allow button near the bottom right. Click on this.)
You will most likely be prompted to restart your Mac. Do this and test to see if you can get your ZenScreen to work.


How to empty all emails data when account deleted?

Assuming you have deleted the Gmail and Outlook accounts, if you preform a restore using iTunes and backups, all the email data will be free and so return available.

EDIT: If you want you can also try with some specific application (e.g., PhoneClean) that help to clean the phone. Anyway, before download third part app I think the restore procedure (that is free) can work as well.


MacBook Pro (Mavericks) sees details of non connected wifi network

Wouldn't the simple explanation be that the networks are routing traffic between them.

Check your router settings, it could be as simple as bridge mode on one of them. Also, map out the DHCP servers and network ranges on paper in case writing it down lets you realize there aren't actually two networks or if one is NAT translated as an address on the other.


Yes, you can use your Mac and not trash anything. (Especially if you know how iTunes syncs to iOS).

For simplicity's sake, you might want to create a new account on your Mac so your friend can enter her Apple ID account in to the Mac if needed to update apps.

This also keeps her backup separate from your backup and simplifies life if you want to transfer her purchases to iTunes (which iTunes will want to do to ensure it can restore the iPad should the update/upgrade fail for some odd reason).

I would say, just start with getting a good backup to a new account and then see if the device even needs an update. If you connect her device to your iTunes on your account - you might have some learning and clean up if her contacts mix with your contacts, etc...


Ok i managed to boot my osx partition again.

To find the hidden partition i created a bootable OSX Mavericks installation on an external harddrive on which i installed TestDisk.

TestDisk scanned my builtin HDD for partitions and created the output seen in the question.

To restore the table gdisk with the given sectors gdisk was used.


Airplay Yamaha CRX-N560d speakers working on iPad Air 2 but not on Macbook Pro 2017

Yamaha did release a firmware update in December 2017 and since you've been having problems with this for a while it'd be worth checking whether you actually have the latest firmware for your Yamaha CRX-N560D.

If your firmware is version 1.17 (or above) then you're up-to-date. If not then go to the CRX-N560D Firmware Update Version 1.17 page.


It sounds like the hard disk may have been damaged, or perhaps its connector has become disconnected.

If you can dismantle it, try disconnecting the hard disk and reconnecting it. If that makes no difference, then it sounds like you need a new hard disk (or even an SSD).

Installing is possible from a USB stick, so you don't need to use the DVD drive. But while you are dismantling the machine, you might want to look at getting the CD out of the drive!

Also - you didn't mention which model/year the Mac Mini is. That makes quite a difference to any instructions someone might want to show you.


How to fix Magic GarageBand missing files?

The clue that explains how to fix your issue is that the applications works in a brand new user account. If it were a problem where the files were truly missing or a bug in the app - you would expect the same error in a new account. Unfortunately knowing that the problem lies in your library isn't much help due to the large number of files exist in most library folders.

To fix this, several different paths could be taken:

You can import the actual files into the new account from the old account and side step pinpointing which file is problematic.
You can call the engineers that have the source code (AppleCare in this case) and see if they have a knowledge base explaining which file or files or directory needs to be cleared from your library to avoid doing the work involved for one of the other DIY choices.
Do a search of your library files (I would do a binary search - eliminating half of the files each pass - or as close to half as you can manage without software to automate tracking which files were deleted and which were not) and testing to see if the error persists after you have removed one or more files from ~/Library
Use a tool like fs_usage to try to track each file the GarageBand app opens in hopes of isolating the ones from ~/Library that it needs to have reset to default.
Hope that something like user permissions in the Library folder can be seen to be off and adjusting them by hand (Disk Utility won't repair your home folder permissions or look deep in ~/Library to fix things sadly) or try throwing away simple things in ~/Library like the GarageBand plist files and cache directories.

Again, it's a bit like searching for a needle in the haystack and I realize this isn't the same as telling you "file X and cache directory Y are the culprit" since I don't actually have that level of detail on iLife 11 files.

Hopefully this will help you or someone else in narrowing down how to track corruption in a user account enough to decide to call the vendor or just spend the time you need to move music, photos, documents over to the new account and just hope the error doesn't crop up again.

I'd quit GarageBand app, make a back up of my system and then move these files/folders to the trash:

/Users/whatever/Library/Caches/com.apple.garageband
/Users/whatever/Library/Preferences/com.apple.garageband.LSSharedFileList.plist
/Users/whatever/Library/Preferences/com.apple.garageband.LSSharedFileList.plist.lockfile
/Users/whatever/Library/Preferences/com.apple.garageband.cs
/Users/whatever/Library/Preferences/com.apple.garageband.plist
/Users/whatever/Library/Preferences/com.apple.garageband.plist.lockfile
/Users/whatever/Library/Saved Application State/com.apple.garageband.savedState

If that doesn't remedy the issue, then I'd call Apple if I had AppleCare or could visit a genius bar and then just hand migrate my user files to a new account. The latter should take less than 20 minutes to plan and the files can copy while you are eating dinner. Having a good backup is mandatory for any delete / trial / hand migration just in case you find something you forgot to migrate days or months later.


Lion changes the sleep behavior when closing the lid of a MacBook

Ok guys, I figured it out.

I don't really know what is going on underneath, but it has something to do with having "Internet Sharing" enabled. Just disable it when you're not using it and your MacBook should now go into sleep mode when the lid is closed, even when it's plugged in.


Catalina Safari "Proxy Automatic Configuration" (PAC) is not used

Here's what I learned:

Safari requires SOCKS localhost... not SOCK5 localhost..., but Chrome requires SOCKS5 localhost... So my pac file returns 'SOCKS5 localhost:12345;SOCKS localhost:12345'
Apps now being very sandboxed, you cannot use file:///Some/Path/proxy.pac that will be readable by all apps requiring the proxy config. World readable areas are now read-only in macOS.
If your pac file is not sensitive, save yourself the hassle of running an http server and host your file on some server somewhere. I used a gist.github.com file. Make sure you make it public and use the "raw" link to copy/paste into macOS' "Proxy Automatic configuration" URL.


How do I check where the file in .Trash was removed from?

Based on the previous information, the information about original location is stored within DS_Store file. In older version of OS X it was just a plain text and now binary format and it's undocumented by Apple, however there is a tool created by Wim L which can reads it.

Written in perl Mac::Finder::DSStore project provides routines for reading and writing the .DS_Store files generated by the OS X.

Using examples/dsstore_dump.pl would attempt to dump a store file's records in a more human-readable format.

Example usage:

$ perl dsstore_dump.pl ~/.Trash/.DS_Store

    &makeEntries("foo.png",
        ptbL => "Users/username/Desktop/",
        ptbN => "foo.png"
    ),

See: dsstore repo at hhhh.org and older repo at GitHub


Is there a Retina Enabled IDE to do some programming on the new MacBook Pro?

To enable a retina eclipse

From: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382972

Here's the workaround:

Do "Show package contents" on the Eclipse.app.  Edit Contents/Info.plist.  Just
above

</dict>
</plist>

Place this:

<key>NSHighResolutionCapable</key>
<true/>

Then, log out or make a copy of the app so that OS X will notice the change.
Now, the info window will not show "Open in Low Resolution" as checked.  Launch
Eclipse and enjoy your new retina awesomeness.


Regain space from failed attempt to install Windows Using Boot Camp

If you're not afraid of the command line

First show your partitioning

sudo gpt show /dev/diskX

Remove the partition

sudo gpt remove -i 2 /dev/diskY

Replace X with your disk number, and the index "2" with the partition number of the windows partition.

Afterwards, use the gui to enlarge your partition.


Navigate through application that have windows shortcut

The closest built-in option in OS X is to launch Expose which shows all open windows, then hit the tab key to cycle through all open apps.  It will still select those with no open windows, but is a quick alternative nonetheless.


Can a Non-Thunderbolt device (like a mid 2010 iMac) connect to a Thunderbolt Display?

No, it cannot. That's the reason Apple is still selling the non-thunderbolt 27" display, for the devices like yours.

Source: Apple Online Store, where under system requirements it says:

System Requirements

Thunderbolt-enabled Mac computer, including MacBook Air, MacBook Pro, Mac mini, and iMac


"Client Authentication" certificate for iPhone for school Wi-Fi

This certificate only identifies your device as a trusted known device and to be allowed on the network.

Credentials (usernames and passwords) can be stolen.  Hardware identifiers (MAC addresses) can be spoofed.  This unique certificate gets generated at the time of request is and cannot be spoofed.  So, even if someone steals your username and password and tries to access the network using their MacBook, it won't allow them onto the network.

It's a cert for authentication, not encryption/decryption.


this article should be useful to you

http://www.intego.com/mac-security-blog/setting-up-a-new-mac-should-you-migrate-or-do-a-clean-installation/


Where is the terminal application on the filesystem?

Is this all you want?

/Applications/Utilities/Terminal.app


/etc/launchd.conf setenv value containing whitespace

Use export instead of setenv.

export foo1=123456
export foo2="123456"   # foo2 should now have the same value as foo1
export foo3=123\ 456
export foo4="123 456"  # foo4 should now have the same value as foo3


iTunes Sync Error: iPhone cannot be synced. An unknown error occurred (-54)

Error -54 is a file permissions issue.
Here are a couple of methods to reset common errors...
Fix the iTunes folder permissions
Open the Start menu & type %userprofile% (including both % symbols) then hit Enter you should see the My Music folder, which is the default location for iTunes music files.
Open My Music, select the iTunes folder
Then, make sure you have sufficient control over the contents of that folder -

right-click on the folder, go to Properties
Security tab, Advanced..
Permissions tab, Change Permissions...
click your account name in the list, make sure it says 'Full Control' [if not, reply to that effect & we will need to revise this answer]
check the box underneath for "Replace all child object permissions with inheritable permissions from this object"
click OK. That should recursively give correct permissions right down the folder hierarchy.

Try your sync again…

Additional method, if the first doesn't work…
Restore TrustedInstaller permissions

Right click on the file or directory.
Click on “Properties” on the right click menu.
Click on “Security” tab.
Click on “Advanced” button at the bottom.
In Advanced Security Dialog window, click on “Owner” tab.
Here you will be able to see current owner (i.e. Trusted Installer).
To take ownership of the object, click on the Edit button. Give permission to UAC. Then highlight the user name in the “Change owner to” box that you want to assign as the owner for the object. Click “OK” to finish the process.
Back in Advanced Security Settings window, you will see the current owner has changed to the user you just selected.
Click “OK” button to exit this window.
Click “OK” again to exit completely from the Properties window.
Repeat step 1 to 4 to open the object’s Properties window again.
Back in object’s Properties window, click on Edit button, and confirm the UAC elevation request.
Highlight the Administrators in the “Group or user names” box. If the user ID or group that you want to manage the permissions for the object doesn’t exist, click on “Add” button, and type in the user name or group name desired into the “Enter object names to select (Can use Everyone as user Name)” box, and finish off by clicking on “OK”.
In the Permissions for Administrators box below (or any other user name or group name you chose), click on “Full Control” under the “Allow” column to assign full access rights control permissions to Administrators group.
Also refer this link
http://windows.microsoft.com/en-us/windows-vista/Troubleshoot-access-denied-when-opening-files-or-folders

Update June 2016
Apparently, the layout of the perms windows has changed in Win 8 & later - see
Set Folder Permissions in Windows 8 or 8.1 Computer or
How to Take Full Ownership of Files & Folders in Windows 8 / 10 for further info.
If neither of the above methods works...
There is a utility called Windows Repair (All-in-One) by tweaking.com which I would highly recommend for a non-expert way to ensure Windows has all its correct defaults.
It is not any kind of "go-faster" tool, it doesn't speed up your machine in some 'magical' way. It just makes sure everything is as it should be. It won't break anything, so long as you follow the instructions precisely.
The free version is all you need, though personally I bought the pro version just to reward the author. [I have no affiliation, it's just saved my neck enough times to be worth recommending]


Turns out, I just had to reset the 'dock' process. I opened Terminal and typed

killall Dock

and pressed enter. The screen flashed for a second, and everything came back with my stuck icon gone.

If that fails, the issue may be with Finder (this is the case with the similar issue of Stacks categories "burned in" to your desktop background). Running

killall Finder

will address that.


AppleScript check if Chrome Extension is installed

Google Chrome's AppleScript Dictionary doesn't have a direct method to check for extensions, so you need to test for the Adblock Plus extension in a different way.

If the Adblock Plus extension is installed, then the adblockplus.js file will exist within the "$HOME/Library/Application Support/Google/Chrome/Default/Extensions/ directory structure. So I'd test for its existence and the example AppleScript code below does that.

set fileExists to do shell script "find \"$HOME/Library/Application Support/Google/Chrome/Default/Extensions\" -iname adblockplus.js 2>/dev/null"

if fileExists is not "" then
    display dialog "Adblock Plus is installed." buttons {"OK"} default button 1
else
    display dialog "Adblock Plus is not installed." buttons {"OK"} default button 1 with icon caution
end if


That issue is related to your $PS1, you're probably missing some escape character.
This one should work:

PS1="\[\e[1;31m\]\u[\w]$\[\e[0m\] "


What Mac app has a red icon with right arrow?

That would be Skitch, an app for marking up images.


What do I need to know to buy an SSD drive for a 2008 MacBook 5,1?

A partial answer:  Other World Computing has extensive tables for their own use of what is compatible with what.  They are also good at answering questions by email.


finding all directories with whitespace at the end of name

You can try this: find . -d -name "* " -type d -exec bash -c 'TO=$(echo "{}" | sed "s/.$//"); FROM=$(echo "{}"); mv  "${FROM}" "${TO}"' \;


Setup wireless iPad - iTunes connection without connecting via USB first?

No, they have to the 'paired' via USB first.


The Mac was probably encrypted with FileVault 2.

You don't normally have to enter a password to start up in single user mode, but if FileVault 2 is enabled, you do. If FileVault 2 is enabled, you can't use the Reset Password application to reset the password of an account either.

If FileVault is enabled, I don't think there is any way to erase and reinstall OS X without knowing the password or the encryption key. When I enabled FileVault on a VM and started up from the recovery partition, the erase tab was missing from Disk Utility, and I couldn't create another partition from Disk Utility. When I tried selecting Reinstall OS X, the list of volumes did not include the Macintosh HD volume.

If the previous owner enabled the option to store the recovery key with Apple, you might be able to retrieve the recovery key by contacting Apple support:

  Typing in the wrong login password three times prompts you if you have the ability to retreive your key from Apple. Click the triangle-button next to the prompt that appears to reveal a Recovery Key text field (which replaces the password text field) and AppleCare contact information, along with your computer's Serial Number and a Record Number. You need to provide these pieces of information in order for AppleCare to retrieve your recovery key.

If you can't get the recovery key from Apple and you can't contact the previous owner, your only option might be to replace the hard drive.

(I also copied and pasted instructions for three ways to reset the password of an account below. None of them can be used if FileVault 2 is enabled and you don't know the password though.)

  Using Reset Password.app on the recovery partition

  Hold command-R on startup.
  Select Utilities > Terminal.
  Run resetpassword, which opens the Reset Password application.
  Select the volume and account and reset the password.

  Using dscl in single user mode

  Hold command-S on startup.
  Run mount -uw /.
  Run launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist in 10.7 or later or launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist in 10.6 or earlier.
  Run dscl . passwd /Users/username newpassword, where username is the username and newpassword is the new password.
  Run reboot.

  Creating a new admin account

  Hold command-S on startup.
  Run mount -uw /.
  Run rm /var/db/.AppleSetupDone.
  Run reboot.
  Go through the steps of creating a new account.
  Reset the password of the old account from the Users & Groups preference pane.


Control iMac using Macbook Air keyboard and mouse?

If you are fine with using your iMac as a display with your MBP doing all the work, enable Target Display Mode.

  Make sure that your iMac is turned on, and the other Mac is logged in to a macOS user account.
  Connect the Mini DisplayPort or Thunderbolt cable between the two computers.
  Press Command-F2 on the keyboard of the iMac that you want to use as a display.

If you want to your iMac to do all the work, you could use thunderbolt networking and then use some of those apps that you tried earlier with wifi. To set up thunderbolt networking, just follow the directions here.


How do I enable DNSSec on OSX? (Or DNSCurve)

You should install unbound and have that be your dns resolver on Mac OS X.  Unbound supports DNSSEC.   Next, you need whatever apps you want to use, to be aware of and respect the results of the DNSSEC validation that unbound does.  As an example, SSH can use DNSSEC along with SSHFP to validate the fingerprint of the server that you are connecting to.

Here is a blog post that details how to install unbound. https://spatof.org/blog/2013/8/unbound-on-osx/

As to having IPSec using DANE, I believe that is still something that it being worked out.
https://tools.ietf.org/html/draft-osterweil-dane-ipsec-02


It turns out Chrome is apparently creating some special window called "Window". Witch sees that as the previous window and ⌘tab switched to it, not the actual video window. This takes me to the correct space for the video but it's the wrong window.

The solution is to tell Witch to ignore windows with the name "Window" by adding ,Window the the "Ignore windows with titles:" Behavior settings.


Is there a shortcut to open a folder in a Open File dialog?

Return (with the ↩ symbol) opens the folder for browsing its contents (unless you're in column view). You need to press Enter instead. It's a different key, and its symbol is ⌤.

If you don't have that key on your keyboard, you can press Fn-Return to achieve the same effect.


How do I improve gaming performance with Parallels Desktop for Mac?

Parallels will rarely be as fast as natively booting Windows via Bootcamp, especially when you're gaming. You're much better off ditching parallels and going back to bootcamp for gaming. By running the VM, you're limiting the amount of resources that are available to OS X and your VM environment; thereby, making each run slower. On some machines where a faster processor and large amounts of RAM are available, may speed it up, but it will never be as smooth as running it natively.


How do I further diagnose TCP connectivity (timeout) problems? (ICMP, DNS work fine)

First step: check that Mac n°2 is connected with the network interface you think it should (i.e. Ethernet and not AirPort or anything else).

If you are using the famous Automatic network configuration you are never sure on which interface your computer is talking or replying.
For example, your Mac n°2 might well be plugged toward the Internet through your neighbour Wi-Fi connection.


How do I create a DMG file from a directory?

If you want to do it from the command line, hdiutil will provide more control than Disk Utility over how the DMG is created. As an example, you can use hdiutil like so:
hdiutil create -volname WhatYouWantTheDiskToBeNamed -srcfolder /path/to/the/folder/you/want/to/create -ov -format UDZO name.dmg

See man hdiutil for more details.


This is a hardware problem, unfortunately.  The problem here is that inside the port there is a "switch" that detects whether a jack is plugged in or not and depending if one is, plays audio through the jack or the internal speakers.

The linked article talks about a malfunctining switch/port, but this isn't your case as you described; you have a stuck 3.5mm jack that won't come out so the switch is set to play audio through the port and unfortunately, there's no overriding it.

The only other options are to:

get a USB DAC (Digital Audio Converter) which is basically a USB soundcard to hook your audio/speakers up to
take the Mac in for service to have a new audio port soldered on.


In activity monitor what time frame is the data sent / received data from?

For the top two figures, since last boot; for the bottom two, current.

After comments: It may be since launch of Activity Monitor - I have mine launch at boot & it stays open all the time, so I probably didn't notice the potential discrepancy.
The little graph is 'since switching to that tab', as it doesn't log more than about 5 minutes of data.

This machine's been up 9 days, this looks about right for my standard usage -

If I initiate a large download, the bottom figures become this [on a 150Mb/s line] -

The graph scale auto-zooms, so the earlier few KB/s vanishes into a flat line.

Once the file has finished downloading, the top figures show the increase of about 2GB & the bottom pair goes back to being relatively idle


Voice memos - Recordings.db not updated on iOS 7.1.2

OK I've figured it out, thanks to this page.

If I understand correctly, the Recordings.db file is just the "structure" of the SQLite database. The transactions are stored in another file called "Recordings.db-wal".

Quote : "WAL files are a form of cache whereby data that is written to an SQLite db is first written to the WAL file (when this is enabled) and then at a later time (known as a checkpoint) the SQLite data is written into the main database".

So in order to view the data, Recordings.db and Recordings.db-wal needs to be in the same directory before opening Recordings.db with a SQLite DB viewer.


How do I reset the software Mac OS X Update Server

You should be able to control this from the Server Admin application. If it's not obvious from the UI or the help, add a comment here and I'll walk you through the UI steps.


I've never heard of a DisplayPort-based external TV tuner.

But there are HDMI-based TV tuners available, and HDMI-DVI adapters are cheap.

Single-link DVI supports 1920x1200 at 60 Hz, which is higher than any digital broadcast TV standard, so that wouldn't be your limiting factor.


If I'm correct, this is the same bug I had with APFS, because APFS creates a container and then fills it with virtual partitions (volumes).
I'm not sure this is the good way to do the trick but I created partitions formated as exfat for example and then format the partitions to the file system you want ?


Should this new MacBook Pro be returned?

Yes, you should consider returning it back to Apple and get a refund:

Returns & Refunds

  You have 14 calendar days to return an item from the date you received it.
  Only items that have been purchased directly from Apple, either online or at an Apple Retail Store, can be returned to Apple. Apple products purchased through other retailers must be returned in accordance with their respective returns and refunds policy.


I recently brought a MBP 2011 15" that was affected by the dedicated graphics issue to an Apple Authorized Service Provider (because that was more convenient than taking it to the next Apple Store). When they ran the test, they didn't find a problem either and then told me that they would not do the repair.

When I showed them the photos that I had taken when the graphic glitches occurred, they said that that was enough evidence and then they repaired the MBP.

Did you show the pictures/videos of the problem to Apple? If you did, I would either go to an Apple Authorized Service Provider and see if they agree to do the repair or go back to Apple and try escalate the problem. If you have photo/video proof of the defect, I would hope that it should not be too difficult to convince them to do the repair.


Getting “Unable to Check for Update” error when trying to update to iOS 13.1

You have done everything that you can do from your iPhone. The solution for you at the moment is to use iTunes from your Mac/PC if you really want to have iOS 13.1.

If you want to update immediately, plug in your iPhone to your Mac
Update via iTunes by clicking the Check for Software Update button

I got the same issue and with iTunes, I was able to fix it. Sorry, at the moment with my knowledge those basic solutions from the phone don't work and didn't help me. I would love to hear if anyone has fixed via iPhone only.


Can my mum set my iMessages to be received on her phone if we have separate Apple ids?

No she cannot see your iMessages with separate Apple ID's. Even if you are in a iCloud family.


How to ssh in to a blowfish-based server from MacOS Sierra?

Manual page for ssh explains the -c switch, which is used for the cipher specification:

ssh -c blowfish-cbc your_host

should do the job.


Device management not showing up on iOS 9.2.1

You don't actually have a profile installed on your phone yet. Once you do, it will appear


Can't delete Exchange server account from 10.9.5

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


You can disable Apple Music on your iphone to stop showing cloud purchases. Head into iPhone Settings > Music > Toggle Show Apple Music to off.


Find out if account is locked using terminal

You can use pwpolicy getaccountpolicies -u usershortname - if the account is disabled it will return "Error: Credential verification failed because account is disabled."

For example:

[root@macOS] / #pwpolicy disableuser -u admin
Disabling account for user <admin>
[root@macOS] / #pwpolicy getaccountpolicies -u admin
Getting account policies for user <admin>
Error: Credential verification failed because account is disabled.
[root@macOS] / #pwpolicy enableuser -u admin
Enabling account for user <admin>
[root@macOS] / #pwpolicy getaccountpolicies -u admin
Getting account policies for user <admin>
[root@macOS] / #


Can I update apps on my ipod when it's full via itunes?

Yes, you can download the apps onto iTunes on your computer. Then, provided you already have app syncing turned on between the iPod and iTunes, you should be able to seamlessly have the updated versions sync over. You can do the same thing to perform iOS updates when the time comes.

That said, it can be frustrating in many scenarios if the iPod touch is so full that you can't even download an Angry Birds update. I may recommend finding a way to lose at least a few songs or apps here or there if possible.


Twitter And Facebook Integration Missing In Notification center?

The Facebook integration wasn't available when this question was asked - it was added in OS X 10.8.2 in September 2012.

To activate Twitter and Facebook sharing, you must first configure at least one Twitter and / or Facebook account via System Preferences -> Mail, Contacts & Calendars -> Add Account -> Twitter (or Facebook). Once you've successfully added a Twitter account, the Twitter widget should appear at the top of Notification Center.


How to install OS X 10.7 and 10.8 in VMWare Fusion, on a 10.9 host?

If you don't have them in your Purchases in the Mac App store, you can order Lion and Mountain Lion directly from Apple for USD $19.99 each.

http://store.apple.com/us/product/D6106Z/A/os-x-lion
http://store.apple.com/us/product/D6377Z/A/os-x-mountain-lion


Keychain won't let copy passwords after 10.11.1 update

Third-party utilities such as Alfred, TextExpander, or MagicPrefs might appear to take "control" of the window as far as the OS is concerned.  You can find the culprit by disabling them all, and turning them on one by one until you find one (or more) which affects Keychain in that manner.

You can add the offending program to the list of approved apps ( System Preferences -> Security & Privacy -> Accessibility ) and this issue will go away.  (hat tip to @elmigranto for this addenda)


How can I add an autocorrect mapping to the iOS dictionary?

My workaround has been to add a keyboard shortcut that replaces the text ill with I'll any time I add it. Not perfect, but as a stop-gap it will do.

To add the shortcut go to Settings -> General -> Keyboard and scroll to the bottom of the page. You will see an Add New Shortcut... button. Press it.

In the Shortcut configuration page type I'll in to the Phrase entry box and ill in to the Shortcut entry box and press the Save button.

Now any time you type ill it will auto-correct to I'll.


Final Cut Pro can do that.

So can DVD Studio Pro.

There are also some free alternatives, most notable: Aegisub and Jubler.


How to remove color formatting of links in Microsoft Word?

Format > Styles

There you can modify the styles in use for the current document, including hyperlink colours.


Enable keyboard tweaks on apps which run as root

Its not possible. Cydia Enable tweak already doing this. Just a problem. Not updated for 1.1.26 of Cydia version.


What user details are shared with publishers through Apple News?

In iOS 9 Settings >> News >> News and Privacy, there's a long text that itemizes the privacy protections (and limitations) related to collection and use of individual and aggregated data.

Regarding "Disclosure to Third Parties", it says, in part:

  We do not share any of your individual data with third parties...


Is the i7 2.2GHz MacBook Pro worth the price difference with respect to the 2.0GHz model?

I bought a new 15'' MBP just one week ago and I considered the same choices. Finally I took the 2.0 GHz for the following reasons:

from the pure CPU point of view this would be an endless pursuit: there will always be a CPU with a frequency a bit higher than what you have; for example you would be tempted to go from the 2.2 to the 2.3 GHz

the 2.2 (and 2.3) have 8 MB (instead of 6 MB) of L3 cache, that's my only regret
I think it is more useful to upgrade from the 5400 RPM drive to the 7200 RPM, I think there's a noticeable difference
if you're a software developer then you should really consider to upgrade to the HD screen

In my opinion, unless your budget is unlimited these two upgrades are much worth their price than the CPU upgrade to 2.2 GHz (even considering the GPU and the cache).


Existing text messages not showing up in Messages app on new MacBook?

Messages don't backdate & sync.

Each keeps its own record of messages it sent & received & syncs to other listed devices it can communicate with at the time.

If, for instance you receive messages at your Mac whilst your phone is out of network coverage, they will not appear later on the phone; The messages will be considered to be delivered when any registered device accepts it, & it will not be retransmitted to the other device later.


How to remove synced iPhone data in iTunes 11?

There isn't an easy way to have iTunes show you the last sync data.

You could use Time Machine to compare the files in ~/Music/iTunes after the sync with before it. (Or just restore that entire folder or the entire Mac from a backup before the sync.)

The automatic sync that happens with a new computer is not any actual transfer of files as you would have to go into iTunes and set up the rules or accept the automatic sync of content so unless you already had synced that device to that iTunes library before no data would transfer.


The MacBook Pro can get quite hot and the fan may often spin at high speed and this is considered normal operation. In addition to it's fan it also dispels heat via its unibody aluminum shell. This can make the surface very hot but this is often a good thing as it is moving heat away form the CPU and other components. As long as the ball bearing does not get clogged with dust then it should last a good long time even when running at high speeds. The MacBooks all include temp sensors which will power the MacBook off if it exceeds the heat tolerances.

I think the question is not phrased quite right because as long as the fan does not fail and it keeps the CPU cool, then it will last for many, many years. And as long as the ball bearing doesn't wear out or the blades become unbalanced you will get years of service from your fan. Does this help?


Simply use Disk Utility to format it as FAT, as Macs can indeed read and write to FAT drives–they just have problems with NTFS drives.

Insert your flash drive. Open Disk Utility (/Applications/Utilities/Disk Utility), select your flash drive in the sidebar, then click "Erase" in the top bar. Select "MS-DOS (FAT)" for your format, and Master Boot Record for your scheme.

Note that the FAT file system has a limitation of 4GB file size. If you want to circumvent this whilst still being able to use OS X, format the drive as exFAT (which has a file size limitation of 128 PiB). This option has been recently hidden with 10.11, so it takes a bit more work.

Open Terminal (/Applications/Utilities/Terminal). Run the command defaults write com.apple.DiskUtility advanced-image-options 1. This gives you access to hidden features within Disk Utility. Open Disk Utility (/Applications/Utilities/Disk Utility), select your flash drive in the sidebar, then click "Erase" in the top bar. Select "ExFAT" for your format, and Master Boot Record for your scheme.


Where does a pkg installer install things?

You can check it from Terminal. Navigate to the folder where You have Your pkg file. Enter this:

mkdir Foo
cd Foo
xar -xf ../NAME_OF_YOUR.pkg
lsbom Bom

This will list files/paths which are included in this pkg.


How to create installable app with setuid bit set owned by root

This is just the task suite to a shell script to be packaged with your installer package.

Just package all your files as you do and then review this script only package. Since there are no files, all the steps in this guide will show you how to craft the post install script.

https://derflounder.wordpress.com/2012/08/15/creating-payload-free-packages-with-pkgbuild/
http://macinstallers.blogspot.com/2012/07/scripting-in-installer-packages.html
Configure the OS X Server from .pkg postinstall script

The first guide is the densest, so read it and then hit up the next links, then return to the first for when you’re ready to use pkgbuild tool to install and script.


WhatsApp doesn’t show usernames on notifications

The reason you’re not seeing the names of those users sending you WhatsApp messages is because you haven’t got previews enabled in your Notification settings.

To do this:

Go to Settings > Notifications
At the top tap on the Show Previews option
Now select the option you want generally across all your apps (i.e. Always, When Unlocked, or Never)
Now go back to the main Notifications screen
Swipe up until you see the WhatsApp option
Tap on WhatsApp
Now at the very bottom of your WhatsApp Notifications settings you’ll have options relating to Previews - set this to Never if you don't want the actual message included in the Preview
Exit Settings
Launch WhatsApp and within its Settings go to Notifications and enable Show Preview (this step in combination with choosing Never at Step 7 will enable the contact name to be displayed in the preview, but not the message itself)

Note: You can skip steps 2 to 4 if you only want to set Preview settings for WhatsApp.


Can I set the stereo Bluetooth profile as the default, or remove the mono profile?

Since no-one has stepped up with an answer, I'm going to add a few things that may help get you (or someone else) closer to an answer.

In a nutshell, your question is about HSP - the mono headset profile and A2DP - the stereo profile.

HSP was designed for two way, low latency (delay) audio - designed for the limited spectrum telephone lines send for human voice frequencies. It sacrifices sound quality needed to make stereo music sound good.

A2DP is all about better quality and allowing different encoding schemes to get the best music over a bluetooth link (with potential interference) and sacrifices two way audio, microphone, and adds delay to queue up enough music to allow playing over momentary interference or pauses in bluetooth.

Your headset speaks both - so if you could get your headset to only advertise A2DP, the mac would be forced into stereo. I don't think it's possible, but you might see if Nokia allows you to control this.

Even if you were willing to give up HSP completely on the mac, I don't know if you can delete the driver files and re-program the bluetooth board to not negotiate HSP with your headset.

I do know you can use the Bluetooth Explorer (part of Xcode 3) to systematically clear the preferences and play around with things to see if you can really remove all records of the mono pairing. Whether you could edit the profile to delete HSP from the pairing record is hard to know unless you wanted to experiment and learn in depth how this was engineered.

Some things that will help you track the settings are in /Library/Preferences/com.apple.Bluetooth.plist and /Library/Preferences/Audio as well as using the option key while pressing the mouse on the bluetooth menu to expose the
bluetooth link address of each device so you can match the plist files to actual devices. (Or get the developer tools and use Bluetooth Explorer)

Lastly, you might run the Bluetooth diagnostic utility to see if interference with other devices might be causing your mac to systematically choose HSP which is more nimble than A2DP.

Good luck - I don't have a device with both A2DP and HSP to test, but I can tell you that my A2DP device is by far the worst when it comes to the % of time it fails to connect. (Which is the point where you choose whether to connect as mono or stereo) I usually need three connect attempts to get it working and I'm in a very low noise environment. It works really well once paired - just hard to connect.


After installing Mojave, my previous username/password combination does not work

Easiest: boot from another installation that has good admin access and delete this file:
/private/var/db/.AppleSetupDone
(It supposedly can be done via Single User Boot (Command-S) and deleting with the "rm" command, but that did not work for me.)
You will then get options as if installing OSX the first time, which will permit you to add a good Admin User – which should remain unaltered (in case of future problem) – and that user can change any other user back to an admin…


Why can't I make the partition use the full 500 GB availiable?

Disk utility can't grow partition boundaries upwards.  If the free space and partition were reversed, with the free space below the partition, then you could expand the partition into it.

One workaround is to boot with the OS X DVD, use Disk Utility to create a partition image on a USB drive, then write that image back to the free space.  Once you've verified that it works and runs, delete the bottom partition, and then expand the new top partition into the free space below.


How to disable Documents folder protection?

The easy way is to turn off sandboxing for the app, in Xcode project settings under "capabilities". You might not want that though.

Otherwise you probably need a security-scoped bookmark to the directory. When you get access, create a bookmark from the directory URL using bookmarkData(options:includingResourceValuesForKeys:relativeTo:). Make sure to use .withSecurityScope in the options argument. Save that to user defaults. Then when you want to use the directory,

Read the bookmark from user defaults
Initialize the URL using init(resolvingBookmarkData:options:relativeTo:bookmarkDataIsStale:) with options of [.withSecurityScope, .withoutUI].
Call .startAccessingSecurityScopedResource() before trying to use the URL.
Call .stopAccessingSecurityScopedResource() when you're done with the URL.


Does anyone know the name of this tool on Mac OS?

Yes, like Mateusz said, these look very much like file icons on a desktop.
If you want them displayed like that, right-click your desktop (two-finger-tap), and click on "Show View Options". That gived you a dialog that lets you adjust, how icons are displayed on your desktop. Try the settings from the following screenshot and play around with grid spacing, icon size and text size to get the exact desired result.


why isn't my environment variable visible from the command line?

The issue is that you are not running in your environment so any changes to ~/.bash_profile will have no effect on the command. It will be visible to other processes

sudo runs as another user - in this case root as you have not provided a -u username parameter. Thus you need to change the root environment to make JAVA_HOME visible to the run.sh command


This is a somewhat subjective question. I would personally recommend upgrading to 8 GB of memory and an SSD, but since you're still within the boundaries of the minimum specs, there's no definitive answer. Outside of making sure that all the software you'll need to have working will work, you don't really need to consider anything. I would personally recommend upgrading to Mavericks as it's better supported and optimized then Mountain Lion, and El Cap is not out of the question either.


How do I share and play music in my office?

Check out 'play' from one of the guys at GitHub. Ive had an interest in it, but never had a chance to use it yet.


This AppleScript will open the specified folder in VLC and begin to play the contents:

tell application "VLC"
  OpenURL "file:///Users/grgarside/Desktop/test/"
  play
end tell


Playing speed of podcasts set to super fast with no slow down option

Tap the sign 2x in the podcast app which you get in the app at the bottom left in Music Player overlay. It will reveal 0.5x, tapping again sets 1x, then 1.5x and then again 2x. You need to tap the music player first, not available in locked menu etc.

On the bottom, below the volume slider, there are three options: Speed, Airplay (or something that is used to set volume output device), and the three dots ( for more options). This order is from left to right. And on iPhone SE, and for most iPhones I guess, this fits the screen and doesn't need scrolling down. Scrolling further down, "Turn off after" and share menu etc appears.

https://support.apple.com/en-in/HT201859#listen


iCloud keychain authorisation sends sms to old number

On your iPhone, go to Settings → iCloud → Keychain and switch Keychain off then on again.
Tap "Approve with Security Code", tap "Forgot Code" and then tap "Reset".
Follow the instructions to reset iCloud keychain and create a new passcode.

You will then be prompted to update to your new number.


What causes my Macbook to spontaneously shut down?

Your symptoms are either a bad driver / os for the video subsystem or a hardware failure.

In case of hardware, safe mode will often run since it doesn’t ask as much of the video system which runs in a fail safe / basic mode. Also, it can slow down the rendering so you can easily see the failure modes or grab a screen shot.

Before paying for a repair, consider charting how often this happens and back up / erase install to be sure this is the hardware / vram failing.

As to the shutdown, unless there’s a severe failure, you should get. A kernel panic, but if the logs show no events and no panics, then that’s another reason to suspect hardware failure.

Since your mac won’t run more than 5 minutes in normal mode, why not back it up in safe mode and try an erase install. If your Mac can’t reinstall itself, then you know it’s repair time. If it can, you’ll be back in business


How do I get the scaling options for "larger text - more space" for an external display?

I had the same issue as you on an LG monitor an I think I found a solution to get the Larger Text - More Space option back.

When I got my LG 43ud79-b, everything worked fine. The mac recognized the monitor with 4k res and I was able to go in to my monitor settings and select the more space option.

At one point the monitor had a suggestion overlay saying turn on HDMI Ultra HD Deep Color by going to Picture -> Picture Adjust -> HDMI Ultra HD Deep Color to on, which I did.

After that point, the monitor was only recognized as a 1920*1080 monitor and the scaled options only had resolutions instead of the Lager Text - More Space options.

Turning off the HDMI Ultra HD Deep Color option makes the mac recognize the monitor as a 4k monitor again and brings back the original scaled option. Hope that works for you.


In Safari, hold down down the ⇧ (Shift) key while clicking the refresh button. This will perform a “hard” refresh, which bypasses the local cache.

(To quickly clear the cache in Safari, hit ⌥+⌘+E, go to Privacy, and click “Remove All Website Data”.)


I fixed this by downloading the 64bit version of Eclipse.


Is it possible to import iPhone photos with corresponding .AAE files to Photos on the Mac?

best way to do this is via AirDrop, its super fast and doesn't require a internet connection (bluetooth and WIFI need to be switched on though). Works with iPhone5 or up, maybe 4S as well but i didn't try.

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


Does Mac OS X allow for the creation of iso files and if so can they then be run on a virtual drive?

The usual format for this on OS X is a disk image (aka .dmg). To create them you can use Disk Utility.app (in /Appications/Utilities):

insert the DVD you want to create the image from
start Disk Utility
select "New Image" from the toolbar and pick the DVD as a source. The .dmg can be stored wherever you want to

To open/use it afterwards, just doubleclick it in Finder.


I suggest uninstalling all occurrences of MySQL and reinstalling using just one method :).

I've seen some useful posts across Stack Exchange that explain how to remove MySQL, like this answer. Hopefully that can get you on the right path.


When the text bubble is green instead of blue, you're sending a SMS instead of using iMessage, being, therefore, charged for that.

Messages are sent as SMS when iMessage is unavailable, unless you disable this under Settings / Messages / Send as SMS.

So, as I understand it, you either sent it to an non Apple ID email address, or the text couldn't reach the receiver through iMessage, changing to SMS mode.


How can I show the contact number of the Dialed contact

Unfortunately, you cannot display the number of a contact while calling him. However, there's a way of identifying the number you are calling by adding a custom Contact Label.

To do so:

Open Contacts app
Search for you desired contact
Tap Edit in the top right corner to edit your contact
Tap the label next to the number on the left. (see image below)
Choose a label for that number (see image below)
Do the same for the other numbers

Then, when you call that contact, the label will appear directly below the contact's name.


Mac OS X Terminal - While True Do - Can you stop automatically under desired conditions?

You can stop the execution by entering the command break.

To make a sound, tput bel should work on most shells.

Something like the following example should work:

while true
do
     commands...

     if [[ "$YOUR_VARIABLE" == "value" ]]
     then
         tput bel
         break
     fi
done


Mac Pro 1,1 Ethernet not working, How do diagnose the problem

Since you don't have the original disks (and therefore don't have Apple Hardware Test), I would try downloading AHT and running it from a USB. The steps to do this are as follows:

Create a bootable USB flash drive by using Disk Utility's Erase function. Make sure you choose OS X Extended for the format and the GUID Partition Map for the scheme. For the purposes of these steps, also give your USB the name AHT when you're erasing it.
Download the AHT for your particular Mac Pro 1,1 here
Mount the downloaded image (it should mount as AppleHardwareTest)
Now you will need to copy the AHT to your USB flash drive. To start, Launch the Terminal app (usually found within the Utilities folder)
In the Terminal window, enter the following:

cp -r /Volumes/AppleHardwareTest/System /Volumes/AHT/
Now we need to make the USB flash drive bootable, so enter the following line in Terminal:

sudo bless --folder /Volumes/AHT/ --file /Volumes/AHT/System/Library/CoreServices/.diagnostics/diags.efi --label AHT
Enter your Admin password
Leave the USB flash drive plugged in and restart the Mac Pro
Immediately hold down the Option key
Select the AHT from the list and boot up

NOTE for other readers: - Both the Terminal commands and the download link used here were written for this specific question. Please do not follow these steps unless you're also wanting to download and use AHT for the Mac Pro 1,1 (i.e. these instructions will not work for other Mac Pro models).


Cycle Finder windows but exclude the desktop

First, you're going to need an AppleScript that can swap the position of the two frontmost windows.

tell application "Finder"
    set index of window 1 to 2
end tell

Now you need a way to make this script easily accessible from the Finder. We'll use macOS services, and Automator makes this super easy for us.

Open Automator
Make a New Document of type "Quick Action" (or "Service" in older macOS)
Drag a new Run Applescript action into the workflow. You can find it in the Utilities category, or just search for it in the search bar.
Copy the AppleScript shown above into the script box.
Press ▶ to try it out. You'll get an error if you have fewer than two windows open -- I'll leave that as an exercise to the reader to fix.
Save the workflow as Swap Front Windows. The moment you save it, it will become accessible from the Services menu under the application menu.

At this point you can really try it out. Go to the Finder and open two windows. Then go to the menu bar, choose Finder -> Services -> Swap Front Windows. It takes a moment, but it works. That's cool, now let's hook it up as a keyboard shortcut.

Open System Preferences
Go into Keyboard Preferences
Go to the Shortcuts tab
Go into the Services category
Scroll down to the bottom. Underneath General you should see Swap Front Windows.
Select the "Swap Front Windows" row, then click Add Shortcut.
Enter the shortcut you want to use. I recommend Ctrl + Shift + `.


The iPad is charging now. Just that it remained with the zero charge indicator for over 5 hours although it was connected to its own charger which was working.the first charge took in all over 18 hours. Now it is working as expected. I.e., the charge cycles are only few hours.


RStats particular key combination in Karabiner

The following snippet will work:

<item>
<name>Double press Backquote to %>% in RStats</name>
<identifier>backquote2%>%</identifier>
<only>RSTATS</only>
  <autogen>
  __DoublePressModifier__
  KeyCode::BACKQUOTE,
  KeyCode::BACKQUOTE,
  KeyCode::DELETE, KeyCode::DELETE, KeyCode::KEY_5, ModifierFlag::SHIFT_L, KeyCode::DOT, ModifierFlag::SHIFT_L, KeyCode::KEY_5, ModifierFlag::SHIFT_L
  </autogen>
</item>

You have to add RStats' app bundle identifier - available in Karabiner's Event Viewer > Apps - to /Applications/Karabiner.app/Contents/Resources/appdef.xml.

A single backquote gives a backquote, two backquotes entered fast enough %>%. I think a more elegant version exists - I haven't found it yet though.


Are there any DIY remedies for a iPhone 4 home button that doesn't always register?

You could take it apart and fix it yourself, however it will void any warranty on the phone. You can view the iFixIt Repair Guide for steps for removing and replacing the Home button. Note that you will have to take apart the majority of the phone to get to the button.

Your best bet would be to go to Apple for a repair or find an authorized repair service shop to do it for you.


You’re trying to define the filePath variable by combining a Posix path string with an HFS string.

Try defining the filePath variable like this…

set filePath to (path to library folder from user domain as text) & ¬
    "Mobile Documents:com~apple~Numbers:Documents:Budget.numbers"

tell application "Numbers"
    open alias filePath
end tell

OR.. My Personal Preference

property theDocument : "Budget.numbers"

set filePath to ((path to library folder from user domain as text) & ¬
    "Mobile Documents:com~apple~Numbers:Documents:" & theDocument)

tell application "Finder"
    if not (exists of alias filePath) then
        tell current application to display dialog "The File: " & theDocument & ¬
            " Does Not Exist" buttons {"Cancel", "OK"} default button "OK"
        return
    end if
end tell

tell application "Numbers"
    open alias filePath
end tell

If you’re not quite sure how to correctly define a file path, you can always use the following Apple Script code in a separate script editor document to correctly retrieve the file paths

set filePathAsAlias to (choose file with prompt "choose file") -- Returns The File Path As An Alias

OR

set posixPathOffilePath to POSIX path of (choose file with prompt "choose file") -- Returns The POSIX Path Of The File


Disabling MBP display with external monitor connected in Clamshell Mode - Works with DP->DVI, but not DP->DP

As a start I think we need to establish if you can get your display to work correctly while your MacBook Pro is in closed-clamshell mode. To do this, follow these steps:

Connect a USB keyboard and mouse to your MBP (or pair a Bluetooth keyboard and mouse with your MBP)
Connect your MBP to an AC power source
Connect your Viewsonic display to your MBP
After your MBP desktop appears on your Viewsonic display, close your MBP's lid
If your display goes to sleep, press a key or click your mouse to wake it up

NOTE: If your Viewsonic display doesn't wake up, then disconnect the display and shut down your MBP. Now connect your display while your MBP is off and then switch the MBP on. After logging in close the lid. Remember to keep the external keyboard and mouse connected


Is there any software to control at what time a specific network can be used?

There's an app called Control Plane that allows you to setup rules for various preferences based on criteria such as what network you just joined, your location, time of day, etc. You could try creating a rule with it that cuts down the network activity on your mac after so many minutes of connecting to the Mifi.

http://www.controlplaneapp.com


Can I change "delete" to "archive" in the message control bezel in Mail.app?

As stated by CMW, Delete2Archive can solve this issue:
http://akgungor.com/2013/11/11/delete2archive-archive-gmail-messages-using-delete-key-os-x-mavericks-mail/

I use it an can confirm that it works, also for your problem:

When I hit delete on the keyboard it is archived (i.e. it stays in Gmails "All Mail")
When I hit the button from your screenshot, this seems to apply as well (to my surprise). So therefore your issue should be solved as well :)
When I hit the delete button in the toolbar of Mail.app, it gets actually deleted to the trash. You can customize the toolbar to include an "Archive" button as well (right click on the toolbar and choose 'customize toolbar'), see screenshot. I put it left from the delete button:


The only difference is cost.
Now that we've moved into a contract-free phone era, service providers, like Verizon, will offer to let you make a payment plan instead of paying for the phone upfront. In the end, the cost is the same as the SIM-Free version, but the Verizon version only works on Verizon until they unlock it.
Conclusion: Verizon iPhones are physically the same as SIM-Free iPhones, but Verizon has more control over the Verizon model.

Bonus note:
If you are considering getting an iPhone and are on AT&T or T-Mobile, the SIM-Free version will be a better deal because only the SIM-Free, Verizon, and Sprint models support CDMA, which is needed for those networks.


Full screen YouTube still shows Dock and Menu Bar

If none of that works, open Terminal and enter killall Dock.


This was definitely a clean install, also known as an 'Erase and Install'. Any application or extension-based malware (or trojan) would be gone at this point; it was gone the moment you erased the drive. As for the theoretical firmware possibilities another user mentioned, those are highly uncommon and I wouldn't worry about it.


Saving an Apple Mail message with attachments as an .eml or .msg

Yes, it is possible to save a message in EML format (called Raw Message Source by Mal.app) with attachments.

In fact, that's the default behavior when saving a message as an EML file by selecting File>Raw Message Source, or when dragging and dropping a message from Mail.app to the Finder. (Tested on macOS High Sierra.)

As you say, the option to save attachments is grayed out, but the attachment is included anyway (that seems to be a GUI glitch). After you save the message, you can double click it and attachments will be available. The only requirement is that the attachment has been downloaded.

Note that if you preview the EML file with Quick Look, the attachment may be shown with a question mark picture:

but the attachment is still there.

If you are interesed in the internals of the EML file, the attachment is included in base64 format, a binary-to-text encoding that looks like this (if you open the EML file with a text editor):

--Apple-Mail=_3512B54A-1A55-4008-A3CA-1DBA66D2D37C
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
    charset=us-ascii

Test message.

--Apple-Mail=_3512B54A-1A55-4008-A3CA-1DBA66D2D37C
Content-Disposition: attachment;
    filename=book-hudson.epub
Content-Type: application/epub+zip;
    x-unix-mode=0644;
    name="book-hudson.epub"
Content-Transfer-Encoding: base64

UEsDBBQAAAAAANuKeT9vYassFAAAABQAAAAIAAAAbWltZXR5cGVhcHBsaWNhdGlvbi9lcHViK3pp
cFBLAwQUAAAACADaink/ZEg+NrQAAAAMAQAAFgAAAE1FVEEtSU5GL2NvbnRhaW5lci54bWxVjsEK
wjAQRO/9irBXqdGbhLaC4FnBL1jTrQbT3dBsRf/e6EH0ODDz3jTbxxjNnaYchFtYL1dgiL30gS8t
zDrUGzBZkXuMwtQCC2y7qvHCioFpMmXPuVQndoI5ZMc4UnbqnSTiXvw8Eqv71Nx3Bv/OrjKmmUR0
CJHyO/1kM8wx1gn12sJhvzue7BtToEtJA5iR+oC1PlN5hynF4FEL2AqdUy4zf8MLLYof7EdjfzyN


How to set Mail.app to ask what is the sending address on new mail

The easiest way (at least the one I know of) is simply selecting the mailbox on the left you want to send from, and then click the new mail icon.
It will put as send-address the mailbox you selected on the left.

You can always use the dropdown afterwards if you want it to be another address, but that's the easiest way.
To make it more convenient, set the boxes as top 2 and you can easily select one of both.


I'm looking for a detailed tutorial on a clean install of Lion

The best guide is all written up on Apple's support web site.

A high level Introducing Lion Recovery covers the basics and the About Lion Recovery knowledge base article gets into the details.

Some macs can use internet recovery to perform a one step / internet net boot / bare metal restore. All the rest require a [USB bootable recovery HD. Apple provides an official tool to make your own bootable USB device. Detailed instructions from About Lion Recovery Disk Assistant cover using an existing hard drive as well as a USB device to make your Recovery HD.

Once you are booted into recovery - use Disk Utility to erase / zero / repartition your drive and you now have a clean Lion install.

The following Mac models can perform a total internet recovery or use USB media.

MacBook Air (Mid 2011) 13 inch and 11 inch
Mac Mini (Mid 2011) all models


How to save files on Mac with extension I want?

It sounds like you are in rich text mode, so the editor is trying to save the file in non-plain text format. In general for css/html/code you want just plain text.

In the "Format" menu, choose "Make Plain Text" then when you do a "Save As..." you should be able to just type whatever extension you need.

EDIT -- As Tetsujin mentions, you do should uncheck the 'if no extension, set as .txt' in the save menu so it doesn't try to append .txt as an extension.


Is my iPhone locked with iCloud or not? I don't have SIM Card yet

The easiest manner to check is from this web site:

https://www.icloud.com/activationlock/

If that fails, the older method still works in all cases and Apple describes the steps here:

http://support.apple.com/kb/HT5818

Expand the portion that says (in the english version) How do I check for Activation Lock before purchasing a used device?

It states:

  Follow each of these steps to make sure that you can use the device
  you purchase:

  Turn the device on and slide to unlock. If the passcode lock screen or
  the home screen appears, the device has not been erased. Ask the
  seller to completely erase the device by going to Settings > General >
  Reset > Erase All Content and Settings. Do not take ownership of any
  used iPhone, iPad, or iPod touch until it has been erased.

  Begin the device setup process. After choosing a language, choosing a
  country, and connecting to a network, the device will begin
  activation. If you are asked for the previous owner’s Apple ID and
  password, the device is still linked to their account. Hand the device
  back to the seller and ask them to enter their password.

On iOS 7, the part where you are asked if you want to enter your Apple ID is the step that means it's not locked to another iCloud account. If you cannot enter your new Apple ID from the setup you will see a prompt to enter an existing password and can conclude that it's not released from the previous owner.

Since you're not getting to that step, either get a SIM card that satisfied the carrier lock on that device or perhaps connect it to iTunes and see if you can restore the device. In my experience, iTunes also checks if the device is locked and will tell you to remove the iCloud lock before it lets you restore the device when it's at the point where you can start the setup assistant.


Apple’s EULA states that you’re only allowed to install OS X on Apple hardware. If it’s legal to go against an EULA depends on the country and its legislative authority.


Shutdown script doesn't work as a cronjob

Your script doesn't fetch the BOOT_TIME of the remote hosts properly in the cron environment.

I recommend to remove the cronjob and create a launch agent usr.remoteshutdown.plist instead in /Users/admin/Library/LaunchAgents/ with the following content:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Disabled</key>
    <false/>
    <key>Label</key>
    <string>usr.remoteshutdown</string>
    <key>ProgramArguments</key>
    <array>
        <string>/bin/bash</string>
        <string>/Users/admin/Shutdown/sh/remoteshutdown.sh</string>
    </array>
    <key>StartCalendarInterval</key>
    <dict>
        <key>Hour</key>
        <integer>23</integer>
        <key>Minute</key>
        <integer>0</integer>
    </dict>
</dict>
</plist>

Then load the launch agent by entering in the Terminal.app:

launchctl load /Users/admin/Library/LaunchAgents/usr.remoteshutdown.plist

Please adjust the (admin) user name and the name and location of the shutdown script in the plist.

To test this you don't have to wait 24 hours. Simply either

remove the sudo in the shell script temporarily
comment out the line ssh "${ADMINUSER}@${MAC}" 'sudo /sbin/shutdown -h now'
comment out the ssh ... shutdown -h now line and insert a line echo "Boot: ${BOOT_TIME}"
echo the ssh ... shutdown -h now line (instead of executing it)

Then modify StartCalenderInterval in the launch agent to a point of time in the near future (current time +3 minutes). Unload and load the plist with:

launchctl unload /Users/admin/Library/LaunchAgents/usr.remoteshutdown.plist
launchctl load /Users/admin/Library/LaunchAgents/usr.remoteshutdown.plist

The shell script requires SSH key-based authentication and that the admin has a special line in the sudoers files of the remote hosts to allow sudo shutdown ... without entering passwords!


localhost / userdir on macOS High Sierra

Like on Sierra vhosts seem to need to be activated

so:

  sudo vi /etc/apache2/httpd.conf

and uncomment the following lines by removing the hashtag (#)

  .#LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so

and

  .#Include /private/etc/apache2/extra/httpd-vhosts.conf

then

  sudo apachectl restart

and you'll be good to go


How do I troubleshoot 3G connection on the iPhone?

Wow, tough one. Tough because there are many unknowns in this equation...

No way to know for sure if China Mobile is not causing the problem by blocking, for example, the ports required to connect to the mail server. The only way to test this would be to change the port settings on both the server and the client, I think. In theory, it is entirely possible for them to block ports they believe can be problematic or some other reason, although I don't see how blocking standard mail ports would be problematic and help their customers...

Are other services functioning properly when on 3G? Like web-surfing, app updates, chatting, etc.?

It might be a case where your client needs to contact China Mobile and ask them for a little help troubleshooting this problem on their side, just to be sure it's not their network that's causing the problem...


Go to Apple's Downloads Page and re-download it manually.


How can I remove Photos.app from Mac OSX El Capitan?

Try AppZapper, i always use it but idk if it really delete Apple's apps

AppZapper can delete .app and also every configuration file that it have

EDIT: i've found this, the guy in that tutorial is using CleanMyMac3 to do it. Hope it can help you


Command Line Tools beta 1 for Xcode 11.0 offered as an update in the current latest public release of macOS Mojave 10.14.5

Why is this beta release of CLI tools offered as an update?

This update is mistakenly released by Apple for everyone. This has happened last year as well when the betas for macOS Mojave and Xcode 10.0 were released for developers by Apple during WWDC 2018.

See the Q&A from last year (2018):

Beta Command Line Tools offered as update—why?

  Should I install it?

No. You should not install it as it is not meant for you.

  How do I remove it?

Simply ignore the update and it should go away automatically.


Mid-2014 Macbook Pro i7 15" OS 10.6.8 boot fails

With few exceptions, a Mac must run the OS X version that it shipped with as a minimum version.  The minimum OS for your Mid-2014 MacBook Pro is at least 10.9.4, so you won't be able to run Snow Leopard on it.