How can I add a ipfw forward rule to little snitch?

Since ipfw is also removed in Yosemite the solution is to use pf

create a file in /etc/pf.anchors/

e.g. com.myapp

rdr pass on lo0 inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080

NOTE: Add a trailing line break. Otherwise pf will say you have a syntax error.

edit /etc/pf.conf add right after rdr-anchor "com.apple/*":

rdr-anchor "myapp"

and after load anchor "com.apple" from "/etc/pf.anchors/com.apple":

load anchor "myap" from "/etc/pf.anchors/com.myapp"

NOTE: Add a trailing line break. Otherwise pf will say you have a syntax error.

Next, reload the rules into pf by running sudo pfctl -f /etc/pf.conf

Finally, enable pf by running sudo pfctl -e

Source: https://github.com/basecamp/pow/issues/452


I presume you mean 40-50 degrees C, not F.

Yes, that's pretty normal. I'm just browsing the web with Safari, and my laptop is at 111 degress F


What are the effective scaling modes on OSX with a 4K display? Is an effective real estate of 2560x1440 possible?

I bought one (the Dell P2415Q) so can offer the results...

Scaled options are:
1504x846, 1920x1080, 2304x1296, 2560x1440 and 3008x1692

That is to say, the macbook always outputs 3840x2160, 60Hz as far as the monitor is concerned. It just "looks like" those resolutions in terms of real-estate.

1920x1080 is the default, and other scaled resolutions are given with the warning that "Using a scaled resolution may affect performance".

eg.

Looks like 1920x1080:

Looks like 3008x1692:

Source: My MacBook Pro (Retina, 13-inch, Early 2015), running 10.10.4, 2.9 GHz Intel Core i5, Intel Iris Graphics 6100 1536 MB


Can I measure time by counting frames and trusting the '240 FPS' of my iPhone 7+ slow motion?

An easy, but not 100% accurate way of ensuring this, is simply to right-click the video in Photos on your Mac and select "Get Info". This will show the average number of frames per second over the whole video. This is usually not exactly 240, but extremely close.

Obviously as it is an average it can vary very slightly from one range to another within the file, but for most usages this is just fine.

If you want to be absolutely precise, you'll need to look inside the HEVC file itself, to see exactly how many frames are in each second in the file (i.e. look at every second by itself - not doing an average over the whole file). This requires you to be proficient with video file formats at a programmer level.


I use HandBrake. It's free and open, and works nicely.


I trust that the Drag Lock feature should deliver what you need. You can activate it in the system preferences. I would also suggest that you have a look at this discussion that explains how the drag and lock an similar options work.


Where are tex /mactex binaries after brew install mactex

At the time of writing (June 17th, 2018) running:

brew cask install mactex

will install MacTeX-2018 and

which tex

gives

/Library/TeX/texbin/tex


how can I search for folders ending in certain characters in Finder?

I haven't found a way to get variables in spotlight, but I must be misinformed since that seems so useful to not implement.

That being said, I use terminal and mdfind to parse spotlight like you have all the time.

mdfind "kMDItemFSName == '*son' && kMDItemKind == 'Folder'"

That will show you all folders ending in son and you might want to grep for the "sample names" folder name to replicate the search you have illustrated or use the -onlyin command:

mdfind -onlyin dir "kMDItemFSName == '*son' && kMDItemKind == 'Folder'"

You can drag the folder into terminal to get a properly escaped name with spaces encoded and then paste that in place of dir


How do I drop outgoing packets to specific host/port?

You could use the PF firewall:

Add this line to /etc/pf.conf to drop all packets to the given ip:port

block drop out quick proto tcp  to 192.168.1.103 port 80

After changing pf.conf you should reload it with

sudo pfctl -f /etc/pf.conf

Eventually you will have to enable it with

sudo pfctl -e


Mac Mojave Sys Prefs/Screensaver slows down, locks up

Problem was introduced in a previous update and seemed to affect Macs with multiple screens.
Latest security update (mid Dec '20) seems to have fixed it. Has for me anyway. Screensaver loads in just a few seconds and System Prefs. loads the preview and allows edits without crashing.


All HTTP requests get ERR_CONNECTION_REFUSED, HTTPS works - How to troubleshoot?

You are probably victim of an adware: OSX/Pirrit. Please read the linked analysis.

To remove the adware save the following shell script as remove-adware.sh (e.g. on your Desktop) and execute it as root:

echo "*** Osx.Pirit Removal script, Amit Serper, @0xamit ***"
echo "*** BEFORE YOU RUN THIS SCRIPT, STOP! I CAN'T TAKE ANY RESPONSIBILITY ON ANY DAMAGES HAPPENING TO YOUR MACHINE. YOU ARE THE MASTER OF YOUR OWN FATE"
echo "*** Before running this script check that you are indeed infected with osx.pirrit. TERMINATE THIS SCRIPT BY HITTING CTRL+C AND RUNNING THE FOLLOWING COMMAND:"
echo "$ dscl . -list /Users UniqueID | grep 401"
echo "If this command has an output then continue running this script. Else DONT"
echo "Press any key to continue running this script, remember - I am not responsible for any unfortunate outcomes"
read

echo "[*] Getting net_pref name"
netPrefFileName=$(sudo defaults read /Library/Preferences/com.common.plist net_pref)

echo "[*] Netperf name is:"
echo $netPrefFileName

echo "[*] Getting appname from com.common.plist"
appName=$(sudo defaults read /Library/Preferences/com.common.plist name)
echo $appName

echo "[*] Stopping and removing LaunchDaemon"
sudo launchctl unload -w "/Library/LaunchDaemons/"$netPrefFileName
sudo killall $appName

sudo rm "/Library/LaunchDaemons/"$netPrefFileName

echo "[*] Removing injector"
sudo rm -r "/Library/"$appName
echo "[*] Removing malicious pf configs made by Pirrit"
sudo rm /etc/change_net_settings.sh

sudo pfctl -evf /etc/pf.conf

servicePrefFileName=$(sudo defaults read /Library/Preferences/com.common.plist service_pref)
echo “[*] Net pref file name:”
echo $netPrefFileName

appName=$(sudo defaults read /Library/Preferences/com.common.plist name)
echo “[*] App name is:”
echo $appName

echo “[*] Removing LaunchDaemon”
sudo launchctl unload -w "/Library/LaunchDaemons/"$servicePrefFileName
echo [*] Killing app and osascript”
sudo killall $appName
sudo killall osascript

echo “[*] Cleaning up…”
sudo rm "/Library/LaunchDaemons/"$servicePrefFileName

sudo rm -r "/Library/"$appName

echo “[*] Removing pirrit launching script”
sudo rm /etc/run_app.sh

echo “Script finished”

Make it executable:

chmod +x ~/Desktop/remove-adware.sh

change your working directory:

cd ~/Desktop

and execute it. Read the intro of the script thoroughly (especially the advice to run dscl . -list /Users UniqueID | grep 401 before continuing:

sudo ./remove-adware.sh


A quick google found this article. You can enable secure empty trash as the default from the Finder preferences:

  For nearly every version of Mac OS X, there is also an option to
  always securely empty the Trash, enabled within the Advanced Finder
  preferences. If you regularly work with private data this is a good
  feature to turn on.


How to sync reading list from iPhone to mac without iCloud

It is not possible to sync your Safari Reading List without iCloud. However iCloud is a free service, I would suggest just signing up for it.

Alternatively you could use another reading list service like Readability etc.. but they all work via a online service.


Why won't Launchpad create a .db file? Restarts reset Launchpad

Check the permissions of the /Dock folder. If that's all good, try this issue out in a new administrator user over in System Preferences > Users & Groups.


MS Word documents changing to .cpio files and then to .zip files

When a document opens with the wrong app the first thing to do is see what macOS thinks should happen.

In Finder find a document
Right click on it and choose Get Info
Look at what Open with... shows
If it is the wrong application alter it to be the correct one e.f. Word in this case. You might want to Change all as well.

If it is the correct app then more investigation needs to be done.


Macbook air 100 GB hidden space + error when verifying volume

Forget the space calculations if your disk has accounting errors.

Back up any data that’s not already safe.
Try repairs until you’re out of patience or feel it’s not going to work
Erase the drive (Apple support erase install guide is below - search for erase or format)
Re-run the disk check.
If you have a clean check, then validate the storage settings before you load any data. Erase again if you aren’t convinced the clean install is correct.
Seek hardware service or repair if the check won’t pass after two erases.

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


Very difficult to drag image icons around the desktop in OS X 10.12.6

The ‘preview’ is Quick Look, a feature released in 2007, originally activated through pressing space on the keyboard (not to be confused with preview the app). In addition to space, activating it through Force Touch on the trackpad has been around since the introduction of Force Touch. Not that I'm saying you haven't had this problem before, but the feature isn't new with 10.12.6.

It's possible you've stumbled on a bug with that version of macOS, where the Force Touch sensitivity or drag-detection is failing. You can provide feedback to Apple here:

https://www.apple.com/feedback/macos.html

You can completely disable Force Click in System Preferences → Trackpad → Point & Click by unchecking Force Click and haptic feedback.


How can I run an unsigned script in Automator

The exiftool installs into /usr/bin. Under SIP this is not permitted.  I assume the developer will change this at some stage.

If you install in /usr/local/bin it should work, and you won't have to override anything.

EDIT
I believe the latest has been changed to install in /usr/local/bin I have never bothered to install it myself, I just run from a local directory.


Login and Finder problems after Time Machine restore

It sorted itself out after about two hours of being stuck.
Leave it be I guess.


User cannot login using AD credentials, others can

Still not exactly sure what caused this, but here is what I did and it worked.

On the old iMac:

Unbound from domain and logged user out

In active directory:

reset the users password

Now I am able to login to the MBP with the AD network account to create the mobile account.  Hopefully this helps someone else if they come across this.  At first glance this just sounds like incorrect password, but using the right password would not add to the badpwdcount in AD, and using an incorrect one on purpose would.  Also the original iMac & a Windows machine were able to login to the mobile account using the correct password.


What is the life expectancy of a Magic Mouse 2 battery?

The Magic Mouse 2 uses a lithium ion battery and generally speaking those have a useful life of 3 to 5 years1.
That said, it's important to note that:

Apple products (including accessories) have a 1 year warranty
Only accessories included with a Mac computer are covered under AppleCare.  In other words, if you buy AppleCare for your iMac that includes the Magic Mouse, it's covered.  It won't cover it if you bought the mouse separately (like with a MacBook)

From personal experience, I've had rechargeable batteries in a Logitech Mouse last the better part of a decade and brand new batteries (genuine OEM) from Dell and Apple fail after a year. YMMV. (your mileage may vary)

1Manufacturers' information typically specify lifespan in terms of the number of cycles (e.g., capacity dropping linearly to 80% over 500 cycles), with no mention of chronological age.[162] On average, lifetimes consist of 1000 cycles,[163] although battery performance is rarely specified for more than 500 cycles. This means that batteries of mobile phones, or other hand-held devices in daily use, are not expected to last longer than three years. Some batteries based on carbon anodes offer more than 10,000 cycles.[164]


How can I use shortcut keys for context menu items?

Context menus can be navigated in Safari with keyboard shortcuts. E.g pressing C - Enter will jump to copy link.


Refurbished Macbook pro's localhostname set to "Toms-AppleWatch" on fresh OS reinstall / Harddrive wipe

I've seen this sort of thing before, particularly when I was in a hotel. I noticed my Macbook was showing up with the name of someone else's iOS device. I'm assuming the DHCP server was re-using an IP that was previously leased to the other device.

You mentioned that scutil --get HostName did not show the offending hostname, but did it show any hostname set at all? If not, try setting one explicitly:

sudo scutil --set HostName Darren

That seemed to work for me. The HostName attribute shouldn't be overridden by DHCP, if it is set. But, in practice, this changes all the time as the host name gets set at boot and bash honors whatever old name DNS/DHCP has for the last device to use the IP address issued. This is a problem with your network issuing a new name. You could try to force bash to keep re-evaluating the correct name, but this has been so for years. It has nothing to do with your Mac being refurbished or cleanly installed (but good troubleshooting to provide those details):

Strange domain name appears in Sharing Preferences, source unknown
Mac OS X Mountain Lion - DNS resolving uses wrong order on VPN via dial-up connection (a.k.a. DNS is hard, always)
My Mac mini's computer name keeps changing when it resumes from sleep (Just wait till you get Toms-AppleWatch (2) and (3) going if you don't tune your DNS setup)


How can I run Mojave on an iMac that won’t run Mojave?

You could try http://dosdude1.com/mojave/, although I don't know if that would work in your configuration.


How do iPhone apps push notifications when the app isn't running?

You must have launched PandoraBox before the reboot of your iPhone, right?

When you launch apps that send notifications, they keep the way to identify you and throw notifications to your phone.

So the answer to your question is : "the code is running on some PandoraBox machine, not on your iPhone".


DNS resolves servers external IP instead of internal IP

It sounds like what you're trying to do is called Split Horizon DNS, and it can be quite tricky. That said, it sounds like you have quite a bit of it already set up but that the internal DNS is not authoritative for your domain.

If you have not already done so, you need to modify your internal DNS to create a primary zone for example.com. Then, when you query for your domain, the DNS should not look outside for an address.


You can delete items whose files have been removed by running this from AppleScript Editor:

tell application "iTunes"
    repeat 5 times
        repeat with t in file tracks of library playlist 1
            try
                if location of t is missing value then delete t
            end try
        end repeat
    end repeat
end tell

I don't know why you have to run it multiple times, but it usually removes all items after about five times.


why is my ipod stilll using so much of the "other" catergory after it was restored?

Anything from applications (non-iTunes apps), saved games, stored files (using OpenSSH for example). Mainly jailbreak items etc ... make up the (Other) in iTunes.
Anything that takes up space and can not be recognized by iTunes, shows up as 'other'.

I think what is happening is it is installing things from all of your jailbroken apps even though your device is not jailbroken any more. I think what ZHENJiNG LiANG is saying is to restore your iPod as a new device and then sync everything (music, apps, photos) etc... manually instead of restoring from your backup. Because your backup obviously has files in it that no longer relate to your non jailbroken phone.


I duplicate a file in photos app mac and it references the same file

Duplicating it simply duplicates the pointer within the library, it does not actually duplicate the underlying file. This occurs whether or not you have a referenced library. You can test this by using the Edit tools to make a change - such as cropping - then duplicating the image. The duplicated image has a "Revert to Original" button in Edit mode that takes you back to what the image looked like before the change, even though this "duplicate" image didn't even exist at that point in time.

Based on this, it appears the duplicate function is intended to allow you to maintain multiple versions of an image at the same time, but still allow you to do so non-destructively.

If you want to physically duplicate the file, you need to do so in Finder and then import that file into Photos.

@Tetsujin is correct about the hard link.


How do I remove the “video” flag from a transcoded .m4a file?

You should be able to use subler to do that. Just open the file, go to other settings and you can set the media kind to "normal".

https://subler.org/


Weird page flicker on macOS 10.15.2 with chrome 79 (latest)

So after encountering a few other websites that caused me some trouble

Like any of the following (and apple.com)

https://obsidian.md/
https://affinity.serif.com/en-us/designer/ipad/
https://www.windowscentral.com/how-determine-graphics-card-windows-10

I was able to fix it by enabling hardware Acceleration

Go to Chrome > Settings > Advanced > Enable Hardware Acceleration

I opened a chromium bug report https://bugs.chromium.org/p/chromium/issues/detail?id=1094727


Assuming I understand your question correctly, it sounds like your booting your Mac to start up from macOS Recovery over the Internet.

If this is what's happening, then your most likely pressing the Option Command R keys during bootup (instead of just CommandR).

If you're absolutely sure that you're only pressing the Command R keys, then perhaps try using the Command key on the other side of the keyboard (in case you've got a problem with your keys).

By the way, the full process to disable SIP is:

Start your computer
Immediately hold down the commandR keys to boot into
recovery
Click the Utilities menu and select Terminal
Type csrutil disable and press return
Close the Terminal app
Select Restart.... from the menu

Let me know if this helps or if you're still having problems doing this.


Create Lion DVD from Lion USB flash drive

You should be able to accomplish this by doing the following:

Open Disk Utility
Plug in your Lion Installer USB flash drive, wait for the volume to mount
Insert a blank DVD
Click on the Lion Installer volume
Click the Burn button:

This should burn the volume to the DVD. If it doesn't, you may have another problem at hand.


How to have Safari play again Flash videos?

One solution :

Kill the process Safari Web Content. Warning : In all pages, you will lose all the data you may have entered.

Explanation :

The process Safari Web Content has just been killed without human intervention. And Safari reloads all the pages. This is a bug in Safari. It happens from time to time, when many pages are loaded, it is a kind of process apoptosis. Now, I have the Flash Player plug-in process running, and Safari loads the Flash videos. :-)

Confirmation :

The bug has occurred again. This time, I have killed the process Safari Web Content myself. This solution works.

[Edited : Confirmation of the solution]


How do I maintain photo filters (e.g. Noir) when transferring from iPhone to iPhoto on MacBook?

I've asked this question at a GeniusBar in an AppleStore and also searched the web quite thoroughly on this.

Apparently, the only way to maintain the filters is with workarounds such as emailing the photos to yourself.

Background: Only the original photos (without the filter) are stored in the iPhone and iOS applies the filter every time you view the photos or use an iPhone App (like Mail) to export them. Apps from your Mac (like iPhoto) can only access the original photos.


Installing Yosemite converted your hard drive to a Core Storage logical volume, and CS was only introduced in Lion (Wikipedia), so it makes sense that Snow Leopard would have no idea what to do with it. Here's how you undo CoreStorage (source - this method worked for me). It should be non-destructive, but as always, take a backup first!

Also, note that any reinstall of Yosemite will re-Core Storage-ify your drive and require you to do this procedure again, and software updates might too. If the issue comes back after a reinstall or update, just go through this process again.

Boot into Recovery HD. If for any reason you don't have Recovery HD, then you'll have to make a bootable Yosemite drive and boot into that.
In the Menu Bar, select Utilities > Terminal.
Run diskutil cs list. You'll get an output that looks like this (credits to the Ask Different user in my source):

Select your Logical Volume ID (the one highlighted in the screenshot) and copy it to the clipboard.
Run the Terminal command diskutil cs revert Paste-Your-Logical-Volume-ID-Here.
Run diskutil cs list to verify that your computer can't find any CS volumes.
You're done! Now Snow Leopard should be able to recognize your SSD's potential as a startup drive again!


Cross-Platform alternative to expr length

Instead of expr length 'keyword' you can use awk. An example would look like this echo 'keyword' | awk '{ print length }'

bounty:~ napcae$ echo 'keyword' | awk '{ print length }'
7


No social network is fully integrated into iOS, only the login is. With iOS 6 Apple introduced the Social Framework which, as explained under the what's new page:

  The Social framework provides a simple interface for accessing the user’s social media accounts. This framework supplants the Twitter framework that was introduced in iOS 5 and adds support for other social accounts, including Facebook and Sina’s Weibo service. Apps can use this framework to post status updates and images to a user’s account. This framework works with the Accounts framework to provide a single sign-on model for the user and to ensure that access to the user’s account is approved.

When accessing any social network's API (which means retrieving information, posting, etc.) from a different source than the actual social network, an OAuth process is perform to authorize the web page, app or otherwise which is making the call to access the social network's resources on behalf of the user.

With the inclusion of the aforementioned framework, developers could acquire this authorization without having to perform the whole process, as the OS had already done it. Doing it like this, the developer just had to ask if there was an logged in account configured for the needed social network.

From a user's point of view, this inclusion meant that you didn't have to log in in every App which implemented social actions.

Consider too, that iOS Apps are sandboxed, which means that each App has its own space in disk, with its own directories, which act as the home for the app and its data, and no other App has direct access to these.

So, I don't believe that any social network has access to your information or movements, as the SO integration is just a way of easing the connection process with the required social network and not that the user is granting it access to any information.


I have resolved this issue. (More accurately Apple Support did.)

After adding spreadsheets to iTunes, you need to go to Numbers on the iPad. Select Spreadsheets, click "+" and select "Copy from iTunes" in the pop up menu.

I am not sure when this changed, as they used to appear automatically.


Search for .bashrc or other dotfiles in Finder

In pretty much any Open or Save dialog in OSX Yosemite (and several previous versions) you can type shift + ⌘ commmd + . to make invisible files visible within the dialog.

So you can easily open TextEdit (or any given app).

Type ⌘ command + O.

Type shift + ⌘ command + . to reveal invisibles.

Type shift + ⌘ command + G in the Open Dialog and enter ~ (tilde) in the Go-To field to navigate to your home directory.

Type . + P to get to .profile or very close thereto.

Or as AMR says if you know it you can paste the whole path to the desired file in the Go-To field and get directly to it.

If necessary you can always display invisible files in the Finder itself.  I've got this function in ~/.profile to toggle them on/off.

#--------------------------------------------------------------------
# Task: Finder — Toggle All-Files-Visible On/Off
# dMod: 2015/07/29 02:48
# Test: Yosemite
#--------------------------------------------------------------------

function toglffvis()
{

if [ $(defaults read com.apple.finder AppleShowAllFiles) = 1 ]; then
    defaults write com.apple.finder AppleShowAllFiles -boolean false
else
    defaults write com.apple.finder AppleShowAllFiles -boolean true
fi

sleep 0.2;
killall Finder;

}

#--------------------------------------------------------------------


How to upgrade firmware and reperform a Samsung 840 Evo on a Mac

Adding to my answer as info trickles through on the interweb…

Update June 2015 - 1

It appears that no Mac made before 2012 can use this method, but I discovered yet another method using UNetbootin & a USB key - linked here
 I appreciate this is 'link only' but this answer is turning into a novel ;-)

Update June 2015 - 2

However, I today discovered that you can update the Firmware, though not reperform, by using a Windows PC & the latest Samsung Magician utility [as of today v4.6] without losing any data. It will update on a GUID/Mac Extended drive.
The drive must be attached internal SATA, it doesn't work in an external USB enclosure.

Make sure you always fetch the latest Magician first, otherwise older versions claim the firmware is up to date, even if it is blatantly older than any other SSD in that machine!

As my old 2008 Mac Pro will have nothing to do with any of the CD/USB stick update methods, I thought that might be sufficient.

As it turned out, I still needed to actually clone my boot partition, format to NTFS, reperform on Windows, then clone back - before I got back the drive's speed to as it was when new.

A comment from Cindori [makers of TRIM Enabler] on why there is no 'easy way' on Mac…

  "The reason for Samsung not producing a OSX version of this tool is because they can't.

  Apple does not expose the necessary driver stack for such disk interaction. It's the same thing stopping them from making Trim drivers or firmware upgrade utilities for OS X, and is why you have to use Boot CDs."

To run the Firmware updater, the SSD must be attached directly to an SATA port. It will not work over USB or PCIe, or on RAID or FileVault volumes.
It appears you may have to also remove all attached PCIe cards/devices except graphics cards before the SSD will be recognised by the tool.

I hope it goes without saying that you need a full backup before attempting this.

Neither Samsung's 'bootable' image nor FreeDOS have the necessary EFI boot loader so it's either a lot of typing in Terminal [Google translated from French original] for the brave, or one of the following methods…

For Macs with an internal DVD drive

[Some USB DVD drives have been known to work too]
Guide source - Conrad Chavez

Download the Samsung_Performance_Restoration.iso disk image from Samsung [DOS version for Mac users]
Rename the file to Samsung_Performance_Restoration.dmg
In Disk Utility, choose Images > Burn, select Samsung_Performance_Restoration.dmg and click Burn
Put a blank optical disc in the optical drive and finish burning the disc. When you’re done it should look like this:

For Macs without a DVD drive

The simplest method requires temporary access to Windows - either hardware or VM
Guide Source - Pixelflush and Rufus

Download the Samsung_Performance_Restoration.iso disk image from Samsung [DOS version for Mac users]
Download Rufus
Use Rufus with default settings to copy the .iso to a USB stick.

Running the update

To use the bootable media, insert it and then restart the Mac while holding down the Option key. This displays the list of connected bootable volumes. Select the volume with the update on it (in my case the CD, the USB drive would show as a yellow USB icon titled Windows) and press Return. (You should also be able to boot directly into a CD or DVD by holding down the C key as the Mac starts up.)

From this point on, the Samsung Performance Restoration utility takes over and works pretty much as it says in the Installation Guide. If you haven’t used DOS-based software, be aware that it’s all keyboard-based so forget about the trackpad or mouse, and pay attention for times when it asks you to do things like press the “y” (for Yes) key or press the Enter key.

The tool first installs a firmware update on the drive itself. When the tool says “Downloading Firmware…” I assume it means it’s downloading the firmware from the bootable media into the drive and not actually downloading over an Internet connection, but I’m not sure.

When the firmware update is done, the software goes through a two-step process which includes recalibrating all the data on the drive. This can take a while and it depends on how big your SSD is. For my 1TB SSD, it took about two hours total. Do not interrupt the process.

When it says “Samsung SSD 840 EVO Performance Restoration completed,” it’s safe to restart the Mac. At this point you can just hold down the Power button on your Mac until it turns off, (there appears to be no way to do a soft reboot from this point.) then press the Power button again to start back up.  If you want to eject the optical disc, hold down the mouse or trackpad button during restart and the Mac will pop out the disc before it even gets to the desktop.

Update:
I cannot get my own machine, Mac Pro 3,1 [Early 2008] to work by any of the above methods.
Next will be to just back it up, drop it in a PC, do it there.


Can I teach my iPhone to autocapitalize?

I would define your name as a keyboard shortcut, so if your name were nisht, I would set the phrase to be Nisht and the shortcut to be nisht.

To add a keyboard shortcut: Settings -> General -> Keyboard -> Shortcuts.


Replace Text Edit as the default text editor

Another option is to use duti (https://github.com/moretension/duti).

Run brew install duti, save a filetype like this as:

duti -s com.sublimetext.3 public.plain-text all

The changes should be applied immediately, so you don't have to restart like when editing com.apple.LaunchServices.plist.

To also change the default application for executable scripts with no filename extension, add a line like this:

duti -s com.sublimetext.3 public.unix-executable all

Some files are also considered 'public.data', not 'public.plain-text', so you can do this as well:

duti -s com.sublimetext.3 public.data all


How to set system Short Date to ISO format "yyyy-MM-dd" in High Sierra?

I think I found the answer myself (at least I have what I want):

My problem:

System Preferences... > Language & Region > Advanced... > Dates

What I expected was the option to open the Day of Month drop down and select an option with a trailing zero, just as the digit Month allows:

But I don't see that:

So when my Googling came up empty, I coincidentally copied the contents of the Short field

into a text editor and this is what I found:

So I got the bright idea of pasting "yyyy-MM-dd" into the Short date field and seeing what happens. Sure enough, worked like a charm:

This also worked with getting the trailing zeros in Excel on the year:

Before:

After:


I assume you are talking about same email with multiple messages (emails) in it.

In order to print specific email embedded in that email chain:

Select the single message window: It will have a highlighted border.

The other emails will be separated with page separator.

It looks like this (sorry I had to black out my personal info), but you can see 3 emails in this chain and only the top one is selected for printing.

In top Right (circled) of that window you will find the Print Icon, that will print the selected message only.


Valid values for "depth" in defaults write org.macosforge.xquartz.X11 "depth" -int n where n is one of the following:

From Display: -1
256 Colors: 8
Thousands: 15
Millions: 24

These values were obtained using defaults read org.macosforge.xquartz.X11 depth after selecting each of the options in the menu.

Here is the output of the defaults (read/write) and xwininfo -root commands:

$ defaults read org.macosforge.xquartz.X11 depth
24
$ defaults write org.macosforge.xquartz.X11 "depth" -int 15
$ defaults read org.macosforge.xquartz.X11 depth
15
$ xwininfo -root

xwininfo: Window id: 0xf1 (the root window) (has no name)

  Absolute upper-left X:  0
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 2560
  Height: 1418
  Depth: 15
  Visual: 0x22
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x21 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+0  -0+0  -0-0  +0-0
  -geometry 2560x1418+0+0

$


How can I open multiple URLs in a new Chrome window from the terminal

The lazy solution

Use AppleScript to make the new window, then use open without the -n:

osascript -e 'tell app id "com.google.chrome" to make new window' \
  && open https://www.apple.com/ https://www.apple.com/ https://www.amazon.com/

As soon as the window has opened, chances are that Chrome will use it for all the URLs.
However, that solution is prone to race conditions, especially if another window is created or activated while your command runs.1

[1] In practice, there are several scenarios where this can happen, e. g. if you run your command in parallel, or if Chrome tries to recover its windows after a crash, or when the user (or another program) attempts to open a new window, etc.

The more robust solution

A more robust alternative, which does not have the race condition mentioned above, is the following all-AppleScript solution:

#!/usr/bin/osascript
on run(theUrls)
    tell app id "com.google.chrome" to tell make new window
            repeat with theUrl in theUrls
                set newTab to make new tab with properties { url: theUrl }
            end repeat
            tell tab 1 to close
    end tell
end run

Save that code, preferably as a file without extension (e. g. open_new_window). Place that file somewhere into your PATH. Make sure to chmod 755 the script so it’s executable. For good measure, I’d recommend to also sudo chmod root:wheel it.

From now on, you can invoke the script like so:

open_new_window https://www.apple.com/ https://www.apple.com/ https://www.amazon.com/

In case you don’t want to use a separate script

Use the following variant for testing, or if you prefer a command line without a separate script:

osascript \
  -e 'on run(theUrls)' \
  -e '  tell app id "com.google.chrome" to tell make new window' \
  -e '    repeat with theUrl in theUrls' \
  -e '      set newTab to make new tab ¬' \
  -e '        with properties { url: theUrl }' \
  -e '    end repeat' \
  -e '    tell tab 1 to close' \
  -e '  end tell' \
  -e 'end run' \
  https://www.apple.com/ https://www.apple.com/ https://www.amazon.com/


My MBP freeze on a Back-Up after having installed a SSD

Try to macOS Recovery from Internet.

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

With a LAN cable/ WiFi.


Yes, System Information's Profiles page is a textual report of the profiles installed on the system and/or user, comparable to Profiles.prefpane but read-only and textual. You can view the textual report on Profiles using

system_profiler SPConfigurationProfileDataType


Bootcamp assistant won't let me increase the Windows partition

I think alimack is right, has to do with contiguous space.  I resolved without purchasing idefrag.   Heres how.  In my case I had a 250gb drive and was only using about 50gb.   Boot camp was only allowing me to create a 125gb partition for windows.   I accepted that and partitioned the drive in boot camp. Before installing windows I rebooted the Mac OS, went into Disk Utilities and then deleted the windows partition.  Now start again and run bootcamp and you will find a lot more space is available for your windows partition.


In fact, Disk Utility does use fsck to check the disk in question.
"Verify Disk" uses

 /sbin/fsck_hfs -fn -x /dev/diskX

while "Repair Disk" runs

/sbin/fsck_hfs -fy -x /dev/diskX

These are the options used:

-f: 'f'orces a check, even if the disk seems to be clean

-n: 'n'ever attempts to repair any found issues

-y: says 'y'es to any question whether an issues should be repaired (as you might have guessed, -n and -y are exact opposites)

-x: generates output in XML format, which is parsed by Disk Utility

/sbin/fsck (as opposed to /sbin/fsck_hfs) is a wrapper that calls /sbin/fsck_XXX for the type of file system in question.
You'll get more information in the man pages for fsck and fsck_hfs, from which I've borrowed a lot of information for my reply.


You didn't erase the old Apple ID, it still exists. Not using it doesn't make it go away.

All the apps installed on your machine, including the OS itself, are tied to that original ID.

The only way to be rid of it is to reformat the boot drive & start over; install a fresh OS, repurchase all App Store apps under the new ID.

The essential paradigm difference between Apple & Microsoft is that Microsoft ties a purchase to a machine.
Apple ties it to a user.
This makes changing machines easy, but changing users difficult.


How To Remove Only The Characters Inside Brackets [ ] From A String

One of the reasons you were not getting returned what you wanted is in some cases AppleScript is case insensitive and wrapping the -- Remove Characters code in a considering case block handles some of the issues, but not all. Additionally, since you have numeric characters in both what you want retained and not, then as currently coded it removes all numeric characters.

While your current code could be reworked, I'm not inclined to do that as from both deleted comments and still existing comments you've left out vital information in the OP. That said, I'll assume for the moment that all target strings will have either , [ ... ] or [ ... ] that needs to be removed and the following sed command handles the example value of theName variable in your OP and in the comments.

So whether you have:

set theName to "@junior_cat23, [ID]-[E9B-Z8X-H1V-722]"

Or:

set theName to "@junior_cat23 @james_cat24 [ID]-[E9B-Z8X-H1V-722]"

Then:

do shell script "sed -E -e 's|\\[.*||' -e 's|,||g' -e 's|^[ ]+||' -e 's|[ ]+$||'<<<" & theName's quoted form

      • Hint: Mouse over and horizontal scroll to see full code.

Returns:

@junior_cat23

Or:

@junior_cat23 @james_cat24

Without any leading/trailing spaces.

Understanding the do shell script and sed commands:

do shell script -- Executes a shell script using the sh shell.
sed -- Stream Editor.

-E -- Interpret regular expressions as extended (modern) regular expressions rather than basic regular expressions (BRE’s). The re_format(7) manual page fully describes both formats.
−e command -- Append the editing commands specified by the command argument to the list of commands.
's|\\[.*||' -- Removes everything from the first [ character to the end of the line.
's|,||g' -- Removes all commas, if they exist.
's|^[ ]+||' -- Removes all leading spaces, if they exist.
's|[ ]+$||' -- Removes all trailing spaces, if they exist.
<<< -- Here Strings - A variant of here documents, the format is: [n]<<< word - The word undergoes brace expansion, tilde expansion, parameter and variable expansion, command substitution, arithmetic expansion, and quote removal. Pathname expansion and word splitting are not performed. The result is supplied as a single string, with a newline appended, to the command on its standard input (or file descriptor n if n is specified).

& theName's quoted form -- Appends the single quoted value of the variable theName to the end of the command line of the sed command in the do shell script command so as not to expand any shell special characters in the value of the variable theName, if any exists.


MacBook Pro mid 2012 OS X Yosemite hard drive error

You must try to use low level format, this software run on windows... After the format, it ask choose MBR or GUID... You must select GUID, and install again OS X.


How to change triple or more click response?

I finally discovered how to solve this a while ago, by chance.

I was exploring System Preferences > Accessibility and after finishing setting what I needed under the Keyboard section I took a look at the Mouse & Trackpad one.

The solution was to just increase the Double-click speed.

If I recall it right that option wasn't under Accesibility back on Snow Leopard and probably I touched it just once a lifetime ago  (if I had even touched it) and forgot it ever since.

The sort of things that happens when you don't create documentations


Is there a way to convert dimensions to inches in OS X?

Open the file in Preview. Press command + I to open the Inspector window. You'll find the DPI of the image.

You should get the required DPI in of the image.

Now launch Spotlight and divide image size in each dimension with the DPI. You should get your answer.


There is a thread on Apple.com that seems to suggest these are physically identical. I have no personal experience with these specific models but it looks like they may be identical.


What is the monitor-like icon on Remote App screen?

That icon activates the visualiser in iTunes


Where can I find statistics on download amount on OSX?

Activity Monitor will show your network usage for the current session, but this gets reset when you reboot. However, if you're just looking for a rough estimate of how much data you use before you get your mobile service, this may suffice. After you get your service, you will probably find that your carrier has a way of checking via a website.

Regarding bmike's answer, I believe he's talking about iOS.


Getting Kernel Panics on a fresh Mavericks installation; Can anyone help analyzing the KP logs?

Your particular MacBook Pro (6,2) has documented GPU problems for some units:

https://support.apple.com/kb/TS4088

http://reviews.cnet.com/8301-13727_7-57577329-263/os-x-10.8.3-forces-discrete-gpu-use-in-2010-macbook-pros/

Even if you think you are out of warranty coverage, a call to Apple would be a good move. You've done most of the troubleshooting by cleanly installing Mavericks and still see the panics. Also the first line with details sure points at persistent GPU code involvement in the panics:

 panic(cpu 0 caller 0xffffff7f9d838fac): "GPU Panic: [<None>] 3 3 7f 0 0 0 0 3 : NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0x0a2910de 0x00100000 0x00000000, BAR0 0xd2000000 0xffffff812f8cc000 0x0a5480a2, D0, P3/4\n"@/SourceCache/AppleGraphicsControl/AppleGraphicsControl-3.4.12/src/AppleMuxControl/kext/GPUPanic.cpp:127

You could also run sysdiagnose and file a bug report with Apple in case this is software instead of hardware - these repeated panic logs would give the engineers a good idea exactly where the code is getting nonsense values from the hardware and perhaps decide to handle it less harshly as far as the user is concerned.


How to connect a pretty old hard drive to MacMini?

You need an USB B to A cable.

USB B is the type of connector that fits your hard drive.
USB A is what you'd call "classic USB" and that fits your Mac.

Alternatively you can use an Thunderbolt-to-Firewire adapter and then a Firewire cable. This might offer higher speeds. But it's also the more expensive option.


MacBook Pro doesn't stop when I close the lid

Create a new user account.  Log out of your current user and into that new user.  Close the lid or use the apple menu.

If it sleeps, it's an application running in your user account that's preventing sleep from happening.

If it doesn't, it's system wide, maybe even a hardware problem.

Need more information :)


How can I let two iTunes installation use same iTunes folder?

If you use one remote library location for iTunes on two machines [real or virtual] then even though the data location is shared, no other information is.

Each iTunes believes it is fully in charge of the library.
It is unaware that any other iTunes is changing data in the library & won't spot that a file already exists which it doesn't already have in its database.

In essence, iTunes is a write-only structure, it doesn't read the info from the library itself, only from its own Library.xml & .itl files. Dropping a new file into the Library by any method, including from another copy of iTunes, won't make the other iTunes notice it's there.

One workaround - which I'm not sure I'd actually recommend testing without solid backups - could be to symlink the .xml & .itl files together, across both machines.
There's a guide on symbolic links on HowToGeek
Essentially, linking the two sets of library files as one single structure, which either iTunes could read/write to.

Obvious downsides would be
a) there would be no lockfile protection, were both iTunes attempting to write at the same time.
b) the file hierarchies would have to be identical on each machine, as iTunes file references are absolute, not relative.


iPhone 5s shows low battery symbol with lightning bolt when plugged in

The problem you're having is that the battery has most likely died and a battery replacement is in order.

An iPhone 5s battery is rated at having a life expectancy of 500 cycles. It's not uncommon for batteries to exceed or fall short of this number; it's just an estimation of how long it can last. In your case, though, the battery would have had a much longer than average life and, unfortunately, your attempt to calibrate the battery may have been the nail in its coffin.

The only thing to try (if you haven't already) is leaving it plugged in for a while to see if the battery starts getting a charge. You should know after about an hour (maybe earlier) if that's going to work.

Otherwise it really is the time for a new battery (or a new phone). Fortunately, if you want to have a go at replacing the battery yourself, this isn't too difficult for an iPhone 5s. See How to replace the battery in your iPhone 5s for more info.

However, most people would opt to have it replaced professionally or to upgrade their phone when it's this old as you don't know what other components may fail in the not-too-distant future.


Probably not.

The retail stores only sell the standard configurations of their products. When looking at the specs for "What's in the Box" for an iMac, it includes a Magic Mouse. They'd have to open up the box and take out the mouse while giving you the separately packaged Magic Trackpad.

You're best chance is getting the Magic Trackpad thrown in at a discount.


How to turn off shuffle in Apple Music on iPhone iOS 10.1.1?

It is somewhat hidden, but here's how to find the controls.

Start by tapping the bar at the bottom where you see the album art, currently playing song and play/pause and next song controls.

You get a sheet overlay which seems to end at the bottom of the screen, but if you scroll this down (drag up on the screen) you find the controls for shuffle and repeat.

Screenshots are from an iPhone 7, but I'd expect the controls to be positioned similarly on the Plus.

EDIT: In the updated iOS 10.2, the look of the controls have changed somewhat, and a hint showed up the first time I started playing music that the controls were available if I scrolled down.


Is it possible to hide the bottom tab in Chrome on OS X using keyboard?

You'll want to take a look at this post on our sister site...
https://superuser.com/questions/111675/google-chrome-auto-close-download-bar/325787

There are multiple methods given, including an extension that can do this automatically, as well as an Applescript that can run as a service and be activated with a keyboard shortcut.


iMac gets stuck on the "White Screen of Death" during startup

If you're lucky, this is a common, and easily remedied iMac problem.  Just tell me this: does your system come up in a usable state if you hold down the shift button while powering up?  (That combination gets you into "safe mode".)


Might have accidentally change admin user to standard user

To create a new admin user, you need to reboot into Single User mode once:

Boot to single user mode (⌘-S while powering on)
Run /sbin/fsck -fy
Run /sbin/mount -uw /
Run rm /var/db/.AppleSetupDone
Run reboot

After the reboot, the Setup Assistant should get displayed again (as for a new Mac) and prompt you to create a new user. This user will automatically have admin rights.


How do you automatically separate Camera photos from Safari photos?

As answered before, you cannot do that from the Camera app or Safari. But a workaround could be to use another camera-app ie "Camera+" which costs 1 or 2$.

Download Camera+, choose Menu, choose Autosave, choose Lightbox (Camera+'s own cameraroll).
Then you save new pics to Lightbox - and you must export them from that of cos.


How to change Console.app log queries' time format

For El Capitan - macOS 10.11.6

Go to System Preferences->Language and Region and choose the Time Format.

Changing it to non 24hr seemed to give a quick response in Console but changing back seemed to need a restart of Console.app


How to zip from terminal without creating folder structure of path to folder?

Simply…

cd to the correct directory first. For Example:

cd ~/Desktop

or alternatively, type cd [space], then drag your folder to terminal to auto-fill the path


Can I replace a "UK" keyboard layout` Macbook Pro 2016 top case with a "US" top case?

Whilst the topcase-and-keyboard is interchangable (within years - you can't put the 2016 guts into a 2018 body), changing the keyboard's nationality layout does not change what the machine knows as its native tongue. Yes, it is possible to change the keyboard layout in the OS to match the new languagr-layout, but that only takes effect once you have logged in - at the login screen, the keyboard will still be using the original language layout.


Mac App Store update stuck (Installing - Calculating...)

In an act of desperation, I managed to fix the issue by:

Deleting /Library/Updates
Doing

sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist RecommendedUpdates
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist DidRegisterLocalUpdates

in a Terminal session
Restarting the Mac

The update is re-downloading now.

Interestingly, before I tested these steps, I found the update ready to install in /Library/Updates, however when I tried to install the PKG file, Installer claimed that another installation needed to finish (?). Deleting it and restarting fixed the problem.


How can I permanently dismiss Updates Available notifications?

I have just disabled checking for updates automatically from System Preferences:

I install updates manually from App Store or with sudo softwareupdate -ia.

I tried adding this command to the root's crontab (and not restarting after updates):

0 14 * * * /usr/sbin/softwareupdate -ia

I didn't have any issues at first, but after the 10.8.3 update, Safari started crashing on launch until I restarted. After that I changed -ia to -da so the command just downloads updates. softwareupdate does not include updates for App Store applications though.


Set up an iPhone 6 with non-working Home button

There is no way to access Assistive Touch until the device is done past the initial setup. The only way to get through the first step is to have a working Home button.

You'll have to get the Home button fixed before you can setup your iPhone.


No, it isn't. iPhoto and nearly every application on OS X don't run under X11 environment. They have no idea about X11 and cannot be transmitted via X11. Besides, the server component of X-Window runs on the computer whose display is used. You are actually looking for a way to make iPhoto transmit its appearance to a different window server.


Can I get 2560x1440 resolution on external monitor?

The problem is the cable you’re using to connect the monitor to the computer.

The easiest way to ensure that you have the full resolution is to use a standard mini-DisplayPort to DisplayPort cable and you should be able to use the full resolution without problems.

You can also use a mini-DisplayPort to DVI cable, but these are usually harder to come by in a standard home electronics store.

Last but not least, it might be possible to get the full resolution by using a better HDMI cable. You'll need one that supports HDMI 1.3 or 1.4 to support the 2560x1440 resolution.


Time machine not deleting Mobile Backups after backing up on external harddrive

Yes. It is safe to delete these backups after Time Machine has finished backing up the external hard drive. You can also disable local backups completely by executing the Terminal command sudo tmutil disablelocal.

I have done this on my laptop because all the content I use is stored in the cloud (Google Drive & DropBox) and on remote private servers independently backed up.


macOS Catalina external displays are black but I can move the cursor on them

I just had the same problem. In order to fix this, go to System Preferences->Security&Privacy->Privacy, scroll down the left list until you find ScreenRecording and make sure DisplayLinkUserAgent is checked. After you check it, restart your machine and everything should be ok.


Apple Mail prints tiny fonts after Maverick upgrade

I have the same problem Mavericks since I installed the recent Mavericks Mail update on Nov 8/13 (I had no trouble before that). All I can do as of now is to copy the body of the email to Text Edit, type in the heading information and print from there.


Should I stick with programming on my Apple or switch to Linux?

That depends on what your problems are with your mac and whether Linux solves them.  Gotta give more detail than that, man.

Personally, I love my mac for development for a few reasons:

Window management is great.  At work I have two decent monitors, but when I'm coding on my little 15" MBP, having cmd-tab/cmd-` is great and Exposé is a godsend.
I have a real unix command prompt to use for dev tasks, but still a user friendly system for more normal activities.  I feel OS X has a good balance between the strengths of Linux and Windows without the need to switch between the two.
Apple is a well-supported system.  It's disadvantage is that at some levels, it can be difficult to customize it (in both hardware and software).  The upshot of that is that if something goes wrong, you have a huge community of developers and users using very similar setups, whereas with Linux has both a smaller and less homogeneous userbase.
The mainstream mac development apps (Textmate comes to mind) tend to be better designed and more usable than their Linux counterparts.  Some would argue that this comes at the cost of power and control- however, most popular Linux apps can be run on OS X one way or another.
Edit addition: Two-finger swipe scrolling.  Never realized how useful this was until I had to code for 6 months on a Thinkpad.

Disclaimer: Though I interact with *nix systems all the time, I've never used Linux extensively on the desktop.


Yes, this is totally possible, assuming you're okay to run some terminal commands.

Follow these steps:

Launch Terminal (usually found in Applications > Utilities)
First enter the following command (just copy and paste it) and press enter:

defaults write com.apple.dock springboard-columns -int 6
Second enter this command (just copy and paste it) and press enter:

defaults write com.apple.dock springboard-rows -int 4
Finally enter this command to quit and relaunch the Dock and Launchpad  (again, just copy and paste it and press enter):

defaults write com.apple.dock ResetLaunchPad -bool TRUE;killall Dock
Once the Dock reappears, open Launchpad
Now you'll see a screen similar to the following:

Be patient and wait for Launchpad to reload all the apps.

Now you'll have a 6 x 4 grid. You can also change the values at the end of the commands at Steps 2 and 3 to other values.

Finally, if you'd like to restore the defaults, you can run the same commands again and replace the values with the original 7 columns and 5 rows. Remember to also run the command at Step 4 whenever you make changes.


I pressed Menu And Down for about 6 - 10 seconds and left go to get the AppleTV to reboot.

Works perfectly now.


Thunderbolt to VGA connector makes my MacBook Pro Retina very hot

Well your macbook is simply utilizing the nvidia video card and that produces more heat.  Since you are running Windows it may not be using resources as efficiently as your MacOS.

Your macbook typically runs off the onboard video card and switches to the hotter running nvidia for intensive apps/games.

There are many posts regarding macs running hot using windows:
http://forums.macrumors.com/showthread.php?t=883774


How can I run 3 4K monitors on my 2015 MBP

The way you connect more than 2 external displays to a MacBook (or any laptop for that matter) is to use USB display adapters like the StarTech USB 3.0 to 4K DisplayPort External Multi Monitor Video Graphics Adapter

Each one of these adapters will function like a separate graphics card allowing you to hook up as many monitors as you have adapters.  So, to get your six external monitors, you can have two natively connected to your MacBook Pro and then you will need 4 of these adapters.

*Note:  It's important to note that this setup is not for gaming.  These are not high performance external GPUs.  This is for connecting an additional display.

Additionally, there are limitation with with OS X that will cause performance problems.  Some are limitations due to Apple, and others are limitations due to the driver.  Always check the Release Notes prior to purchase and/or installation.

If you're on a 2013 or later Mac Pro, you can natively connect 3 monitors without the need for special adapters.  However, there is a caveat with the Thunderbolt 0 bus and HDMI port.

See How do I connect a 3rd 4K monitor to my 2013 Mac Pro?


I replaced my stock HDD with a similar Samsung SSD in my 2010 MBP without any issues. It's a huge improvement over HDD as well. You will need to enable TRIM though. I used this trim utility on Mountain Lion. (Caveat: it WILL work without TRIM, but I wouldn't advise it. A good discussion on the topic is on SU here.)


How to recover the name of a non-system volume containing all user folders in Mac OS X Lion?

The fastest way to solve your problem is probably adjusting the path of your user directory in the yourusername.plist (assuming following current path of your user folder: "/VolumeNameContainingYourUserFolder/Users/yourusername"):

Boot to Recovery Mode.
Open Terminal.app in the menubar (Utilities -> Terminal)
Enter df to get the paths/names of your main system volume and the volume containing your user folder. You may have to move around with cd and check the content of folders with ls if you don't remember the full path of your user folder.
Change your working directory to the folder "users" deep inside /private:

cd /Volumes/NameOfYourMainSystemVolume/private/var/db/dslocal/nodes/Default/users/

List the content of the folder:

ls

Locate your username.plist and convert it to xml:

plutil -convert xml1 yourusername.plist

Then modify the file with vim* (please consult online resources how to work with vim first!)

vim yourusername.plist

Modify the string

/Users/yourusername

or

/Volumes/WrongVolumeNameContainingYourUserFolder/Users/yourusername

to

/Volumes/VolumeNameContainingYourUserFolder/Users/yourusername

in the key "home" at line ~90.
Save the changes and quit vim.

Convert the plist to the original binary format:

plutil -convert binary1 yourusername.plist

enter exit and quit Terminal
Reboot to your main volume, log-in with your account.

Optional: Enable the root user temporarily. Log-out of your user account and log-in with root.
Make any necessary adjustments like renaming the volume containing your user folder (or other user folders) again and changing the path(s) to the user folder(s) of your main user (other users) in System Preferences accordingly.
Log-out and log-in with your common user again. Finally disable root.

*: It's much easier to use nano or pico instead of vim, which has two different modes: command mode and insert mode. While testing the solution in a Recovery HD of a virtual machine, i first tried nano yourusername.plist, then  pico yourusername.plist. Both commands gave me an error: Can't find nano/pico. So I decided to use vim, because I was too lazy to find out if nano or pico are present in the Recovery HD at all. You may try nano instead: Use it like an almost common text editor by moving around with the arrow keys and adding or deleting text as usual. After finishing your edit, hit ctrlo to write the changes to disk and ctrlx to exit nano.


How can I send saved library videos through Snapchat?

Snapchat now has the desired capability of sending videos from the camera roll in 10 second chunks.

Head to Memories by clicking the circle (now “cards” in 2018) on the bottom center of the screen (or swiping up) on the camera screen and then go to camera roll section on top and long press the video you want and press the blue arrow to share it.


First reset your iPad: Settings > general > reset > Erase all content and settings.

Then go to icloud.com and click on reset password and reset your password to something complicated and not at all similar to the old password.

Now set up your iPad as a new device not from a backup (which may have the presumed virus) and sign into iCloud with your new password.

Keep an eye on it and watch for unusual activity on your icloud account.

Then take your time setting up your accounts and re-downloading your apps on the iPad.

Yeah I would do it that way rather than restoring from backup, it's a PITA but you'll have a clean iPad.


Alternatives to Geektool that make desktop content clickable?

Yahoo! Widgets has a mac version available, and a quick search shows an application launcher, twitter client, a month calendar, and a wikipedia and google search box.

If you want to use dashboard widgets, this software claims to make your dashboard widgets stay on the desktop. It does cost money, but they have a free trial available.


Change icns in macOS to gray color via bash or other script?

In general, no. Each application is sandboxed, code signed and updated by the Mac App Store update process. Some apps are restricted by system integrity protection.

In specific yes, you could disable sip if needed. You could disable gatekeeper and modify the app and re-enable gatekeeper. The engineering work to maintain a general script would be days to get a framework done and then hours to days Pre update.


If you simply want to remove the icons from the menu bar, you can ⌘-Click the icons and then drag them out of the menu bar, one at a time. Be sure to drag them down far enough so a little ⓧ icon appears on the cursor.

However, that doesn't uninstall whatever application put them in the menu bar in the first place. If you want to uninstall the original application, you'll need to figure where the menu bar items came from.

You can use the Accessibility Inspector tool to start to understand which applications originally installed the menu bar icons. Follow the instructions from this Ask Different Q&A for how to use Accessibility Inspector. Essentially, it comes down to:

Clicking the crosshair/reticle button in the toolbar
Clicking the menu bar icon in question
Clicking SHOW in the Accessibility Inspector's Hierarchy section

From there, you should be able to search around online for instructions on how to uninstall a specific application.


Would a late 2008 MacBook run with 8 GB or RAM if correctly purchased?

It is certainly possible to install 8GB of RAM on this model. You will need to check if you have the correct Boot ROM Version and install it if needed. Follow this guide.

You can learn what RAM to buy for your MacBook using System Profiler.


"Inbox Zero" with Apple Watch Siri watchface and Activity?

At this time, with watchOS 4.3.1, it's not possible to remove Activity from the Siri watch face.

watchOS 5 is still in beta and there's been no indication from Apple that Activity can be removed, either.

Of course, Apple has in the past added and removed features while the software is in beta so this could change before it's officially released.


How to copy an Error message from Xcode 8?

I've always just right-clicked onto the warning message and selected Copy. This then places it on the clipboard and is available for pasting into other apps.

Below are two examples of how the copied message looks on the clipboard (or when pasted somewhere else):

  /Users/Username/Documents/Projects/Username (Developer)/iPhone
  Apps/Trivia Apps/Draft Versions/Trivia Apps/App name.xcodeproj Update
  to recommended settings

  file:///Users/Username/Documents/Projects/Username%20(Developer)/iPhone%20Apps/Trivia%20Apps/Draft%20Versions/Trivia%20Apps/App%20name.xcodeproj/xcuserdata/Username.xcuserdatad/xcschemes/App%20name.xcscheme:
  warning: Missing file: /Users/Username/Documents/Projects/Username
  (Developer)/iPhone Apps/Trivia Apps/Draft Versions/App
  name.xcodeproj/xcuserdata/Username.xcuserdatad/xcschemes/App
  name.xcscheme is missing from working copy

NOTE: Both of the above were copied from warning messages generated in Xcode 8.2.1, although I have changed the real username and app name.

If I'm misunderstanding your question, please clarify/let me know.


Edit:  If you're connecting an Exchange account or to a Google calendar via the Exchange setting, the Second Alert option is not available, because these systems do not support a second alert.

If you are not connecting via the Exchange setting you can access the Second Alert like this:

On your iPhone, start Calendar.
Navigate to the day that has your event.
Select the event, which brings up the Event Details.
Click the Edit button.
Scroll down until you see Alert.
If the event does not already have an alert, it will say "none" and you click "none" to add an alert.
Once the event has an alert, you will see a new entry just below it called Second Alert.  It will say "none" and just like the first alert, you can click on it to add another alert.


Mojave - Some Apps Lose Internet Connectivity

I had same issue like that, my solution  was restart the mac. Maybe, it will be solved by apple on the next updates.


How can I exclude the display of specific pictures and videos in the Finder?

I am unsure if you are asking how to exclude folders from showing up in your finder spotlight search, or if what you are after is to hide specific folders from being shown in a finder window.

If you are after excluding folders from a spotlight search, you can do this in the privacy tab from system preferences / spotlight :

If you are after having the ability to show or hide files and folders from being viewed while you are in a finder window, then you can create an automator service to do just that :

hints.macworld.com/article.php?story=20100719001040829

NOTE : the tip above only toggles all files that have the hidden flag set, so if you need to quickly mark a folder or a file as "hidden", then you need to set this bit attribute for that file or folder.

An easy way to do this is via a free utility software download that does just this here (used to be shareware, but now free ) : gotoes.org/ShowHiddenFilesMacOSX/

NOTE 2 :

If you are happy using the terminal command line, you can just type the following on the terminal :

chflags hidden (drag your file or folder onto the terminal window here)

or

chflags nohidden (drag your file or folder here)

Hope this helps.


After you make the check-in online (either via the app or the website), the American Airlines app allows you to add the boarding pass to you wallet from inside the app (it's in effect the last step of the check-in).

But if you have a "generic" boarding pass you can try with this site:

https://ahoy.io/getpassbook/


How can I remove my old iPhoto library after migrating to Photos?

Once you are certain you are happy with Photos, & you are certain the Library has migrated successfully, you can delete the old iPhoto app & iPhoto Library if you wish.

The Library, as you mentioned, is 'virtual' as both are hard linked to the same files. Deleting either Library will not delete the pictures, only deleting both Libraries will do that.

The apparent size on disk is incorrect [or rather, somewhat misleading], as each Library will claim to be approximately the same size, yet they refer to the same files.

Also see - Does migrating to Apple's new Photos app actually double my storage requirements?


How to install terminal application globally?

Create a new folder somewhere accessible by all users.
Symlink a number of executables into that folder so that only the executables that you want to be accessible in all user accounts are in that folder.

ln -s /opt/local/yourport /path/to/your/folder/yourport

Add the path to your new folder to the top of /etc/paths. Since this file is read by all user accounts, it is added to the path for all users. However, since you're adding the new folder, you're not adding all the ports to everyone's path.


Cisco AnyConnect causes OS X to kernel panic

I've experienced the same issue on an iMac running OSX Lion (10.7.3). I submitted a bug report to Apple and tweeted at @anyconnect. You will need to work with Cisco support or use another version of the app unless we can narrow down the specific setting that is causing this crash.


make applescript close keynote after presentation is over

If you run this to kick off the keynote then it will quit Keynote as soon ( well within 5 seconds ) as you stop presenting (esc). If you want it to quit after you sit on the final slide for a preset amount of time then just say so.

tell application "Keynote"
    if not playing then
        start
        repeat while playing
            delay 5
        end repeat
    end if
    quit
end tell


Can't watch and download video from iTunes

I had this exact problem with the Stanford iOS 10 course on iTunes for Mac. I eventually gave up and downloaded the videos on iTunes for Windows.

However, I more recently fixed the problem by reinstalling macOS. You can do this by holding Command+R on startup, clicking on "Reinstall macOS" or "Reinstall OS X", and following the prompts.

Note that this will not destroy any of your files or programs. It simply reinstalls the system applications, but any settings, files, or applications that you have on your computer should not be changed.

(You may consider making a backup first.)


I have a MBP that does this. Are you running an external display mirrored with the lid closed? Mine works if I open imovie with the lid up.


Contacts sync iCloud/iPhone/Mac after clean OS X install

I had the same issue with certain contacts and contact groups not coming back from iCloud after a clean Yosemite install.

Today I found out that all this contact groups and contacts are starting to sync once I edited them, e.g. add a contact to a group, update a contacts phone number. For me it worked to edit them in icloud.com (webpage) or on an iOS device.


Are there ad blocker that filters YouTube advertisements on Mojave Safari Version 12.0?

"Wipr" does the Job guys. No slowdowns, no cpu hogging, and it's not able to get to your passwords & payment info.
https://itunes.apple.com/us/app/wipr/id1320666476?mt=12


Pages: How to put a word between horizontal rules

With Pages it helps to think in terms of layers.  Combinations of Text Boxes and Line graphics layered and arranged, should achieve the desired result.  Determine beforehand if the graphic and text box should cause wrapping and/or move with the rest of the text in the document or remain static.
Create a Horizontal Rule with Text Centered

Add a Line graphic to the canvas (Just one line will do)

Position the line horizontally to the desired width
Set the Object Placement properties in the Arrange tab on the Inspector as desired.

Add a Text Box setting the Text style Alignment properties to Center and Middle

IMPORTANT: Change the background color from None to a color matching your document's background.  (White typically)
Set the Object Placement properties as desired
Position the text box over the line.  Use the alignment guides to center on the page

By using layers, one can create many interesting effects.  Some of them can be explored by examining the built in templates.


Why can I open a connection on port 80 for 0.0.0.0 but not other forms?

From testing I can see that it is possible for a desktop macOS users to bind() TCP port numbers below 1024 (the so-called well-known ports). It works on both IPv4 and IPv6, and on the localhost/unspecified addresses.

The Darwin kernel source code is freely available - from there I can see that it has the functionality built-in to check for processes trying to bind/listen on ports <1024 and deny that. This is similar to the way Linux works. However, it is possible to disable this check when compiling the kernel by defining "IPNOPRIVPORTS". I assume this is what was done with the Mojave supplied kernel.

On Linux it used to be the case that it wasn't possible for non-root to bind low port numbers, but today you have various options of allowing non-root users to bind to low numbered ports. Such as for example using the capability NET_BIND_SERVICE.

On macOS you also have various options for restricting binding low-numbered ports. For example through kexts that does socket filtering, or through other means. Perhaps you have software installed, such as for example Little Snitch, that denied you permission when you were testing.

Please note that the various IP-addresses you have tried with have entirely different meanings:

 127.0.0.1 = IPv4 address that means the "localhost" (i.e. your own computer basically) - it is not available on the network
 [::1]     = the IPv6 equivalent of 127.0.0.1

 0.0.0.0   = IPv4 "unspecified address" - i.e. this is not an address in itself, rather it is a special value you give to bind() to let it know that you haven't specified a specific address that you want the port bind() on. Essentially this means that the port will be bound on all the IP-addresses you have.
 [::0]     = IPv6 equivalent of 0.0.0.0 (though usually written [::/128])

This can explain why some things failed and some things succeeded. For example you might not be able to bind to 127.0.0.1, but 0.0.0.0 works as it tries to bind the port not only on 127.0.0.1 but also on other IP-addresses you have.


iOS 4.3 beta had this feature.
I used it and it wasn't that nice.  The all of your fingers toward the middle brings you home gesture was difficult to use at best.

As of right now, you have to jailbreak your device and install the Zephyr app from the BigBoss default repo.

It lets you configure how it works, which is a nice bonus.


I don't know exactly how, but after trying a number of times, he DVD finally came out while I was holding down the left mouse button during start up and after that it booted up.


My car no longer recognizes media on my iPhone 7

I figured out how to fix it:

(You Must Have Apple Music with one song at least).

Power cycle your phone by powering off and powering on.
Open Apple Music and play any downloaded song.
Connect USB/lightning cable while the music still playing on the phone.

Now you can see the song name on the screen and controllable by steering wheel, and you can use any app that plays music it will be compatible.


Apple Remote Desktop not working on Sierra

Pascal a.k.a. xvi answered this question about ARD not working on OS X Sierra.
My macs with OS X Sierra have the symptom of ARD not working sometimes and other times ARD starts up just fine. Here is the fix that worked for me:
https://discussions.apple.com/thread/7733349

Apple Remote Desktop doesn't start after sierra update. We tried with same problems on different client (macbook pro, imac and mac pro)

The workaround I have found is this (requires to be administrator):

Launch Terminal, then type:

 sudo pkill -u -2 ARDAgent

and type your password as requested.
Then, Remote Desktop.app will launch (or, if launched and hung, its main window will appear).


It looks like the Health app is still (even after you turned things off) aggregating step data.  Instead of going to Privacy, go to the Health app.  Next go to the dashboard and tap on the Steps pane. Tap Share Data and then the Edit button on the top right.  Make sure only 1 app is supplying the step data, whichever app you want to use.

While still in Edit mode, go to the Data Sources section.  Drag that single source to the top so it's the first row.

Hopefully, this will prevent any other source from supplying step data.


Mail notifications continue to appear even when mail app is closed

Notifications for mail are designed to arrive whether the main app runs or not.

You can disable notifications for mail entirely, though - Go to System Preferences > Notifications and make sure the apps have their Notification settings turned off. In the example below, the DaisyDisk alert style has been set to None:

You can also uncheck all the checkboxes for more granular control of when you see (and hear) notifications.


Running Cron with an updated Bash version

This should be easy to sort.
From your shell, examine the full path of the bash you prefer
which bash

Then edit your script in tmp to call the same path to bash (or your script has to source in the dot files, but it’s custom to just make each item in cron know the full proper path and not depend on startup and login files as that is much more light weight for cron)
I’ll end with one last link on good customs for cron environment being intentionally different than an interactive shell.

Use cron to screencapture on Mountain Lion


Yes. From Apple's perspective, one Apple ID = one person. If you want to share that Apple ID, it also means that all those sharing that Apple ID will have access to all the same things (purchases, texts, emails, etc.)

You may want to look into iCloud's Family Sharing, which allows up to six Apple IDs to be designated as belonging to one family. That allows the family to  share each other’s iTunes, iBooks, and App Store purchases without needing to share an Apple ID.


On iPhone and iPad, how do I get the latitude and longitude number from the Maps app or Google Maps app?

For Apple Maps:

Open Maps for iOS.
Touch and hold an area of the map.
Pull up the "Marked Location" drawer. There is a section with latitude and longitude.

For Google Maps:

  On your iPhone or iPad, open the Google Maps app Google Maps.
  Touch and hold an area of the map that isn’t labeled. You'll see a red pin appear.
  At the bottom, tap Dropped pin. You'll now see the coordinates.


Its looks like the El Capitan -> Sierra upgrade process was the culprit.

Deleting the server.app and reinstalling from the App Store seems to have worked.


Apps don't disappear automatically. If you have iMovie '11 (version 9.x, gold + dark grey icon), the Mac AppStore will show the current version of iMovie (version 10.x, purple-coloured icon) as a new item because Apple charges for major version upgrades (e.g., version 9.x to 10.x), unless the user has a voucher from purchasing a new Mac.


Your dates might not be recognized as dates by Numbers.

In my case, Numbers does not offer dd/mm/yyyy as one of the standard date format and I have to define a custom format for that pattern. (Not sure, if that applies in your case: The date must be entered according to your locale settings - I can set "dd/mm/yyyy" as the date format, but I have to enter it as "dd.mm.yyyy" on my German system.)

Using the sort & filter window then works well on the formatted dates.


Mojave disable download bouncing in dock? (no-bouncing doesn't work)

You can disable the App start bounce in System Preferences > Dock > Animate opening Applications.

If you want to check preferences file for the changes it makes, see this answer for details on how to check that. Comments has an easier way too.

How to set dark mode appearance to auto in terminal


When you terminate multi display in OS X 10.9 Mavericks, what happens?

If you're using Mountain Lion there's an awesome app called Multimon.

Unfortunately it does not work as it should on Mavericks :(


How does one convert a dmg inside a DVD to individual videos or watch the dmg DVD file in an iphone?

DMG is a disk image file format.

Disk image files behave like a physical disk. In so doing, the operating system interprets them in the same way as if you had just inserted a CD-ROM, USB drive, etc into the computer.

So, to play DVDs you've converted to a disk image such as .DMG, you'll need to do two things:

Expand the disk image so that the 'DVD' becomes available
Open the DVD with some sort of 'DVD player' software (because what the operating system sees is a DVD)

In other words, an iOS devise like an iPhone is not going to be able to play a DVD. So, backing up your DVDs to a disk image file is a great way of preserving/backing up your DVDs for future access, but it's not a way to actually play your DVDs without the appropriate operating system and software. You could certainly expand the .dmg disk images and then use a DVD Player app on a Mac to view the DVD, or burn them to a DVD to make them available to a physical DVD player.

If your intention is to be able to play them on an iPhone or iPad (or any other smartphone/tablet) what you'll need to do is rip the DVDs to a video file format (e.g. .mp4, .mov, etc) and then transfer these files to your device. Depending on the file format you use, you may also need to install 3rd party app to be able to play them.

Some further reading:

For more info on DMG files you may want to read my answer here.
Possible to rip a DVD as an iTunes film?
Tiger DVD Ripper
How can I rip my DVD to play them on my TV?
Is it possible to connect an external CD/DVD drive to an iOS device?


Can I create a chat room for 3 different clients for Gtalk service?

In Adium:

Right click on one of the contacts, and use "Initiate Multiuser Chat with (name)@gmail.com"
You should now join a group chat yourself, and an invitation will be send to that contact.
Right click on the other contact, and select "Invite to Chat" → (The name of the private chat you created).
Now the other contact gets an invitation they should accept.


How to create duplicate pair of keyboard media keys for use with iTunes and streaming websites

Install Karabiner

Which can be found there: Karabiner: a keyboard customizer for OS X

Analyse which keys are involved

Within Karabiner menu select Launch EventViewer... and type on
the music control key you would like to program.
Here is the output you should get:

Make a private.xml

Read the Karabiner documentation on the topic: private.xml Reference Manual

Create the ${HOME}/Library/Application Support/Karabiner/private.xml
with the following content:

<?xml version="1.0"?>
<root>
  <item>
    <name>Shift standard music control keys</name>
    <identifier>Shift standard music control keys</identifier>
    <autogen>__KeyToKey__ ConsumerKeyCode::MUSIC_PREV, ModifierFlag::SHIFT_L, ConsumerKeyCode::MUSIC_PREV</autogen>
    <autogen>__KeyToKey__ ConsumerKeyCode::MUSIC_PLAY, ModifierFlag::SHIFT_L, ConsumerKeyCode::MUSIC_PLAY</autogen>
    <autogen>__KeyToKey__ ConsumerKeyCode::MUSIC_NEXT, ModifierFlag::SHIFT_L, ConsumerKeyCode::MUSIC_NEXT</autogen>
  </item>
</root>

Depending of your taste, use vi, emacs or TextEdit
(of course not Word).

If you want to be clean, I would suggest you to proceed as I did.

Create a source with the above content in:

${HOME}/Documents/src/Karabiner/music.xml

and then install it within the Karabiner directory:

cp ${HOME}/Documents/src/Karabiner/music.xml "${HOME}/Library/Application Support/Karabiner/private.xml"

( The "…" use is necessary because of the space within Application Support. ).

Load your private.xml

Tell Karabiner you will use a custom setting:

and load it:

Test it

Check that this let you achieve the mapping you want to get with Chrome.

I didn't check this part of your request, and I am not sure I understood
it fully.

Report success or failure, since this may help some other users .


Navigate to current location of a friend

Tap the friend in the list, then go to More → Open in Maps. From there you can navigate normally.


Just remove the iTunes app and redownload it from apple's website. If you just remove the app it should leave your media files untouched but take a backup just in case.


Make a sound in zsh when a command is not found

First, some background on command execution in zsh is helpful:

If no external command is found but a function command_not_found_handler exists the shell executes this function with all command line arguments. The return status of the function becomes the status of the command. If the function wishes to mimic the behaviour of the shell when the command is not found, it should print the message ‘command not found: cmd’ to standard error and return status 127. Note that the handler is executed in a subshell forked to execute an external command, hence changes to directories, shell parameters, etc. have no effect on the main shell.

So, there are two requirements now:

I need to have a command_not_found_handler defined;
zsh will have to load this function every time it starts.

The second point can be taken care of by defining the function in ~/.zshrc file. For the first point I used the following definition:
function command_not_found_handler() {
        osascript -e beep&echo "zsh: command not found: $1"&
        return 127;
}

Breakdown of the function body:

osascript -e beep&: This command produces the default beep sound of macOS. It's the same sound as the one that plays in System Preferences > Sound > Sound Effects > Funky. The actual location where it is present in macOS is /System/Library/Sounds/Funk.aiff. I have added & at the end of this to execute the sound in parallel. Otherwise the next part of the code will be delayed in execution.
echo "zsh: command not found: $1"&: This is the default action that zsh takes when a bad command is executed. Since the goal is to produce the sound and have the error output on the terminal code, this has to be here. Again, I have added & at the end of this to execute the sound and this message echo in parallel.
return 127;: This, as mentioned in the quoted text at the top of the answer, is the expected status code when a bad command is executed. While the method worked for me without it, it is a good programming habit to return what is expected.

Copy pasting the method in ~/.zshrc file and then sourcing it again makes zsh aware of this function. Now when I call cpn instead of my actual alias vpn, my terminal behaves more consistently with the rest of the macOS and produces the same sound as it does in other GUI interactions, and produces an error message on the terminal.

Credit for this answer goes to @glennjackman's comment.


How do I know if Game Center is down or not?

No, I have suffered some Game Center outages in the past, but could not find a source directly from Apple which stated so, not even the iCloud status page.

The iCloud System Status page now lists the status for all Apple internet services, including Game Center.


White Screen – nothing works after NVRAM reset

Ok, holding N while booting did the trick (Apples NetBoot server).


There are a few places where items can get launched, and the most common place is in System Preferences > Login > Startup Items.  That's the goto place for most issues like this.

Removing the Application doesn't always remove all traces, especially if the App was installed by an installation script, rather than simply being dragged into your Applications folder in the first place.  Scripted installs often perform all sorts of background installs, such as kernel extensions, and helper apps that sit in the Menu Bar, and the startup items list is the common place to fire them up.


How do I create files in Finder without Terminal?

What is the intention of creating an empty file? To open it? Then why not simply open the app in the first place?

But,
If you want to have a couple of files ready to get something started, you can make them, and then use Get Info on them and set the Stationary Pad option. If you then double-click such a file, the app will start with an untitled copy of that stationary file.

If you have a few of those stationaries, you can put them in a folder or in the dock for easy access.

If you want to create empty files for another purpose, let us know...


Removed the VPN that she did not remember installing and the problem went away.


Why is my iPhoto Library size so much bigger than its contents?

Go to your iPhoto Library and right-click on it and select "Show Contents".
Then sort by List (Command+2).
Then go to Finder-View--Show View Options (Command+J) and select "Calculate all sizes"

It will count up all the folder/file sizes and you can see what is taking up space where.


Apple TV crashes internet upon startup for 5 minutes

Perhaps there is some IP address conflict created by your router and the devices on the network.
If you are not using the WiFi/ethernet connection on the Samsung, disable WiFi or unplug the ethernet cable to remote it from your network.


Use a Mac App Store free app without having to associate/login to Apple ID?

An Apple ID in OS X is attached to the account, not to the machine so you can create a new account, use your Apple ID, use the app, then delete the account when finished.

Another alternative is to use another Apple ID.  There is nothing stating that you can't have more than one Apple ID.  Just create one for when you are doing tech work like what you are doing now and use that one.

Finally, you can ask your friend to sign in and use his account so you can download the app under his profile.


Should iMessage not be silently updating my phone when I'm at my Mac?

No, it doesn't (yet) have any methods of muting alerts on other devices even when it has reason to know that the alert has been read etc.

I'm sure that it will arrive soon, but as it stands every device is treated independent of each other with regards to notification settings, or to put it another way, notification are "device independent", and you are waiting for them to be treated as "notification independant", as it were.


Is it possible to keep using my current apps and their data on a different iPod?

Simply create a backup, but sync all applications first to your PC else you have to do extra work. Syncing to iCloud is possible, but if you want to restore all your applications back on the new iPod it's much easier to make an iTunes backup as you can sync back all applications on the new iPod.

If you make the backup Encrypted, it will also save all your passwords etc, making setting up of the new device much easier. [Don't forget the encryption password!]

Restore the backup you make from the current iPod on your new iPod!

Sync all apps back on and you're done - even the settings etc are now on your new iPod.


High Sierra macOS Installation Error (com.apple.DiskManagement error 0)

yes, i had the same problem with a macbookpro8.2 early 2011. i finally installed it with a bootable usbstick. And i formated the ssd with the old os. here is a workaround from apple https://support.apple.com/en-us/HT201372


How to make Terminal open every new tab in the "Homebew" profile?

Goto Terminal (Next to the Apple icon) -> Preferences -> Profiles

Then select HomeBrew and click "default" you can find it down there in the section you select HomeBrew.

If you like HomeBrew you might like iTerm2. Just give it a try.
https://www.iterm2.com


How can I run Windows in a VM using VirtualBox? My image is always permission denied

Most users wishing to do what you want to do purchase VM Fusion or Parallels.

VirtualBox is not really designed for what you are trying to do. Think of what would happen if you were to clone your Windows partition to another entirely different PC. You should not expect Windows to boot because you did not copy any boot code to the new PC. If you were to fix this problem, then you should expect there to be problems with the fact that the hardware peripherals would be different. I suppose you could have generalized Windows before the copy, then installed new drivers after booting Windows on the new PC, but generalization was not meant to be performed after Windows is in use. Anyway, this what you are attempting to do by booting a Boot Camp install of Windows in VirtualBox.

Below are some items you may need to worry about.

You have no boot code. You can use the Windows ISO file to create boot code, but the procedure depends on whether you are going to BIOS or EFI boot.
You have not mentioned if VirtualBox is set to boot the same way. In other words, will you need to BIOS or EFI boot in VirtualBox?
You may need to run "C:\Windows\System32\sysprep" to generalize before booting in VirtualBox.

I assume you entered the commands given below.

sudo VBoxManage internalcommands createrawvmdk -filename "windows.vmdk" -rawdisk /dev/disk0s3
sudo chown mike:staff windows.vmdk

I would have entered the commands given below.

sudo vboxmanage internalcommands createrawvmdk -filename "windows.vmdk" -rawdisk  /dev/disk0 -partitions 3
sudo  chown  $USER  windows*.vmdk

  Note: You will need to enter the command diskutil unmount disk0s3 immediately before starting the virtual machine.


How can I leave my wifi connection connected after logging the user out of the OS?

I figured this out! Lion now supports configuration profiles. These can be used to specify default settings and payloads like VPN, WiFi Authentication, Permissions etc.

The config files are written in XML and can be created in Lion Server's Profile Manager.


how to share disk with samba to Mac on another network (High Sierra)

You need the following ports:

UDP 137/138
TCP 137/139/445

If you are attempting to expose your SMB shares over the Internet, it's not going to work.  The UDP ports are not routable over the public internet.

You either need to have a private link between the two sites or a VPN.  Even with this, it's a very inefficient method.  You are far better off with a cloud based solution.


Why the mail app takes a lot of space although there is no mails?

The Apple Mail app likes to keep cache and data from your emails available offline. That is very helpful for viewing emails and their digital content when you dont have a strong signal, or have access to wifi.

There are some solutions that can help you out though:

Delete the mail account off of the iPhone. Then restart the iPhone and then re-add that email back to the iPhone.
Use the Gmail app for iPhone. The gmail app will keep the email size much lower than whats on your iPhone. The most I've seen the gmail app do for me is 400MB. Thats definitely a huge saving in contrast to 2.5GB.
Limit the amount of email that Gmail can allow the Apple Mail app to have access to. You will have to use the desktop to access this setting in gmail. You can log onto gmail.com, open the Settings page, click “Forwarding and POP/IMAP,” and activate the “Limit IMAP folders to contain no more than this many messages” option. Set it to lets say “1000” and the Mail app won’t be able to download more than the 1000 emails from your account. If you use multiple folders, then that 1000 emails applies to each folder.

These three should give you some options to test out and free up some of your storage that the Mail app is eating up.


Are the per process memory and other statistics defined the same as the system wide stats?

Yes - the per process memory statistics and mach call counters mean the same thing as the system wide statistics.

Activity Monitor helps you break down which specific processes are making up the conglomerated statistics if you use the screens shown above. You may also find the sysdoagnose command useful in probing how the various numbers all add up if you prefer a textual output as opposed to a combined graphical and textual one.


Your login keychain should be where your passwords are stored. But it's worth noting that there is a "System" keychain in /Library/Keychains as well. Additionally did you log out/restart and log back in after replacing the keychains?


How do I copy music from iTunes to my iPad?

Click on the device, and on the main screen you need to set it to "manually manage music and videos." The reason it may still work on your iPod is that the setting is device specific.


Stream media have the download disabled.

You would need a special Safari add on to record/download them.

For more resources see following:

https://apple.stackexchange.com/a/69883/46541

https://apple.stackexchange.com/a/72914/46541


I found this post, from the official Apple Support Forums, regarding the exact question, after a quick google search on the topic:
Official Apple Support Forum

  I have been able to accomplish this via the following method. I may
  not be the best idea given it deletes the account while logged in, but
  worked for me.

  1) Do all of the necessary installations, etc. just as under Snow Leopard, using your setupacctname account.

  2) Once that is done, BEFORE restarting in single user mode:
       sudo su
       dscl . -delete /Groups/admin GroupMembership setupacctname
       dscl . -delete /Users/setupacctname
  3) Reboot into single user mode (Hold Command-s at startup)
  4) Check the filesystem: /sbin/fsck -fy
  5) Mount the filesystem: /sbin/mount -uw /
  6) Remove the setupacctname directory: rm -R /Users/setupacctname
  7) Remove or rename .AppleSetupDone so you get the language choice

 cd /var/db/
 mv .AppleSetupDone .RunLanguageChooserToo   or

 rm .AppleSetupDone

  8) Delete miscellaneous files (unnecessary, but useful if you're imaging the drive):

 rm -R /Library/Caches/*
 rm -R /System/Library/Caches/*
 rm -R /var/vm/swapfile*

  9) Shutdown or restart


Clipboard manager for pasting multiple items at once?

My favourite swiss army knife for OS X, LaunchBar, has clipboard history and management. In addition to being able to access historical, clipped information it can also do clip-merge. A quick double press of Cmd-C will merge the currently selected contents in to the current top-of-the-heap clipboard object for you, allowing you to paste them as one object with a single Cmd-V.

You can merge multiple items in the clipboard history by selecting the first one and doing Cmd-C and then selecting additional items and doing the quick, double press of Cmd-C. They'll all get merged in to the top item as expected.