Why isn't Startup Manager showing Ubuntu Netboot USB - mid 2010 imac 21.5" Apologies if this question is inappropriate for this forum I am not sure whether I should be on the Apple or Ubuntu StackExchange.
I am trying to turn an iMac mid 2010 21.5" into a home server by installing Ubuntu Server 20.04 LTS on it. Startup manager is not recognising the bootable USB that has been loaded with the Ubuntu Server Netboot ISO, though it is recognising a USB that has been loaded with the standard Ubuntu USB - does anyone know why this might be? I am using the same program to create both bootable USBs and I have tried different USB ports.
For context there isn't a functioning OS on this machine. An earlier attempt to install Ubuntu Server crashed so when I boot the machine it goes to blank screen with just only '_'.
The standard Ubuntu ISO can't be installed due to a GPU issue:
'no UMS support in Radeon module'
is the error that I receive and I have tried editing the GRUB settings to include 'nomodeset' as suggested on forums such as this one:
E.g.  Installing Linux on 2009 iMac, black screen after bootloader

The short answer is the mini.iso is bootable, just not bootable from a USB flash drive on a Mac of your vintage.
Here is some of the things I tried.
I transferred an ISO file to a USB flash drive by writing the file directly to the flash drive. So, what appears on the flash drive is exactly what exists in the file. There many ways to accomplish this. I used a Mac booted to macOS. The identifier for the flash drive was disk2. An example of the commands is given below.
diskutil unmountdisk disk2
sudo dd if=~/Downloads/mini.iso of=/dev/rdisk2 bs=1m

The same can be accomplished with Linux by entering the commands given below. Here, the identifier for the flash drive was sdc.
sudo umount /dev/sdc*
sudo dd if=~/Downloads/mini.iso of=/dev/sdc bs=1M

I found the USB flash drive created using the mini.iso file was BIOS bootable by the Startup Manager on a 2013 iMac. While I was able to boot, I choose not to install. The same flash was not detected by the Mac Startup Manager on a 2007 iMac. This is expected, since iMacs could not BIOS boot from flash drives until at least after the 2011 model year. Neither Mac Starup Manger could detect a EFI boot file on the flash drive, even though such files do exist on the flash drive. I state this because the flash drive can EFI boot in a VirtualBox virtual machine on the 2013 iMac running Catalina. I was able to install Ubuntu 18.04.5 LTS on the virtual machine.
I used the same method to transfer the ubuntu-20.04.1-live-server-amd64.iso file to a flash drive. This was detected as EFI bootable by the Mac Startup Manager on the 2007 iMac. I was able to boot and installed an Ubuntu server. A present, the Mac Startup Manger is needed to boot Ubuntu server on the 2007 iMac. I have not tried fix the Mac to boot Ubuntu server as the default operating system. I should also point out that this version of Ubuntu server boots to a command line interface (CLI).
Next, I tried using the Startup Disk Creator that comes with kubuntu. This basically does the same thing as the dd command used above.
When installing Ubuntu Server, I made the following selections.

I chose to update to the new installer.
I chose to not use the entire disk without a LVM group.
I chose to install the OpenSSH server.

When I finished installing, the content of the USB flash drive had changed. A compare with the original ISO file found differences.
Update 1
I was able to install Ubuntu with a desktop graphical support on the 2007 iMac by using the mini.iso file. This was accomplished by using the dd command to copy the mini.iso file to the internal drive (/dev/sda). Next, boot to the Mac Startup Manager and select the Windows label under the internal drive icon. Once the Ubuntu installer starts, you can overwrite the the contents of the internal drive with the new Ubuntu installation.
Below are the exact steps, I used to place the contents of the mini.iso file onto the internal drive of the 2007 iMac. This is by no means the only way to accomplish this.

You will need a linux installer that offers a Command Line Interface (CLI). I chose the Debian firmware-10.7.0-amd64-DVD-1.iso file.

Transfer the file to a flash drive. I happened to have a 4 GB USB 2 flash drive and a 2011 iMac computer. By using the diskutil list command, I determined the identifier for the flash drive was disk1. The commands below were used to transfer the file to the flash drive.
diskutil unmountdisk disk1
dd if=~/Downloads/firmware-10.7.0-amd64-DVD-1.iso of=/dev/rdisk1 bs=1m

Download the mini.iso file.

Transfer the mini.iso file to the flash drive. The output from the ls -l ~/Downloads/mini.iso ~/Downloads/firmware-10.7.0-amd64-DVD-1.iso command is shown below. From the output, one can compute the mini.iso and firmware-10.7.0-amd64-DVD-1.iso files are 76 MiB and 3,772.3125 MiB long, respectively. (1 MiB = 1,048,576 bytes)
-rw-r--r--@ 1 davidanderson  staff  3955556352 Jan  5 16:10 /Users/davidanderson/Downloads/firmware-10.7.0-amd64-DVD-1.iso
-rw-r--r--@ 1 davidanderson  staff    79691776 Jan  5 16:07 /Users/davidanderson/Downloads/mini.iso

The output from the diskutil info disk1 | grep Size command is given below. From the output, one can compute the flash drive has a capacity of at least 3,853 MiB.
   Disk Size:                4.0 GB (4040748544 Bytes) (exactly 7892087 512-Byte-Units)
   Device Block Size:        512 Bytes

From the outputs shown above, I determined the command given below would copy the mini.iso file contents to a location above the contents of the firmware-10.7.0-amd64-DVD-1.iso file. (Note: 1m is 1 MiB = 1,048,576 bytes)
dd if=~/Downloads/mini.iso of=/dev/rdisk1 bs=1m seek=3773

Enter the command given below to eject the flash drive. Remove the flash drive.
diskutil eject disk1

Insert the flash drive in a USB port of the 2010 Mac. Start or restart the Mac and immediately hold down the option key until the Mac Startup Manager icons appear. Choose the external drive icon with the label EFI Boot. When the image below appears, pick Advanced options ..., then select ... Rescue mode.

Continue until a similar image to the one below appears. Pick Do not use a root file system, then select Execute a Shell in the installer environment and finally, <Continue>.

At this point, you should be able to enter commands.

Enter the command given below to transfer the contents of the mini.iso file to the internal drive. (Note: 1M is 1 MiB = 1,048,576 bytes)
dd if=/dev/sdb of=/dev/sda bs=1M count=76 skip=3773

Enter the command given below, then turn off the Mac and remove the flash drive.
exit

Update 2: Installing Ubuntu Server 20.04.1 LTS
I did use the Debian firmware-10.7.0-amd64-DVD-1.iso file to test if the mini.iso file would boot from the internal drive. However, IMO this is not a good method for installing the Ubuntu Server 20.04.1 LTS, for the following reasons.

The software need to install Ubuntu Server 18.04.5 LTS takes a long time to downoad.
The Ubuntu Server 18.04.5 LTS release is installed instead of the Debian Server 20.04.1 LTS.
Upgrading to the Ubuntu Server 20.04.1 LTS take a long time to complete.

I would recommend installing the Ubuntu Server 20.04.1 LTS by using a method similar to this answer. Some of the differences are given below.

You will be installing ubuntu-20.04.1-legacy-server-amd64.iso, instead of firmware-10.7.0-amd64-DVD-1.iso.
You will need to substitute vmlinuz and initrd.gz for the ones used in the linked answer..
Since up have a 64 bit EFI, you need to use firmware-10.7.0-amd64-DVD-1.iso file instead of firmware-10.7.0-i386-DVD-1.iso file.

I tested installation by using a 2007 iMac. When first booting to Ubuntu Server 20.04.1 LTS, a login prompt did not appear on the builtin display. This problem was solved by appending the following line to the /etc/default/grub file.
GRUB_GFXPAYLOAD_LINUX=text

Note: You will have to boot Ubuntu from recovery mode in order to login. Or, you can use ssh from another computer to login.

After appending the line, the command below needs to be executed.
sudo update-grub

The installer was unable to provide the software for the Broadcom wireless hardware. The problem was solved by executing the command give below.
sudo apt-get install firmware-b43-installer

Using the ubuntu-20.04.1-legacy-server-amd64.iso file, to install Ubuntu server on your Mac, is beyond the scope of your question. In other words, your question asked about the mini.iso file. If you want a more detailed answer with respect to using the ubuntu-20.04.1-legacy-server-amd64.isofile, then I suggest posting a new question.
References
Linux Wireless
b43 and b43legacy
GRUB/Tips and tricks: Disable framebuffer
Ubuntu Installation Guide
GNU GRUB Manual 2.04: 6.1 Simple configuration handling


invalid ISO file created by disk util? In order to install Windows XP on Virtual Box at my new MacBook Air, I need to create an ISO file of my WinXP install CD. My Laptop (MacBook Pro / Lion) comes with the Mac Disk Util and that app can create ISO files from CD media. The problem was, after creating such a ISO file with that DiskUtil (using New image... -> CD/DVD-Master -> renaming to *.iso) that file wasn't readable by Virtual Box ;-( I've tried 3 various options but without any success.
After that, I tried it with command line only

dd if=/dev/disk1 of=WinXP.iso

But this file wasn't readable by VirtualBox too ;-( Also my muCommander, which can 'read' plain ISO files by step into like for directories, showing empty content. So something must be wrong with that ISO file. Finally, I come to a real weird solution: I've already has installed WinXP on Virtual Box at my MacBook Pro. I've installed ISOWorkshop, a freeware for creating ISO files from disc media. With that tool, I create the ISO file of the WinXP install CD (under WinXP on Virtual Box at MBP), copied that file to the MacBook Air, and use that ISO file for creating the WinXP VM under Virtual Box.... Oh my god ;-)
But the performance of the MBA is incredible: The whole installation was estimated with the famous '37 minutes' which was a  good approximation in the past for my machines. Today it was finished after 6 minutes !!!

Does anybody know, why the ISO files created by the Mac Lion Disc Utility are not 100% compatible with standard, or at least unusable for Virtual Box ?

Kind regards

Dominik

It sounds as if you created an empty disk image. To create an ISO/disk image of your disk you have to select the volume (selecting the drive may work too) in the left pane of "Disk Utility" and then click the icon "New Image" or «File» → «New» → «Disk Image from "XYZ your volume name"»

For CD/DVD-ISOs make sure to select "DVD/CD master" as Image Format in the upcoming dialogue and no encryption.

Now your CD or DVD will be saved as an ISO-image with the extension .cdr - you can rename it to .iso if needed.


ICS invites are added to calendar, but no acceptance sent I am working with iCloud, iPhone and Macbook Pro on Yosemite.

I receive ICS calendar invites via mail from a user using Outlook. When I click on the ICS file in the mail, it opens and I can add it to my calendar without a problem. It also syncs nicely on all my devices.

However, the sender of the invite does not get a confirmation, in the meeting properties I'm shown as "did not reply". When I open the invite in my calendar, I have no option to accept or send a notification.

In short: ICS invites are added to my calendar but the organizer does not receive a notification.

How can I send an accept notification?

Open the Contacts app, select your own email address in the list of contacts. In the menu on top of the screen, go to "Card" -> "Make this my card". Ensure your email address is entered as part of your card. Reload calendar. Then it should work, you will get a notification popup with accept/decline buttons. (I just had the same problem, on a Mac running Yosemite)
Source


Downloaded a torrent of cracked software – think my Mac is now infected So I downloaded a torrent of Apple Final Cut Pro.

There was a quick pop of either Terminal or Green looking terminal. The said application (green Terminal) opened and close, opened and close, and so on for a short period of time. It looked fishy so I didn't know whether it's a virus or not.

Can someone help me. Am I safe? Should I factory reset?

You are not safe. Your personal documents, contacts, and private information are at risk.

The behaviour you are seeing is not part of Apple's Final Cut Pro. The odd terminal like behaviour suggests you do have a rogue process or application on your Mac.

Search for a guide about how to remove malware and viruses from your Mac.


Use internal speakers while headphones are plugged in to iPod touch 5th generation An audio plug that was used to connect to speakers is stuck in the audio jack of my iPod touch 5th generation and I can't get it out.

Is there a way to change the settings so I can only use the internal speakers, or is there an app that would let me switch to using internal speakers even though headphones are plugged in?

No. Only if you remove the object and the switch that detects the object resets to the normal position will the internal speaker option come back.

See these threads for more details.

Why are my Macbook's internal speakers not available?
Use internal speakers with others plugged in


How do I set site restrictions on iPhone? I would like to restrict some sites on my iPhone?

How it would be possible? (if it is)

From here

General

Once you are in the settings, go directly to the general tab.

alt text http://www.theiphoneblog.com/images/stories/2009/04/parental2-266x400.jpg

Restrictions

Tap the restrictions tab and once on that screen choose enable restrictions.

alt text http://www.theiphoneblog.com/images/stories/2009/04/parental3-266x400.jpg

You will now be asked to enter a 4 digit passcode. Do not forget this passcode, there is no way to retrieve it, and a full restore (re-installation) of the iPhone is needed to reset it.
Restriction Options

After you have entered your passcode, you will now have the ability to restrict any of the functions you see on the screen. Without going through each and every option, lets just take a look at Safari. If you turn off Safari and head back to your home screen you will see that the icon is removed and there is no way possible to reach that application any more.

To re-enable a function like Safari, return to the restriction page, authorize with the 4 digit passcode you entered above, and turn it back on.


Configure Native Notes.app to Use Monospaced by Default For every carriage return on a monospaced line, the following line resets to the default Body format. I used this post as a reference but everything's outdated and I don't find anything  else recent out there. What are your suggestions? Thank you in advance.

It’s currently not possible to set new notes to default to monospaced.
I’m not able to reproduce your issue though; if I choose monospaced from the format dropdown then return will keep the monospaced formatting until I manually choose Body formatting again. Check your OS is up to date (I’m on Big Sur 11.3 and iOS 14.5 and don’t have a non-beta install to test).


Does reinstalling Lion from Recovery partition delete data? I've decided my install of Lion is hopelessly botched. Spotlight doesn't work, kernel panics, etc etc etc. Want to reinstall. If I reinstall Lion from the recovery USB key I have, it will retain all my data correct? ie; not format the drive and reinstall.

No, Lion does not perform a format of the drive, it simply replaces the contents of your system with a default installation.

Once you install Lion again, all your files, your user information, account settings, installed programs, etc. will still be there.

Moreover, it does not leave a copy of your old system, like Snow Leopard before it.


adding a icon to home screen for a contact to facetime I want to add a icon to iPad/iPhone homescreen such that on clicking on it results in a contact's facetime call initiation.

the closest I could come up with is a facetime url as a bookmark which on click initiates a call something like

facetime://9999999999

however it sits on a browser bookmarks bar.

How much would that feature be worth to you?
FaceDialer, which I stumbled on while attempting to download smcFanControl, claims to be able to create those links, but is a paid app.


Why do I get back more disk space when I restart my Macbook on Mountain Lion 10.8.3? I frequently run low on disk space on my laptop.  When I'm down to my last gig or so on my 256MB SSD (as reported by iStat Menu), I'll get various warnings from the OS and apps saying that I'm running out of space.

I can empty my trash, which buys me a little more time, but eventually I will run out of space and won't have any more to empty in my trash.

The weird thing I have discovered is that if I reboot my mac, I get another 8-10 gigs of storage back for free.  After a reboot just now, iStat is now reporting 10.83GB free, and the Finder confirms it (reporting 10.96).

What I don't understand is where this storage is coming from.

At first I thought it might be related to Spotlight indices, since I've often noticed that spotlight has to re-index after a reboot.  However, after spotlight appears to finish indexing (as reported in the spotlight menu), the available disk space is still over 10 gigs.  So it's likely not spotlight.

The amount of space I get back is suspiciously close to the amount of RAM I have in my machine (8 gigs).  Could it be related to virtual memory?

My assumption is that somehow it's related to temporary cache files, but I don't know which or why, or how to clear those caches without a reboot.

So my question is: Why do I get back 8 to 10 gigs of storage space after a reboot when my hard drive runs low on space?

When the OS is low on memory it creates a file called a swap file, aka virtual memory on your hard drive, and in OS X this starts at some amount (I think 64 MB) then double as needed. So if you have 8 GB of RAM, you could end up with an 8 GB swap file. This is then deleted when you reboot.

You can read about it on http://en.wikipedia.org/wiki/Paging

Where the files are located and how to disable it: http://osxdaily.com/2010/10/08/mac-virtual-memory-swap/


How to remove /volumes/ from my automator service using existing shell script I have this shell script from here. Right now it outputs something like this:

File Path: afp://serveraddress.com/Volumes/Sharepoint/Folder/test.txt Parent Folder: afp://serveraddress.com/Volumes/Sharepoint/Folder

If I were to paste this into a browser it fails because of the /Volumes/ portion of the output.

Is there a way to use this same output but strip the volumes from the output? My current code looks like this:

toTheClipboard="File Path: afp://serveraddress.com$(echo $1 | sed 's/ /%20/g') Parent Folder: afp://serveraddress.com$(dirname "$1" | sed 's/ /%20/g')"
pbcopy<<<"$toTheClipboard"

This is how I'd do it:

toTheClipboard="File Path: afp://serveraddress.com$(sed -e 's: :%20:g' -e 's:/Volumes::' <<< "$1") Parent Folder: afp://serveraddress.com$(dirname "$1" | sed -e 's: :%20:g' -e 's:/Volumes::')"
pbcopy<<<"$toTheClipboard"


iOS 9.0.1 Unknown Error (-42585) What is it? When I try to listen to music on iOS 9.0.1 sometimes an error code comes up. The error is:

  The operation could not be completed
  An unknown error occurred (-42585)

What is it? What can I do to stop it? The music still works but this happens sometimes.

There are a whole raft of obscure error messages where your primary recourse is to contact Apple Support.

They have access to the engineering team that can look up a specific error message and they also have the best database of user issues that I'm aware of and can search for others with that situation.

You can also pay attention to if you're playing an Apple Music radio stream, or an iTunes match streamed song or a song that's copied onto the iOS device over USB from iTunes. Any raft of server errors like bad ssl certificates, missing files on Apple's servers would result in oddball error messages until the system can be updated with proper english errors like try playing another song.


iPhone 5c software update just loads? I have an iPhone 5c and works great. The issue is I try to update my iPhone but it will stay at the loading part for a long time and wont load. How do I fix this problem?

I had this same problem a few days ago. It kept me on the phone with tech support with my internet service for 2 hours, It's a problem with Apple's servers. My advice would be to restart your iPhone frequently and keep trying to update it. Eventually, it work, just keep trying because iOS 9 is worth the extra effort.


iPhone wifi connection log file? I have an iPhone 5s with the latest version of iOS.  The wireless (and bluetooth) card has stopped working (tested at the Genius Bar) just a couple weeks out of warranty.  Apple wants $250+ to replace the phone.

I wonder if I can determine when the phone last connected to a wifi network?  If I can determine that it has not connected to my home wifi prior to expiration of the warranty, Apple may have an obligation to replace the phone without charge.

Does a log file exist (and if so where can I find it) that would show the information I need?

Logs are available via Xcode, however they are overwritten pretty quickly in order to prevent from consuming large amounts of memory on the device.  Usually you can only get a few days worth of logs at most.  That means that the logs you are seeking have certainly already been deleted from the device.  These are the same diagnostic logs that are available at the Genius bar.  They are useful for troubleshooting current issues, but they are not usefully for determining how long you have had a problem.


Can my Mac be a wireless speaker? So there are several audio related things I do with my phone (which is not iOS) that I do while at my computer, and it'd be grand if I could play my podcasts or take my softphone calls on it. Is it possible with Bluetooth, or any other wireless method?

I don't know of any one OS X app that can do all of that for you, but here are a few recommendations.

Turn your Mac into an AirPlay Speaker

Airfoil from Rouge Amoeba works great for me to stream podcasts, music, radio, etc. from iOS devices to my MacBook Pro (Mid 2012). Note that you'll need to also install Airfoil Speakers which is a free, separate download (scroll down to "Airfoil Speakers for Mac"). The separate Speakers download requires the purchase of Airfoil, even though the download is free - think of it as an add-on to Airfoil even though it runs as a separate app. Further note that AirPlay is a one-way transmission and cannot be used as a speakerphone. See the next section...

Turn your Mac into a Speakerphone

Not sure what kind of softphone you have but check with your IT or phone system admin to see if there's a Mac client available. If there is, you'll also need configuration details from them so ask for that too (or have them set it up).

There are a couple of OS X apps that allow you to control your iPhone (and a few other types of phones) via Bluetooth but I've not had good luck with the reliability so I didn't purchase. I can't advise on those but a search online will turn up a few options if you'd like to try your luck. They've been around for awhile and are still under active development as far as I know.

Good luck!


Gmail account in Mail on SnowLeopard: how well does it work? I am using a gmail account in Mail (via IMAP) on Lion, and it works well. My dad just set up a gmail account and he is on SnowLeopard. Does a gmail account work correctly in Mail (also via IMAP) on SnowLeopard? If not, what are the issues?


How to add your university timetable to iCal? Is there a common way to add institutional scheduling information (such as an individual's university course schedule or timetable) to iCal? In what format would it have to be published to be importable into iCal?

In other words, would it be possible for iCal to know what times during the day your availability is set to 'Busy' so that it warns you when creating appointments during those times?

Some schools provide CalDAV links or iCal subscriptions for their events calendars.   Often this will show up as an RSS feed link somewhere on the page that contains the calendar.

You may need to ask this question of the Technology Department folks or whomever manages the events calendar.

Also, if you need to provide access credentials in order to get to the calendar, expect to run into some problems. iCal doesn't know how to do this.


Fastest way to get an image from Skitch into OmniFocus? What's the fastest way to get a screenshot from Skitch into OmniFocus?

When you drag and drop an image into OmniFocus, it only creates a link to the image, rather than embedding it. One way to do this is to drag and drop the image from Skitch to finder, and then from finder to OmniFocus by holding down the command key, but this is tedious, especially when I need to do it many times. Another way is to drop onto finder, and then right-click and choose to attach and embed in OmniFocus, but this too is time consuming.

Is there any way to drag the image directly from Skitch into OmniFocus and have the image be embedded in the task?

AFAIK, you can't do it without AppleScript.

Here is my way to do this:

on adding folder items to this_folder after receiving added_items
    try
        repeat with i from 1 to number of items in added_items
            set this_item to item i of added_items
            tell application "Finder" to set file_name to (name of this_item)
            tell application "OmniFocus"
                tell quick entry
                    open
                    set NewTask to make new inbox task with properties {name:file_name}
                    tell the note of NewTask
                        make new file attachment with properties {file name:this_item, embedded:true}
                    end tell
                    activate
                end tell
            end tell
        end repeat
    end try
end adding folder items to

Save this AppleScript to /Library/Scripts/Folder Action Scripts/Add File To Omnifocus.scpt You must use root access. (Download script)
Create a folder under your Documets folder
Right-click on this folder, and select Services>Folder Actions Setup
Select the "Add File To Omnifocus" script

Now you can drop any file to this folder(I keep it in my Dock) and it automatically create a QuickEntry Task with embedded attachment.

I hope this could help you.


How can I find out why I have monthly charges from Apple/iTunes on my credit card? I am being charged monthly and I have bought nothing.

PURCHASE AUTHORIZED ON 04/10 APL* ITUNES.COM/BI 866-712-7753 CA **************** CARD ****      $9.99

My children do not have access to iTunes, my iPhone is the only thing attached to my account. How can I determine the cause and have it stopped?

Apple has instructions for your situation located at itunes.com/bill:

Compare your purchase history with the charges on your credit card and bank statement.
Check the status of your subscriptions.
Check all of your Apple IDs.
If you share your device with others, including young children, learn how to manage your password preferences.
Anyone who has your Apple ID password is able to make charges to your account. If you have unauthorized charges, change your Apple ID password.
If you compare your credit card or bank statement to your purchase history and still don't recognize the charge, contact Apple Support. If you don't use your Apple ID to make purchases from the iTunes Store or App Store and see charges on your statement, contact Apple for help with Apple ID account security. If you think you're being billed twice for the same item, it might be a payment authorization hold and not an actual charge. The charge will disappear after your purchase clears.

If you have followed all these steps, there may be a possibility that your card number was stolen. Call your bank and dispute the charge. Do note that if this purchase was indeed done on one of your accounts and you do a chargeback, you risk getting locked out of that Apple account.


How can I downgrade from Mountain Lion to Lion? Possible Duplicate:
  How to revert to Lion from Mountain Lion?

How can I downgrade from Mountain Lion to Lion ? I need to download Lion again... thanks

I suggest you to do a complete backup with time machine, then formatting, install lion and restore all the data (including application and preferences) from time machine backup.

If you cannot download lion from app store, you have to search it on the web....


Macbook pro not turning on I have 2016 MacBook Pro non-touch bar model. One day while using it I connected charger with it and as I connected charger it shut down.
I tried to turn it on and tried SMC reset but it did not turn on.
It has been 3-4 months and I have still not able to turn it on. When I put macbook on charging I feel vibration on its body that we normally feel while charging so I think it is atleast charging and not complete dead. But it is not turning on.
Can someone please help me understand what can be issue.

There is no sensor to detect moisture that will shut down  a Mac.  There are moisture indicator strips that will let a technician know if it was exposed to liquid, howver.
Now, if you got the MacBook wet, it can cause damage to the logic board where it will stop working.  Note that I didn’t use the term “shut down.”  This is because liquid damage can short out electrical contacts causing the machine to simply power off where you lose data unlike a shut down that cleanly turns off your computer.  It’s like pulling the plug on a desktop machine.
It may be too late, but you should still review this post:  What procedure should be followed post spilling fluids onto a MacBook keyboard?
The fact that it doesn’t turn on at all means you need to take it in for service.


Downgrading from OS X Mountain Lion to Snow Leopard gets stuck at Apple logo I have a Mid-2010 MacBook Pro which one year ago I upgraded from the default Snow Leopard to Mountain Lion. However, now I want to downgrade to Snow Leopard again.

I made a USB thumb drive formatted as MacOS (External Journaled) to install Snow Leopard again (my CD drive doesn't work, that's why I made the USB flash drive).

Anyway, when I'm trying to boot from the USB drive with the Option key and press the MacOS Install DVD icon, it gets stuck on the Apple logo forever.

My question is, do I have to first erase Mountain Lion completely and then try installing from the USB drive or is this a kind of a hardware problem? I'm thinking of formatting my hard disk but I'm scared of the Apple logo getting stuck again.

The reason you can't boot from from the USB stick may be because it's a version of Snow Leopard that predates the one your Mac shipped with. Is the source version of Snow Leopard you're using a retail disc?

Also, downgrading directly from a newer OS is not supported behaviour. I've seen it attempted successfully (at least superficially) on a few occasions and, among other things, the OS does downgrade but the data doesn't. So iCal's data is geared up for the newer OS, etc etc.

So. The only way you're going to be able to do this properly is going to be by wiping your internal hard drive with Disk Utility, installing Snow Leopard, then setting everything up from scratch (manually installing your apps, moving important data, etc). I know it sucks, but it's going to be the only way everything will work properly.


Can I snap windows to fill 1/4 of the screen like in Windows? I know you can 'pin' two windows left/right on Mac through the full-screen option but is there no simple shortcut like on Windows, to resize/move just the current window top/left and bottom/right? In Windows you can easily get up to 4 windows neatly arranged and I am struggling to believe Windows is ahead of Mac in terms of user interface... so how can I do this?

There’s an App that I use to gain the Windows “snap” like functionality in macOS - Magnet

There are a number of configurable shortcuts that allow you to snap Windows in halves, thirds, quarters, etc.  It costs $2USD, but is well worth the price


"YouTube Kids" is cleaner than regular YouTube. Sadly, I haven't found any method of disabling autoplay. If it's possible, how can I disable autoplay? My question
How can I disable the YouTube Kids autoplay feature — on iOS, on MacOS, or on any other platform?
Please assume:

I own a non-jailbroken iPhone.
I have administrator rights on my computer.
I can freely install any desktop browsers, mobile browsers, extensions, and/or userscripts that you want me to install.
I can also install uBlock Origin on my computer, and can create any custom element-hiding or script-blocking rules that you suggest.

Background to my question
"YouTube Kids" is YouTube's official interface for kids 12 and under. It isn't 100% safe for kids, but it's still cleaner than regular YouTube.
Children can watch YouTube Kids through the iOS app, through the Android app, or directly on the website.
It looks like autoplay is always on, and there's no way to shut it off. This means that, after one video finishes, the next one starts automatically. I think this is a suboptimal design, especially for kids. Various sources suggest that autoplay makes the service more addictive and mind-numbing.
I've looked in the parental settings and the kids' settings, and have found no way to disable autoplay.
There's a "timer" feature which lets you schedule the app to stop working in a configurable number of minutes from now (e.g. 30 minutes), but setting a timer is not the same as simply disabling autoplay.
This article indirectly implies that, on iOS, it may be possible to disable autoplay. But maybe that article is outdated and it's impossible nowadays.
Edit
I've made a Reddit post. The post asks about the idea of somehow using uBlock Origin to disable autoplay in the YouTube Kids web app. If that doesn't work, maybe I'll ask some userscripting community.

I checked on iOS 12.4, YouTube kids app, there's no feature for autoplay settings. It is "on", on web and on app.  Alternatively, I am not very experienced in user scripts, but can suggest a potential, easy algorithm.

When the current video time = (total video time - 1) seconds, pause video.

I have no idea how to write it, but you can get help from sites like

https://greasyfork.org/en/scripts/by-site/youtube.com?site=youtube.com&q=autoplay
Github etc.

Do note that some Safari versions might resist installing user scripts, but if you have uBlock origin installed, your version should be good to go.


Double NAT error on new AirPort Express I live in an apartment complex with a single network connection. The address is given to me from the complexes shared router as a DHCP address - this is where the ISP has our complex's modem. My neighbor also has an AirPort Express and I think I may be getting conflict with his... in my AirPort Utility, I can see his "horizontally" in line with mine connecting to "Internet", not vertically.

If I connect straight from my computer to my network wall jack, I can browse to my hearts content... I have a solid speed and all is well. If I plug in my AirPort Express to the jack, I get solid green on the Express as well as on the "Internet" icon in my AirPort utility (hardwire connection from my laptop). As long as my laptop's wireless radio is off, I have a solid connection. If I try to connect WiFi from my iPhone 4 or turn on my WiFi radio on my laptop, I get an intermittent wireless connection and spotty internet.

I also keep getting this DUAL NAT message on my screen.

Let me know if you think you may know.

[10/15/2012 - I will do my best to get a screenshot]

You're connecting a router to a router, so you will get dual NAT.

The shared router is translating the single IP from the ISP into a shared network for you all to use. If you connect a second router to this to connect multiple devices, then you are creating a second network, and network address translation (NAT) is happening twice.

I'm not sire if the airport express supports bridged mode, but you could try this to see if it will allow you to connect multiple devices over Wi-Fi with the main shared router distributing the IP addresses. If you can do this, it should solve your dual NAT problem.

Dual NAT shouldn't however cause intermittent connection, that's more likely interference from other nearby Wi-Fi devices, so I'd suggest selecting different channels (if possible) until you find one that gives you a more stable connection.


How can I stop an iPod from upgrading the iOS once it has already started the download? I accidentally clicked to upgrade from iOS 7 to iOS 8.1.1. The problem is, I am a developer and want my device to remain at iOS 7 so I'm testing with the same OS and browser version that my corporate users are using in the field. However, there is no "Cancel" button (seriously, Apple? ...seriously? )

I tried shutting the device off and turning it back on, but it resumes the download after it's restarted. Same with turning WiFi on and off. I need to stop it permanently.

I read this macworld.com article that discusses how to revert back once you've upgraded, but at the top it specifies that it no longer works: "Update: The technique outlined here for reverting to iOS 7 no longer works as Apple has stopped signing versions of iOS prior to iOS 8."

I did read one "hacky" way to prevent the download from completing by leaving the video recorder on so space fills up and it can't finish. Is there a better way to do it?

(Hopefully this question is in the right place w/right tags - I haven't posted in this SE before)

Turn off wifi.  Reset All settings.  Phone reboots and download is canceled.


Why is the volume so low on a Mac Mini 2018 minijack output audio when to connected to a receiver? I have a Mac Mini 2018 that I sometimes connect my headphones to. They work just fine. No issues with volume.

But if I connect the Mac Mini to a receiver (a Denon AVR-2106) via the minijack with a 3.5mm to RCA cable, then the volume on the speakers connected to the Denon is too low.

The volume on the Denon is in dB and starts in negative number (never understood why) and I have to crank it up to 0db and then I can barely hear the audio from the speakers. Also, I have to max the output volume setting on the Mac.

What gives?

This is because the jacks on the Mac are not line level inputs/outputs.

I wrote an answer to a question in a similar vane that addresses this in much more detail: Use 3.5mm jack as line in for a musical instrument

But, to summarize it here, the audio jack is putting out a signal in milivolts that enough to drive a simple microphone, a headset or some small speakers.  When you connect to the line input of a piece of AV equipment, it's expecting a much higher voltage - ~1.5V.  So, what you need is something that acts as a pre-amp.


Mac ports installation of gcc46 failing due to architecture problems When trying to install gcc46 on OS X 10.6.4 using port (MacPorts 1.9.1) i get the following errors:

artemis:foo$ sudo port install gcc46
Error: Cannot install gcc46 for the arch(s) 'x86_64' because
Error: its dependency gmp is only installed for the arch 'i386'
Error: and the configured universal_archs 'ppc i386' are not sufficient.
Error: Unable to execute port: architecture mismatch

MacPorts was freshly installed on the 10.6 system.

Any suggestions on how to resolve this or how to install gcc46 for i386?

(Previously asked and as of now unanswered on SuperUser.)

For some reason the universal_archs configurations was wrong. An answer on SuperUser now worked:

in /opt/local/etc/macports/ copy macports.conf.default to macports.conf
make sure universal_archs in it is set to x86_64 i386
now go for clean installs, e.g. by following the migration instructions


How can I access my Time Capsule remotely with iCloud? Before, with MobileMe, I was able to backup and access my Time Capsule anywhere in the world because I had my MobileMe login stored in my Time Capsule, and my MobileMe entered into my mac.

So when I was at home it would backup through the local network and when remote it did it through the internet.

Once upgrading to iCloud this broke (even though I entered my iCloud info into the time capsule).

Apple apparently fixed this with an update:

The latest Airport Base Station Update 7.6.1 "provides support for remote access to an AirPort disk or a Time Capsule hard drive with an iCloud account."

However, I'm still unable to do it. Is there instructions some where on how to do it with the latest Airport Utility / iCloud?

Note, yes I could do it with port forwarding but that would require that I have a static IP and like most all residential users I don't have a static IP and can't afford to pay 180+ for a business account to have one. And yes, you can use something like DynDNS but that only works if you have an extra computer at home and that its always on. I only have one machine and its my laptop that I bring with me. MobileMe acted like a DynDNS on the Airport to make Back2Mac work and supposively iCloud should do the same.

Also in Airport Utility next to my iCloud login it shows a green icon (so it's connected).

Thanks in advance!
MacBook Pro (15-inch Late 2011), Mac OS X (10.7.3)

Make sure that you have a clear path to the Internet in terms of firewalls, and ensure that TCP port 5354 and UDP ports 4500 and 5353 are open and unrestricted.

Once you've done that, make sure you are logged into iCloud on your computer, and that the remote Time Capsule is on (also making sure those ports are unblocked on that end). Your disk should now show up via AFP in the Finder sidebar!

Also try these steps from the Apple Support Article about troubleshooting Back to My Mac.

    Update all your Macs to OS X Lion v10.7.3 or later (OS X Lion v10.7.4 or later is recommended).
    Choose System Preferences from the Apple () menu. Open iCloud System Preferences and check that Back to My Mac is enabled. See if any diagnostic messages are provided under the Back to My Mac section to assist you with troubleshooting and resolving any connection issue.
    Toggle Back To My Mac off and back on by deselecting and then reselecting Back To My Mac in iCloud System Preferences.
    Make sure the computer you are trying to connect to is not sleeping and is set to Wake on Demand. For more information about Wake on Demand, see this article.

    If you are using an AirPort base station, make sure your firmware is up-to-date (open AirPort Utility 6.0 or later).
    Check your network for a multiple NAT setup and reconfigure your network as needed.
    Make sure NAT-PMP or UPnP is enabled (if you are using an AirPort Extreme Gigabit Ethernet base station, click here for information about AirPort Extreme Gigabit Ethernet and NAT PMP).
    Ensure TCP port 5354 and UDP ports 4500 and 5353 are open on your firewall. To learn more about ports used by Apple products, click here.

Note: Perform these steps only if you've verified the information in the previously listed troubleshooting section is configured correctly.

    Open Keychain Access located in /Applications/Utilities.
    Choose the System Keychain in the Keychains list on the left.
    Sort the Keychain list by Kind.
    Select all keys listing the "Back to My Mac Key."
    Delete the selected keys. You will be prompted for your machine's administrator password.
    Quit Keychain Access.
    Choose System Preferences from the Apple () menu. Open iCloud System Preferences.
    Toggle Back to My Mac off and back on again by deselecting (if still selected) and selecting the checkbox.
    Once Back to My Mac connects, quit System Preferences.


Can I display notifications on my non-primary monitor? Or on both displays? This issue has plagued Growl for ages.  And ML's track record with multiple monitor support isn't great.

But it's worth asking: can I display notification center's badges or alerts on multiple displays, or on the non-primary display?  Plist tricks?

In Growl perferences, under Displays you have a screen dropdown to choose with screen you want the notifications to appear on. The screenshot is from Growl 2.0.1.


Apple doing anonymous data exchange in Mac? I've realized today that my iMac is sending/receiving(mostly send) some anonymous data over the internet(almost 500MB today), I checked with Little Snitch and found these addresses are consuming data on my Mac:

p24-caldav-current.edge.icloud.apple-dns.net,
 p24-caldav.icloud.com,
 p24-ckdatabase-current.edge.icloud.apple-dns.net,
 p24-ckdatabase.icloud.com,
 p24-contacts-current.edge.icloud.apple-dns.net,
 p24-contacts.icloud.com,
 p24-escrowproxy-current.edge.icloud.apple-dns.net,
 p24-escrowproxy.icloud.com,
 p24-keyvalueservice-current.edge.icloud.apple-dns.net,
 p24-keyvalueservice.icloud.com

As soon as i blocked them out, My mac stopped eating traffic!

What are these and why would apple exchange such amount of data ?

I see this question is a year old, but I was just researching the same thing and thought I'd share my answer.  I have used Little Snitch for years, but only began seeing the connection alerts referred to by OP after I turned on iCloud Sync in System Preferences.  If you have this option selected, I can confirm that this traffic can be attributed to your files being backed up to iCloud Drive.

If you always use the same network configuration and/or are not overly conscious about security and privacy, allowing and whitelisting those hosts and/or IP addresses is perfectly fine.  But if you're running software like Little Snitch, then one might infer that you are at least more conscious about your anonymity and security than the average user.  If you are reading this and nodding, then I would suggest creating a new "Profile" in Little Snitch.  Furthermore, if you have access to a VPN or proxy, activate the "APS" (Automatic Profile-Switching) feature. Profiles can be toggled manually, or automatically (when you switch networks), whenever one wishes to regulate network connections more strictly.  This is useful for many reasons.  Some may simply wish to cut down on bandwidth-hungry, resource-intensive background processes.  Others may wish to anonymise themselves from censors, ISPs, advertisers, data-miners, governments, or other parties that could tie you to your internet use by logging your traffic, IP and geolocation.

Until last year, I might have doubted that Apple's logs of iCloud, iTunes, and App Store traffic would be employed to tie users to unrelated internet traffic.  But these logs, willingly provided by Apple, proved instrumental to the arrest of alleged "Kickass Torrents" domain owner [1] [2].  So now whenever I am torrenting, I am have Little Snitch switch to a new profile specifically for my VPN.  For more details, here are a few ideas.


How to create backups of DVD software discs? I'd like to make some backups of my software DVDs that I can use to install the software again in case they are lost or get damaged. What's the best way to do this? Is it creating a .cdr disk image of the DVD using Disk Utility?

Note that some are multiple install DVDs i.e. a set of 9 or so DVDs.

Thanks,

Osu

A good way to back up of software CD/DVD install media is to create a disk image for each disk you want to back up, then you can store those disks images on a backup hard-drives, etc. The '.cdr' format is essentially a .iso which is the industry standard way of representing software disk images, so its a pretty good universal choice, that works on many platforms.

To create a disk image for an optical disk using the Disk Utility Application:

Open the Disk Utility Program
Insert the CD/DVD you want to create a disk image for.
Select the mounted CD/DVD disk under the "Super Drive" dive icon.
Click the Unmount button.
Select the the unmounted CD/DVD disk, by clicking once on it.
Select "File" menu > "New" > Disk Image from  "YourCD/DVD Disk"
Set where you want to save the disk image and select Image Format: "DVD/CD master" plus any other options you would like, and the press "Save"


How to fetch an AirPort/Wi-Fi password using /usr/bin/security I have been trying to use /usr/bin/security rather than hard coding login/password information into scripts. For example, here's how you get the password for 'pinboard.in'

security 2>&1 >/dev/null find-internet-password -gs pinboard.in |\
grep '^password: ' |\
sed 's#^password: "##g ; s#"$##'

(Note: Someone who is better at grep/awk can probably combine those last two lines, just be sure to consider for when a password may have a " in it — or a space.)

What I can't do is figure out how to retrieve the password for a Wi-Fi network if all I know is the SSID.

I have even tried specifying the kind of data I am looking for with -D:

security 2>&1 >/dev/null find-generic-password -D "AirPort network password" -s MySSIDhere

but all I get is this

security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.

All I have found via Google has been about adding SSID password information on the CLI, but I want to retrieve it.

I got my password with

security find-generic-password -D "AirPort network password" -a YourSSIDhere -g

Main difference is -a SSID. I found that in which field it was stored by letting security take a dump:

security dump-keychain


"Open with" equivalent on Mac I have a very simple problem and I thought the solution would be simple. However, I do not see any straightforward solution to this problem so far.

I have a CSV file and in Windows world you can always Shift + Right Click on this and it will give you option for Open With and you can view the same file in either Notepad++ or in Excel depending on your preference. On macOS I have a CSV file and that file is opened in Excel format no matter what I do. I am trying to view the file in Notepad without any luck.

Any ideas?

In order to open a file with a specific program, you can right click the file and hover over the Open With menu item that appears.

First, find the file in Finder, then right click the file. From the top, the second option will be Open With. You can hover over that menu item to see a list of every app that the system knows can open that particular file.

At the very bottom of the menu containing the list of apps, there will be an item titled Other.... This allows you to choose any app on your Mac to open the file with.


Does taking keys off of a MacBook keyboard void warranty I have some friends that try turning my MacBook Pro off (I always do it back to them if they do :) ).

My question is to make it harder for them to do that I could remove the power button key from my Mac. Would this void the warranty or not? I want to know this because I got AppleCare and do not want to waste that money

Assuming you signed the AppleCare plan on the US, this is what the legal document states:

  4. What is not Covered?

  (ii) Damage caused by (…) (b) accident, abuse, misuse, liquid contact, fire, earthquake or other external cause, (c) operating the Covered Equipment outside the permitted or intended uses described by the manufacturer, or (d) service (including upgrades and expansions) performed by anyone who is not a representative of Apple or an Apple Authorized Service Provider (“AASP”);

I'm not a lawyer, but abuse and misuse may be applied to removing keys.
You may get away with it if you present it as an "upgrade", and you are an Apple Authorized Service Provider :)


Are finder tags case-sensitive? OS X Mavericks introduced file tagging to Finder and the filesystem. Are these tags case-senstive? For example, could I have an Apple and apple tag?

No.

I am able to seemingly tag files with differently cased words by opening the Get Info window on each file in Finder. However after I save and close each window and inspect the tags for each file the tag that was saved first overrides the other differently cased tag.

Note: this is with the default case-insensitive filesystem. I have not tested this on a case-sensentive filesystem.


How to reset Mac user password while having working TouchID access Do to the some reason I have not figured out yet, after having changed my MBP password (via the boot screen password expiration overlay triggered by jamf) I can't seem to authenticate with either the old or the new password, yet I can still use my TouchID to login.
How can I reset my password given that I am still able to authenticate with TouchID?
I assumed that getting a root shell would allow me to reset the password with passwd but can't get past sudo -i without a valid password.
Since I can authorise with TouchID I tried opening the root terminal with applescript:
do shell script "/usr/bin/open -a iTerm .  & > /dev/null 2>&1 &  " with administrator privileges

The script triggers the ootb GUI authentication dialog which I can approve with TouchID, and it shows the iterm2 terminal window in root mode, but the window is not interactive, i.e. it does not accept any keystrokes.
Is there any possible solution out of this other than backing up everything while I still have access to files, and then reinstall the OS from scratch? (FileVault is enabled.)

Proceed at your own risk
You can try to add TouchId as a method to authenticate sudo.
In Finder go /etc/pam.d/, copy sudo to your desktop.
Edit this file in a text editor and add auth       sufficient     pam_tid.so as top line. It should look like:
# sudo: auth account password session
auth       sufficient     pam_tid.so
auth       sufficient     pam_smartcard.so
auth       required       pam_opendirectory.so
account    required       pam_permit.so
password   required       pam_deny.so
session    required       pam_permit.so

Now copy this sudo file to /etc/pam.d/. Finder will ask you if you want to replace the existing file. If you select replace, Finder will ask you to authorise the action via TouchID.
From that point on you can invoke sudo with TouchID.


How to disable the warning when saving names that begin with a dot? I get a warning when I try to save a dotfile. The warning message is:

How can I disable this?

You can't easily disable that on OS X. You can easily set up a folder action to rename files you save once they hit the filesystem. It's clunky, but better than renaming things by hand.


Is it possible to have more than one active windows on Lion? I am in a situation where I really need to have multiple windows to be active simultaneously. I know it is against the optimization principle of most operating systems, but is it possible?

Here is my story: I will be presenting a network project this weekend at somewhere far from my university. We have a working demo that shows a synchronized car racing game. Ideally, to present our demo I need at least two Macs: I can make our demo run on all machines and show the effect of synchronization. However, I have only one Mac - my laptop. So I came up with a solution: to run multiple instances of our demo software on my laptop. I tested it and it worked fine. Although it's networking on the same machine, it is still networking. But the problem is: Lion would only give me one active window at a time. I can switch between windows of couse, but only the currently active window would update, other windows just remain static. To show a synchronized game, I need multiple windows to be active - I want the multiple demo windows to update simultaneously, as if they were on different machines.

To re-state my question: I want to place, say four windows on my screen and I want all of them to be active windows. Is that possible at all on Lion?

Although it doesn't work with all of the applications, you could use the flag -n for the Terminal's open command.

  -n  Open a new instance of the application(s) even if one is already running.


Set Bitcoin.app to mount image before opening itself I have all the BitCoin data encrypted on an image on Dropbox. Is it possible to have a script that mounts the data right before I open the BitCoin.app ?

No script needed. Store the app in the DMG. Keep the app (alias) in the Dock. Launching the app via the Dock will mount the DMG.


Bluetooth Device Shows Up In Menu But Not In Preferences I have an issue where an old iPhone I no longer own shows up in the Bluetooth menu but not in the bluetooth preferences. Screenshots below. Anyone else experiencing this? How to go about removing the item "iPhone-FFFV" below?

I just had this same issue (device shows up in Bluetooth menu bar but not in System Preferences pane) on OS X 10.10.1 after replacing my iPhone, but I found another way to remove the old device, without editing or deleting the plist file.

Many system menu bar icons support advanced menus if you hold the Option key when you click them (for example, choosing an AirPlay device under audio, or seeing wifi modes and noise for your current network).  When holding Option and clicking the Bluetooth icon, there is extra information including my bluetooth hardware address, a "Create Diagnostics Report on the Desktop" item—and each device's submenu has its hardware address, signal strength, and a Remove button.  Worked great, no reboot required!


Microsoft Excel on Mac Error VBA Run-Time 1004 on Application Open - Endless Loop - Cannot Use Excel When Excel is opened - no matter the document - there is a run-time error as shown in the picture below
clicking on End does nothing but brings up the same error window again, causing a loop that causes Excel to not be usable. Please advise. Thanks! This is Excel on Mac. I tried re-installing already.

Solution is posted here:
https://support.microsoft.com/en-us/help/975724/excel-for-mac-error-the-application-microsoft-excel-quit-unexpectedly
Delete entire folder that ends in .office


Add SD card to Fusion Drive in MacBook Pro 12,1 I want to know if it's possible to add a 128 GB SD card to my MacBook Pro 12,1 (13-inch Retina, early 2015) and make 250 GB Fusion drive.

$ sudo diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            120.5 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1 (internal, virtual):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           +120.5 GB   disk1
                                 Logical Volume on disk0s2
                                 D3021BC9-8BCA-40BA-9B7C-07F28BDE678B
                                 Unencrypted
/dev/disk2 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *129.8 GB   disk1
   1:                  Apple_HFS Transcend               129.8 GB   disk2s1

$ sudo diskutil cs list

CoreStorage logical volume groups (1 found)

Logical Volume Group 878F63CA-69DB-43F2-8708-271D776049F5

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

    Name:         Macintosh HD
    Status:       Online
    Size:         120473067520 B (120.5 GB)
    Free Space:   0 B (0 B)
    |
    +-< Physical Volume 0303DA39-F711-42D5-AB0B-7C35015763B3
    |   ----------------------------------------------------
    |   Index:    0
    |   Disk:     disk0s2
    |   Status:   Online
    |   Size:     120473067520 B (120.5 GB)
    |
    +-> Logical Volume Family EA26D69A-ED32-4088-BBF5-DD4ED4A01FE2
        ----------------------------------------------------------
        Encryption Type:         AES-XTS
        Encryption Status:       Unlocked
        Conversion Status:       Complete
        Reversion State:         Reverting
        High Level Queries:      Not Fully Secure
        |                        Has Visible Users
        |                        Has Volume Key
        |
        +-> Logical Volume D3021BC9-8BCA-40BA-9B7C-07F28BDE678B
            ---------------------------------------------------
            Disk:                  disk1
            Status:                Online
            Size (Total):          120473067520 B (120.5 GB)
            Conversion Progress:   Complete
            Revertible:            No
            Revert Status:         PV to LV passthrough mode
            LV Name:               Macintosh HD
            Volume Name:           Macintosh HD
            Content Hint:          Apple_HFS

Following an iBook from Carlos Burgues & Pablo Romeu called "Fusion Drive, Crea tu propia unidad Fusion drive en tu Mac" I think the commands would be:

sudo diskutil cs addDisk 878F63CA-69DB-43F2-8708-271D776049F5 disk2s1
diskutil cs resizevolume D3021BC9-8BCA-40BA-9B7C-07F28BDE678B 249,8g

But I'm not sure how to make it work properly and I have some questions about the process:

Can I make changes directly on disk, or I must boot from another source to add the 128 GB SD card?
Is it better to restore a carbon copy (or Time Machine) to a new & formatted 250gb Fusion drive?
Will I loose the Recovery HD?
Is there a better way to do this? (something like tardisk Pear software)

I really appreciate you to try to help me, but please, really, don't answer with something like: Don't do it (SD cards are no reliable, bad speeds, etc), or buy a better laptop, or something similar. The HDD can't be upgraded, so I want to try this solution.

You need to create a RAID 0 Striped Array. Here is how to do it: https://www.lifewire.com/use-disk-utility-to-create-a-raid-0-striped-array-2260918


MacBook not letting me log out of Guest Account I'm using my brother's new MacBook and it's not letting me log out of the guest account. The only options I see are Restart and Shut Down. How can I log out of the guest account?

If you're not positive that your bro has Guest Account access set up, OS X introduced a new feature related to 'Find My Mac' that creates a sandboxed fake Guest Account in order to make it easier to recover your mac in case it gets stolen, luring the thief to go and connect to some random Wi-Fi with the guest account.

Maybe that's what's going on, you could easily restart and login to any account you like though.


In Keynote, how to change no-fill color from black to something else? Using MacOS Keynote, I'm exporting animated graphics with transparent backgrounds. For example, the graphic may be black and white such as this:

But to make the background of the slide transparent, the background is set to no-fill which causes the background to be black:

So to work with files with black text or artwork (everything I do), the background color must be repeatedly flipped between fill color and no-fill. Is there a way to set the default for the no-fill color to something else than black such as gray?:

Click on the object of interest and on top right click on format. The in the right sidebar click on style. The sidebar should look as shown below. Directly above the "No fill" pulldown is a box with a red diagonal line (shown with a blue rectangle around it). Click on that box and select your color.


Remotely manage Gatekeeper I've been searching high and low for some service that will do this. Looking for something that can be installed on multiple machines, that has a nice dashboard that can tell me at the very least whether gatekeeper is enabled on each of the machines. Bonus to be able to manage it remotely.

The only service I've come across that does this is Casper, but they are super expensive. Has anybody come across another solution?

Pretty much any MDM can enable / monitor gatekeeper status.

If you want inexpensive, you can use Server.app for $20 and go up from there. Apple Remote Desktop also lets you automate things. Heck, you could set up ssh keys and use that to run spctl by script.

spctl --status

The manual page shows you how to enable and disable gatekeeper with spctl as well as white list certain apps if you want that level of fine grained control.


does WiFi Assist of iOS 9 work when cellular data is turned off? Cellular connection kicks in when the WiFi is weak, that's a nice feature in iOS 9: WiFi Assist.

I have on question, when WiFi Assist is ON. Does it cause me cellular data in the following scenario:

WiFi Assist is ON
Settings > App and iTunes Stores > Use Mobile Data is OFF
Now, WiFi is good
I am downloading a huge app
... so far so good
suddenly WiFi goes weak ..

Does AppStore continues to download and consumes my cellular data, or just stops?

In your case the off switch for mobile data will prevent the use of data across the board.

You won't get any benefit from turning on "assist" nor will you incur any downside or costs due to data usage.


How to use iCloud calendar without having an Apple device My boss wants us to use the iCloud calendar app. However, I use a computer with Ubuntu and an Android phone. Because I do not have an Apple device, the calendar app is unavailable to me on icloud.com; only pages, numbers and keynote are available. Would downloading iCloud for Windows via Wine give me iCal, or is there another solution?

Many thanks in advance!

Unfortunately you can't add iCloud Calendar support to an Apple ID without turning it on via an iOS or Mac device.

You can borrow someone's Apple device and turn it on for the Apple ID in Settings > iCloud, on an iOS device or System Preferences > iCloud, on a Mac.

Once you have turned on "Calendars" for the device, you can immediately disable it and sign out of your boss' Apple ID, and your boss should be able to access iCloud Calendar from www.icloud.com.


Radium doesn't work on OS X Catalina I was using Radium on OS X Mojave. When I upgraded to Catalina, it stopped working.  Unfortunately, it appears that the developer has stopped working on it.

Is there a way to get this working?

I wrote a patch for Radium to make it work on Catalina (and hopefully later macOSs as well).
https://github.com/zvonicek/radium-fix-launcher


Trouble Installing XCode 10 beta 4 After installing MacOS Mojave Beta, I ran into some trouble installing Xcode 10 beta 4. I need the latest version of Xcode to use common tools like npm, node, yarn, etc.
After I found the install page and waited a very long time, I got Xcode_10_beta_4.xip from the Apple downloads page. Upon trying to unzip this xip folder, I get:
Xcode_10_beta_4.xip.cpgz
When trying to unzip THAT I get...
Xcode_10_beta_4 2.xip, etc.

The folder won't unzip and I need suggestions on how to get this installed.
Thanks in advance to anyone that knows a solution :)

The file was corrupted, that’s why it was opening weird. Because of my slow download speeds, and continual resumes when it kept pausing the download... it got corrupted. After finding a coffee shop with some good download speeds I tried again and it worked perfectly.


How to type floating point numbers in Apple Numbers in Persian? When I want to insert a floating number in Apple Numbers 3.6.1 in OS X 10.10.5 while my primary preferred language in Language & Region is Persian(فارسی), the number is interpreted as a string value.

In these screenshots the right cell has the formula of B2 ÷ 2 while B2 is the left cell. I typed ۱.۲۳ (that is 1.23 in Persian) in B2 with Persian keyboard layout and an error is occurred.

The result is the same when i type the number with English keyboard layout.

How can i enter a floating point number?

Note that in Persian language the floating point sign is represented with ,. So the problem can be solved by entering the number as ۱,۲۳ or 1,23.

In the first form when you want to enter the floating point sign, switch the keyboard layout to English then insert , and then switch it back to Persian and insert the remaining fraction part.


Archived Apple Messages - How to print or reactivate Is there a way to print or reactivate text messages that have been archived? I can view the archived messages just fine in the ~/Library/Containers/com.apple.iChat/Data/Library/Messages directory.

Double-clicking any of those archived messages will reopen that conversation in Messages app.

If you Search in Archive for the caller name [or number if there's no name] then open the most recent archive, that ought to import the entire conversation. If in doubt, bulk-select all the relevant archive files,  Cmd ⌘    O  will open them all & you can test the newest against the earlier ones. Empirically it does seem to work, but I've only tried it with a couple of test cases, & not any of my 'major' conversations.

Caveat…
Whether the conversation will open correctly in the main Messages window depends on whether you had Prefs > "Save History when conversations are closed" checked at the time you closed that conversation.
Without that checked, you can open it in a separate window, but I can find no way to re-merge it to the main window.
If it is checked, it correctly opens in the main window too.


Shortcut to toggle KeyboardViewer with AppleScript on Big Sur I am trying to create a shortcut that toggles Keyboard Viewer with Automator. I have tried these both ways: this old one and and this one for Sierra
For both ways, there is a syntax error "Can't get application KeyboardViewer"
If i press the shortcut i assigned, it opens a window("Choose an application") with a list of apps
The scripts I have tried:
if application "KeyboardViewer" is running then
    quit application "KeyboardViewer"
end if

activate application "KeyboardViewer"

-- wait until the window has been closed, then end the KeyboardViewer process
set numberOfWindows to 1
repeat until numberOfWindows = 0
    delay 5
    tell application "System Events"
        tell process "KeyboardViewer"
            set numberOfWindows to count windows
        end tell
    end tell
end repeat
quit application "KeyboardViewer"

and
on run
    tell application "System Events"
        set activeApp to name of first application process whose frontmost is true and visible is true
    end tell
    if application "KeyboardViewer" is running then
        quit application "KeyboardViewer"
    else
        activate application "KeyboardViewer"
    end if
    tell application activeApp to activate
end run

This works for me on macOS Big Sur.
if application "System Preferences" is running then do shell script "killall 'System Preferences'"
repeat until application "System Preferences" is not running
    delay 0.1
end repeat

tell application "System Preferences"
    reveal anchor "Virtual_Keyboard" of pane "com.apple.preference.universalaccess"
end tell

tell application "System Events" to tell application process "System Preferences"
    repeat until checkbox "Enable Accessibility Keyboard" of tab group 1 ¬
        of group 1 of window "Accessibility" exists
        delay 0.1
    end repeat
    set theValue to value of checkbox "Enable Accessibility Keyboard" of tab group ¬
        1 of group 1 of window "Accessibility"
    delay 0.1
    if theValue = 1 then
        set frontmost to true
        repeat until frontmost
            delay 0.1
        end repeat
        click checkbox "Enable Accessibility Keyboard" of tab group 1 of ¬
            group 1 of window "Accessibility"
        delay 0.1
        if UI element "OK" of sheet 1 of window "Accessibility" exists then
            click UI element "OK" of sheet 1 of window "Accessibility"
        end if
    else
        click checkbox "Enable Accessibility Keyboard" of tab group 1 of ¬
            group 1 of window "Accessibility"
    end if
end tell

do shell script "killall 'System Preferences'"

SIDENOTE: My reason for using the the do shell script "killall 'System Preferences'" command rather than tell application "System Preferences" to quit is... Let's say, for what ever reason, System Preferences.app is already activated (with, for example, window Sharing/ Remote Management/ Computer Settings open) but not visible or not front most or whatever. In Script Editor, you try to run tell application "System Preferences" to reveal anchor "SpeakableItems" of pane id "com.apple.preference.universalaccess" That command completes with no obvious errors but when you switch over to System Preferences, your "revealed anchor" is not revealed. Ok, no big deal, easy fix. I'll just insert a tell application "System Preferences" to quit command prior to the reveal anchorcommand. Running the updated code this time, you get a (userCanceledErr:-128) error. All of this hassle is because that secondary drop down window in System Preferences is open. In my opinion, the do shell script "killall 'System Preferences'" command seems to be the best solution.

Here is another option if you have the “Show Accessibility status in menu bar” checked in System Preferences/Accessibility. It's short, it's sweet, but it does use UI scripting.
tell application "System Events"
    click menu bar item "Accessibility Shortcuts" of menu bar 1 ¬
        of application process "ControlCenter"
    repeat until checkbox "Accessibility Keyboard" of group 1 of ¬
        window "Control Center" of application process "ControlCenter" exists
        delay 0.1
    end repeat
    click checkbox "Accessibility Keyboard" of group 1 of ¬
        window "Control Center" of application process "ControlCenter"
    delay 0.1
    key code 53 -- escape key
end tell


new SSD - APFS not in list of options for format I just put a new SSD in my 2011 Macbook Pro. I booted into Internet Recovery (CMD+R), ran Disk Utility and followed the instructions to go to 'erase' and format as APFS. Unfortunately, the 'Format' dropdown menu only shows the standard Mac OS Extended options, MS-DOS and ExtFat.

Do I need to boot into Mac OS from a flash drive and then format the SSD from there... or what am I doing wrong?

Disk Utility looks like it's pre-Yosemite [skeuomorphic dots top left] which will have no idea what APFS is.
Try booting to Internet Recovery using  Cmd ⌘   Opt ⌥     R   & you should get the chance to install the latest OS the machine can run, rather than the one it came with.

You should also get a Disk Utility that understands APFS.


Is there a way to show the stopwatch on the lock screen? I'm part of a race team and was wondering if there was any way to get the stopwatch on the lock screen. Time is critical in the races we run and it'd be great if I could just glance down and see the time.
I'm running IOS 7.

Unfortunately this is not possible without jailbreaking your phone. Apple doesn't allow stopwatch apps to present their data on the lock screen. If you are running a jailbroken phone you can look in to something like Stoppur:

  As part of the setup process, users can manually specify an x and y co-ordinate position on the device for the panel to be overlaid, meaning that additional power of how it looks is granted to the user. Other than that, the tweak does exactly as it says on the tin. It’s a stopwatch, it’s on the lock screen and it’s available to download now.

  Stoppur is available as a download from the BigBoss repository and requires a jailbroken device running iOS 6.0 or above.

I'll be honest though: that doesn't look very feature-rich. For running, just being able to see the time doesn't see overly useful. You'll probably want at least start/stop/reset controls and possibly lap controls too, right?

There are some apps that attempt to prevent the lock screen from engaging but also offer a pseudo-lock screen. Kinetic is one such app that I use and like and have recommended here for similar situations. It has a "module" approach to setting up the screen for activities. So you can plug in the modules you need for an activity. Don't need the GPS tracking? Leave it out. Need the stopwatch? Add it in. And it'll lock its screen, keeping the data on screen, but preventing touches from doing things in the app.


Cannot Upgrade jailbroken iPod touch 4.3.3 to iOS 6.1.2 I got a jailbroken iPod from a friend and I want to update to iOS 6 so I can restore my backed up data on it.

I tried SHIFT + Restore / Upgrade to iOS 6 but the first error I got was this

 Figure 1

Then I did some research and ended up getting TinyUmbrella and doing the hosts redirection and SHSH trick. After that I repeated the restore process now I'm getting this error (Figure 2) in the second phase of Verifying Update iPod update with Apple (Figure 3)

Figure 2

Figure 3

PS: I also tried DFU mode but I got error 1600.

Can you please help me restore or update my iPod to any OFW. My goal is to remove the CFW.

I finally resolved this. It turns out I had 6.0 (I didn't know because my friend was the one who got it and Apple isn't signing it anymore). I downloaded 6.1.2 and then my IP got blocked for too many requests. So I used a VPN for verification and then it worked.

So, like @Chris A said; You don't need to do all that TinyUmbrella crap (unless you're downgrading). If you have the current iOS offline (like in my case) or updating to the recent firmware, it'll work just fine.

Thanks to all that stared at my question.


Using automatic setting but getting wrong timezone (missing 30 minutes) Malaysia timezone supposed to be GMT +8:00

But in my macbook (OS 10.13.5) it displays GMT +7:30 (note the last picture, bottom right), 30 minutes was missing, how can i fix this?

Note: I tried to set it manually via select the location /closest city, it still giving me GMT +7:30

It is giving me the wrong time display on some of the website now. For example, 9:00am become 8:30am

Wow. That looks like a bug that Apple could verify and fix if you filed one. If you’re a developer, use the bug reporter. If not, calling AppleCare and asking them to help you set up the proper time zone, and if they fail, pointing them to this excellent documentation of how you sure look to me did everything correctly.

Worst case, they explain the fix and you can post an answer here for all to learn.


How to make sure that a memory card is compatible to my mac? I want to upgrade my RAM from 4g to 8g.

my mac specs are:

I need 2 4g memory cards, and this is a specific card I saw in a store that should be working, but no one gives a guarantee it will work on mac...they say it works on laptops, but they can't guarantee its working for mac...

This is the card model: G.Skill 1x4GB DDR3 1600Mhz SODIMM

I would use something like Crucial's online configurator rather than the vague specs in a shop window.

That way you have a guarantee it will work.

Kingston & Corsair have the same kind of thing, but Crucial gives you the option of downloading an app to do all the work for you.


How to save files on Mac with extension I want? I need to create a .css file on my Mac. I created it with TextEdit. How do I now save it with a .css extension? It seems that very single File Format it offers will give it a different extension (rtf, html, odf, docx, xml, doc)?!

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

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

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


Change "focus switch" behaviour in OS X Yosemite So, this is a small and very annoying gripe I have with Yosemite:
Whenever I close a window, say a Chrome window, it automatically switches focus to the next open Chrome window, regardless of the last active window I was in before closing the Chrome window. So if for example I'm closing a window in the background, I completely lose focus of where I was before.

Any way to rectify this annoyance?

macOS is an application-centric model (by most recently used), whilst Windows uses a window-centric model (by z-order).

Read more: https://www.isotoma.com/blog/2010/05/10/solving-the-real-alt-tab-problem/

You can use a number of third-party apps to make macOS use a window-centric model, see the answers to this question for some examples.


What is the wattage of the speakers in a 2011 MacBook Air? I have recently purchased a MacBook Air and the speakers sound tiny. Does anyone know how many watts the speakers in the 2011 Macbook Airs have?

The simple answer is - not many.

The iFixit teardown of an earlier model (mid-2010) suggests 1-2 watts. The teardown of the 2011 model says nothing has changed since then.


How can I make iPhone silent for a specific amount of time? On Android phones, there are apps (not native functionality) to make the phone silent for the next N minutes starting right now. This is different than setting specific times of day like Do Not Disturb does.

The functionality I'm used to takes one of two forms:

An icon you click that then asks "how long should the silence last"
Or, automatically detect that I turned off the sound to zero (via volume rockers or otherwise); and asks the same thing.
However, I'm not dogmatic, if iPhone has some other approach to solve this problem I'm open to exploring it.

Is something like this available on iPhone? (6, OS version 10 if it matters).

I prefer native functionality if it exists. Otherwise, an App store app is OK as long as it's free (as in gratis) doesn't require jailbreaking and works on iPhone 6.

Extra plus if it supports both modes described above (trigger with the icon or with setting volume to zero); as well as supposed 100% silence or vibrate-only mode.

While time-limited muting does exist on Android, it does not on iOS. You can set your phone to silent (by using the mute switch on the side of the phone), but you can't set it to silent for N hours. This feature could come in a future software update (try suggesting it to Apple) but can't come from an app, as iOS apps are forbidden from controlling ringer volume or Do Not Disturb setting.

You can, however, set DND to come on for a specific time period every night, having it automatically turn on at 10pm and turn off at 7am, say (times are customizable). That's in Settings->Do Not Disturb->Scheduled.

Source of information about apps not being able to control ringer volume: my personal knowledge as a published iOS developer and this answer.


Change shortcut to change input source (keyboard language) I'm trying to change the keyboard combination to change the input source from Option-Command-Space / Command-Space to any other combination. I am not able to find any solution for that. Is it possible to change this combination?

Here are Apple's instructions for changing shortcuts found in PH21531:

Choose Apple menu > System Preferences, click Keyboard, then click Shortcuts.
Select the action (Input Sources in your case) in the list that you want to change.
Double-click the current shortcut, then press the new key combination you want to use.

You cannot use each type of key (for example, a letter key) more than once in a key combination.

Quit and restart any apps you’re using for the new keyboard shortcut to take effect.


Iphone4s calendar events gone The events I have entered are gone. I can not enter them. The + is not working. Facebook birthdays are still there.  Also all my list are gone.

In most cases, contacts and calendars "disappear" from the iPhone due to incorrect sync settings. On your iPhone, navigate to Settings > Mail, Contacts, Calendars and make sure to enable Calendar sync for each of your listed accounts.


How do I report a bug in Safari 6.0? I found a bug in the latest version of Safari, how can I report it to Apple?

They no longer have the menu option to submit bug reports. I've tried searching Google but all the results are outdated.

http://bugreport.apple.com is the canonical bug reporting mechanism. Once you have submitted an issue, it will be given a "radar" number and you will be treated to possibly the most archaic customer-facing bug reporting interfaces on the planet.

You will want to first select a developer account and agree to Apple's terms. In your case, the free of cost Safari developer program might be very useful if you care to know what changes are in store for Safari.

https://developer.apple.com/devcenter/safari/index.action


Close all applications in Mountain Lion Is there any hotkey, AppleScript or separate application for that?
I don't really like kill 20 applications manually every time I make reboot.

The Finder should safely quit any open apps whenever you logout or reboot. If there is a document with unsaved changes It will prompt you to save or discard the changes before quitting. The keyboard shortcut is Command-Option-Shift-Q.

If you do not want all the apps restarting when you log back in, uncheck the "Reopen windows when logging back in" checkbox in the logout dialog.


Mac mini wakes 2 seconds after going to sleep Sometimes (randomly as far as I can tell), my Mac mini refuses to go to sleep. I press the Sleep item in the Apple-logo menu on the menubar, display turns off, after several seconds computer goes silent, the power indicator starts flashing. It flashes for a few seconds (like 2 or 3 seconds), and then computers wakes back up.

pmset -g assertions output is the same right before pressing sleep and after it wakes up:

2015-05-05 09:31:13 +0300
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   0
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
Kernel Assertions: 0x4=USB
   id=501  level=255 0x4=USB mod=04/05/2015 13:13 description=EHC1 owner=AppleUSBEHCI

The timestamp is different, the rest is identical.

As far as I can tell, it shows nothing of interest, though I'm not sure about the last line. Any ideas what might be the cause of this behaviour and how to fix this? So far the only thing that helps me is rebooting, but the problem keeps coming up and around in a day or two and is really annoying.

I'm running 10.10.3 and Mid 2011 Mac mini.

Its possible that a USB device (keyboard, mouse, external USB hard drive, etc) is not behaving.

If you have other USB-connected devices, does this still occur when they are disconnected? You don't mention any additional USB devices being connected, so I'm assuming only a keyboard/mouse combo.

Disconnect all USB devices but the keyboard/mouse then type the following command in terminal. Once typed in, disconnect the keyboard and mouse:

sudo shutdown -s +2

Enter your password, (because sudo needs it,) and the Mac will sleep in 2 minutes. If it stays asleep, then the keyboard and/or mouse are not at fault. Try again with just one of the two devices attached to see which one is the culprit.

If the keyboard/mouse don't seem to be at fault, then test again with other devices connected & narrow it down.

Secondly, Bluetooth keyboards and mice can also wake the Mac from sleep:

In System preferences > Bluetooth Advanced... section:


Software that directly backs up to Google Drive without caching？ I have a hard drive that is almost out of free space. I need to back up to Google Drive on Mojave.

First of all, I tried Google Drive file system but it needs cache and I can't copy all my files, because there is not enough cache space. Then I tried Mountain Duck, Expandrive, and Cloudmounter, but they have the same requirements as the Google Drive file system.(
Google Drive will mount as a local disk and you need to copy files from your hard drive to Google Drive , after the copy finished it will start uploading . If the cache partition only have 70GB,you will not be able to copy a folder larger than 70GB)

Google`s Backup ＆ Sync doesn't support the NTFS file system on macOS.

I need to find software that directly backs up to Google Drive without copy and caching, where I can pause & continue, and show upload progress.

Try Cyberduck. It supports "access your Google Drive without syncing to your computer".


Is there a way to view iTunes Store purchase history on a regular internet browser? Is there a way to view iTunes Store purchases without using iTunes? My bank account shows several music purchases I'm not aware of and I would like to verify them but currently don't have access to my main computer.

no you can't but you can you report a problem to list your purchases

https://reportaproblem.apple.com


Terminal/ZSH Problems & Permission problems I downloaded something out of the Internet and executed it, which might could have malware. After that I deleted all of that and i opened my Terminal and it gave me this error:

/Users/flawn/.zshrc:.:1: no such file or directory: /usr/local /etc/profile.d/z.sh
flawn@osx: ~|master⚡ ⇒  open .zshrc

These files exist and i could open it . I also tried to chmod all Files, but it didnt fix it. My fear is, that my system might not boot because of that permission errors...

Greetings

The error message- /Users/flawn/.zshrc:.:1: no such file or directory: /usr/local /etc/profile.d/z.sh comes from line 1 of your .zshrc file and suggests that there is a space between the command substitution and the rest of the path-

 . `brew --prefix` /etc/profile.d/z.sh
                  ^space

Back ticks for command substitution have been deprecated for a long time in favor of $(.....) but you would be better off using the absolute path to the sourced file-

. /usr/local/etc/profile.d/z.sh

or comment line 1 out if z is not installed.

#. `brew --prefix` /etc/profile.d/z.sh

In line 20 remove the curly quotes-

DISABLE_UPDATE_PROMPT=„true“

Last, terminate the last line of your .zshrc file with a newline.


How can I discover which files were deleted by `rm -rf`? I had a little problem when running a script: this script reads a config file on $HOME, and it had ~/Downloads inside it.

Instead of saving a file inside ~/Downloads when I executed the script, since I executed it inside ~/Library, it created ~/Library/~/Downloads.

Inside ~/Library, I did rm -rf ~. After 1-2s I realized my mistake and stopped using ˆ-C - it was deleting my $HOME.

I know some files were deleted, but don't know which ones. Some hidden files (bash_functions, bash_aliases) were deleted and I had a backup, but some files on $HOME aren't backed up.

I did a quick verification on my files (seeing the modified dates of the folder on $HOME), it seemed okay, but I know I can't trust my eyes using this approac.

I know that if I change a file inside a Folder, Mac will change the "modified" flag for that folder, but only if a direct child of that folder was changed. Example:

~/Downloads
    - file.txt
    /Mp3
        - music.mp3

So, if you change file.txt, ~/Downloads will have it's modified flag changed, but if you change music.mp3, ~/Downloads will not have it's modified flag changed.

So here lies the problem: I don't know how rm -rf starts deleting my files. Is is sequentially? Is it in an arbitrary order? Could it be it started deleting ~/Pictures/Wedding and suddenly went do ~/Videos? I don't know. I believe it doesn't delete sequentially, so now I can have a really deep directory without important files after my rm -rfmistake.

Is there some place on the mac where all deleted files with rm -rf are kept (just the filenames)? I didn't find anything like that, so I did

find ~ -type d -mtime -1 > modified_folders.txt

on my terminal since I did the mistaken rm -rf today. The result of the find command, the changed folders (if you delete a file, Mac changes modified flag of it's direct folder parent) seems to not have a "deep arbitrary" structure like ~/Pictures/Personal/Birthday/2010/Cake... can I then assume rm -rf didn't touch the wrong files and I were able to stop the armageddon just by stopping rm -rf ~ after 1-2s (so it deleted just some of the hidden files on $HOME)?

(I have already restarted my machine, it's working fine. I'm on Snow Leopard, so tmutil isn't a solution I think...)

(I already know some solutions to recover like TestDisk exist, but I'm trying to use it as a last approach (if I'm wrong in my assumptions about the find snippet).

There is no way to know for certain exactly which files were deleted. There's no list stored, no trash can, this is unix (well BSD) and you don't get any nice second chances with rm -rf

As you have seen though, you can infer what might have been deleted first by observing the rm command's behaviour.

I created a folder with a few subfolders, including some with a period at the beginning of the name and threw a few files into each.

The order is always alphabetical with the hidden, period prefixed directories getting deleted first.

If you compare a backup with your directory structure, once you have moved through alphabetically and started to find files in the backup that are still on your main drive, I think you can rest assured that you haven't missed any other files.


Creating a new folder in finder doesn't highlight "untitled folder" for renaming I have a trivial but annoying finder bug and I'm wondering if I am the only one?

If I hit command-shift-N in Finder to create a new folder it should automatically highlight the default name untitled folder ready for renaming. It works as expected in icon and list views but not column view which is really annoying because I use column view all the time. I am running OS X 10.8.4 (12E55).

It works normally on my installation of 10.8.4, or ⇧⌘N also selects the untitled folder in column view.

You could try temporarily moving ~/Library/Preferences/com.apple.finder.plist somewhere else and relaunching Finder. Or quit background applications or try it on different account.


Block all sites except one I have been assigned the task of installing an iMac that is only allowed to use one specific site, and block access to all other IP addresses. The iMac will be on display at a resort so guests can fill in a questionnaire hosted on the resort website.

My questions are:

How do I block all outgoing traffic except for traffic to IP xx.xx.xx.xx?
Is it possible to set up a user account that is only allowed to use Safari? Or set it up so that a password is required to exit fullscreen mode? Or is there a better solution to set up a web page in fullscreen mode on an iMac and prevent the user from doing other tasks?

Check out Parental Control. This allows to restrict applications to run as well as web sites to visit.

Alternatively you can use ipfw to restrict IP/Internet access:

 sudo ipfw -f flush
 sudo ipfw add allow tcp from me to xx.xx.xx.xx
 sudo ipfw add allow ip from me to xx.xx.xx.xx
 sudo ipfw add deny tcp from me to any
 sudo ipfw add deny ip from me to any

To disable just run sudo ipfw flush again


Show/Hide hidden files without restarting finder? I came to understand that the following is the way to toggle the visibility of hidden files:

defaults write com.apple.finder AppleShowAllFiles YES
# replace YES with NO to hide hidden files
killall -HUP Finder /System/Library/CoreServices/Finder.app

Is there a way to show/hide hidden files without killing the Finder?

On macOS Sierra, version 10.12.4 and above, you can press ⌘+Shift+. (period), to toggle hidden files inside of Finder.

Late edit: This currently works on Mojave too, as of b5, 18 Aug 2018.


Font Book does not Install all fonts My Mac decided to delete all but 19 fonts, which is fairly annoying. It didn't really delete them, as in I still have the original files in the /Library/Fonts folder, but they've disappeared from Font Book, so I can't use them.

Now, Apple says that you can select a folder to install all fonts in that folder, but when I try that, the spinning wheel (not the beach ball) comes up in the lower right hand corner for a few seconds and then leaves, without installing any fonts. The same thing happens if I use the + sign in the menu bar, select multiple, or if I try validating and then installing (actually, that installs one font).

Is there any way to mass-install these fonts or will I have to install them one by one?

System info: Mac OS X 10.5.8 running Font Book 2.1 (123).

I'll bet you have a font corruption problem.

Split the uninstalled fonts into two groups.
Import the first group.
Check to see if they imported successfully.

If yes, you know the problem is in the second group, so go to step #1.
If no, the second group might be okay, so try importing that.

And so on.

You should be able to narrow down the problem without having to import each font one at a time. But my guess is that one or more of your fonts is corrupted.


Where is the folder icon of dark mode located? Where is the dark mode folder icon located?

The Dark Mode is so cool, but the blue folder icon is too bright in the whole black background. The grey one would be better for me.

So how do I change the icon?

In the early version,（OS X 10.6-10.11，macOS 10.12-10.13）
the path of the folder icon is
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources

But in this folder, there is no Dark Mode folder icon. And, the icons of Light Mode are still here.

Who knows where I can find the dark icon, please?

An amazing thing is that when I use a grey folder icon that made by an artist in Deviantart.com to replace the icon of system itself(/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericFolderIcon.icns), all the folder icons in finder windows had been changed into grey,and thay are light,the icon didn't change into dark mode with the system appearance. It seems that the icons that I think are only work in Light Mode are still work in the Dark Mode. But, they are available only in the files are system themselves.

All system icons are located at: /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/

To get there go to the Finder and select the Go menu option. From there select Go to Folder. This brings up a box and you can paste the above site into the box and hit return.