How to disable Tab key in Gmail (Chrome or Safari) My grandpa has suffered from a very annoying "problem" in Gmail (on Mac OS under Chrome) for a long time and unfortunately I haven't found a solution for him yet:

When composing in Gmail, each time he types a, he often accidentally presses Tab at the same time (a and Tab are next to each other), which points the focus to the Send button and when he presses Enter (for a new line); the email is unintentionally sent.

This happens to him very often (please don't blame my old grandpa, this problem also happened to a lot of people: https://productforums.google.com/forum/#!msg/gmail/Y9DjPEA_6sk/V7IzWt02iugJ).

I hope that somebody here can help me to find a solution. I would appreciate it a lot! Thank you very much in advance!

My solution would be to use ControllerMate to intercept the Tab and do nothing with it.

ControllerMate has the ability to have workflows specific to different applications but triggered by the same key presses. (see Application Specific Programming)

While most of the examples on the site show how you can do something with a key press, you can also choose to turn off the key (disable) or reprogram it to insert 4 spaces (make it a functional tab).

ControllerMate is free for up to 10 "building blocks" so if you are trying to reprogram just your Tab, it should be completely free for this solution.


Mavericks input source is set to US keyboard in login screen I'm from Belgium, and on my own user account, the input source is set to a Belgian (actually French) keyboard. The input sources menu is enabled in the menu bar, so I can switch it to the Belgian keyboard before entering my password, but how can I permanently change the input source used for login? I'm the system admin, and I know how to get root access if necessary.

It worked perfectly in Mountain Lion.

I always got the french layout instead of canadian french at logon screen.
Here's the solution that worked for me:

I found that Logon keyboard layout (i.e. french) correspond to:

defaults read /Library/Preferences/com.apple.HIToolbox.plist
The desired keyboard layout (i.e. canadian french) is saved here:

defaults read ~/Library/Preferences/com.apple.HIToolbox.plist
(Notice the ~ !)
To resolve this I changed the logon keyboard to the desired one by overwriting the .plist file (after ensuring that the source plist doesn't contain any occurrence of the unwanted layout):

View the file with plutil -convert json ~/Library/Preferences/com.apple.HIToolbox.plist; vi ~/Library/Preferences/com.apple.HIToolbox.plist; plutil -convert binary1 ~/Library/Preferences/com.apple.HIToolbox.plist and ensure that there is no occurrence of the unwanted layout (even in the History).
sudo cp ~/Library/Preferences/com.apple.HIToolbox.plist /Library/Preferences/
sudo chmod 644 /Library/Preferences/com.apple.HIToolbox.plist

Log off and it's OK. :)


How to auto-change all new .webloc files' icons to web page favicon? I'd love to have all website URL files on the desktop take the favicon of the corresponding web page, rather than the Safari icon.
This would mimic the function of adding a page to the home screen of iOS.
How can I set something up, perhaps in Automator, so that, when I drag a new URL from Chrome to the desktop, the page's favicon is fetched and applied as the icon image?

Disclaimer: This answer is being presented strictly as a proof of concept in that it has had limited testing, shell script contains limited error handling, and requires the use of a third-party shell script to apply the favicon to the .webloc file(s).

Note that the third-party shell script is making use of native macOS utilities so it should inherently be safe to use. I did review the code within the third-party shell script and felt comfortable using it as I saw nothing ominous within.
Third-party shell script: fileicon -- I used the manual installation instructions on the linked web page.

That said, you would need to assign a Folder Action to the destination folder to which the URL dragged from the browser, or file, is dragged and dropped.
The Folder Action would then trigger e.g. a shell script that would extract the domain name from the URL within the .webloc file to then download an e.g. .png file of the website's favicon and then set it as the icon of the .webloc file.
Retrieving the favicon is done using curl and a Google URL designed for that.
You can use Automator to create a Folder Action workflow using a Run Shell Script action, with settings as shown in the image further below.
Replace the default code in the Run Shell Script action with the following example shell script code:
for f in "$@"; do
    [ -f "${f}" ] || continue
    [[ ${f} =~ ^.*\.webloc$ ]] || continue
    domain="$(/usr/libexec/PlistBuddy -c "Print :URL" "${f}" | awk -F '/' '{print $3}')"
    /usr/bin/curl "https://www.google.com/s2/favicons?sz=64&domain_url=${domain}" -o "/tmp/favicon.png"
    /usr/local/bin/fileicon set "${f}" "/tmp/favicon.png"
    [ -e "/tmp/favicon.png" ] && rm "/tmp/favicon.png"
done

Notes:
What the shell script code in the Run Shell Script action is doing for each item dropped in the target folder that has the Folder Action set:

Checks the object dropped is a file, or continues to the next item if more than one was dropped.
Checks the object dropped ends with .webloc, or continues to the next item if more than one was dropped.
The third line of code within the for loop sets the value of the domain variable to that which is between // and the following / in the URL of the .webloc file.
Downloads the target website's favicon as a .png file.
Set the downloaded favicon.png file as the icon for the .webloc file using the third-party fileicon shell script.
Deletes the downloaded favicon.png file.

More about the domain variable:
Using a .webloc file created for this question, its contents is, e.g.:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>URL</key>
    <string>https://apple.stackexchange.com/questions/411944/how-to-auto-change-all-new-webloc-files-icons-to-web-page-favicon</string>
</dict>
</plist>

The PlistBuddy -c "Print :URL" "${f}" portion, of the compound command, returns:
https://apple.stackexchange.com/questions/411944/how-to-auto-change-all-new-webloc-files-icons-to-web-page-favicon

Which is piped to awk and returns e.g. apple.stackexchange.com, and through command substitution $(command), which allows the output of a command to replace the command itself, sets it as the value of the domain variable to then be used in the URL of the subsequent curl command.

More about the URL used in the curl command:
Google provides a method by which to retrieve a .png file of a website's favicon and as coded, it retrieves a 64 pixel size of the favicon as set in sz=64 segment of the Google URL. This can be changed, however anything higher the 64 is probably going to be too blurred and would not look as nice.  Even 64 in some cases may be too blurred. If this becomes an issue set it to 32, although by the nature of typical favicon files, which are 16x16 pixels, there will always be issues when increasing its size.

Removing the applied favicon:
If you do not like the favicon that was applied to the .webloc file, or just want to remove it, you can remove it from its Get Info window by selecting the target file in Finder and press ⌘I, and then select the icon and press the delete key.
You can also, in Terminal, use fileicon to remove it, e.g.:
fileicon rm /path/to/filename.webloc

The command above assume fileicon is within the PATH passed to the shell, otherwise use e.g.: /path/to/fileicon

Working with the Folder Action afterwards:
If after you have initially created and used the Folder Action and would like to edit/stop/start/remove the Folder Action, this can be done using the Folder Action Setup utility. Press ⌘Spacebar to bring up Spotlight and start typing Folder Action Setup until it appears, which you can then press enter, or click it the list, to open it.
The UI of the Folder Action Setup utility should be self-explanatory and easy to use.


How to diagnose Finder losing icons for folders? After a reboot several strange issues come up from nothing.
Suddenly all system directory lost their icons: Desktop, Home, Downloads, Pictures, Movies... have the normal folder icon. Even in Finder's sidebar.
In console.app I noticed this when Finder opens:

09/06/14 16:17:44,722 Finder[250]: Could not find image named '357D167A-6053-47A6-BD22-B028736F98C1'.
09/06/14 16:22:14,810 Finder[250]: Could not find image named 'D54AFEF0-1EF4-43D6-8F3F-84A181AC04B2'.
09/06/14 16:22:14,810 Finder[250]: Could not find image named '357D167A-6053-47A6-BD22-B028736F98C1'.

Every time I open Alfred 2 preferences these are reset to default. Themes, workflows, everything is reset.

At last Safari won't connect to service hosted on localhost through https

Safari can't open the page because Safari can't establish a secure connection to the server. I tried:

rebooting
repairing permissions
resetting safari
reinstalling Alfred
deleting com.apple.finder.plist
removing every login item and launch agent

The problem persists and I don't know what causes this or how to fix it. Is there a way to restore the custom folders Finder shows for user default folders?

Here there is the log of the boot taken from console.app.

try this in Terminal

mkdir ${TMPDIR}/com.apple.IconServices

This recreates the com.apple.IconServices directory, which apparently gets itself deleted from time to time.


Can I use any USB charger with my iPhone? I'm not sure its the right place to ask but, I just wondered whether I can charge my iPhone Xr with my Samsung adapter. I understand it works and no harm is done to the iphone.

I know that the iPhone transmitting info about voltage and current between the phone and adapter so that the current and voltage wont exceed iPhone limits?

If I am understanding you correctly...

A power adapter with a USB port on it will charge anything that that can be charged via USB. So, probably...

That said it is important to note that some USB chargers don't provide enough wattage to charge a device or charge it quickly enough. Also if the usb charger has just a mini/micro USB cable on it then no, as iPhones have *Lightning" connectors not USB connectors.

There is also the issue with cheap, knock-off chargers that are constructed poorly and will damage anything that are plugged into them.

That said a USB charger that is designed to charge a Samsung phone should work as long as it has a standard USB port on it that you can plug a lightning cable into.


Is there a way to list all available commands in terminal Is there a way to list all available commands in terminal?

I know linux has compgen -c is there an equivalent command for OS X?

Update:
The actual issue was that I was using zsh instead of bash. So from zsh, I could either just open bash or run a bash command from zsh bash -c "compgen -c"

In zsh you need to enable the completion system. Please read through man zshcompsys. To install the completion system enter the command

compinstall

and follow the directions. Check the fpath variable

echo $fpath

in my situation I needed to declare the variable in my .zshrc

fpath=(/usr/local/share/zsh/5.0.7/functions)

This is the location of my zsh functions. After the compinit line in your .zshrc add the following lines

autoload -Uz bashcompinit
bashcompinit

This is the completions entries in my .zshrc

#\\\_ COMPLETIONS _///#
zstyle :compinstall filename '/Users/fd0/.zshrc'
zstyle ':completion:*' list-colors "${(@s.:.)LS_COLORS}"
autoload -Uz compinit
compinit
autoload -Uz bashcompinit
bashcompinit

I can now enter the command compgen -c and it behaves similar to bash.


USB-C to HDMI adapter connect with DisplayPort I have a Macbook Pro 13" 2017 ( no touch bar ) and an external display Dell2214H

I bought an USB-C Digital AV Multiport Adapter but did not notice that Dell2214H only has DisplayPort. That so, I have to buy another HDMI to DisplayPort adapter, but the display does not work when I connect to my MBP.

I'm not sure it is because of the setup ( USB-C Digital AV Multiport Adapter -> HDMI cab -> DisplayPort adapter -> external Display ) does not work or not.

There is no USB-C to DisplayPort in Apple site, maybe MBP 2017 cannot output to DisplayPort?
What should I do next to make my Dell display work?

Note:

I tried my MBP with USB-C VGA Multiport Adapter and it works correctly. But the display quality is not really good, that why I want to make it work with DisplayPort
I checked the version of Adapter driver, it is the latest version ( 2.33 ) already.
Dell2214H display

To get the best results I would recommend using the following :

Thunderbolt 3 (USB-C) to Thunderbolt 2 adapter Link
Mini-DP to DisplayPort Cable to the monitor Link

Probably this one might work https://www.amazon.com/Plugable-DisplayPort-1-8m-Chromebook-Thunderbolt/dp/B01EXKDRAC

Hope it helps!


How can I remove all slide transitions from a Keynote presentation? I have received a powerpoint file where every single slide has a 1 second dissolve transition applied. I would like to remove all of the transitions so that there aren't any, and the slides just change immediately with no transition.

I know how to do this one slide at a time slowly by hand, but there are a very large number of slides and this would take too long. Is there a way to automatically fix all the slides at once?

I had to do something similar recently; this worked for me:

Use the "Navigator" view (View menu > Navigator), which shows slide thumbnails on the left side of the window.
Show the animation inspector (View menu > Inspector > Animate); it opens on the right side of the window.
Select one of the slide thumbnails (on the left), then press Command-A to select all of them.
Make sure you have the entire slides selected, not content within them. All thumbnails should have yellow outlines indicating that they're selected, and there shouldn't be anything highlighted in the slide view (the middle part of the window). Also, make sure the animation inspector is showing "Transitions" (what happens between slides) rather than "Build In" "Action" "Build Out" (what happens within a slide). If it's not, recheck you have the thumbnails selected not content within a particular slide.
In the animation inspector, click the "Change" button, then choose "None" from the popup menu that appears.


Coloured files and folders - Mavericks and Yosemite I really liked the colour folders / files you could set in osx 10.8, the ones where the entire folder / file line would be coloured as opposed to the little coloured dot in Mavericks and Yosemite.

Is there an option to turn back on the full row colour fill in either of these versions of OSX ?

In the App Store a tool called "Foldery" is available. It doesn't change the color of the label, but the color of the folder icon itself. That does the job for me to separate more important things from the lesser important ones - at least on the Desktop.

This only works for folders and not for documents, of course. But it might fill the void left by Apple's strange decisions partially.

I also would love the get the old label colours back, the little dots are hardly useful and especially hard to see from a distance.


Reliable, Simple Transfer of Really Large Files? I want to be able to move really large video files (think 60 - 90 GB) between Macs in different cities on a closed network. I'd like to be able to go point to point, so no single-server or cloud-based solutions. Because the pipe between locations isn't huge, the files may take hours to transfer. I want a solution that won't just stop if there is an intermittent network error, or even an unexpected reboot. The interface should also be simple; something like a folder for each destination that a user can drag and drop to.

Nice to have would be the ability to monitor and pause a delivery on the receiving end, so if two transfers get started at the same time you don't have to wait forever for either to finish.

I know there are some really expensive solutions. I think there are some FTP clients that  come close. Anyone know something affordable that would meet the requirements?

Transmit is my personal favorite but Fetch also does the trick you ask.

iCloud will help you locate the IP of the remote machine and screen share if needed and is much simpler than getting a free DNS software solution to locate the IP of the other endpoint (assuming you have dynamic IP address or are behind a NAT router on either end of the transfer).


How to set system Short Date to ISO format "yyyy-MM-dd" in High Sierra? When setting the preferences for the short date string,
the Day of Month does not include the trailing 0. How can I change this?

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:


avoiding python@2 redundant dependency I installed gdal using homedal because I need it for ortho4xp, which uses python3. I noticed that gdal depends on  both python and python@2. Gdal is not the only package doing this. It pulls in numpy, which also specifies both python versions as a dependency. It seems there are lots of packages still requiring python@2

I'm assuming there's a reason for packages requiring both versions of python but I was wondering if there are ways of avoiding having to have python2 around?

There is no getting around the pain of managing dependencies. What you are seeing is that for many, many years python 2 was the standard and as we finally are reaching the end of support, some major frameworks are making the move after preparing for years to do so.  For the next 6 months, I would expect most active or easy to port projects to move to python 3. Time will tell of course.

If you feel you want or need to force your transition to python 3 in homebrew, I would try first removing it so you can validate you actually need it.

brew rm python@2

If you do have it as a dependency, you probably can do nothing and just give up a little space and a little time as every package you care about gets updated to use python 3. Set your path to use the version you want and just let it fade into history.


OS X Yosemite Hard Disk Errors even after Repairing them Basically, I do a lot of C programming (for class) so I use gcc a lot on my mac. Recently since two days, whenever I ran it, the entire computer is getting frozen, and a force restart is necessary to get it working again.

So I suspected what might be the error, so I ran disk-utility and checked Yosemite partition for errors. Apparently there are a lot of errors, so I booted into single user mode, and ran the following commands.

$ fsck -fy
$ fsck -fy
$ reboot

Upon reboot, my disk is now repaired, but the computer still froze when I ran gcc So this time, I ran a permissions verification in the disk utility. It said the following.

Verifying permissions for “Yosemite”
Open error 22: “Invalid argument” on usr/bin/gatherheaderdoc
Open error 22: “Invalid argument” on usr/bin/gcc
Open error 22: “Invalid argument” on usr/bin/gcov
Open error 22: “Invalid argument” on usr/bin/git

I tried to repair the permissions, but these persist. I even tried repairing the permissions multiple times, even from RecoveryHD and also from single user mode, but these errors persist.

What do these mean? What should I do to fix it?

Edit:

Here's the output of ls -l usr/bin/gcc

Harshas-Mac-Pro:~ sriharshachilakapati$ ls -l /usr/bin/gcc
-rwxr-xr-x  1 root  wheel  14160 Sep 27 07:36 /usr/bin/gcc
Harshas-Mac-Pro:~ sriharshachilakapati$

Edit:

My partition is again damaged. This is the output after I just repaired it from single-user mode.

Verifying volume “Yosemite”
Verifying file system.
Using live mode.
Checking Journaled HFS Plus volume.
Checking extents overflow file.
Checking catalog file.
Checking catalog hierarchy.
(It should be 337485 instead of 337484)
Volume bitmap needs minor repair for under-allocation
Checking volume information.
The volume Yosemite was found corrupt and needs to be repaired.
The volume Yosemite was found corrupt and needs to be repaired.
The volume Yosemite was found corrupt and needs to be repaired.
The volume Yosemite was found corrupt and needs to be repaired.
The volume Yosemite was found corrupt and needs to be repaired.
The volume Yosemite was found corrupt and needs to be repaired.
The volume Yosemite was found corrupt and needs to be repaired.
The volume Yosemite was found corrupt and needs to be repaired.
The volume Yosemite was found corrupt and needs to be repaired.
The volume Yosemite was found corrupt and needs to be repaired.
File system check exit code is 8.
Error: This disk needs to be repaired using the Recovery HD. Restart your computer, holding down the Command key and the R key until you see the Apple logo. When the OS X Utilities window appears, choose Disk Utility.

This occurred just after I had repaired my partition from single user mode. Why?

error 22 is the EINVAL in libc error codes. Maybe your glibc is corrupted? I think you can reinstall it from Xcode based on this question https://stackoverflow.com/questions/9353444/how-to-use-install-gcc-on-mac-os-x-10-8-xcode-4-4


"no bootable device" - insert boot disk and press any key I inserted Mountain Lion on an iMac A1225 having new formatted HDD. When I boot holding the ⌥ Option, it shows Mountain Lion (install disk) as option. When I press enter-key to confirm, it came with "no bootable device" but if I boot holding "C" it boot Mountain Lion normally. Now with the new OS installed, the iMac still gives "no bootable device" at start up

If you can get Lion to boot you can go to the Startup Disk in System Preferences and select the internal disk. Maybe it in Recovery Mode if it won’t boot.
https://support.apple.com/en-us/HT202796
Basically does this under the hood.
To bless a volume with only macOS or Darwin, and create the BootX and boot.efi files as needed:
bless --folder "/Volumes/Mac OS X/System/Library/CoreServices" --bootinfo --bootefi


Soundfonts in GarageBand: where can we select the .sf2 files? I am trying to use soundfonts with GarageBand '11 (version 6.0.5). I downloaded 2 files from HammerSound, I put them in Library > ...Banks, and, in GarageBand, I created a new project, went to the right side and set "DLSMusicDevice" below "sound generator".

Now I don't see where I can find the sf2 files. If I click on a line in Effect, I can choose between Audio Unit Effects or Effects from GarageBand.

Would anyone know something about this?

Try double clicking the picture next to it.

When you hover over the picture changes to three lines with dots on them so you know you're in the right place.

Then a dialog opens, where you can change the sound bank.

However, I'm having a problem at the moment that the latest soundfonts I downloaded are crashing GarageBand when I close the dialog, although one I already selected is OK.


Cannot watch iTunes purchased media with old Apple ID When attempting to watch purchased older material on iTunes I have been receiving a prompt stating that my MacBook is not authorized to view material. As the material was purchased unsing my original Apple ID - having since changed ID's twice - I am not able to view this material without entering the password for the old ID. I am then directed through iForgot to the change the password. Here iForgot states the prompting information provided is not recognized. As I cannot enter a password for this old ID I cannot view this material

I am having similar problems with apps purchased on my iPhone under this original ID.

Sounds like others are dealing with the same issue. Any solutions?

If you remember the old id and still have access to the email account associated with it, you can definitely reset the password and then authorize your macbook to play these files.

iForgot will prompt you for information, but it should allow a password reset via email, not just questions. If you still cannot remember/access the info, I recommend sending apple an email via their iTunes store support and see if they can identify you via other means.

http://www.apple.com/support/itunes/contact.html


Mac doesn't connect to university Wi-Fi I bought a MacBook recently. It connects to all other Wi-Fi and hotspot devices but it does not connect to my university Wi-Fi.

I have also done diagnostics; still does not become connected.

This isn't an Apple issue per se.  It's an issue with the organization's (in this case, the university's) security protocol not allowing you onto their network.

You indicate that your WiFi is functional

  it is getting connected to all other wifi and hotspot devices

It's not going to work everywhere and then suddenly stop working on one particular network.  A symptom like this points to an authentication issue.

More than likely, your Uni is using an accounting and authentication mechanism like RADIUS (Remote Authentication Dial-In User Service). True...nobody really uses "dial in" any more, but the acronym stuck.

You need to contact your organization's IT support department to assist you in getting your device(s) authorized on their network.  Once they do this, you will be able to access the resources you are authorized to utilize.


iOS switch network configuration On our iPhones (a lot of test devices) we switch often between a plain network connection and a connection with a proxy.
The normal flow require

Go to setting
Select wifi preference
enable proxy
type the proxy address

Is there any way to "save" the proxy setting and enable/disable with a single button?

You should look into configuration profiles.

Their contents are described here:

https://developer.apple.com/library/ios/featuredarticles/iPhoneConfigurationProfileRef/Introduction/Introduction.html

You can build two profiles, one with and the other without proxy, and you would be able to create a link to each. Add those two links to a single webpage, and then add that page to Home Screen.

That's two taps rather than one, though.

Another option is two make two separate pages, each with a javascript redirect to download the profile. You could then save each of the pages to the home screen.


How can i extend my partition further than the limit? Disk Utility So I am trying to make my partition full size but there seems to be a limit. I am on OS X 10.8.5 using Disk Utility.

I am using a MacBook 4,1 (early 2008)

Ok so I used MacPostFactor to install mountain lion with my friends copy of the installer. I deleted my Lion partition.

The output of diskutil cs list and sudo gpt -r show disk0:

Last login: Mon Nov 21 17:00:35 on ttys001
Daniels-MacBook:~ danieljensen$ diskutil cs list
No CoreStorage logical volume groups found
Daniels-MacBook:~ danieljensen$ sudo gpt -r show disk0
Password:
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34          6
         40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
     409640  117650752
  118060392  106863504      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  224923896    9517712      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
  234441608          7
  234441615         32         Sec GPT table
  234441647          1         Sec GPT header

Your Mac officially doesn't support Mountain Lion so the how-to below may fail!

You can't move ("backward-expand") the beginning of an existing partition to "lower" physical block numbers (with 0: the first block and 234441647: the last block and your Mountain Lion partition starts somewhere in the middle) with Disk Utility.

You will be able to create a new partition in the unallocated disk space and restore your existing Mountain Lion partition to it though. Then remove the old partition and expand the new one to the full size.

Since your Mac can't boot to Internet Recovery Mode, you need a second boot media (e.g. a thumb drive) with a basic system or a full fledged system.

Create a bootable Lion thumb drive
Boot to the thumb drive
Open Terminal and enter diskutil list and (assuming your internal disk has the disk identifier disk0) sudo gpt -r show disk0 to get an overview
Unmount your internal disk:

diskutil umountDisk disk0

Add a partition in the unallocated disk space:

sudo gpt add -i 4 -b 409640 -s 117650752 -t 48465300-0000-11AA-AA11-00306543ECAC disk0

Enter diskutil list and get the identifier of the new partition with the size 60.2 GB (your original ML volume has the size 57.1 GB). This may be disk0s2 or disk0s4
Format the partition with newfs_hfs:

newfs_hfs -v "New" -J /dev/disk0sX #use the proper identifier here

Close Terminal and open Disk Utility
Restore the Mountain Lion volume to New.
Boot to the restored Mountain Lion volume (AFAIR you will see two volumes with the name Mountain Lion in StartVolume, so boot to the proper one!) to check if it works.
If everything works open Disks Utility and remove the second Mountain Lion partition. Expand the first Mountain Lion to the full size.


How do I find out the system temporary directory? I'm testing an app that uses the System temp Directory. Inside of the app, there is some call to a Cocoa function to query this. Is there a way for me to query for this directory name outside of having to write a Cocoa app of my own? Possibly a command that I can issue in Terminal?

env

Just type this command into Terminal.  With zero arguments it'll print the names and values of variables in the environment.

Alternative with a bit more typing:

echo $TMPDIR


iOS beta app got leaked, can I get in trouble with Apple? I'm running a beta test for an iOS game. (100 devices, ad-hoc)
Somehow the game got leaked on a site that offers .ipa apps for jailbreaked devices.
Can I get in trouble with Apple because of this? (Can Apple see that the app got installed on more than the usual 100 devices?)

If it is your app, you should probably notify Apple. If you are testing for someone else, notify the developer and Apple. It really isn't your fault. To your second question ("Can Apple see the the app got installed on more than the usual 100 devices), I'd say no. Because jailbroken users use methods such as iFunBox or vShare/AppCake, Apple has no way of keeping track of how many times the app was downloaded unless they used the Apple way. Finally, I'd try to find out how your/the app was leaked.


Migrating from Linux (Ubuntu, CentOS) to OS X (dev environment) I'm about to migrate from Linux to OS X and I wonder if will encounter issues with development, as I probably will need lots of packages which are available in apt, yum package management systems. How can I find out whether these packages are available for OS X as well?

There’s a third-party package manager called Homebrew, which is in fairly common use in the Mac development community. It’s very similar to apt or yum on Linux systems, and will have a lot of the same packages.

The easiest way to find out if a package is available is to Google for “brew <package name>” (as brew install is the installation command, not homebrew install), or to look through a list of Homebrew formulas like http://brewformulas.org.


Can I choose the open Wi-Fi channel? My MBP's Wifi connection is very slow. How can I know if I am connected to the best available channel and can I choose the one channel instead another?

I do not have access to this "public" router.

This is what Wifi Diagnostic tool looks like:

you can't select the frequency that you connect to any specific router to unless you have access to the router.

It's like (literally) "can I access my favorite radio station on 88.5 instead of 102.7?" It is the base station that determines the frequency (channel) it transmits/receives at.


Prevent apps on iPhone from triggering icons on Mac dock There's some weird linkage between my iPhone and Mac.  When I go into certain apps, it brings up an icon on my Mac.  I do not want this ever.  How can I disable this?

Go to System Preferences → General and disable ‘Allow Handoff between this Mac and your iCloud devices’.

This feature is called Handoff, part of Continuity. You can read more about it in the Apple KB:

Use Continuity to connect your Mac, iPhone, iPad, iPod touch, and Apple Watch


After Using LP Printer Utility "unable to communicate" I tried using lp to print to our HPLazerJet P1102w from the command line. Items were added to the queue, as returned by lpq:

macbookpro1:~ mikekilmer$ lpq
HP_LaserJet_Professional_P_1102w is ready
Rank    Owner   Job     File(s)                         Total Size
1st     mikekil 26      (stdin)                         0 bytes

But the OS seems to think the printer is set on manual feed. Now the printer utility returns: "unable to communicate with the printer at this time."

lpstat returns:

HP_LaserJet_Professional_P_1102w-26 mikekilmer           0   Wed Nov 12 10:05:13 2014

And it seems maybe I need to add a user to the ip and sys groups.

hp-toolbox and hp-setup both return command not found and I'm not even sure what I would do with them if they worked.

Based on macbookpro1:~ mikekilmer$ cat /etc/group | grep lp, thinking the relevant groups would be:

_lp:*:26:
_lpadmin:*:98:
_lpoperator:*:100:

Also read that:

"This can also be caused by printers such as the P1102 that provide a virtual CD-ROM drive for MS Windows drivers. The lp dev appears and then disappears. In that case, try the usb-modeswitch and usb-modeswitch-data packages, that lets one switch off the "Smart Drive" (udev rules included in said packages).

This can also occur with network attached printers if the avahi-daemon is not running. Another possibility is the specification of the printer's IP address in hp-setup fails to locate the printer because the IP address of the the printer changed due to DHCP. If this is the case, consider adding a DHCP reservation for the printer in the DHCP server's configuration. "

But I'm not really sure what any of that means. I could, of course delete and reinstall the printer, but would like to get more of an idea about being able to configure it properly so that command line printing can work along with GUI methods.

Interesting,

I do have the HP LaserJet Professional P1102w as well as a network printer (WiFi) shared between Mac and Windows computers.

The Driver version is 2.0

I do not use any of the HP stuff like "hp-toolbox and hp-setup".

lpq

results in

  HP_LaserJet_Professional_P1102w is ready

  no entries

The lpr fileName works just fine.

In your case try to cancel any pending jobs with lprm job-id

Considering it was a low cost ($150) printer it works like charm.

I know that I am not specifically answering your question, but just sharing information that might help you.


Mavericks: No sound after sleep I have installed a fresh version of mavericks on a MacBook Pro 13". After the computer wakes up from sleep, I have no sound - neither in earphones nor in speaker.

The problems has been reported by many users in the Apple support community.

Is there any solution besides rebooting?

I could fix the problem by reloading the kernel extension for audio with these command:

sudo kextunload /System/Library/Extensions/AppleHDA.kext
sudo kextload /System/Library/Extensions/AppleHDA.kext


Can't create an outlet by drag and drop ,Xcode 6 I'm new to IOS XCODE6 ,trying to create a single view app .
When I try to create an outlet connection to the label by drag and drop ,
nothing shows up as you see in the picture below.
I did search the web all over to find an answer but nothing worked.
I'm working from a text book which is made for beginners,following all instructions and nothing there mentioned about this issue.
Any help will be appreciated.Thanks .

Not sure if you've managed to solve this issue already, but I just had a eureka moment myself. The problem with dragging-and-dropping was that I have re-assigned the left and right click on my trackpad, which ultimately led me to my solution (albeit in Xcode 7).

To create an outlet, try to Control + Right-Click (or whatever your Mac's right click is set as - you should be able to find this in the System Preferences).


What is the usr/local default chmod? I just changed accidentally /usr/local chmod to 775 and I want to set it to the default value again. What is the default chmod for /usr/local in OS X 10.11?

The default permissions/usr:grp/attr/SIP since 10.11.3 are 755, root:wheel, –, –:

ls -laOe@ /usr/local
total 0
drwxr-xr-x   4 root  wheel  -                 136 29 Mai 20:37 . # ⇦ /usr/local
drwxr-xr-x@ 13 root  wheel  restricted,hidden 442 29 Mai 20:31 ..
    com.apple.FinderInfo     32
    com.apple.rootless    0
drwxr-xr-x   5 root  wheel  -                 170 29 Mai 20:37 bin
drwxr-xr-x   3 root  wheel  -                 102 29 Mai 20:37 share


Costs of canceling repair? After cracking my iPhone, I contacted apple support, started a service request, and filled out the ""Send in for Service" option. However, I am now trying to cancel (which apparently is done by simply not sending the package), but I need to know if there are any costs from a cancelled request.

iPhone 5s, iOS 8.4

Contact Apple Support (In USA & Canada its 1-800-MY-APPLE or go to support.apple.com) and let them know that you change your mind. Just make sure ask if you do receive the packaging, did they want you to send it back.


Activity Monitor showing ~3,000% percent CPU under normal use Shows huge percentages for dropbox but total is normal, and everything seems to be running fine. I have a Macbook with Intel Core2Duo

On OS X, 3,000% CPU would mean thirty processors are being fully used. I'm fairly certain that no Mac has ever shipped with thirty cores (even with hyperthreading), so this is not correct, particularly on a Core 2 Duo MacBook.


Disable line wrapping and horizontal scrolling for output in iTerm I want to disable the interactive line wrapping that iterm does in my terminal application.

I can run

$ python -c 'print "\x1b[?7l"'

to disable line wrapping on output, so long lines like

$ python -c 'print "asdf"*100'

don't immediately get line wrapped and instead are cut off, but once I interactively change the window width to be smaller that line still wraps. I'd like behavior like vim has when in set nowrap mode - not even a flicker of a wrap.

This question is similar to Disable line wrapping for output in the Terminal, but that's asking about scrolling.

I believe this is not possible without using fullscreen mode - vim is using fullscreen mode (python -c 'print "\x1b[?1049h"') which disables vertical scrolling as well, which isn't what I want (though this wasn't clear in the question).

Also, it turns out this behavior isn't specific to terminal.app - it's how all the terminals I've tried work.


Reminders missing from macOS Catalina I've upgraded my devices to iOS 13 and macOS Catalina. When my iPhone prompted me to upgrade reminders, I went ahead with it since all my devices were now new-reminders capable.

Reminders are working on my mobile devices (iPhone and iPad), but on my macOS Catalina device I just get two reminders: "Where are my reminders?" and "The creator of this list has upgraded these reminders." Since I've already upgraded the device to Catalina, I'm not sure what to do to get it syncing again.

The one thing that's odd about my setup is that the iCloud account with the reminders is a secondary account on the device. I don't use reminders with the primary iCloud account on this device.

You have to be signed into iCloud with the same Apple ID. You also need to upgrade Reminders to the 'new-style' on your Mac.

Apple's note here describes the changes to Notifications


Does Parallels Desktop support hardware virtualization for the client VM? I have a new MacBook pro (I just switched from PC), and an older scanner (a Mustek A3 USB).

The scanner comes with drivers for OS 9 (I assume that's a non-starter on OS X), and Windows XP.

I have Parallels Desktop 6 running a Windows 7 installation on my MacBook.

Windows 7 comes with "Windows XP mode", a Virtual Machine running XP. This is what I used to run my scanner previously, on my PC.

However, Windows XP mode refuses to start inside the Parallels-powered Windows 7, complaining that the host machine (ie. Windows 7) doesn't have hardware-supported Virtualization. Whichis Parallels Desktop's "fault" as it's providing the virtual, simulated hardware.

Is there any way I can get Windows XP running on Windows 7 inside Parallels Desktop? Is there some setting I can change?

I guess simply creating a second Parallels VM running XP directly would be a workaround, but I don't have a separate copy of XP handy, and would like to avoid having to buy one.

As the comments have suggested, Parallels does not support Windows XP Mode in Windows 7 directly.

Parallels Knowledge-base article

However, the VMware knowledge-base does list a pair of patches from Microsoft (x86 patch and x64 patch) that remove the requirement for the hardware virtualisation on XP mode which should allow Parallels to also run the XP mode.

VMware Knowledge-base article


How can I create keyboard shortcuts to move to previous / next full-screen app? I'm trying to add keyboard shortcut to move to prev/next full-screen app.

I'm now @ Keyboard > 'Keyboard shortcuts', there is no options under 'Mission Control'. And I have no idea of what to add in 'Application shortcuts' for it.

In addition, I would like to change the shortcut in 'Mission Control' which 'Move left/right a space', but doesn't seem like I can change it.

Any idea?

"In addition, I would like to change the shortcut in 'Mission Control'
  which 'Move left/right a space', but doesn't seem like I can change
  it."

I believe I can help answer this part.

At first I thought that a drop down would appear, but it does not. All you have to do, if you want to use keyboard shortcuts (not sure about trackpad or mouse) is hit the key once the item is selected.

Above is a screenshot of the menu with default settings.

Below is a screenshot of the menu with moving to the right changed to "."

So, to recap:
Highlight item to change, double click on current shortcut symbol (to highlight it), immediately hit new key for the shortcut.

Hope this helps some!


Using GarageBand + Jam Packs in commercial games for iPhone I already read this : http://support.apple.com/en-us/HT201808

But I have a question...

1.Are we allowed to use sound effects from GarageBand as sound effects in our game without any modifications of original sound ?

For example I need an effect when button is clicked, or bullet is fired, or coin is collected, or I just need background music and for some of those effects I don't want to create new ones by myself...I just want them as they are already. Can I use GarageBand for that just by simply purchasing an app and use it's predefined effects, or loops, in my iPhone commercial game ? Also how does the same thing applies to Jam packs??

The article your linked is pretty clear: as long as you don't SELL the loops or tracks as loops or tracks, you can use them as you wish. Same would apply to the Jam Packs.


How to get SAM activation tickets (iPhone 5, iOS 7.0.4) I was asked to unlock an iPhone 5. The phone has been jailbroken successfuly (with SSH access), but I can't get around the simlock.

I've tried SAM, but with no luck. When SAM is enabled, the phone seems to log into the network with any valid microSIM, but it does not work at all: Data do not work, calling makes "call failed" error message. The phone does not receive the SMS message I've sent.

So, I've tried to search a way specific for iPhone 5 and iOS 7.0.4. This one looks promising (although iPhone 5 was not mentioned explicitly). However, there is a prerequisite:

  You must have SAM activation tickets for this guide to work.

How can I get them?

If I can't, is there another way around, except downgrade to iOS 6?

sAM tickets were only available for a week on April 2012. Apple was able to patch the servers at that time but a lot of iPhone 4 users waiting for the 4.11.015 baseband unlock was able to get it. sAM doesn't work on iPhone higher than 4 since this is the only iPhone available in April 2012 . Don't assume it will work for the iPhone 5 since you need a ticket that is no longer available


Macbook connects to modem, internet works, but modem -> router, no internet I'm running a netgear modem CG3000D, and have been able to access internet without problems. However my speeds on the internet were slow for gaming and extensive usage, so I purchased a netgear R6250 WiFi router to increase speed and range.

My modem will connect to the router no problem, and my Macbook can connect to the router (with a different WiFi network name now), however there is absolutely no internet access now.

I'm not fluent in Mac operations yet, so I'm not sure what to do or where to go to fix this problem.

I tried airport utility but it can't find the router? Not sure what to do here.

Thanks

Disabling the WiFi Signal on the Netgear CG3000D WiFi Cable Modem

You may have a standalone router that you would like to continue to use and are having problems with connecting to your router. The device may be causing a conflict because the router portion of the device is also active. You can turn off the WiFi network of the device, turning it into a modem only, and be able to use your router without an issue.

Completing this procedure disables the SSID for the Netgear CG3000D Home Device. This allows customers to use their own standalone wireless router.


Can I force Mac OS to cache my most frequently used applications? If I buy a lot of ram for my new iMac (16GB), is there a way to make the system cache my most frequently used applications so the launch time is much faster?

It's an oversimplification, but this is essentially what Unix does with its memory in the first place.  If you don't shut down your computer and don't close your apps, your most frequently used apps will always be in memory ready for you to use.  Apps you don't use will get swapped to disk (assuming you ever run out of RAM  :-)

In Lion especially, you can almost forget about quitting apps by hand.


How can I get an iPhone through Apple's iPhone Upgrade Program on my family's Verizon plan? My current iPhone is on a two-year contract with Verizon that makes me eligible for an upgrade in January, with a plan that I share with my family. I'm really interested in Apple's iPhone Upgrade Program, so I was wondering, is it possible to get an iPhone through the iUP, keep my current number, and put the iPhone on my family's plan that has, until now, been all iPhones purchased through Verizon? If so, how would I do that?

Yes, virtually any postpaid Verizon customer can sign up for the iPhone Upgrade Program through Apple's web site or in store. (So can Sprint and AT&T customers, although T-Mobile is currently in-store only.)

This is separate from any agreements you have with Verizon, and you will still have to finish paying off your current phone with them.


iPhone 5S Personal Hotspot sometimes automatically turns on Why does my Macbook Pro "see" my iPhone Personal Hotspot even when it is turned off?  And sometimes, my iPhone Personal Hotspot gets turned on automatically.  What is happening here?  This does not happen often, and when it does, it is usually when the WiFi signal is unstable.  3G is always there as a back up, so I don't know why my phone is trying to cover for this unstable signal.

It seems you're seeing the "Instant Hotspot" feature available on the devices running iOS 8 or later. It's a part of Apple's continuity features that lets you share the data connection from your iPhone or iPad (cellular) to your WiFi only Apple device. It uses your Apple ID for authentification, BT LE for connection and Wi-Fi for data transfer. Thus, it's different from a personal hotspot, which required a password. You can read about it here: https://support.apple.com/en-in/HT204681#hotspot

As of iOS 9.3, you cannot disable the Instant Hostspot. Only way is to call your carrier and have them remove the feature from your account.


What does sudo chmod 0755 /usr/local and sudo chgrp wheel /usr/local do? I uninstalled Homebrew, manually removed the /usr/local contents.

The following possible Homebrew files were not deleted:

/usr/local/.DS_Store
/usr/local/bin/
/usr/local/etc/
/usr/local/include/
/usr/local/lib/
/usr/local/libexec/
/usr/local/share/
/usr/local/texlive/
/usr/local/var/

You may consider to remove them by yourself.

You may want to restore /usr/local's original permissions

  sudo chmod 0755 /usr/local
  sudo chgrp wheel /usr/local

I want to know what the suggested commands do.

When you perform the chmod 755 filename command you allow everyone to read and execute the file, and the file owner is allowed to write to the file as well. You may need this for Perl and other scripts that should to be run via a webserver. If you apply 755 to a directory, it means that everyone can go to it and get its file listing.

When you run chgrp group-name filename command you change the group of each filename to group-name.

Running both commands using sudo prefix let you be sure that the changes takes effect, because your run it as root that is the user with most permissions on every single unix like machine.

You can type man chmod, man chgrp or man sudo for more info and options.


Catalina: Time Machine claims there is not enough space for a backup A family member has updated their MacBook Air from the latest version of Mojave to Catalina 10.15.1.

The MBA has got a 250GB SSD drive, of which only 80GB are in use (170 available). They've been backing up the MBA with Time Machine more or less regularly, with the last backup completed 7 days before the upgrade. (I know, I know: they should have backed up right before upgrading, but now it's too late for that) The Time Machine drive is an external hard drive connected via thunderbolt (v1) cable and thunderbolt to USB-C adapter.

Now the upgrade to Catalina has completed successfully, but they can't backup to Time Machine anymore because "there isn't enough space".

The Time Machine drive is a 1TB hard drive with 505GB available. That should be plenty to perform a new incremental backup of the MBA. I know that  backups following a major macOS update take more space, but it should still fit comfortably in 505GB, and even if it didn't it should automatically clean old backups.

Is it a genuine issue (it actually needs more than 500GB), or an error? How do I fix it without losing the old backups?

I had a similar issue where TimeMachine was complaining about not being able to backup to a USB attached external disk. (Even though there was plenty of space for the backup).

Apparently the connection was in an unexpected error state, so I did the following and all was working afterwards:

Shutdown the Mac
Unplugged the External HD
Unplugged the USB cable
Waited 60 seconds

Then plugged them back in and restarted the Mac.

All was good again.  (Hope this works for you too.)


Can I manage another computer in over an Internet connection? I bought my mother an iMac. In order to maintain my tenuous grip on sanity, I would like to be able to manage this machine from my home office using my own Mac. I have a Cox cable connection, she has a Verizon wired connection.

Is this possible with Apple Remote Desktop or similar?

Apple has tools for that in Sharing.

I personally am a fan of the app called TeamViewer and use it with my family and extend family and friends in Europe as well.

It is no so much Sharing but taking the control and fixing stuff remotly, or just watching them do something as a teacher.

It can be set to auto start with mac so you can access any time without need for the other party do to anything.

It of curse offers Audio/Video chat or messaging while in session, but I mostly use that to tell the other party to stop moving the mouse around and just watch me fix they problem :)


I want to turn off two factor sign in for Apple ID. Did not receive email option to go back to previous settings. I want to turn off two factor sign in for Apple ID. I do not see that I have that option this time. It used to be that I would be sent a email letting me know it was activated and it had a option to go back to previous settings. This time I did not get a email like that. I do have that I want to recieve the information from Apple all check marked.   Is it possible? How

How long ago did you enroll the account in two-factor authentication?  You may be unable to at this point.

Can I turn off two-factor authentication after I’ve turned it on?
If you already use two-factor authentication, you can no longer turn it off. Certain features in the latest versions of iOS and macOS require this extra level of security, which is designed to protect your information. If you recently updated your account, you can unenroll for two weeks. Just open your enrollment confirmation email and click the link to return to your previous security settings. Keep in mind, this makes your account less secure and means that you can't use features that require higher security.

Two-factor authentication for Apple ID


Can I use multiple gmail-based accounts with the same username (but different domains) with Mail.app & IMAP? A recent mail file corruption has led me to finally putting Eudora to bed.  Since my personal email has been backed by gmail for a few years, and my work email is a Google apps email account, I figured I'd take advantage of server-based storage to not worry about fixing Eudora mail files, but just use IMAP to sync up with the servers in Apple mail and be done with it.

Well, my personal account and my company account are both the same user name, i.e. username123@gmail.com, and username123@company.com.  (Not real.)  And it seems like this is causing a collision in Mail.app.  On editing the initial mail config setup, I get an error:  "Invalid Directory:  The account path /Users/.../Library/Mail/IMAP-username123@imap.gmail.com is already being used by the account Company Mail".

I was concerned by this, but it did seem to be busily downloading mail into the "All Mail" folder for the new account, so I let it run.  But, yeah, it seems broken.  What should be individual inbox folders for each account show all the same sets of messages.  That's no good.

A funny thing is that I've had these same two accounts on my iPhone, with IMAP, and it keeps them straight!

So, am I doomed to not being able to use Apple Mail in this scenario?

Update: Today, the two inboxes look separate, after a restart of Mail overnight.  However, I still get the same error when I try to change the personal account to send through an alternate server, so I think there is still a problem here.

Follow these steps:

Open Mail and delete each of the conflicting accounts. Close Mail.
Go to ~/Library/Mail/ and make sure any IMAP-username123@imap.gmail.com folder has been deleted. If there is any such folder left, delete it now.
Open Mail and create one of the accounts and let Mail load your messages. Close Mail.
Go to ~/Library/Mail/ and verify that a folder called IMAP-username123@imap.gmail.com has been created.
Open ~/Library/Preferences/com.apple.mail.plist. If you have installed Xcode, this file will open with Property List Editor. Otherwise you can download a free trial of PlistEdit Pro to open this file. Using a plain text editor with .plist files is more difficult.
With the .plist file open, click the disclosure triangle for MailAccounts. Here you will find Item 0, Item 1, etc.
If you click the disclosure triangle for each of the Item headings, you will find that one of them has the value username123@gmail.com or username123@company.com for the AccountName key, depending on which account you created in step 3.
Change the value for AccountPath for this Item so that the path will not collide with that of the next account you are to create.
Save and close the .plist file.
Open Mail and let it reload your messages. Close Mail.
Go to ~/Library/Mail/ and verify that a folder with the path value you provided in step 8 has been created. Delete the old folder called IMAP-username123@imap.gmail.com.
Open Mail and create the remaining account normally and let Mail load your messages.


How do I make my iOS devices use British/Australian/Commonwealth spelling? I have the keyboard set to "British" and my locale is Australia, but neither of these seem to affect the spelling suggestions.

Spelling is determined by the keyboard setting you're using. Go to Settings > General > International > Keyboards, and make sure that English (UK) is added. It also helps to remove the US keyboard so that you don't accidentally get stuck in that.


Can I add custom pronunciations to "Speech"? When given a well-known abbreviation or acronym, Mac's built-in Text-to-Speech engine automatically speaks the correct word or pronunciation, instead of the individual letters.

For example:

  vs

  (Speech pronunciation: "versus")

  Dec.

  (Speech pronunciation: "December")

  5 cm

  (Speech pronunciation: "5 centimeters")

  Dr.

  (Speech pronunciation: "Doctor")

  Dept.

  (Speech pronunciation: "department")

  Rd

  (Speech pronunciation: "road")

  OPEC

  (Speech pronunciation: "oh-peck")

However, there are instances where Speech does not pronounce a lesser-known abbreviation correctly, and, instead, speaks the individual letters of the word.

For example:

  BTW

  IMO

  YMMV

Is it possible to change the Speech behavior, so that when it is given "BTW," for example, it reads "by the way"?

Yes all you need to do is Go to System Preferences/Accessibility/VoiceOver.  Then click the open voiceover utility button.  Once that utility opens, select speech on the left and open the pronunciation tab.  From there, you can add any abbreviations with substitutions.

I also added the substitutions here:


How to remove slo-mo tags from iOS videos using exiftool? I have some slo-mo videos recorded that have been reverted back to normal speed. The problem is that the iOS Photos app still recognizes those videos as "slo-mo", and therefore places them in the "Slo-Mo" folder.

Similar to organizing burst photos in the "Bursts" folder, I can easily remove the BurstUUID using exiftool, which upon re-uploading the photo in the MAC Photos app, the photos are removed from the "Bursts" folder.

However, I don't see something similar to a "Slo-Mo" tag.

Does anyone know if this can be achieved?

There is no tag for slo-mo. Photo uses the frame rate (over 60fps) of the video to decide wether it is a slo-mo or not. GoPro videos with 120fps appear also in the slo-mo folder.

You have to convert the video to 60fps or less to achieve this, iMovie should work for this.


How to fix system.log filling up with servermgrd "Record of type dsRecTypeStandard:Config named 'ServicesInformation101004'? Record of type dsRecTypeStandard:Config ... already exists in /Local/Default
I passed by a Mac OS X Leopard server (10.5.8) that is no longer accessible via SSH neither ARD. CPU load is maxing out and the system log is filling with these messages:

xserve servermgrd[66]: Record of type dsRecTypeStandard:Config named
'ServicesInformation101006' already exists in /Local/Default. Trying
with new name: ServicesInformation101007
xserve servermgrd[66]: Record of type dsRecTypeStandard:Config named
'ServicesInformation101007' already exists in /Local/Default. Trying
with new name: ServicesInformation101008

How to fix this OS X server?

This is happening because OS X is creating lots of files in:

/var/db/dslocal/nodes/Default/config

Delete files from Terminal

Due to  the high number of files involved don't use Finder but use Terminal instead.

$ cd /var/db/dslocal/nodes/Default/config

Permission denied

You might have difficulty doing this due to not having enough permissions to enter that folder, in that case get yourself super powers:

$ sudo su

Delete files

You need to delete all of the ServicesInformation.... files, for example:

$ rm ServicesInformation*

Too many matches

You probably are not able delete all files in one run due to the high number of matches. In that case do delete the files more selectively. In my case, this worked:

$ rm ServicesInformation1{1,2,3}*
$ rm ServicesInformation1*
$ rm ServicesInformation2{1,2,3}*
$ rm ServicesInformation2*
...

Reboot

And my the message is gone from system.log and the CPU usage has gone from 100% to below 1%.

partial source: https://discussions.apple.com/thread/1481182?start=45&tstart=0


Macbook Pro 2012 md101 gpu throttling When playing games on Macbook Pro 13 inch 2012 md101 under Windows 8.1 the temperature rises to 100 degrees pretty fast and gpu starts throttling giving a huge slowdown in games. Is this a normal behaviour of this Macbook? If not what should I do to fix this?

This notebook has Core i5-3210M and Intel HD Graphics 4000

I was thinking about changing termal paste.

Yes this is perfectly normal behaviour. You can change the thermal paste if you want but you won't see any great difference in thermal levels. The Intel HD4000 GPU is integrated in the i5 die and CPU/GPU throttling is the main protection mechanism for thermal limiting .


Disable iPhone 4 data connection Can I disable the data connection on my iPhone, but use the Wi-Fi as normal?

Sure. In Settings > General > Cellular > disable Cellular Data

This will restrict all data to Wi-Fi

For more information, see iOS: About the Cellular Data setting from Apple Support


Super bad audio quality from iPhone 6s Plus speaker When I use Skype on speaker on my iPhone 6s Plus with iOS 9.0.1, the sound from the speaker is horrible. I uploaded a sample to SoundCloud.

I tested this on my iPad 4, and on the same OS, no such problem exists.

I had this phone for one day, and seems like this is a hardware problem. What do you think? I had this phone for barely a weekend, so if this is a hardware problem, I will be likely to have a chance to swap with a new phone!

Apple generally give 72 hours for a Dead On Arrival (DOA) or Early Life Failure (ELF) swaps.

I would take it to an Apple retail store as soon as possible to have them test it.


Allow m3u files to be edited in TextEdit, saved, and used without a "is damaged and can't be opened" message I am using OS X El Capitan.

I edit the .m3u files that are playlists with TextEdit. After editing and trying to play the playlist files I receive the "is damaged and can't be opened" message.

I can get around this by adjusting the whole system security (system preferences -> security and privacy) to allow apps downloaded from anywhere but I'd like to somehow set .m3u files to be editable without security concerns instead of changing the whole system to be less secure.

How can I get the .m3u extension to be ignored by this type of security.

.m3u files are really nothing more than just basic plain text files. My guess is that you're getting this issue because TextEdit is not currently set to use plain text as its format.

You don't specify what version of macOS you're running, but in the more recent versions of TextEdit you can change how it deals with file formats by default.

Change the default TextEdit format

You can change the default TextEdit format as follows:

Launch TextEdit
Go to TextEdit > Preferences... (or just use the command, shortcut)
Ensure you have the New Document tab
At the top you'll see three options for Format. Select the Plain text option.
Exit preferences

Now when you edit an existing .m3u file (i.e. it already has the .m3u extension) then it should be fine.

If you create a new file, be it a .m3u file or one in another format, you will need to manually add the extension to the filename when you save it. If not, it will default to the Plain Text extension (i.e. .txt) instead. You can also change this behaviour in Preferences by going into the Open and Save tab and unticking the checkbox for Add ".txt" extension to plain text files.


We share iCloud accounts on two devices, can both backup photos to iCloud? Can 2 devices back up each one's photos with same iCloud account into iCloud?

Yes, iCloud backup will keep the backups of your Camera Roll separate.

If you mean Photo Stream, yes, the photos will be merged into a single Photo Stream.


Not able to download game applications from App Store Since I got my iPad and iPhone I am unable to download certain applications,
especially the games

Is this due to region restrictions with Apple and South Africa?

Apple recently released the iPad to South Africa and in the Apple Store I see the iPad have Angry birds, etc. loaded on them.

But if I try to download it from the App Store I can't.

Per my comment above, apps simply do not show up (in iTunes itself, anyone can view the web-page overview versions) in iTunes if they are not available in your region.

If you do follow a link to the app specifically, you should get an error message explicitly stating that the application is not available.
Any other message indicates some other problem entirely.


100GB+ of hidden space I can't delete or purge I've tried everything... went into recovery tried repairing. Went into terminal tried to list any existing snapshots. Nothing... Am I going to have to do a clean wipe of the drive because of this Catalina disaster of a release...

Here's also a screenshot of About This Mac > Storage:

Try OmniDiskSweeper which shows in a column-view:

Largest folders will sort to the top.

I often will run it via

sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper 2>/dev/null

Also: make sure that it gets “Full Disk Access” as shown here:


How to make red distinguishable from grey in Terminal profile "Pro" The default for Terminal.app profile Pro is a black background with ANSI colors. Since the background is black the preferred color setting for Vim is background=dark. In this combination red text (emitted from syntax highlighting) is indistinguishable from grey text (at least for me):

"Foo" is red, "bar" is grey. A color picker reveals that red is rendered as R=243, G=222, B=222, so yes it actually is a slight bit more red than grey.

None of the color changing options in Terminal.app preferences allows me to change this to something that makes me recognize it as red. So how can i make red look red?

Edit (Further information from the comments): The issue is reproducible with any Vim (local or ssh remote, from OS X or mac ports) as long as Terminal.app is used for display.

The problem is likely due to your vim settings rather than your terminal settings.

The color you mentioned is pretty close to color 224 (of 256 colors), so you might try looking in your vim colorscheme to see if that color is used in a ctermfg= declaration.

To test and see if I'm right you could try

:syn match Foo /foo/
:hi Foo ctermfg=red

If that turns the word foo red then you know your terminal's red is working properly and it will be an issue with your vim settings.


Mac fan speeds really high I am using istats to see the speed of my fans:

I ran a diagnostic by holding down d during a restart and it came up without any errors. I've also reset pram and the readings are still really high. Is there a hardware error? What do I do to get correct readings again? I am on a 2018 15 inch i7 macbook pro and I'm quite concerned because all I have are a few chrome windows, spotify, and a terminal open. Having a CPU temperature of 43 degrees seems absurd.

EDIT:
The widget Fanny also displays these speeds https://www.fannywidget.com/

There’s a lot to answer but here are my thinking:

Power off your Mac and reset the SMC one time - those blower speeds are non-sensical and look like an integer overflow.
Run software updates - apply EVERYTHING and consider downloading the OS installer and running it from Recovery HD - install right over your system as that won’t erase any accounts or settings and it will download EFI / firmware updates as needed - especially if you’re connected to a viable network when you reinstall.
A temperature of 100 C isn’t ridiculous - modern CPU run at the boiling point perfectly fine for extended periods - 43 C is a cool fall evening with a fresh breeze and nothing to worry about at all.
Don’t put much stock (if any) in the diagnostics - that’s designed to detect major component failures - not any sort of battery or fine grained test in my experience. Even the tests Apple runs at the Genius Bar while you wait are pretty trivial, basic tests.
Only 3 cycles on a battery makes me think you have a new Mac - be sure you contact iStat menus to be 100 % sure the software fully supports your specific model. I have seen new machines report nonsense until the vendor updates their software for new hardware and new sensors.


Bootcamp windows 8.1 not booting I recently installed windows 8.1 using bootcamp and it worked well for a few days. For some reason when I turned on my computer it switched to the mac partition. When I turned off the computer and tried to switch to windows, I just got a black screen with no cursor or anything, although it didn't look like the computer was completely shut off. Now, I can easily go on to apple, but whenever I try to use windows I keep getting a black screen with no cursor. I tried searching up what the problem was, but I can't find any solutions.Thanks in advance!

MacBook Pro with Retina display, OS X El Capitan (10.11.6)

That’s most likely not related to Mac OS or Bootcamp, but rather a Windows issue. There’s barely enough information from your side to estimate what’s the problem here, but most likely it’s an issue with the windows bootloader. From a Windows install disk or USB stick, open up a command prompt, and execute the commands bootrec.exe /fixmbr and bootrec.exe /fixboot. These should reinstall the bootloader.

In case that doesn’t work, it’s most likely an issue with your Windows installation. Since Windows isn‘t as repairable as Mac or Linux is, it’s likely that reinstalling windows (save all data, format the partition from disk utility in Mac OS and install from the Windows install media again, as you did in the first place) is the best bet to go.

Anyways, since your question is most likely not related to Apple, you’re good to ask in a Windows QA site like superuser.com how to fix your Windows boot (there’ a lot of answered questions already so just search).


Adobe AIR apps on ios7 and ios8 Do I need any additional software to run games made from adobe AIR? Do they run as native apps?

They run as normal apps. No extra effort is required on your part.


Does Apple allow developers or testers to install previous versions of an App? As an iOS App developer, does Apple allow me to download previously submitted versions of my App using a developer or test account?

I'm not trying to get users to download previous versions, but instead I need to reproduce issues on older versions of the app.

I assumed each submitted version uploaded to App Store Connect would show a link to download/install the App, but there doesn't seem to be anything.

No, this is not allowed.  You can only have 1 version available for download in the App Store at a time for a specific iOS version (users with older versions of iOS can download the last compatible version of your app but I don't think that's what you're looking for).

I'm not sure if you can upload a lower version to TestFlight as I've never tried it.  If it works, you can limit the ability to download it to specific users.  That might achieve what you're looking for.  Maybe someone can [edit] this answer if they know this is allowed.


Does an Apple TV stream 4K movies if the Internet connection is somewhat less than the recommended 25Mbps? This is to decide whether to buy an AppleTV 4K or not:

For example, some areas may have an 18 to 22Mbps Internet connection, and is just about 10% to 20% lower than the official recommended 25Mbps.

And since the 4K movie cannot be downloaded but can only be streamed, and will be "downgraded" to the next lower resolution (from 4K to 1080p), will a connection of 18 to 22Mbps be able to stream a 4K movie?

Some factors:

If it is not an action movie, it may not require 25Mbps.
If it is 22Mbps, it is about 10% less than the recommended 25Mbps, so if Apple TV can buffer up 10% of the movie: 9 minutes of it out of a 90 minute movie, then mathematically, the whole movie will play till the end smoothly if the user is willing to wait for 9 minutes of start time, or even a 4.5 minute initial wait plus a middle intermission restroom break of another 4.5 minutes, instead of not being able to see it in 4K at all.

Yes, you can stream 4k movies on the Apple TV 4k with a somewhat less than the recommended 25 Mbps internet connection.

In practice the available bandwidth for streaming the movie should not drop 15 Mbps to ensure 4k streaming. So real life experience depends a lot on what else you're using your 22 Mbps internet connection for at the same time.

How exactly the streaming quality is determined depends on the app you're using to view the movie. For example Netflix allows you to lock the quality setting to High, but you might experience lots of waits for rebuffering during the movie, if your internet connection is too slow.

If the movie is streamed from the iTunes Movies and TV Shows app, you can adjust the quality in the general AppleTV settings in the menu Settings > Apps > iTunes Movies and TV Shows.

From this menu you can disable "QuickStart". This means that you'll have a wait before the movie starts playing, but it will display in the best available quality even on a slow internet connection.


Can I extend my Airport Extreme's wireless network with a third-party repeater? I recently purchase an Airport Extreme (the new tower looking one that supports 802.11ac). I finally, after days of headaches, figured out how to use it as my wireless router with AT&T U-Verse. AT&T supplies a hybrid modem/router/voIP box that I had to partially disable via the settings in order for my Airport to handle the DHCP assignments.

Now that the Airport is working fine, I have this second box, a TP-LINK TL-WA801ND, that I have tried to configure as a Universal Repeater. However every time upon setting it up that way, it just gets lost on the network, and doesn't appear to be working.

I'm guessing from what I read that Apple still does not support third-party devices? Can or can't I extend my existing wireless network with third-party gear?

Despite very vague information on Apple's own website, it is not possible to extend Apple-based networks with non-Apple products.

Apple only states:

  "Wi–Fi base station - Any variety of AirPort Extreme Base Station,
  AirPort Express, or Time Capsule."

from this article - http://support.apple.com/en-us/HT202056


How do I limit Gmails access to my phones contact info, specifically pictures? I recently added/updated some pictures for my contacts within the built-in phone app. Gmail now somehow has those pictures, 1) how is this possible? 2) How do I limit Gmail's access to my contacts info/pics?

I am running an IPhone 7 with the current iOS. I do have the gmail app installed, but it does not have permission to access my contacts AFAIK. The settings for my gmail account within the built-in mail app has Mail, Contacts, Calendar all set to enabled. My understanding of that contacts slider switch is a "one-way" deal. My phone has access to my gmail contacts not the other way around, but maybe that understanding is flawed. 3) Is my understanding on this matter correct?

I greatly appreciate input from anyone with direct knowledge on what controls directly pertain to gmail's access to my phones contact pictures.

Your phone and your Gmail contacts get synced, which means if you change a contact on your phone, it will change on your Gmail contacts too, and vice-versa. It is not a one-way deal.

To limit Gmail access, you will have to disable contacts sync entirely with Gmail(using the slider) in the settings app.

Your contacts include pictures as information which is part of the contact, and Gmail syncs the entire contact, so there is no way to block Gmail from accessing your contact photos.


Any shortcut to go to user account window? Is there any keyboard shortcut to go here?

EDIT: This script does not work

on run {input, parameters}

    (* Login menu has to be the last! *)

  tell application "System Events"
    tell process "SystemUIServer"
      set n to number of menu bar items of menu bar 1
      tell menu bar item n of menu bar 1
        click
        repeat with i from 1 to 10
          try
            if name of menu item i of front menu contains "Login Window" then
              click menu item i of front menu
              exit repeat
            end if
          end try
        end repeat
      end tell
    end tell
  end tell

  return input
end run

EDIT2: I made this Automator Script (when I execute it, it works) but when I try to assign it a keyboard shortcut it does not work.

If you are trying to bring up the Login Window via a keyboard shortcut the answer is, there is not a default keyboard shortcut to invoke the Login Window. However one can create an Automator Service which can then have a keyboard shortcut assigned to it.

The problem with that method is finding a globally responsive keyboard shortcut that will trigger without interference and work consistently regardless of what has focus when the keyboard short is triggered. In some cases it may be advantageous to use a third-party app, e.g Karabiner, to accomplish the task.

What I'm presenting here is a command that can be executed, a number of different ways, and incorporated into an Automator Service and or an AppleScript Application, etc.

As an Automator Service, all that is required is adding a Run Shell Script Action with the command. You might also be able to use the command in conjunction with a third-party app that can be triggered by a keyboard shortcut.

Personally, whenever applicable, I like to use an AppleScript Application because I can trigger it using Spotlight or place it on the Dock, etc. It may be a few extra keystrokes however for me it just works better and I avoid what can be problematic with trying to assign an Automator Service a global keyboard shortcut.

The command that will invoke the Login Window is:

As a Terminal command and or a Run Shell Script Action in Automator:

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

In AppleScript the command is:

do shell script "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend"

If you'd like to switch directly to a different user you can use the following command as an example.

As a Terminal command and or a Run Shell Script Action in Automator:

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

In AppleScript the command is:

do shell script "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -switchToUserID 502"

My primary login User ID ($UID) is 501 and I have a Test Account which has a $UID of 502. So the above command enables me to invoke Fast User Switching to my Test Account using Spotlight (Command-Space) and the AppleScript app named TA.app. It is the top hit in Spotlight so if I type Command-Space-T-A-Enter I get my Test Account Login Window quickly and easily.

So with the commands provided, you should be able to utilize what's appropriate to your needs/wants to code with in a much easier way then the code you've shown in your question.

Note: Make note of the double-backslash in the AppleScript do shell script command line to escape the space in the shell command line vs. the single-backslash as a normal command in Terminal.


Wisdom of storing help files in user directory What is the wisdom of storing the following reference files in the user's directory?
Might I have done something when installing XCode for them to go to ~/Library instead of, say, /Library ?

1.8G ~/Library/Developer/Shared/Documentation/DocSets/
0.3G ~/Library/Developer/Shared/Documentation/DocSets/com.apple.ADC_Reference_Library.DeveloperTools.4_3.docset
1.0G ~/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.AppleLion.CoreReference.docset
0.5G ~/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.AppleiOS5_1.iOSLibrary.docset

Pseudo-solution
Aside from the wisdom, if any, the solution suggested by Anne Onymous below works.
sudo mkdir -p /Library/Developer/Shared/Documentation
sudo mv ~/Library/Developer/Shared/Documentation/DocSets  /Library/Developer/Shared/Documentation/
ln -s  /Library/Developer/Shared/Documentation/DocSets  ~/Library/Developer/Shared/Documentation/DocSets

Doing so will significantly reduce the number of files in your home directory:
ls -lR ~/Library/Developer/Shared/Documentation/DocSets | wc
302148 1881376 20167032

Here are several cases where having documentation in the user home folder make sense:

Each user of the Xcode program has different bookmarks, needs, choices of what to download
Backup situations where only user files are preserved (common in corporate situations where they image and deploy apps systematically and therefore skip backing up files that come from the standard deployment process).
Networked home folders where you work from more than one Mac would cause another location to fail.

Gatekeeper and other code signing / security checking technology makes it poor form to store added content (or content that updates outside the normal app update process) in /Applications. /Users/Shared is not a good place to store things since it breaks under the network home folder use case. Thus ~ is left as the least bad place to store this content.


Extract individual audio tracks from an audio DVD I would like to extract the audio from a concert DVD to audio files, e.g. mp3 or aac. How can I do this using free tools - I know there are a couple of pay options available, but I would like to use free tools if possible.

Please note that I don't want to playback/record the audio, but extract it directly from the DVD. The DVD has a stereo PCM track.

Ideally, I want to end up with one audio file per chapter/track.

I know how to use the command line, so scripts are welcome as well. Homebrew is installed as well.

Update:
I've read the following two guides for using VLC, but they seem to be outdated, the screens seem to have changed in recent versions of VLC. Especially the Convert/Save menu item is now named Convert/Stream and the screen seems to have changed considerably.

https://wiki.videolan.org/Extract_audio
http://www.wikihow.com/Rip-DVD-Audio-to-MP3-Using-VLC-Media-Player

Here's how I did it in the end, since I was unsuccessful using VLC. In some cases, I ended up with static in the file, and the command line instructions from some of the guides I posted in the question failed, since the commands seem to have changed.

I also tried tools like ffmpeg, but didn't get any usable output from that either.

What finally worked were the instructions found here: http://www.essl.de/wp/2008/01/28/rip-audio-from-a-dvd/

First, I installed the following tools using Homebrew:

$ brew install lame
$ brew install mplayer

Secondly, to get a list of the chapters of the DVD, I used this with the DVD in the drive of my MacBook Pro:

$ mplayer -identify -frames 0 dvd://1 | grep "_CHAPTERS"

This will print the number of chapters per title, in my case, I noticed that there are 13  tracks in the first title.

To get the available audio channels listed, I used a similar command:

$ mplayer -identify -frames 0 dvd://1 | grep "aid"

This showed that the channel with the aid value of 160 had the DVD's stereo track (lpcm).

To extract the audio and convert it to MP3, I wrote the following reusable script (ripaudio.sh), which extracts and converts one chapter:

#!/bin/bash

CHAPTER=$1
AID=$2

mplayer -benchmark -vc null -vo null dvd://1 -chapter $CHAPTER-$CHAPTER -aid $AID -ao pcm:fast:file=$CHAPTER.wav && lame --preset standard $CHAPTER.wav $CHAPTER.mp3 && rm $CHAPTER.wav

Make the script executable using

$ chmod +x ripaudio.sh

Call it to extract the first chapter using

$ ./ripaudio 1 160

What this basically does is this:

MPlayer extracts the audio track with id 160 of the first track and saves it to a file called 1.wav. The video part of the track is ignored
The Lame encoder is used to encode the .wav file into an MP3 file called 1.mp3. Lame's standard preset is used.
The file 1.wav is deleted.
The commands are chained using the && operator to make sure they only run when the previous one succeeds. The whole mplayer etc. command needs to be on a single line.

To convert all of the chapters, the following for loop can be used:

for i in {1..13}; do ./ripaudio.sh $i 160 ; done

This will take a while, but once it's done, you'll end up with one MP3 file per chapter in the current directory.

The script can easily be adapted to use something like flac instead of lame for the encoding. Place the script in your user's ~/bin folder to call it from any location.

While this took a while to research and doesn't have a fancy UI, it was the best method I've found.


How can I use a detached keyboard with my iPad Pro so I can draw and use quick keys with it flat? How can I use a detached keyboard with my iPad Pro so I can draw and use quick keys with it flat?
I'm left handed so I'd like to put the keyboard on my right and draw with my left-hand, so attaching the keyboard isn't what I'd like at all.  Also if I could use my laptop keyboard and monitor almost like a two monitor setup but while drawing with the ipad pro...
This is probably dead simple, but I'm a newb to drawing on the ipad.

All you have to do is get a Bluetooth keyboard and set is close to your iPad. Then go to setting/Bluetooth and connect the keyboard. It should work fine. I got my keyboard from an online shopping service and I paid $19. it works fine.


Why is my Wi-Fi Process eating >2GB memory Why is the Wi-Fi process taking so much memory?

EDIT: Apologies, I should have clarified my question. I'm a web developer that spends most of his time developing apps locally. Not interacting with third party apis or database interactions. Possibly it might be my app bundler Webpack serving updated changes constantly to my local server?

Specs

MacBook Pro (Retina, 13-inch, Mid 2014)
2.8 GHz Intel Core i5
8 GB 1600 MHz DDR3
Mojave 10.14.2

cwd
/
txt
/System/Library/CoreServices/WiFiAgent.app/Contents/MacOS/WiFiAgent
txt
/Library/Preferences/Logging/.plist-cache.ptlzg4rP
txt
/private/var/db/timezone/tz/2018g.1.0/icutz/icutz44l.dat
txt
/System/Library/Caches/com.apple.IntlDataCache.le.kbdx
txt
/usr/share/icu/icudt62l.dat
txt
/System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car
txt
/System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantLightAppearance.car
txt
/System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat
txt
/Library/MessageTracer/SubmitDiagInfo.default.domains.searchtree
txt
/private/var/db/mds/messages/502/se_SecurityMessages
txt
/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/CertLargeStd@2x.png
txt
/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/CertLargeStd.png
txt
/System/Library/Fonts/SFNSText.ttf
txt
/System/Library/Frameworks/AppKit.framework/Versions/C/Resources/Assets.car
txt
/System/Library/PrivateFrameworks/CoreWLANKit.framework/Versions/A/Resources/Assets.car
txt
/usr/lib/libobjc-trampolines.dylib
txt
/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Assets.car
txt
/System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/DarkAquaAppearance.car
txt
/System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/DarkAppearance.car
txt
/System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Assets.car
txt
/private/var/folders/d5/y540nrk96fnckhlwyy_9yxsw0000gp/C/com.apple.wifi.WiFiAgent/com.apple.metal/Intel Iris Graphics/functions.data
txt
/private/var/folders/d5/y540nrk96fnckhlwyy_9yxsw0000gp/C/com.apple.wifi.WiFiAgent/com.apple.metal/3902/libraries.data
txt
/usr/lib/dyld
0
/dev/null
1
/dev/null
2
/dev/null
3
/dev/io8log
4
/dev/io8logtemp
5
*:*
6
/Library/MessageTracer/SubmitDiagInfo.default.domains.searchtree
7
->0x65d3d29751cfa425
8
/System/Library/Frameworks/CoreImage.framework/Versions/A/Resources/ci_stdlib.metallib
9
/System/Library/Frameworks/CoreImage.framework/Versions/A/Resources/ci_filters.metallib
10
/private/var/folders/d5/y540nrk96fnckhlwyy_9yxsw0000gp/C/com.apple.wifi.WiFiAgent/com.apple.metal/3902/libraries.maps
11
/private/var/folders/d5/y540nrk96fnckhlwyy_9yxsw0000gp/C/com.apple.wifi.WiFiAgent/com.apple.metal/3902/libraries.data
12
/private/var/folders/d5/y540nrk96fnckhlwyy_9yxsw0000gp/C/com.apple.wifi.WiFiAgent/com.apple.metal/Intel Iris Graphics/functions.maps
13
/private/var/folders/d5/y540nrk96fnckhlwyy_9yxsw0000gp/C/com.apple.wifi.WiFiAgent/com.apple.metal/Intel Iris Graphics/functions.data

Since I develop, I would prefer to have more memory for simulators, compilers and running dev infrastructure and tools. How can I diagnose why memory is being allocated for wireless networking?

TL;DR - Your Wi-Fi program uses memory when you have network connections. It starts with little allocation and when you run other programs, Wi-Fi uses memory to do that work. Log out to free that memory if you don't want to quit programs or thr don’t release their connections to your liking.

Why is my Wi-Fi process using 3GB of memory?

As a developer (or just someone curious about memory allocation / virtual and resident/swap), it's pretty easy to dump the heap and virtual memory map for any process to inspect your current memory allocations.

sudo heap Wi-Fi

Except there's a wrinkle with Wi-Fi so you'll want to pass the process number the actual name of the binary, instead of the whole friendly name. (If you get close - heap knows to prompt you with a list of potential matching processes sudo heap Wi

sudo heap WiFiAgent
sudo mmap WiFiAgent

Now, the larger idea is Apple has re-architected the networking stack. On older OS, kernel just absorbed all the memory needed for networking, but now there are 4 programs (2 pairs) that run in user space and root space and the only reason they use Mach ports and memory is to serve and buffer network connections. If you have less connections open, the usage is small. In practice, I've never seen this cause issues since when you log out and back in (especially if you have no apps start at log in), the allocation of this set of programs is very lean and small.

They only grow when you run programs - so you'd need to look at the programs you run to reduce the load they put on networking. Browsers with lots of tabs open, "apps" that are really electron frameworks and node apps can be chatty on the network side or allocate a lot of resources when a more clean native app might use less system resources.


How can I be in the sudo file on MacBook Air Every time I write sudo spctl --master-disable on terminal it asked for my password and I type it gives me this error:

Wild.ziv is not in the sudoers file.  This incident will be reported.

"Wild.ziv" is my name then it says that. Can someone please explain why this is happening?

It is giving you that error because:

your specific username is not configured in the sudoers file
your specific user group is not configured in the sudoers file
you are not a member of a group defined in the sudoers file.

macOS, by default, configures the members of the wheel group to have sudo permissions.  All admins are a member of this group.

If you are not an admin, or you have changed your groups associations and/or reconfigured the /etc/sudoers file, you will need to make the appropriate changes to grant yourself sudo privileges.


Slow read performance in Mac OS X terminal, with external encryption enabled hard drive Anyone experienced really slow performance with Mac OS Extended (Journaled, Encrypted) file systems? I have git LFS project on my hard drive and for some reason even as simple as cd project-folder takes minutes to run (or ls -l command). Any other folder is performing well. It seems there is some kind of issue with combining ecryption, git LFS and external HDD?

Tried searching web, but only finding slowness to download the git LFS files. I don't have issues with that, but only when using basic commands in project folder.

No, it is not usual to experience "really slow performance" on MacOS Extended (Journaled, Encrypted) file systems (also known as HFS+ encrypted). That configuration is extremely widely used, so any intrinsic problems here would have been reported in huge numbers.

I have been using Git-LFS on such a file system for a very long time, and never experience any such slowness. I know that many of my fellow developers do not have the problem either.

I.e. this is not a general problem for everyone, but instead seems to be a local problem with your computer.

I would use regular file system diagnostics to check your file system. Use Disk Utility or fsck on the command line. Also checks your system logs to see if the OS reports any I/O errors or timeouts during these slow performing commands.

As you mentioned it is external harddrive, you might also have an interface problem with your cabling or similar. I would try creating new large files (unrelated files) and see if they are also slow.

Also check the number of files inside the directory you're cd'ing into to see if it is a very large number - that could also potentially be a cause.


Mac Mojave Sys Prefs/Screensaver slows down, locks up iMac (late 2015), 10.14.6 -- opening Sys Prefs/Desktop & Screensaver, all actions slow down. Switching between Desktop/Screensaver, changing Screensaver options, etc, takes a couple minutes, occasional spinning beachball, locks up all other apps until Sys Prefs finishes whatever it's doing.  Moving the cursor to a hot corner to engage screen saver similarly requires a long wait while it loads the photos for the screensaver. I've changed the source of the screensaver images between my own photos and system images, no difference.
The problem appears to be a long delay in screensaver loading images. I assume something is corrupted? Anything I can delete/replace to fix this annoyance?
TIA for any help.

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.


What i need to do to backup and secure my mobile data before sending it to repair I have iPhone 11 and its screen was broken, so I will send it to an authorized reseller for Apple. but before doing so I will remove all the data I have these data include; photos, videos, apps (mail app, WhatsApp, and other apps).
How I can securely remove the data inside my phone, so it can not be recovered when I send it to the technician?

Apple gives instructions on what to do before a repair, bit it should really just be this article.

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

I prefer that checklist since it talks about Apple Watch and health data backup. You can not get that data back, so by following that before you sanitize your device, it’s protected. Ship the device insured since you can’t have Activation Lock enabled and follow the process.


Change title of bookmark in Preview In Preview.app (Mavericks version) bookmarks can be added (Cmd-D) to a PDF file and shown in the  sidebar.

The bookmarks all get the same title, which seems to be an excerpt from the first line(s) of the page.

So far, so good, except that in the document I am working on over the next many months, there is a page header on every page and it is the same for 300 pages or so.

The result is that the first text on each page is the same and all bookmarks look identical, except for the page number.

The problem is that I can't find a way to change the title of the bookmark once it has been created, so my side bar contains 20 indistinguishable bookmark titles, only differentiated by the page number.

If I knew the page numbers I wouldn't need the bookmarks, so I am very interested in a way to further differentiate the bookmarks, preferable by changing their title.

Is there a way to do that?

Instead of using Bookmarks, you can use Notes as the replacement to use custom title for bookmarked pages. They serve the same function, with Notes having more versatile usage.

Show the Highlights & Notes in sidebar by pressing Command+Option+4.
To create a note, you can choose Tools > Annotate > Notes or by pressing Command+Control+N.
Select everywhere on the screen and write down the title for your bookmarks (You can also pick the notes background color).

Here’s the screenshot how it looks like:

I’m not sure which Preview version support this,but it should be available after OS X Lion 10.7.


Is it possible to use a third-party unauthorized charger with an iPad running iOS 7 Is it possible to use a third-party unauthorized charger with an iPad running iOS 7? I have an iPad 2 with a 30 pin connector.

As long as the charger supplies the correct wattage, the version of iOS shouldn't matter.


10.12 Sierra Mail not rendering some emails correctly I have Apple Mail and Airmail 3 running side by side. Emails from lists which used to be perfectly rendered are now rendered by Apple Mail as text, while still being correctly rendered by Airmail 3. What's up?

Example, rendered by Apple Mail:

And here's the same message rendered by Airmail 3:

This seems to be related to an image rendering bug in the new version of Apple Mail (Sierra).

When an <img> element in an HTML mail doesn't have both a "width" and a "height" attribute, the image is not displayed the first time the email is opened. If both attributes are defined, the image is properly displayed. If either one or both are missing, the image is not displayed.

The same <img> element is properly rendered in previous versions of Apple Mail.