Locked file is stuck in trash I have a file in my Trash.  The filename is 'codedesign' and it is a Unix executable file.  This file ended up there in the process of me trying to fix a corrupted patch installer.  The original version is still in my /usr/bin/ directory and therefore this one would be fine to delete.

The situation looks like this, the file is the only thing that is in my Trash.  When I click empty trash it doesn't show an error message, but it doesn't delete the file.
When I right click the file and select 'Delete Immediately...'  it asks me for my password then comes up with the error message 'The operation can’t be completed because you don’t have permission to access some of the items.'

The file permissions say that my user has 'Read & Write' while the Wheel user has 'Read'.  I can't change any permissions without getting an error message saying that I don't have permission to make changes.

I can't put the file back as this option isn't available when I right click.  When I try and drag the file out of the trash it simply makes a copy.

I've tried using the app Trash It! as well as CleanMyMac3 But these do nothing.

The results of the following terminal commands used so far:

$ sudo rm -rf ~/.Trash/*
rm: /Users/JamieMacLeod/.Trash/codesign: Operation not permitted
$ ls -ald ~/.Trash/*
-rwxr-x--x@ 1 JamieMacLeod wheel 86032 31 Oct 2014 /Users/JamieMacLeod/.Trash/codesign
$ xattr -l /Users/JamieMacLeod/.Trash/codesign
com.apple.metadata:kMDItemWhereFroms:
00000000  62 70 6C 69 73 74 30 30 A2 01 02 5F 10 62 68 74  |bplist00..._.bht|
00000010  74 70 3A 2F 2F 64 63 36 35 33 2E 34 73 68 61 72  |tp://dc653.4shar|
00000020  65 64 2E 63 6F 6D 2F 64 6F 77 6E 6C 6F 61 64 2F  |ed.com/download/|
00000030  6A 4C 69 4C 4F 68 38 54 63 65 2F 63 6F 64 65 73  |jLiLOh8Tce/codes|
00000040  69 67 6E 2E 68 74 6D 6C 3F 74 73 69 64 3D 32 30  |ign.html?tsid=20|
00000050  31 34 31 30 33 31 2D 30 32 34 34 33 33 2D 34 32  |141031-024433-42|
00000060  62 64 39 64 63 64 26 6C 67 66 70 3D 32 30 30 30  |bd9dcd&lgfp=2000|
00000070  5F 10 33 68 74 74 70 3A 2F 2F 77 77 77 2E 34 73  |_.3http://www.4s|
00000080  68 61 72 65 64 2E 63 6F 6D 2F 67 65 74 2F 6A 4C  |hared.com/get/jL|
00000090  69 4C 4F 68 38 54 63 65 2F 63 6F 64 65 73 69 67  |iLOh8Tce/codesig|
000000A0  6E 2E 68 74 6D 6C 08 0B 70 00 00 00 00 00 00 01  |n.html..p.......|
000000B0  01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00  |................|
000000C0  00 00 00 00 00 00 00 00 A6                       |.........|
000000c9
com.apple.quarantine: 0001;5543f6cd;Google\x20Chrome;0F73411A-982E-4A8A-B099-93610324B751

$ ls -lO@ /Users/JamieMacLeod/.Trash/codesign
-rwxr-x--x@ 1 JamieMacLeod  wheel  restricted 86032 31 Oct  2014 /Users/JamieMacLeod/.Trash/codesign
com.apple.metadata:kMDItemWhereFroms      201
com.apple.quarantine       67

I'm really not sure what to do that this point, surely there is a way to delete one file?  I am the only user on this computer and therefore should have full admin rights.

Any help with this would be very much appreciated.

The group is showing as restricted - this may indicate that it's due to SIP.

Try: https://stackoverflow.com/questions/30768087/restricted-folder-files-in-os-x-el-capitan tells you how to temporarily disable SIP to delete the file.

Could also try sudo chown [owner]:[group]? (Although if it is SIP, I don't think that it's this easy to get around).


How can I exit "bash"? I don't know how to get my .profile aliases back in to the terminal every time I try them, this error massage comes up:

apaw:~ apaw$ cdp
-bash: cdp: command not found

How do i exit this -bash? I strongly believe it was named different while it still worked.

I'm not sure I understand your question.

The -bash: prefix you see is simply bash's way of identifying itself as the source of the error message. In this case you entered cdp which is neither an external nor internal shell command nor was it defined as an alias or function.

While in a (bash) terminal, you can simply type exit to leave the terminal and close the shell session.

The aliases in your .profile are read when you start a new terminal or shell session, or if you source the files: e.g. source ~/.profile.  That should re-read your .profile and load any changed aliases.


How to connect a 3.5mm microphone (not amplified) to an iMac for recording? I have a headset which has separate headphone and microphone jacks (both 3.5mm) that I would like to do some recording with.

I initially thought, just plug headphone into headphone and micrphone into line-in and it would all work. Needless to say, I didn't get any sound from the microphone. After reasearching, I discovered that the line-in is for amplified sources only, not basic microphones and that the mic needs to be ran through an amplifier first. Alternatively, I could get an adaptor which combines the 2 jacks into 1 and plug it into the headphone plug as I understand that it can pick up mic inputs.

I don't have any adaptors and in the past (on  PC) I've been able to run a mic through a line-in and use software to amplify and reduce noise to get a mic to work and record.

I found software called 'LineIn' but that doesn't seem to do the job. I was wondering if there is a software approach I can use which will amplify the mic on the line-in so I can use it to record and thus, not have to buy yet another adaptor?

My other thought (which I have known to work on a PC); Would it be possible to swap the line-in to be used as a headphone output and then use the headphone ouput as a mic-in?

Thanks!

What you need is a audio mixer (I personally use and like the Behringer line)

The inputs/outputs built in to computers (both Macs and PCs) are basically rubbish - they are looking to give you functionality to mark a check box for marketing purposes, not give you the ability to make good to professional quality recordings..

This mixer will give you a USB interface to your Mac while allowing you to bring two sources in while having granular control over input sound levels.

Granted, it's not a "free" solution, but at $30 USD, it's a very economical solution that gives you better quality and more flexibility than what you have at present.


Uninstalled apps still appear in settings I have deleted an app with intentions of reinstalling, but when I clicked App Store and searched for the app, instead of showing the option to download it's showing "open" as if I still have the app. I've turned my phone off and back on multiple times but it's still there. Can anyone help get my app back?

Try this

Back up your iPhone (use a password on the backup)
Wipe your iPhone: settings > General > Reset > Erase All content and Settings
Restore your iPhone from the backup you just created.

The ghost icons should be gone

This whole procedure should take less than an hour. Possibly much less depending on how much needs to be backed up and if your Mac & iPhone support USB3 speeds.


Can't partition SDD with odd error Whenever I try to resize my OSX partition on my SDD from 251GB to 210GB, I get this error:

  Couldn’t modify partition map because file system verification failed.

I've tried

Booting into recovery mode and trying from disk utility there (repairing and partitioning)
Booting into single-user mode and running fsck -fy like seemingly every website suggests

but whenever I try to do this in any situation, I still get this error. This is frustrating because AFAIK only OS X knows how to resize an OS X partition.

How can I get around this?

EDIT:

Apple Diagnostics gave no errors.
I first had this error when I had filevault (full disk encryption) turned on. I have since turned off FileVault and repaired any errors I caused by trying to partition the encrypted disk with Disk Utility in recovery mode. I have checked again that FileVault is off, and it is.

EDIT2:

$diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            248.4 GB   disk0s2
   3:                 Apple_Boot Recovery HD             1.7 GB     disk0s3
$ diskutil cs list
No CoreStorage logical volume groups found

In order to change the size of a partition, the partition can't have any errors.

The easiest way to repair the partition is to reboot while holding Cmd+R, and start the Disk Utility from the menu that is presented after the recovery system has started.

Then select the partition and click the 'Repair Disk' button. After it has finished, it should say that there are no more errors. The partition can now be resized.

NOTE: Unfortunately, because of HFS+ it is possible that Disk Utility may display "Could not be repaired", at which point you would need to reformat the drive and restore from your latest backup. I hope this is not the case!


How to upload pdf or, docs in safari or any popular browser in iOS? I was just stunned today, when I just discovered that I cannot upload my resume either in pdf/doc while applying for a job.

All I have access to is Photos, which is my photos and videos repository.

Is there actually a way to upload documents in safari or it is just not allowed in iPhones or iOS.

Yah, mobile Safari does not support file uploading, even via a web upload form... sigh. However there are a number of ways to upload from an IOS device. here are two:

Dropbox, this has the benefit of having access to a large number of files and is free for most, depending on how many files you have. But you cant upload to web forms directly from Dropbox.
iCab, I've used this browser for a couple of years for just the reason you indicate. It allows you to upload (and download) files. I have not needed to do it for a while so I am not sure about the source for the files to be uploaded but I am pretty sure it includes Dropbox. It's not free but only a couple of bucks and well worth it.


Where's the # key in Lion In Snow Leopard alt-3 used to print a #, in Lion it doesn't.
I'v tried different key combination keyboard viewer but still no luck.
Any ideas were the # key went?

Since it varies by keyboard layout - why not open your keyboard viewer and find out?

In the US keyboard layout on lion, it's still shift + 3

You have to select this from the menu bar after enabling it in the menu bar


Detect copy/paste done performed in guest OS running in a Virtual Machine on macOS host I have copied certain text in CentOS running as a guest in Virtual Machine which in turn is running on macOS host.

Guest: Virtual Machine - Centos v7.5
Host: macOS - High Sierra v10.13/ Windows 10.

The functionality needed is to  detect a txt copy operation from
a file inside the Virtual Machine to paste operation on macOS where presumably this data would then be pasted to a file/website/e-mail. I was just wondering if you can somehow know that and if you can give me an example of such "tool" that can record/spy on the host actions.

Is it possible to detect that some text was copied/moved to a file/e-mail/website in host OS (macOS)?

No, it is not in general possible to detect whether a file or a text message has been copied from a virtual machine to a Windows or Mac computer.

An adversary could do this undetected even through such means as OCR'ing (optical character recognition) the text on the virtual display. The virtual machine cannot in any way detect whether it is a normal human being looking at the display, or it is a program that is silently recognising and copying text.

Files can also be copied by the host machine accessing the underlying disk storage directly without giving the guest virtual machine any way of detecting that the file system has been accessed, and file contents copied.


Change mouse pointer in iTerm2 (or disable mouse pointer) In iTerm2 (fullscreen mode) my pointer is permanently a "text select" pointer. It bothers me, so I would either like to change it (to the regular arrow-type pointer) or disable it when in my fullscreen iTerm2 instance. Is this possible? I'm on OSX 10.7.

It's quite old, but...

Open finder (or mc or anything else) then go to /Applications/Iterm.app (press right mouse and choose "Show package content" if in Finder) Content/Resource/

IBarCursor.tiff and IBarCursorXMR.tiff are the cursor images. You can replace or delete them.


Time machine creating files and directories at random places I'm gonna keep this short and simple. I have a ~/.vim folder and ~/dotfiles/.vim folder (the ~/dotfiles/.vim was copied to ~/.vim). Yesterday I noticed that I had several files with weird permissions in the ~/dotfiles/.vim folder, that was originally in the ~/.vim folder. These are two of them from ls -l:

-rw-r--r--@ 1 root           staff    0 Aug 14 20:22 .vimrc.swo
-rw-r--r--@ 1 root           staff    0 Aug 14 20:22 .vimrc.swp

From this

$ xattr -l .vimrc.swo
com.apple.backupdelta.creationMarker: yes
inodeForCreationOriginal: 10315637

and this

$ xattr -l .vimrc.swp
com.apple.backupdelta.creationMarker: yes
inodeForCreationOriginal: 10315632

it appears that time machine has created som sort of backups of some files in ~/.vim (the Vundle.vim directory is another example created at the exact same time). Is this normal behaviour? If not, what might be the cause and how can I fix it?

This seems harmless to me. If you want to clean things up, I would sudo tmutil disablelocal to clean up any local snapshots and then make a new test user and turn off automatic user log in.

Reboot and log in as test and make a clean backup interval without your user being logged in or any files open from the main ~ directory.

At that point, you can check for any odd files or delete them entirely (sudo -s from the test user to become root and able to delete things in your normal user folder).

Again, I don't think any of this will cause issues, but it might be nice to clean things up as described and have a known good backup interval where all files are properly closed and backed up once. Handling files that are always open or always changing is hard for backup tools - so excluding them by rule is also an option.

tmutil isexcluded

tmutil addexclusion file1 file2


Edit the Display Name for a contact in Contacts.app First off: I'm mass printing envelopes. I export my contacts (from Contacts.app) to vCard, then convert them to CSV, before using MS Word's built-in mass-mailing tool.
In my contacts, I've found it to be easier to make an individual contact for each person, so I can keep their email addresses and phone numbers sorted nicely.  However, I'd like to have my cards addressed to the family, not just the individual.
TL;DR:
I'd like a program that will combine the spouse's name with the main contact's name, and store it either in the existing FN field of the card, or else add a new field (such as famName, etc.).  I'd prefer a UI-based program, if available, but having found nothing that has this functionality built in, I wouldn't mind a simple regex-based script.

Example:
Contact:

Export to vCard:
BEGIN:VCARD
VERSION:3.0
PRODID:-//Apple Inc.//Mac OS X 10.11.2//EN
N:Johnson;;;;
FN:Johnson
TEL;type=HOME;type=VOICE;type=pref:##########
ADR;type=HOME;type=pref:;;################;##########;##;#####;
NOTE:CLCC
CATEGORIES:Address Book
X-ABUID:6D98572D-5520-4E6E-9474-3294827D4D39:ABPerson
END:VCARD

You'll notice the two separate fields, N, and FN.  The N field seems to be each part of the name, separated by semicolons.  The FN field seems to be the display name (Although it probably stands for Full Name).  It would be wonderful if I could find a way edit that field through the UI, but I can't find it.

Edit:   If there is a spouse's name in the card, the card will look like this:
BEGIN:VCARD
VERSION:3.0
PRODID:-//Apple Inc.//Mac OS X 10.11.2//EN
N:Doe;John;;;
FN:John Doe
ADR;type=HOME;type=pref:;;##############;#########;##;#####;
item1.X-ABRELATEDNAMES;type=pref:Rebbecca Doe
item1.X-ABLabel:_$!<Spouse>!$_
CATEGORIES:Christmas Cards Set 2 2015
X-ABUID:3FD45D07-093E-446E-AB4B-3767FDEC1A15:ABPerson
END:VCARD

Soooo:
Is there a way to Edit the Display Name (FN) through the Contacts.app UI?
If not, is there a way to edit it through any UI?
If not, is there an easy way to edit it programmatically? (I have access to Windows, too...)
If not, I'm open to any way to edit it programmatically...  :)
Thank you all!

Edit:   After thinking about it for a while, I think an even better/easier way would be to take the spouse (first) name in the
contact, and add it to the display name.

e.g.
First Name = John
Last Name = Doe
Spouse = Rebbecca Doe
Full Name (Display Name) = John & Rebbecca Doe

Hope this may help you somehow. Download Bento for Mac from here. Unfortunately, it's not supported by FileMaker anymore, but anyway it works fine even on El Capitan (I use it here :)) Open it and it will ask permission to access your Contacts. Allow it. This it will open very convenient interface for mass editing your Contacts in list and/or individually with ability to add your own fields. Cheers.


How can I close apps properly/shutdown the system via ssh? I need to know if there's a proper way to close apps via ssh and if it's posible shut down the system without the sudo halt or sudo init 0 (because I think those ways are not good for the system when there are apps running)

I have to start by saying that there is nothing wrong with using halt or shutdown from the command line.

In fact if you issue either of those commands then any running applications will get exactly the same message from the system as if you chose "Shut Down..." in the Finder.

The advantage of using sudo shutdown is that you can shutdown the system regardless of which users are logged in.


Can you save the current desktop background as an image? I've deleted a photo by mistake. I have the photos as my desktop background. Is there any way that I can take it and save it?

Go to System Preferences → Desktop & Screen Saver and drag the image out of the image well.


IPhone 6s Plus why an external camera like FLiR no longer charges the phone after interaction dialog? I got an external camera attachment for iPhone and it has an external power input. My understanding is that the camera is a part of an MFi (made for iPhone) - a certified accessory.

According to the manufacturer, it is supposed to charge phone when the camera receives external power:

I plug in the camera, the charging symbol appears
The camera pops up a dialog asking to interact with a default program
Charging symbol disappears and does not come back
I can confirm that the phone does not receive power - it discharges when the camera is attached.

I called the manufacturer and the camera is not defective - it has something to do with new iOS- I tried 9.0 and 9.2

Is there something new about MFi (made for iPhone) program that prevents external devices from charging the phone? Is there a way to prevent the phone from creating an interaction dialog for that particular app?

I verified that the accessory is MFi compatible:

Check to make sure there's not any lint buildup in the Lightning port. Get a wooden or plastic toothpick (do not use anything metallic) and clean the port out, swiping from one edge to the other, then pulling out any bunched up lint or dust. Even a small amount of buildup will prevent the accessory from fully seating properly, sometimes generating a "This accessory is not supported" error, or simply preventing the device from charging, even when it has worked properly before.


iMac login screen a mess. Logging in crashes the machine. Able to go into safe mode IMac 27" late 2009, replaced DVD drive with 256Gb SSD, replaced original failed drive with a 2Tb drive. Lived happily ever after for 3 years.

So this is started a few days ago. All of a sudden (usually when playing a video from youtube) my machine would completely freeze, except for the cursor which would magically acquire eight horizontal grey lines.

A reboot would fix it, I could happily work and multitask until I play another video (I'm pretty sure every time this happened I was playing something from Youtube). A reboot fixed it. And then one day a reboot produced this sort of screen:

The screen is legible enough to be able to select my account and enter my password. Either of two things happen: either the machine simply crashes to black screen and reboots, or it spins a little and then issues me with a multi-language error message saying my Mac has been restarted due to a problem. Then it restarts, and we're back to square one.

I am able to get into safe mode. Screen works fine (slow refreshes, but no artifacts), the mouse still has the lines.

I can't get into diagnostics by holding D - the computer simply boots normally. In safe mode, when trying to fix permissions on SSD I get an error message. Doing sudo diskutil repairPermissions / results in:

  error -69789 permissions verify or repair failed underlying error 10
  posix reports no child processes

So what can I try doing before dragging my iMac to the curb?

So the fugly screen was the result of a burned out video card. I found a replacement (same exact model) online, and performed the surgery on my iMac. The patient lived and video problems went away. Repairing permissions on my SSD drive still don't work, but that's another problem.


Can I make the Launchpad key (F4) on my new Macbook Pro toggle Mission Control instead? I will never use Launchpad, however I really like Mission Control. I'd love to disable the Launchpad feature and make my F4 key toggle Mission Control instead. F3 does that already, however I'd like to have both keys assigned to that feature.

What you want is FunctionFlip:

You can individually choose which keys you want as standard f-keys and which you want as the Mac-specific functions. In your case, "flip" the F4/Launchpad key, then assign F4 to launch Mission Control.

The only caveat is you cannot use both FunctionFlip and BetterTouchTool, as the developer of BTT points out.


Change of IP / Configure AirPort Extreme Earlier today our IP Address changed due to misconfiguration caused by our ISP. I'm trying to ensure our IP won't change again. So I spoke with our ISP and they assigned us a static IP (we were supposed to already have one).

I'm trying to ensure everything will work once I change the AirPort IP settings. We're currently running DHCP, but I believe we would need to switch to static, correct?

Our network is configured as follows:

Internet >-ethernet-> AirPort Extreme >-wifi-> Time Capsule

We have 6 iMacs that connect through wifi to our AirPort Extreme

Our Mac Mini Server connects through ethernet to our AirPort Extreme

Our Mac Mini Server serves example.com for File Sharing and other services outside of the office

Our Time Capsule connects through wifi to our Mac Mini Server

It would also be great to know exactly where each number needs to go:

Static IP: 11.111.111.111

Gateway: 22.222.222.222

Subnet Mask: 333.333.333.333

Primary DNS: 44.444.44.44

Secondary DNS: 55.555.55.55

The WAN (the outside of your router) connection in the router (your AirPort) should be set to static if your ISP provide the information about IP, gateway, subnet-mask and DNS. Some ISP assign static IP remotely so you don't have and can continue using DHCP. It's all about what they tell you to do.

Your local computers should not need to change anything as the router translate all traffic from them to be displayed online as your static IP.

When it comes to the different numbers and where they are suppose to go it should be clear in the information from the ISP.


How to type blank character with Mac keyboard? One can type blank character (no visible output but not Space) with Alt+255 on the numpad.

I want to know how to type blank text in Mac.

Alt+255 is a non-breakable space (well known as &nbsp; in HTML).

On OS X, you can get it with Option+Space.


Why is Photos.app taking 2 months to scan faces for recognition? Since I came to Thailand 6 weeks ago, iPhoto on my Macbook pro has been scanning for faces.  On my Mac Pro desktop, this process took about 2 days as I recall.  My iPhone 7 Plus, which I bought a week ago is almost finished.  This time it’s incredibly slow.  I am so sick of seeing this screen:

================================================

Here is my iphone after a few days:

================================================

I’ve started tracking my progress:

2016-12-22  21:59:  9521 photos left to scan when I quit
2016-12-24  19:04: 16232 photos scanned, 8771 photos left when I quit
2016-12-24  22:14: 16,350 photos scanned, 8653 photos left when I quit
2016-12-26  00:49: 16,352 photos scanned, 8663 photos left when I quit
2016-12-26  19:46: 16,372 photos scanned, 8642 photos left when I quit
2016-12-27  18:29: 16,475 photos scanned, 8574 photos left when I quit
2016-12-28  23:43: 16,707 photos scanned, 8356 photos left when I quit
2016-12-28  23:43: 16,910 photos scanned, 8156 photos left when I quit
2016-12-29  23:51: 17,736 photos scanned, 7332 photos left when I quit
2016-12-30  ??:??: 17,933 photos scanned, 7141 photos left when I quit
2016-12-31  17:34: 18,025 photos scanned, 7064 photos left when I quit
2017-01-01  15:02: 18,307 photos scanned, 6782 photos left when I quit

So there was a burst of speed where it was doing 3,000 photos per day (still not fast, but eventually will finish at that rate), then it slowed to a crawl.
I’ve tried rebooting.  I’ve tried leaving Photos running, and I’ve tried quitting.  Nothing seems to make much difference.  Anybody have this problem and solve it?

I solved the problem!  I hope this helps others. The following steps take a bit of time, but if you're like me, it was totally worth it.  Most of the work is done by the computer.  :-)

Exported all my photos from my library as full-sized photos, choosing PNG formats, for optimal size without data loss.  This full export required some time to download missing photos from iCloud, but it reassured me that no photo information was lost.  It also detected all my "problem" photos that were corrupt or missing on the local hard drive.  And of course the exported photos serve as a crude but real backup.

Be sure to export the photos as full sized photos!  In other words, don't turn on "optimize storage" in this step!

Created a brand new empty Photos Library, called "good library".

Important:  This library MUST BE disconnected from iCloud at this point, i.e., is NOT the System Photos Library at this point.  Leave it that way for now, because if you connect this nice new library to iCloud at this point, you will end up with lots of duplicate photos on iCloud after step 3, which will then all show up on your phone and computer and screw everything up and you'll have to start over!  This is because the exported photos have different names than the old ones on iCloud and this confuses iCloud and it thinks they are new.

Imported all my photos exported in step 1 into the new library.  Scanning resumed.  27,500 photos were scanned in four days at an average speed of 271 photos per hour.
Deleted all my photos from iCloud to avoid the duplicate photos problem I mentioned in step 2:

Created a new empty Photos library on my Mac, called "iCloud download."
I then turned on iCloud photos on my Mac and it's downloading all the photos to my Mac.  I have it set to "optimize storage" so it should be quicker than full resolution would be.
In the iCloud download library Select-All delete all photos then empty trash.  DONE (some stragglers undeleted still)
I then confirm on iCloud (https://www.icloud.com/) and on my phone that all are gone.  Again, this is critical to avoid duplicates!

After confirming that step 4 has deleted all my photos on iCloud, I switch to my new good library and make it the system library.  Photos got uploaded and problems were all gone.


Big Sur Beta repeatedly will not install I have tried with the last 2 public betas, as well as dev beta 9 and 10 (the current beta) and no matter whether i choose to upgrade from my existing catalina install, or make a bootable usb of all 4 of these betas (i have tried them all), wipe my hard drive clean and then install from fresh, ALL of them give me the error: "An error occurred preparing the software update"
This occurs after the initial copying of files during big sur set up, the machine then reboots and gives a message like "29 minutes remaining". I then get the message above and the Mac is totally bricked. It can only be fixed by doing an internet recovery of Catalina and then restoring with Time Machine back up.
A thorough search of the internet hasn't yielded any meaningful results aside from 1 thread on the dev forums where a few people had reported the same error and no answer was given.
I am using a 27" iMac 2019. Does anyone have any ideas what is causing this problem? I am now getting to the point that I'm worried I wont be able to actually install the final release when it is launched.
Thanks for any help you can give.

This issue can still occur with the public release of Big Sur, 11.0.1.
In one case, this is network related. I don’t have the specifics but check to see if a simple restart of your modem solves the issue. If you are tech savvy enough to make sure you have obtained a new public IP, ensure that you do.


Can Apple TV work over network only, without the need for HDMI My firm are considering buying an Apple TV box for our new boardroom, so that presentations can be shown directly on the TV, but there is some information about the device that I am unable to find.

Does Apple TV work over network only (providing TV and Apple TV are on the same network)? We are not interested in the apps like Netflix, etc, so we would like to avoid connecting the device via HDMI and thus keep it hidden.

No, the Apple TV video output works solely via HDMI. Audio can also go via optical out. The Apple TV is an AirPlay receiver. What you are suggesting is an AirPlay transmitter, like the iPad and iPhone are, which send a video or audio stream to an AirPlay receiver, like the Apple TV. You won't get around to connecting the Apple TV to the actual display with HDMI.

The Apple TV itself is very small, so you should be able to mount it next to or behind the TV / display. Hiding the Apps is only a cosmetic change. If you don't provide a remote, and set a screen saver which shows e.g. your corporate logo, people will probably not even see the apps, but still be able to connect to the Apple TV via AirPlay.


Can't play any music off-line from iPhone After a recent update to iTunes and iOS I can only play the music in my phone when I'm connected to the internet. When I choose the option for show offline music it only shows 4 songs that I have added recently after the update. How do I get all my music library to play offline again?
P.S this happened after the Apple Music update.

Apple Music made some fundamental changes to the way the Music app works (when enabled). You now have your entire Apple Music Library in the cloud so that it is accessible from all your devices. With this, all of that content is not automatically downloaded to your device, and in fact, the opposite can occur as Apple uploads music to their cloud.

So now, you must specifically download whatever content you would like to listen to offline. To do that, open the Music app and navigate to a playlist, album, artist, or song that you would like to download. Now select the "..." (ellipsis menu icon) and choose "Make Available Offline". After the songs download, an icon will display next to each one indicating that it is available for offline listening.

You can also download your tracks directly from the album/playlist view:


Is the Health App Graph Logarithmic? I'm looking at the Health App Graphs. The scale doesn't appear to be linear.

My question is: Is the Health App Graph Logarithmic?

It doesn't look logarithmic to me.

Rounding the Steps figures, 20k peak, average 10k - the 10k line is half way up the scale, give or take.
If it were logarithmic it would be significantly off-centre.

I think it shows some non-colour-differentiated headroom above the high-point, which might be giving the impression it's not linear.

On my own phone, my high-point is about 3x my daily average. Allowing for that 'header' space above the high-point, my average line is showing as about ⅓ of the way up the scale; confirming my impression that it is linear, plus a header.


Weird remotedesktop folder in usr/local - safe? While doing some cleanup of old files on my Mac (macOS 10.12.4, having updated a few days ago) I just discovered a weird file I couldn't find any information on.

In usr/local, there is a folder called remotedesktop with a RemoteDesktopChangeClientSettings.pkg file inside.

drwxr-xr-x  3 root  wheel  102  6 Mär 20:10 remotedesktop
drwxr-xr-x  3 root  wheel  102  6 Mär 20:10 RemoteDesktopChangeClientSettings.pkg

While I know that remote desktop clients have many legitimate use cases, I am a bit worried where this is coming from since I've never used any on this machine.

Is this file a regular part of the OS or a vendor file that was placed there? Should I try and open it?

To determine the origin you have several tools at hand:

Code signing. Check the code signing of the app/pkg:

codesign -dv --verbose=4 /usr/local/remotedesktop/RemoteDesktopChangeClientSettings.pkg

This yields the following:

Executable=/usr/local/remotedesktop/RemoteDesktopChangeClientSettings.pkg/Contents/Info.plist
Identifier=com.apple.pkg.RemoteDesktopChangeClientSettings
Format=installer package bundle
CodeDirectory v=20100 size=176 flags=0x0(none) hashes=1+3 location=embedded
Hash type=sha1 size=20
CandidateCDHash sha1=888c8c6a6abd2f544020594e7d6f4dc31a7e01b8
Hash choices=sha1
CDHash=888c8c6a6abd2f544020594e7d6f4dc31a7e01b8
Signature size=4072
Authority=Software Signing
Authority=Apple Code Signing Certification Authority
Authority=Apple Root CA
Info.plist entries=24
TeamIdentifier=not set
Sealed Resources version=2 rules=12 files=21
Internal requirements count=1 size=96

Seems legit and (comparing it to other apps) from Apple itself. If the app/pkg was signed by another company at least one of the Authority lines would show a different vendor/developer.
Check the receipt bom files:

grep --include=\*.bom -rnw '/System/Library/Receipts/' -e "RemoteDesktopChangeClientSettings"

which will probably yield:

Binary file /System/Library/Receipts//com.apple.pkg.RemoteDesktopClient.bom matches

Check the corresponding plist file and you will get the installer package: RemoteDesktopClient 3.9.2. Seems also legit Apple.
Now you can lsbom ... the file. See man lsbom.

A second Receipts folder with non-Apple boms/plists is in the /Library folder!

There are probably some more methods to check if the file is legit or not which I'll try to add later.


Script to mount exfat drive hope you are doing great.
I´m using a Macbook pro 2019 with Big Sur and I have all my photos and videos in a external drive formatted in ExFat.
Each time I have to mount the disk I need to run this steps
sudo pkill -f fsck
diskutil list
sudo umount /dev/disk2s1
sudo mkdir -p /Volumes/disk2s1
sudo mount_exfat /dev/disk2s1 /Volumes/disk2s1

Up to this point, no biggie, is a little tedoius so I wanted to create a script to do this.
My main question here is:
When I do diskutil list disk can be mounted on /dev/disk2s1 or /dev/disk3s1
nachogon@Morrowind ~ % diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         250.7 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.7 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Data     12.3 GB    disk1s1
   2:                APFS Volume Preboot                 593.1 MB   disk1s2
   3:                APFS Volume Recovery                1.2 GB     disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4
   5:                APFS Volume Macintosh HD - Datos    147.4 GB   disk1s5
   6:                APFS Volume Macintosh HD            19.4 GB    disk1s7
   7:              APFS Snapshot com.apple.os.update-... 19.4 GB    disk1s7s1

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.0 TB     disk2
   1:       Microsoft Basic Data Elements                4.0 TB     disk2s1

Is there any way to grep the diskutil so I can find the disk by name (Elements) so I can assign a variable to the disk identifier
Thanks in advance for any help.

Assuming there is only one drive called Elements, running
diskutil list 'Elements' | sed -nE '/ Elements /s/.* (disk[0-9]+s[0-9]+)$/\1/p'

will return the device identifier.
Within a script you could use
disk=$(diskutil list 'Elements' | sed -nE '/ Elements /s/.* (disk[0-9]+s[0-9]+)$/\1/p'
)
if [[ -n "$disk" ]]; then
    mkdir -p /Volumes/Elements
    mount_exfat "/dev/$disk" /Volumes/Elements
fi


Enable remote management remotely on a mac I am trying to use remote desktop to send a script to all Macs on my network that creates an additional admin account and hides it. I am trying to do this using Apple Remote Desktop. However most of these macs have remote management disabled.

How do I do I turn this on? Each Mac already has an admin account. Does that help? Can I do this through remote login (ssh)? But most of these macs also have that disabled. Thanks for the help in advance.

ssh adminusername@ip_address
sudo
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate


Is there a way to switch to the selected process in activity monitor? I'm wondering if there's a way to bring focus to a process that's in "activity monitor".

Specifically, I've got a bunch of Google Chrome processes and I'm trying to figure out which process correlates to a particular browser/tab.

Not really. The thing is, most of the time, processes in Activity Monitor don't actually have a UI that you can 'switch' to. Using the Google Chrome example, think of those 'Google Chrome Renderer' processes as background tasks, and you just see the result of them in the main 'Google Chrome' process. Activity Manager does not have a way to identify how to tie these 'background tasks' to the parent GUI.

However, for your particular problem, Google Chrome actually provides you with a Task Manager that will help you out:

  In many ways, the task manager is like a hospital monitor: you can use it to track the performance of its internal processes. If the browser seems to be sluggish, open the task manager to find details about each active process and close the one that seems to be using up a lot of resources.

You can use this to identify which tab is using up too many system resources. You can also use the Process ID from the Chrome Task Manager to match the process up in Activity Monitor (Process ID == PID).


How can I open a photo in mail that is missing it's extension? My security camera sends jpgs that are missing the filename extension ".jpg" Is there any way to view these images on my iPhone?

One way is try to "rename it" add .jpg If the file is not corrupted it will work.


What obsolete files can I remove from my iPhoto Library? I've been using iPhoto since many versions ago ... probably since version 1. In that time, the file structure of its iPhoto Library has changed a few times, and I suspect that some of the files in there now are no longer needed. I'd like to clean it up to save disk space. Do you know if the following are needed?

The root level of the iPhoto Library contains some folders named after years, from 1998-2006. Each folder contains subfolders for months and days, and each day folder contains a data folder and then two numbered files, one with no extension and one with the .attr extension. These files are only about half a kilobyte in size and appear to contain metadata only. It looks like a version upgrade in 2006 made these obsolete since they're all older than that.
A Caches folder contains two files with long alphanumeric names, last modified in 2009.
A Contents folder contains a PkgInfo file, last modified in 2008.
An Auto Import folder is empty, last modified in 2008.
A Dir.data file, last modified in 2008.
Files named Library.data, Library.iPhoto, Library6.iPhoto and Library6.iPhoto.back, last modified in 2009.
A ThemeCache file, last modified in 2010.

It seems pretty clear these are no longer used; I could always delete them and find out, since I have a backup. But maybe someone who started using iPhoto after 2009 can tell me if any of these files are in their library?

It is a bad idea to try to manually modify the folder structure inside the iPhoto library, as you seem to want to do.

The best way is to follow Apple's instructions for rebuilding the iPhoto library.

However, this is usually only used as a repair procedure if iPhoto is malfunctioning.

You can try this, but make sure you have a complete backup of your iPhoto library before you start the rebuilding procedure.

Also, realize that iPhoto has an internal Trash that is separate from Mac OS X's Trash. If you have deleted hundreds of photos over the years, and never emptied the iPhoto Trash, those photos will still be in there and taking up space in the file structure.


How can I install iOS 7 on my 4th gen iPod touch? Is it possible to get iOS 7 for the 4th generation iPod touch?

I tried to look it up online but I couldn't find it.

No, iOS 7 is not compatible with the 4th generation iPod touch.


How can I get my MacBook Pro's sound back? Sound isn't playing on startup or any other time.

I'm not seeing the red glow from the headphone jack that I've seen mentioned in certain cases of this failure. Though I have noticed an awful lot of cases that at least sound like mine (sudden blanket audio failure.)

Any thoughts on how to move forward with this one? (Am currently working through this troubleshooting checklist: http://www.hightechdad.com/2011/02/10/no-output-audio-devices-suddenly-on-your-apple-macbook-macbook-pro-or-macbook-air-try-these-7-fixes/) Please let me know if this isn't the appropriate stack for this.

I have no idea if this will even work, but it's worth a try.

Download Virtualbox.
Download Ubuntu and install it in Virtualbox.
Check the sound preferences in Ubuntu and see if any audio devices show up.

Let me know if you need help with any of these steps. If you are able to get an audio device, more than likely, there's a problem with your install of OS X.


How do I find the log for the shutdown process? I've done some Googling and nowhere do I find where you can log the shutdown process.
The best I've found is a log where it states when the shutdown process begins but that's all.

My computer is hanging on the end of the shutdown process and I'm trying to troubleshoot it.

Have any ideas?

Instead of looking at logs, I would start by booting in verbose mode. (It will also shut down in verbose mode.) Just hold Command ⌘ + V at boot.


Mac daemon not able to run bash script Originally asked on Stack Overflow, but it may be more suited for here. Wherever it’s answered first, I’ll be sure to update the counterpart question with the same answer.
I've already checked this similar question.

OS MacOS 10.15.17 (Catalina)

I want to create a script that uses iperf to launch a client that measures my connection speed every several seconds for an extended period. I’ve created a daemon file and put it in ~/Library/LaunchAgents/com.myself.iperfclient.plist.
com.myself.iperfclient.plist
<?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>Label</key>
        <string>com.myself.iperfclient</string>

        <key>ProgramArguments</key>
        <array>
            <string>/Users/myself/Documents/bin/iperf/netspeed</string>
        </array>

        <key>StartInterval</key>
        <integer>20</integer>  <!-- in seconds -->

        <key>Disabled</key>
        <false/>
    </dict>
</plist>

netspeed
#!/bin/bash

# see https://stackoverflow.com/a/246128/10200417
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
script_name=`basename $0`
# echo "called script $script_name from $script_dir"

iperf_server=127.0.0.1
iperf_port=54321

# launch iperf client, log results to ./logs/client.log
iperf \
    -c $iperf_server \
    -p $iperf_port \
    --logfile $script_dir/logs/client.log

The netspeed file is executable for anyone:
$ ls -l netspeed
  -rwxr-xr-x@ 1 myself  staff  379 Jan 11 21:36 netspeed

When I try to add the new daemon, with launchctl load ~/Library/LaunchAgents/com.myself.iperfclient.plist, this is the error message I get in the Console:
Sandbox: bash(50654) System Policy: deny(1) file-read-data /Users/myself/Documents/bin/iperf/netspeed

If in the .plist descriptor for the daemon I add <string>open</string> as the first item in ProgramArguments, there’s no error. However, I don’t want to run the script this way because it launches a new Terminal window every time, which is extremely annoying.
My question
How do I allow my daemon process to execute netspeed?
P.S.
The launchctl status code is 126.
$ launchctl list | grep myself
-   126 com.myself.iperfclient

Alright, here’s what I ended up doing, which does work and doesn’t require any other installations. I tried the answer from Gilby, but wasn’t able to get fdautil to work after downloading and installing it via the LaunchControl trial version.
If it had worked, it seems it would have done so by granting LaunchControl’s fdautil utility full disk access, which would then use those permissions somehow to execute my netspeed script (without passing those permissions to /bin/bash?).
Method 1: AppleScript wrapper
I created Users/myself/Documents/bin/iperf/netspeed.scpt, which has the following:
do shell script "/Users/myself/Documents/bin/iperf/netspeed"

I then updated the ProgramArguments entry in the launchd plist to:
<key>ProgramArguments</key>
<array>
    <string>/usr/bin/osascript</string>
    <string>/Users/myself/Documents/bin/iperf/netspeed.scpt</string>
</array>

Finally, in System Preferences > Security and Privacy > Files and Folders I was able to grant access for Users/myself/Documents to /usr/bin/osascript, and successfully launch the daemon.
Method 2: Put script in location with less security
As @user3439894 pointed out, since the main reason it was difficult to execute netspeed in the first place was that I had it in ~myself/Documents.../, which has elevated permissions requirements, I can also just put it in a location with less security.
I followed the suggestion to try /Users/Shared/.../netspeed and it indeed worked with my original script and plist contents! To be clear, the ProgramArguments would now be:
<key>ProgramArguments</key>
<array>
    <string>/Users/Shared/.../netspeed</string>
</array>


What commands can I run in the Terminal, and how do I use them? I just found the Terminal and I want to know which commands I can run, and what they do.

Is there a command that would list me the available commands?

Is there a command that tells me how to use the commands (like "help" in the Windows command prompt)

You can get a list of all the available commands by pressing the TAB key twice, and confirming that you want the list by pressing y.

For help on what each command does, use the man command to lookup manuals:

man <command>

You’ll probably want to google a cheat sheet of the most useful commands as there’s hundreds and hundreds of commands even on a freshly installed system.

By the way - using the command line is not actually called “coding”. This term is usually only used when you create something that runs multiple “commands” following an algorithm (i.e. something that includes conditionals and/or loops).


Possible to move the cursor word-by-word with Cmd+left/right instead of Alt+left/right? I would like to use Cmd+←/→ instead of Alt+←/→ to move the cursor word by word in Mac OSX (A Cocoa thing I guess).

Is it possible to change that?

And by the same token, I would like to move the cursor to the beginning and end of the line by using Alt+←/→ instead of Cmd+←/→.

Can it be done?

One option would be to create ~/Library/KeyBindings/ and save this as DefaultKeyBinding.dict:

{
    "@\UF702" = moveWordBackward:;
    "@\UF703" = moveWordForward:;
    "~\UF702" = moveToBeginningOfLine:;
    "~\UF703" = moveToEndOfLine:;
    "~$\UF702" = moveToBeginningOfLineAndModifySelection:;
    "~$\UF703" = moveToEndOfLineAndModifySelection:;
}

You can't change ⇧⌘← or ⇧⌘→ though. And it doesn't work in some text views or Xcode or Firefox.

Using KeyRemap4MacBook, you could add this to private.xml:

<autogen>--KeyToKey-- KeyCode::CURSOR_LEFT, VK_OPTION | ModifierFlag::NONE, KeyCode::CURSOR_LEFT, VK_COMMAND</autogen>
<autogen>--KeyToKey-- KeyCode::CURSOR_RIGHT, VK_OPTION | ModifierFlag::NONE, KeyCode::CURSOR_RIGHT, VK_COMMAND</autogen>
<autogen>--KeyToKey-- KeyCode::CURSOR_LEFT, VK_SHIFT | VK_OPTION | ModifierFlag::NONE, KeyCode::CURSOR_LEFT, VK_SHIFT | VK_COMMAND</autogen>
<autogen>--KeyToKey-- KeyCode::CURSOR_RIGHT, VK_SHIFT | VK_OPTION | ModifierFlag::NONE, KeyCode::CURSOR_RIGHT, VK_SHIFT | VK_COMMAND</autogen>
<autogen>--KeyToKey-- KeyCode::CURSOR_LEFT, VK_COMMAND | ModifierFlag::NONE, KeyCode::CURSOR_LEFT, VK_OPTION</autogen>
<autogen>--KeyToKey-- KeyCode::CURSOR_RIGHT, VK_COMMAND | ModifierFlag::NONE, KeyCode::CURSOR_RIGHT, VK_OPTION</autogen>
<autogen>--KeyToKey-- KeyCode::CURSOR_LEFT, VK_COMMAND | VK_SHIFT | ModifierFlag::NONE, KeyCode::CURSOR_LEFT, VK_OPTION | VK_SHIFT</autogen>
<autogen>--KeyToKey-- KeyCode::CURSOR_RIGHT, VK_COMMAND | VK_SHIFT | ModifierFlag::NONE, KeyCode::CURSOR_RIGHT, VK_OPTION | VK_SHIFT</autogen>

It would make going back with ⌘← and changing tabs with ⇧⌘← stop working though.

See the source for the key code constants and predefined settings.


VMware Fusion 2.x not running with 64 Bit Kernel Lion has anyone managed to run fusion 2.x under Mac OS Lion? Since the update it says

Incompatibility with 64 bit kernel

This release of VMware Fusion does not work with 64-bit kernel of Mac OS X, you are currently running.
To use VMware Fusion, you must restart your computer using the 32-bit kernel of Mac OS X again.

Any ideas :( ?

Upgrade to VMWare Fusion 3.1 which is compatible with Lion, with limited support from VMWare.

VMWare's knowledge base says

  VMware Fusion 3.1.3 was designed for OS X 10.5 (Leopard) and OS X 10.6
  (Snow Leopard). It is compatible with Mac OS X 10.7 (Lion), with the
  limitations listed below.

  If you are running an older version of VMware Fusion, upgrade to
  VMware Fusion 3.1.3 before upgrading to Lion. Fusion 2.x is
  incompatible with Lion.


Many OS X app store apps are listed as "app" is damaged and can't be opened Without having changed anything, I now get this message when I try to open the app "Breeze" - Other apps fail similarly on other Macs:

I tried to get rid of this message by re-installing it from the App Store, but nothing changes. Rebooting and changing gatekeeper security preferences also doesn't help by choosing "allow Apps downloaded from anywhere".

What the heck is going on?

Pretty much everyone is in the same boat as you. The situation is quite complicated, but this picture shows some of the details of the layers of certificates involved in making a "receipt" file:

Apple engineers used a certificate that is marked as Not VALID After : Nov 11 21:58:01 2015 GMT to sign apps that were downloaded for a long period this year. Additionally, one of the certificates used to be signed with Signature Algorithm: sha1WithRSAEncryption and is transitioning to sha256WithRSAEncryption which isn't fully supported by all OS and developers.

The best write up (of many good ones) is by Ben Toms:

https://macmule.com/2015/11/12/some-mac-app-store-apps-damaged-prompting-for-redownload/

In a nutshell, one of the keys making up the wrapper that apps use to verify a proper App Store download expired yesterday. Apple has renewed that certificate, but you might need to take action now to remedy this error.

Oddly, the apps that Apple itself made, rely on some other validation chain of trust since they include this same now expired certificate yet still run on OS X. Basically, those apps seem to use another (or no) validation of the receipt for correctness.

If you're comfortable with the command line, try restarting the process that tends to these now outdated app receipts:

killall -KILL storeaccountd

If you power off your Mac, that also cycles the accounts daemon and should fix things so you don't have to re-download the apps to the computer after the time when that one Apple certificate expired.

At this point, when you try to run the app, you should be prompted to re-enter your password one time. This will get you a new certificate from Apple which may or may not solve the actual breakage depending on how or if the application uses the receipt file.

Another thing that can cure false certificate failures is to check your date/time settings and then try signing out of the Mac App Store entirely. If you still cannot run the app after signing back in, you might be forced with deleting the app and re-downloading it after verifying your date/time and rebooting the OS. Be sure to check spotlight and delete all copies of the app. Empty the trash before trying to restore the download.

If all else fails, contacting both the developer of your specific app as well as Apple Support for guidance might be prudent since the programs that handle this receipt validation and generation are not well documented.

Big thanks also to Craig Hockenberry and Paul Haddad for the great technical explanations on what's happening here. Without community working together we might be in the dark far longer when uncomfortable breakages like this arise.


In Disk Utility, what advantages do "read/write disk image"s have over "sparse bundle disk image"s? If I want a read/write disk image, then aren't sparse bundle disk images always the way to go? They start at 0 kb in size, and grow to accommodate whatever you add to them, and if you delete stuff, they don't shrink automatically, but you can run a command to shrink them manually to regain space.

So what advantages does a writable .dmg have against a writable .sparsebundle or .sparseimage?

From this blog post:

  A customized .sparseimage file can be made larger than the total capacity of the physical volume on which it originally resides.  While the sparse image volume will seem to make that capacity available, attempting to exceed the physical capacity of the underlying volume will result in a disk error: "ran out of space."

A couple of other disadvantages of a sparse bundle:

Since it's actually a directory containing multiple files, it can't be attached to an email, sent with DropSend, etc. You would have to compress it into an archive first (eg. Zip).
It's only supported from OS X 10.5 (Leopard) onwards, so if you have an old Mac running 10.4 or earlier, you won't be able to open sparse bundles created on newer Macs.


how to install inkscape in Mac OS X 10.9.1 I need help installing inkscape on My MAC OS X 10.9.1

I have followed http://www.inkscape.org/en/download/mac-os/ to install inkscape

but not able to run inkscape and facin problem for x11 preferences

please help through installing inkscape in my mac os X 10.9.1

You need an X.Org application. It will automatically launch when you start Inkscape. Apple used to ship one called X11.app.  Now your best bet is XQuartz.


Keyboard needs to be setup on every boot up I am being asked to setup my keyboard every time I reboot my computer. Is there anyway I can get this to keep the setup?

I am on Snow Leopard and have a Logitech Wave wireless keyboard and mouse combo. This started happening when I switched to 64-bit mode. Booting into 32-bit mode doesn't fix it.

Repair permissions: Run Disk Utility; select your (main) disk; click Repair Disk Permissions

Viewing logs: Run Console


Disappearing contact photos Apple's Contacts app has been acting up for me recently. About the same time that iCloud sync stopped working I noticed that when assigning photos to contacts, they don't stay saved. They appear to be saved at first but when returning to the same contact card a minute later or so, the photo is gone.

Is anyone else having this issue? Any ideas how to fix it? I'm using macOS 10.13 on a 2017 MacBook Pro and iOS 11 on an iPhone 7.

OK well I tried the following:

Turning off and on the contacts toggle switch on both the mac and the iPhone simultaneously. No effect.
Turning off iCloud on both the mac and the iPhone simultaneously. And then on. No effect.
Signing out of iCloud on both the mac and the iPhone simultaneously and then logging back in. This was a painful process but seemed to have solved the issue.


Why does my Time Machine external drive unmount overnight after upgrade to Mojave? I use a LaCie Quadra RAID drive as my Time Machine drive. It's directly connected to the USB socket on my iMac (Retina 5K, 27-inch, Late 2014, macOS 10.14.1). It's been fine for years.

It may be a coincidence, but I upgraded to Mojave recently, and the LaCie drive started sometimes unmounting overnight, when the iMac is sleeping. It doesn't do it every night. All I get from the iMac is a message in the morning telling me to eject drives before unplugging. The RAID drive is still properly mirrored when I power cycle it to remount. I use the iMac almost all the time during the day and the drive has never unmounted in the daytime.

How can I find out more about what is going on? I'd like to understand whether my drive controller is breaking or some software has started idling my USB or...

Thanks!

I did eventually find out why my drive unmounted. It was nothing to do with Mojave. The drive was breaking. I had to replace the drive, and the new one has had no problems.


Why is my late 2013 iMac so slow? For the last three months I have been more or less enjoying my new late 2013 21" iMac. I already have an early 2011 MBP, which is pretty maxed out with a 512GB SSD and 8 GB of RAM, and still feels very, very fast.

The iMac has 8 GB RAM as well, but "only" the Intel Iris GPU and a 1TB SATA HDD. Both machines are running OS X 10.9.4.

Starting up a few apps, like Mail, Safari and maybe iPhoto, takes ages. Sometimes up to 20 or 30 seconds. Whereas the MBP takes only a handful seconds. It's clear to me that the SSD gives a great performance advantage. But is it really that much...?

I also noticed in the systems report that the Iris uses sometimes up to 1.5 GB of RAM. This seems like a lot. I imagine that this could also hurt performance.

I also get a lot messages like these in the system log:

24.08.14 19:57:32,827 WindowServer[539]: disable_update_timeout: UI updates were forcibly disabled by application "iPhoto" for over 1.00 seconds. Server has re-enabled them.

These happen if I switch from one iPhoto event to another, or switch to my iCloud albums. On the MBP this happens instantly, without delay.

Update: Here are some screenshots of the activity monitor and Console logging:

i've seen this on some of my machines... it is fixable (though ican't remember the details for my situation). but it will stay very slow until you clean out those ui/windowserver errors.

firstly:
have you added any screensavers?
have you safe booted to clean out caches and check HD?

http://www.macworld.com/article/1163410/bugs_and_fixes_when_os_x_lion_slows_to_a_crawl.html


How can I improve response from the iPhone 4 multi-touch display? When I touch the surface of my iPhone 4, it doesn't always register.

How does the display work? Heat? Charge? What can I do to make the phone register my touch better?

The iPhone has a Capacitive touchscreen so you need to touch with some conductive material.

So the skin on you finger will for example work better than the nail and most gloves, pens etc will not work at all.


Restore iPad to factory-default How to make iPad back to factory default without iTunes, restrictions code, iCloud, or backup. I want everything erased so I can completely start over.

Without using iTunes, you can go to Settings > General > Reset, and click reset/erase all content and settings:

It's iOS 7, but it's the same for every version.

If you do it this way, it will prompt you for both your password and restrictions passcode several times.


How to turn off sounds in the Messages app on the Watch? One of the great features of the Apple Watch is its unobtrusiveness: I can receive a message, look at it, and respond to it without disturbing the people around me with a series of beeps or vibration buzzes.

However, this is only partly true for the native Messages app: When I send a message, either by selecting one of the pre-defined answers like "yes", "great!", etc. or by tapping an emoji, sometimes (not always) the Watch will emit the classic Messages "bwouup" sound of an outgoing message.

I would like to turn off the sound of this app, but so far I haven't been able to find out how. I'm not asking how to turn off the sound of the Watch entirely, but rather for (sending) Messages specifically.

What I've tried so far

I've looked at the Messages settings in the Watch app on my iPhone and the settings of the iPhone app itself, as well as the sounds & haptic and the notifications settings. The latter allows me to influence how incoming messages announce themselves, but I haven't discovered any settings for outgoing ones.

Is it possible to disable the sound of outgoing messages in the Watch's Messages app?

Update

In the meantime, I realized that incoming messages are also accompanied by a sound, if the Messages app happens to be active on the Watch. I would like to disable those sounds as well.

The watch can be made almost entirely silent, but still give you notifications through haptic feedback by going to Sounds & Haptics and turning on both Silent Mode and Haptic Alerts.


Cannot restrict apps from accessing data in iOS 8 I cannot restrict apps from accessing cellular data on iOS 8, as these settings are disabled. How can I enable them?

I found why I cannot change any option in this section. This happened because of the restrictions that where activated after the update to iOS 8. In order to solve it go to General->Restrictions->cellular data use-> Allow changes


Watch folder that only processes one item at a time? I need to set up a watch folder that runs a script on each item added.
But the script could take 10 mins or more to process a single item.

What I've done is put this code at the top of my script that keeps watching the folder and then acts when something is added:

set watchFolderAlias to (POSIX file watchFolder as alias)
set r to {}
repeat
    tell application "Finder" to set r to ¬
        (sort (get files of watchFolderAlias whose kind is "alias") ¬
            by creation date)
    if (count of r) ≠ 0 then
        do(first item of r as alias)
    end if
    delay 5
end repeat

on do(x)
   (* do 10 minutes of stuff with x *)
end do

... and then I just keep it running. But this is cumbersome and awkward.

But if I attach the do() stuff as a folder action then it will launch a new instance as soon as an item is added ... right?

Am I missing a more elegant solution?

(To clarify: If you attach a folder action script to a folder, that script is launched multiple times, once for each time you add items to the folder, regardless of whether another instance of said script is already running. This is what I'm trying to avoid. For example, if 10 items are dropped into the watch folder, and then, while the first 10 items are still being processed, another 5 items are dropped, this will launch a second instance of the script.)

The only other thing I can come up with is to maintain a "status" file which will be set to "busy" by the script, and "idle" when done processing, so that the other instances of the script will wait for the "idle" state ... but this is also awkward.

Try Hazel from https://www.noodlesoft.com

I haven’t had any processes that run that long, but in my experience Hazel always seems to operate sequentially on files, and won’t start a new process until the old one is done.

It’s an invaluable Mac app, IMO. I use it exclusively instead of
Folder Actions. It’s a paid app, but there is a free, full-featured demo available. The developer is also very helpful and the app is well-maintained. Highly recommended.

I think your only other alternative is a lock file, which is awkward, as you mentioned.


excessive birthday reminder notifications My birthday reminders started appearing more frequently about a month ago. Usually they only appear once per day, but for example I have been using my laptop for the past 20 minutes and they have appeared three times. This is very annoying.

How do I prevent this from happening?

UPDATE:

As suggested by Martin, here is some more info.

OS X 10.8 (Mountain Lion)
The reminders are through Notification Center (from Calendar).
I am connected to iCloud and have my contacts to be imported from Facebook.
not connected to yahoo or google.

Check your calendar enable all calendar and see if you have multiple records of birthdate. I had same issue duplication of birthdate in contacts, facebook account & gmail. And also check remiders if it is set for more than once. I think by default it should be one reminder on date.

And finally click on close not snooze :)


Remove Documents,Downloads,Music directories from home directory How to remove those directories permanently? Not just to hide them, but delete. Every time system reboots they are recreated and I have to sudo rm -rf NastyDir*.
Is there anything I can change in system settings?

Trane is right. Love 'em or 'hate 'em the system will always recreate them when you delete them.

You might try hiding them like this using Terminal

chflags hidden ~/Documents/

That will hide (for example) the documents folder in your home directory.

Not sure if O/S X will then un-hide it for you but it might be worth a try...


Battery diagnostic tool at Apple Genius Bars I have a one-year old iPhone 5 and it's battery performance has dramatically decreased over the last few months. As I could use my iPhone for over 24 hours a year ago, the lifespan has halved by now.

I'm not interested in the reason why or answers like "it's normal", but in the following. A friend of mine told me Apple has a diagnostic tool at it's Genius bars to check the health of the battery. Is this a rumor or is the tool real? And if so, can it be bought by  consumers (I don't thinks so, but you never know :))

It is real.
One of the Genius perform the diagnosis right in front of me. If memory serves, it goes like this:

With your iPhone, or whichever iDevice, connected to the Apple Store's wifi, "Apple Store", open Safari, and connect to URL "diagnosis.apple.com" (or diagnostics)
A page will show up, with a text entry bar for the Genius to enter a verification code.
The genius will pull up a page from his "Genius" iPod touch, (the one with bar code scanner), and possibly clicked a certain icon, which leads him to the verification code. I assume that the verification code is changing over time.
After entering the code into your device, there goes the diagnosis page.

In the brief moment he was looking at my iPhone, I was able to see the maximum capacity (by design) and the capacity left, which is 98% in my case. By this figure he will determine whether your iPhone's battery needs a replacement. If not, he will suggest that you restore the iPhone and the battery issue (if any) will likely go away.

I asked the Genius whether that's a secret page, he just calmly answered that it's just a tool for them to do the diagnosis.

So no, you cannot purchase it, as it is simply an internal webpage which requires Genius verification.

As a side note, informed by the same Genius, the easiest way to tell whether your battery/system has problem with battery life is to go to Settings - General - Usage in your device.

Look at the "Time Since Last Full Charge" section, it tells you how long the device has been used and how long it has been on standby. If the two figure are very close, e.g. 2 hours for usage and 2 hours 10 minutes for standby. But you clearly remember that you haven't been "using" the device for 2 hours, but only let in stay in sleep mode. This means that something running in the background is draining your power, and your device is never sleeping.

In this case, the Genius will suggest that you restore the iPhone (and restore from iCloud or iTunes if you wish) and the problem will most likely go away.

==============

Update

After visiting the Genius bar again, I saw a genius helping a customer on similar issue and I took a picture.

Instead of connecting to some normal URL in safari, a link in the format of "diags://#####" would be generated and visited by the device in question.


Why doesn't .bashrc run automatically? I put some alias commands in my .bashrc file, so that they might be loaded everytime I open a new Terminal window. Yet this doesn't happen.
I have to select run script: in the Terminal>Preferences>"MyDefaultTheme">Shell prefpane and add:
source .bashrc && clear for it to work...
This seems odd since many tutorials only say you just have to add to the .bashrc file and all is good.
Note that I don't run in bash when using the terminal, I like the other (default) one (don't know what it is) better, because it show me where I am all the time eg:
>>d54c6b47b:~ romeo$

in stead of:
>>bash$

In bash all is loaded as should be.
So my question is, why didn't my .bashrc file load automatically and did I have to add the option to call it everytime?
Also some tutorial told me to do something like:
$alias la=’ls -la’ >> ~/.bashrc

which should write the alias to my .bashrc, this doesn't work either...
Note that I'm a UNIX novice, so be gentle.

Been there, done that. What I came aware of, OS X doesn't read .bashrc file on bash start. Instead, it reads the following files (in the following order):

/etc/profile
~/.bash_profile
~/.bash_login
~/.profile

See also Chris Johnsen's informative and useful comment:

  By default, Terminal starts the shell via /usr/bin/login, which makes the shell a login shell. On every platform (not just Mac OS X) bash does not use .bashrc for login shells (only /etc/profile and the first of .bash_profile, .bash_login, .profile that exists and is readable). This is why "put source ~/.bashrc in your .bash_profile" is standard advice

I usually just put the things that I'd normally put in ~/.bashrc to ~/.profile — has worked so far like a charm.


MacOS, differences between running a bundled app and running the bundle's executable Can someone elaborate the differences in OSX between running a bundled application by doing one of the following:

double-clicking on it
search for it and run it from spotlight
open /Application/MyApp.app

or just running its executable in Terminal:

$ /Application/MyApp.app/Contents/MacOS/myapp (the executable binary)

In most cases there is no difference. However, inside every App bundle is an Info.plist file that contains information about the App that is useful (mainly) to Mac OS X (the types of files it handles, etc.).

But the Info.plist file can also contain information about the environment that the App needs to run in. For example, the Info.plist file can contain environment variables that need to be set before the executable is launched. If you launch the executable yourself (on the command line) then those variables won't be set and the behavior of the App might be different.

EDIT: To elaborate on this a little further, if you right-click on an App and "Show Package Contents", then drill down to "Contents:MacOS" and double-click the executable icon in that directory, you will also bypass launch services and information in the Info.plist file will be ignored. So you can do in the Finder what you are doing on the command line (without command-line options, of course).


Leopard Backup downgrades Snow Leopard installation upon recovery I did a Time Machine backup on my Macbook running OS X 10.5.8. Then I installed Snow Leopard and tried to restore all apps, files etc. using Time Machine but it restored the system back to 10.5.8.

How can I do this keeping Snow Leopard?

The best way to avoid this is to do an upgrade from Leopard to Snow Leopard rather than an erase and install. Snow Leopard shouldn't give you the option to erase and install, it should automatically upgrade. Are you erasing your hard drive before installing Snow Leopard?
By default, Time Machine backups retain all system software, including your OS. If you want to disable this, try this:

Open System Preferences
Click on the Time Machine Preference pane
Click on Options...
Click the + button
Navigate to /System
When you get the following message, click "Exclude All System Files"

In the future, this will prevent Time Machine from backing up system data, but it will still back up your personal data and applications.
For your current predicament, you'll need to do a standard install of Snow Leopard instead of erasing the hard drive first.
Good luck.


What are the benefits of transferring an iOS app from one to another account I want to know that what are the benefits of transferring iOS app from one account to another.
I read apple doc, as per apple says:

The App must have had at least one version that has been released to
the App Store.

I have an app with version 1.0 on app store, Now my questions are:

Once my app is transfered to another account then what will be the effect on existing app on app store? Is notifications in the app are deactive or it will work correctly or not? What will be the impact of this on existing users who are using this app.

Is it possible that my app will be work (can be download from app
store and function properly).

If I had transfered my app then it is necessary to use new certificates and profiles if yes, why?
Any suggestion please.

Contact Apple's iTunes Connect Team

No-one but Apple can offer authoritative answers to these questions. Please contact Apple's iTunes Connect and they will be able to help.


Run AppleScript after waking from Sleep? Is there an easy way to run an AppleScript or application immediately (or a brief delay of X seconds) after waking up from sleep?

I'm looking for a solution that doesn't involve a 3rd-party app.

Yes indeed there is, and it is detailed in this, the Dragon Systems Software UK blog.

I do not believe it is possible without using some external software. The kernel notifies apps that register for registerSleepWakeInterest events, and AppleScript seems not to include the ability to register for this notification.

There's a code sample given in Apple's Kernel Programming Guide.

Bernard Baehr has even made source code for his application, SleepWatcher, available.


Have installed “Command line” but whenever i try to build and run my program terminal says “No such file or directory” I have tried to build and run my project through CodeLite.

I have installed Command Line but somehow it doesn't work.

It says "no such file or directory"

but whenever I ask it to look for gcc, it tells me that i have it in my Mac.

What should I do? Please help!

You are using the terminal incorrectly. Put double quotes around the path:

cd "/Users/Kathieen Ashley/Documents/mytest/testproject2/Debug"
## new line!
./testproject2

Don't use &&, they do not do what you think they do.

If you want to know more, have a look at Bash Guide for Beginners.

To elaborate a bit more on your questions:

  I have installed Command Line but somehow it doesn't work.

It seems to work just as intended, but maybe not as you intended.

  It says "no such file or directory"

cd, a command called ‘change directory’, says that there is no such directory or file as /Users/Kathieen, which is correct since your user folder seems to be
/Users/Kathieen Ashley (note the space followed by an additional word)

  but whenever I ask it to look for gcc, it tells me that I have it in my Mac.

That is correct, gcc is installed correctly.


Is it possible to remove the $ from an environment variable? I'm on Mac and have just created an environment variable inside the .bash_profile directory, it works fine when I run:

$variable_name

I just want the know why the dollar sign is there and if it is possible to remove it. Any help would be appreciated :)

The $ (dollar sign) is there to reference variables in bash.  You cannot remove it.  Technically, it's called variable/parameter expansion.  Basically the value of the variable is "expanded out".

Using variables in bash is pretty straight forward:

Don't use a "$" when setting a variable
Use the "$" when referencing/calling a variable

Example:

#!/bin/bash
var1=Hello
read var2
echo $var1 $var2
exit

In the above script, we set var1 to "Hello" and var2 to user input (assume "World").  The next command prints out the contents of both variables on a single line:

Hello World

For more details, it's best to start with a good tutorial:  BASH Programming - Introduction HOW-TO.  Also have a look at the Bash Reference Manual

Tip:

You can enclose the variable in braces - ${variable}.  This serves to "protect" the variable from characters immediately following the variable name which would (incorrectly) become part of the variable

Example:

var1=foo
echo $var1bar
echo ${var1}bar

The first echo would produce nothing since the variable var1bar doesn't exist where as the second echo would produce the word foobar as expected.  Personally, I use braces for all my variables as a matter of style.


What are the compression/resolution/bandwidth limitations of Airplay mirroring? In a perfect world Airplay mirroring would display identical results compared to an HDMI cable. In other words, the frames per second, resolution, and image quality would be unaffected by the use of Airplay compared to using traditional means.

What are the current limitations of Airplay?

Can I stream a 1080p movie through Airplay onto my television (through Apple TV)?
Can I play a first person shooter through Airplay without lag?

Assume a powerful 2013 iMac.

I would appreciate any information related to frames per second, resolution, image quality, bandwidth, lag/delay, and what factors are associated with these limitations.

The Apple Developer documentation for AirPlay, specifically the HTTP Live Streaming section, has pretty detailed information about it. Depending on several factors, I summarize the following:

Resolution max. recommended high profile encoder settings, for a 16:9 aspect ratio over wifi:

Dimensions: 1920 x 1080
Total bitrate: 40000 kbps
Video bitrate: 39000 kbps
Keyframes: 90

Framerate A frame rate of 10 fps is recommended for video streams under 200 kbps. For video streams under 300 kbps, a frame rate of 12 to 15 fps is recommended. For all other streams, a frame rate of 29.97 is recommended.

There is tons of more info, but in short, the specs say: "Yes!" you can stream a 1080p movie through Airplay. And there are several examples of "Airplay-enabled-games", like first person shooters, that work just great.

However, the crucial factor will be your wifi network as this will determine your lag/delay and -probably- most limiting factors. So there will be a significant delay on any 802.11N based wifi network. And therefor, there will be lag with latency-sensitive audio/video interactive purposes, like games. For movies, it should be no problem though.

Summarizing: The limitations of wifi transfer speeds isn't near to your perfect world when connected through a cable.


How do delete menulets added via "Onyx" I added some menus via Onyx and now I don't know how to get rid of them again. Holding option and clicking on the menus doesn't provide an option to close them and I cannot delete the "iChat.menu" in /System/Library/CoreServices/Menu Extras/iChat.menu because I get an error message telling me that it can't be deleted because it's needed by OSX.

Thanks for the help :)

Generally speaking you can remove Mac OS menus like that by Command dragging the menu off the menu bar (EG hold the Command key, click the menu and drag it down)

Tetsujin's suggestion also holds merit as the settings applied in Onyx can be unapplied in Onyx by clearing the check box and then applying the change.


Macbook Pro Retina screen jerking I have a brand new Macbook Pro Retina, MacBook Pro (Retina, 15-inch, Mid 2015) with Yosemite 10.10.4 (14E46). Every now and then the whole display jerks briefly down and then back up again in place. I haven't found any reference to this online. Any idea why this might be happening?

Based on my experience with Macbooks, I suspect there is either a loose connector, or (sigh) you have a dying chip on the motherboard (probably video controller).  Genius Bar should be able to diagnose for you pretty quickly.


iPhone - what does each number of rings mean? Let's say someone blocked your number one week ago. When you tried calling them you'd get one ring and it goes straight to voicemail... or no rings and it goes straight to voicemail.

A week later you call and you get two long rings before it goes to voicemail. Does that mean they unblocked your number?

This depends on how they blocked your number. However, generally the number of rings is not a good indicator of whether you've been blocked.

I would suggest solving by talking to or contacting the organisation or person that has blocked your number.


What file types can you convert from a Mac to Windows? What types of files can I change from Mac- to Windows-based file types? What types "just work" on both systems? What types are simply non-transferable or won't work when moved between the OS types?

In particular, I am interested in these three file types: .ess, .app, and .bak.

Your question is very general so here is a general answer:

Document files are all dependant on the software for compatibility, not the operating system. So files like .doc .docx .pdf .txt .rtf etc are all compatible with Windows and Mac. This is the same for files like Photoshop files or Powerpoint files.

Video files are dependent on the codecs installed on the machine; both Windows and Mac have almost the same codecs installed by default. To view .mov files on a Windows machine you need Quicktime installed. .mp4 or .mpeg files will all work natively.

Image files will all work on both systems. eg .jpeg/.jpg, .tiff/.tif, .gif, .png, etc.

Applications are NOT inter-compatible. You cannot run a .app file on Windows, and you can't run a .exe on a Mac (except in a Windows VM or possibly Wine).

As a general rule of thumb, if you have a file that needs software to open (eg a Keynote presentation) then you would need the same software to open it on the other Operating system (in this case, Windows). Since Keynote is a Mac only product, you won't be able to open it on a Windows machine. In some of these cases, it could be possible to convert the file so it is openable by Windows software; in this case, you'd export the Keynote as a PowerPoint file for use on Windows.


Start/stop internet sharing from a script? Is there a way to start/stop internet sharing from the command line or maybe an apple script?

The thing is that I move around my laptop between home and work. At one place I get wireless internet (and thus I have to disable internet sharing), and at the other I get internet from an ethernet cable and set up the computer to share the internet to other devices by creating a small wireless network.

But it's getting a bit tedious having to go into System Preferences and start/stop the internet sharing every time I switch locations, so I would like to have a quick command or script to launch and do the switch on demand.

Any hints or ideas?

To start Internet Sharing from the CLI:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.InternetSharing.plist

To stop, change the load to unload.

Note that if you have the pref pane open when you run this you will not see the change take effect immediately (the UI won't update), but it does work.


What is the maximum memory limit for a MacBook mid-2010 with the latest EFI and SMC updates? According to Apple, the mid-2010 MacBook (not MacBook Pro) will support a maximum of 4GB of memory.

I am seeing some references like this one which indicate that the latest SMC and EFI updates allow for more memory.

Are there any more authoritative references to more than 4GB of memory working in this model of MacBook?

What is the safe and cheap path to verify this myself? Can I get a single 4GB chip, replace one of my 1GB chips and see if the supported total memory is 4GB or 5GB? Worst case I've just bought the maximum 4GB, best case I prove that it can take more right?

If it's indeed the last model of white polycarbonate "unibody" MacBook that Apple made prior to the discontinuation of the MacBook (non-Pro/non-Air) lineup then it will actually support 16GB of RAM (2x8GB PC8500 DDR3 1066MHz SO-DIMM 204 Pin) and that's vouched for by the specs for that system in MacTracker as well as by the reliable folks at OWC.

You'll want to verify your exact model identifier via the System Information app though (this app also used to be called System Profiler in older versions of Mac OS X).

Open up that application, select "Hardware" at the top of the sidebar pane, then look for "Model Identifier" on the right. If it reads MacBook7,1 and your "Processor Speed" is 2.4 GHz then you're good to go for 16GB of memory!


iTerm2 terminals close immediately with "argpath=login error=No such file or directory" Whenever I try to open a new terminal window in iTerm, it closes right away after displaying this:
## exec failed ##
argpath=login error=No such file or directory

Does anyone know what is causing this? Thanks!
Notes

The terminal is working fine
The default command for new iTerm sessions is set to Login shell

Not sure why it didn't work with Login shell selected, but I changed it to
⌘ command and invoked bash -l or /bin/bash -l to make it work the same way. Hope this helps anyone else who has the same problem!


Boot Camp Cannot Partition for Windows I purchased a 2020 13in MacBook Pro about a week ago, and today I tried installing Windows using Boot Camp for school related reasons. While trying to install it, I got an error in Boot Camp Assistant saying that my disk could not be partitioned. I tried many things, and I am still having the problem. This is all I tried:

Rebooted my Mac in macOS Recovery (⌘+R), and ran First Aid on all my Volumes, Container, and Disk. First Aid and Disk Utility in macOS Recovery did not give any error. I then rebooted to normal macOS and tried again to run Boot Camp Assistant, and I had the same problem.
I then researched more about the problem, and I found a solution that seemed to work for many people. It said to reboot using Single-User mode (⌘+S), but my computer has the T2 Chip, so I then rebooted my computer with macOS Recovery (⌘+R) again, made sure the Macintosh HD volume was mounted, opened Terminal in macOS Recovery, and ran /sbin/fsck -fy. I got an error that said "Error: Container /dev/rdisk1 is mounted".

I then rebooted into regular macOS and ran sudo fsck_apfs -n -l /dev/rdisk1. The output showed that there are 3 snapshots, and after the first one it showed this warning: warning: snapshot fsroot tree corruptions are not repaired; they'll go away once the snapshot is deleted. However, at the end, it showed that The volume /dev/rdisk1 appears to be OK.

To make sure the problem was because I wanted more storage than Boot Camp could allow, I tried setting the Windows size to 60GB, and it still gave me the error.

The Windows version I am trying to download is the Windows Education Version found here: https://www.microsoft.com/en-us/software-download/vlacademicwindows10iso. I also tried to install the regular Windows 10 version to make sure it was not a problem with the education version.

I also saw the "warning: snapshot fsroot tree corruptions are not repaired; they'll go away once the snapshot is deleted" warning in the macOS Recovery Disk Utility while running First Aid on the Macintosh HD Volume. I am not using Time Machine on my computer.
I looked at many forum posts and other websites for hours, but I could not find anything that worked. I also checked that the Windows ISO checksum was the same as the one listed on the Windows download page. I also tried reinstalling the ISO just in case, but that also did not work. I have a 2TB hard drive, and I am trying to allocate 502GB of my hard drive for Boot Camp. I have 1.8TB free on my drive.

I was trying to install Boot Camp using macOS Big Sur. For some reason, Beta 1 installed some Snapshots on the Macintosh HD volume that prevented the disk from being partitioned. I did eventually get it working, but the solution did not come from me. Credit goes to user tomadimitrie on the Mac Rumors forums who found the solution.

First I booted into macOS recovery mode, and made sure that Macintosh HD was mounted in Disk Utility.
Then I opened Terminal from Utilities > Terminal.
Then I needed to find out the id of the Macintosh HD drive by using the command diskutil list, and finding the IDENTIFIER of the Volume called Macintosh HD. This ID may be different in recovery mode than the one in regular macOS, so make sure you run the command in the recovery mode terminal. The IDENTIFIER looks something like this: disk1s1.
Then run the command diskutil apfs listSnapshots <Macintosh HD's disk id> to list all the snapshots, all which start with com.apple.os.update-.
Then delete each Snapshot by using the command diskutil apfs deleteSnapshot <disk id> -uuid <snapshot uuid from the previous command>. The last one should return an insufficient permissions, but that is fine.
Reboot into macOS.

Only do this at your own risk.
Again, all credit goes to user tomadimitrie on the Mac Rumors forums, and here is the original post to the solution: https://forums.macrumors.com/threads/bootcamp-not-working-deleting-com-apple-os-update-snapshots-using-tmutil.2243872/post-28654311


What's a good iTunes alternative to use with my iPod nano 6g? I'm looking for an iTunes alternative for my new iPod nano 6g.

I've used sharepod before but it doesn't work with the nano 6g—I can upload songs but they're not being recognized by the iPod database.

Any ideas on alternatives that work with the nano 6g?

Mediamonkey is a good alternative on Windows, the nano 6th gen is present in the list of compatible devices.


How can I troubleshoot or fix when macOS Photos app import from a connected iPhone gets stuck on "Preparing to import from..."? How can I troubleshoot or fix when macOS Photos app import from a connected iPhone gets stuck on "Preparing to import from..."?
Devices:

iMac Retina 5K 27-inch 2017, macOS Big Sur 11.2.3
iPhone 12 Pro, iOS 14.4.1

Setup:
iPhone is connected to the iMac with a USB-Lightning Cable
Problem:
Photos app on MacOS import from connected iPhone appears to be stuck on "Preparing to import from" and never makes progress.
Steps to reproduce:

Launch Photos
Unlock iPhone
Connect iPhone to iMac with cable
Click the name of the connected iPhone under "Devices" section of Photos
Photos shows a message: Preparing to import from "Device_Name" where Device_Name is the name of the iPhone
Wait... forever...

Additional Information:

Imports previously used to work between these devices.
The Photos Library has been repaired multiple times by opening Photos while holding Option-Command.
The iPhone successfully synchronizes and backs up via the Finder when connected.
Swapping out cables does not change the behavior.
Restarting the iMac, iPhone, or macOS Photos app does not solve the problem.
iPhone has over 40,000 items (photos, live photos, videos, etc.) and a few hundred are new items since the last import while the others are already imported.

Relevant thread:

Photos 'preparing to import from iPhone' message....

How to get the photos to appear for selection in the macOS Photos app after only waiting 1-2 minutes

Disconnect the iPhone.
Close the macOS Photos app.
On the iPhone, open Settings.
Select Photos in the Settings App of the iPhone.
In the "Transfer to Mac or PC" section of the Photos settings, Automatic is the default. Change it to Keep Originals.
Open the macOS Photos app.
Reconnect the iPhone and select the device in the macOS Photos app.

Keep Originals Setting

Source:
Photos 'preparing to import from iPhone' message....


Mac showing Thunderbolt Ethernet as Airport My network interfaces are showing different names to others that I have seen and I believe it may be causing an issue when setting up a virtual box.

Isn't Airport the other name for the Wifi? This shows it as the ethernet port.

Has anyone seen this issue before? I think it may have happened because I installed Android File Transfer or plugged in my Galaxy S4.

Are you sure someone isn't playing a joke on you?

Just rename the service. Click the ⚙ icon...

Then rename the server. You can call "Thunderbolt Ethernet" something like "Wi-Fi", "Yo Mama" or anything you wish. You'll also want to change the name of the inactive "Wi-Fi" entry to "Thunderbolt Ethernet". Your software seems to have switched the interface names.


Hacking Preview in Mac OS X For certain PDFs with graphics split over two pages, it is best to view them side-by-side.

Apple's Preview app lets me view two pages side-by-side. This is great!

The only problem is that it's off by one page. For example, if the intended view is the following:

 ___________________
| Banner T|ext Here |
|         |         |
|  34     |     35  |
|         |         |
|_________|___ _____|

what Preview shows is this:

 ___________________
|         | Banner T|
|         |         |
|     33  |  34     |
|         |         |
|_________|___ _____|

<followed by>
 ___________________
|ext Here |         |
|         |         |
|     35  |  36     |
|         |         |
|_________|___ _____|

I realize that Apple's choice for Two Page viewing mode is probably optimal for many (most?) situations, but not for mine.

Is there a way to change this behavior--preferably on a per-document basis, but even via an obscure setting somewhere?

(In Windows, Adobe Acrobat displays the pages "correctly". I realize I could just download Adobe Acrobat for Mac, but I'm curious if this can be done in Preview.)

A simple solution is add a blank page next to the first page of the document. So it shifts all pages. Use it from Edit > Insert Blank Page.


How to turn off boot up chime on late 2013 mac pro? I use my new late 2013 Mac Pro in Windows only.
But, I'd like to disable the bootup chime. How can I do this?

The boot chime is always as loud as the volume when you turn off your mac. There are tools for mac to disable it I believe. I don't know wether those affect windows as well.

EDIT: It seems the volume you set in windows has no control over the volume when booting again. So if you only use windows anyhow, boot into Mac OS (by holding the alt-key when booting). Then set the volume to zero (turn it down, don't use the mute key). You're Mac shouldn't chime anymore.


My iPhone won't stop asking for a credit card Every time I try to update a game it tells me their needs to be a verification is required. I'm putting in a credit card but it keeps on declining it. The credit card has money; I checked with the bank.

There should be an option labeled "No Creditcard" or "None". I have that enabled, which solves the problem for me.


How comes Spotlight started to show results half in English? I am using High Sierra 10.13.3 and my system language is definitely set to Italian:

When I want to open the System Preferences (which are called Preferenze di sistema) I usually open Spotlight and start typing the name:

It used to work, but starting a few days ago results are appearing in English, while the rest of the UI is correctly translated.

Why is that? How can I fix this issue?

It's a glitch, just reboot

After a day or so I simply decided to use the Windows method. I rebooted and the problem is gone.


iPhone dock adapter- is it essential? I have a 30pin dock clock radio I used with my 3GS with corresponding dock adapter. I just upgraded to a 4 (I know, I know- in the past right?). However, I am insistent on keeping my iPhone 4 in a case. As a consequence, it will not fit into the dock with a dock adapter.

Is the adapter essential? I haven't bothered using on with my iPod touch as it is light, but the iPhone is heavier. It stays upright and I imagine it would be okay, but do you think it would damage the phones dock over time? Has any one had any experience of this occurring, or have you used docks like this with no problems?

The answer can go both ways. The "metal" part, which you use to connect the iPhone with can get damaged if you use it without the plastic adapter piece.
However, I've been using myself that same construction over 6 months now and everything is still fine.

My answer: If you dare to risk it, just try it :) But don't look sad if the metal bends.


Set iTerm2 as the ssh:// URL handler Currently, Terminal is set to handle SSH urls. For example, if I do:

$ open ssh://machine.example.com

Then it will spawn a new SSH session in terminal. I'd like these to be opened in iTerm2 instead. How do I tell macOS to use iTerm2 to handle ssh:// URLs instead of Terminal?

iTerm2 can set itself as the default SSH handler. In its preferences, go to “Profiles”. Create a profile to handle SSH sessions, or select an existing one. In the “General” section, bottom right, you can select which URL scheme this profile should handle:

Select SSH. iTerm2 will ask if it is to set itself up as the default SSH handler:

Confirm and you are done. Happy remoting.


Why did MacBook Pro Touch ID stop working temporarily? Left my 2016 MBP in coffee shop to go to the bathroom. I put my screensaver on but when I came back after a few minutes it required my password instead of Touch ID so I logged in and then put the screensaver back on and it still didn't work.

Toggling Touch ID fixed it but I'm wondering if this is just a bug or something else.

Must have been a bug. Haven't experienced again.