Can Safari's download popover window be made wider?

Original Workaround #1:

The first one here has got the advantage to use only one Automator action and allows quite precise settings of the resulting Safari-owned window. Its end results are a "service" in Safari's menus plus a keyboard shortcut.These components are involved:

Safari's "Download.plist" (in: Library/Safari)
A shell script running cat & sed, filtering the plist-file's input into "Downloads1.html"
An Html file "Downloads2.html" holding Html tags of your choice (w/o finishing tags: </...)
An AppleScript containing a "do shell script" command, "telling" Safari to open an
... Html file "Downloads.html", generated by shell script, in order to at last get …
Automator to place a workflow in Safari's "Services" menu.

This code runs as an Automator Service (without "run" commands it's plain AppleScript):

on run {input, parameters}
 -- [Only if needed, place: "LANG=C; LC_CTYPE=C; LC_ALL=C;" in front of "cd"]

    do shell script "cd ˜/Users/[myName]/Library/Safari/;
             rm Downloads.html;
             cat Downloads.plist | sed -n ' { s/.*Downloads/
D`load => /; ¬
                     s/.*Trash/
Trashed => / ; s/.*Movies/
Movies => /; ¬
                     s/mp4.*/mp4
/ p; }' > Downloads1.html';
             cat Downloads2.html Downloads1.html > Downloads.html;"

    tell application "Safari"
        make new document at end of documents with properties ¬
            {URL:"file:///Users/[myName]/Library/Safari/Downloads.html"}
        set bounds of window 1 to {700, 62, 1280, 450}
    end tell
    return input
end run

(The shell script and "make new document…" are meant to be one liners each.)

Integrated are two "filters" to the sed part (.*Movies & .*Trash) so my browser window looks like this (you may edit these filters or/and add Extensions to your needs):

+----------------------- Toolbar -------------------------+
|                                                         |
|  D'load => /Some_sinster_TV_series_S02E01_15.11.21_00-  |
|  40_BBC3_93_TVOON_DE.mpg.HQ.avi.otrkey                  |
|                                                         |
|  Movies => DS9.4.07_Little_green_men.mp4                |
|                                                         |
|  Trashed => /DS9.3.09_Defiant.mp4                       |
|                                                         |
|  Trashed => /DS9.3.07_Civil_Defense.mp4                 |
|                                                         |
+---------------------------------------------------------+

(Those leading slashes suck… hard to filter out, though.)

The commented out second line may be needed, or may not…
Replace [myName] with your own user name.
To use this code as "service" in Safari, you have to paste it inside a "Run AppleScript" field in automator. Save it as "workflow".
You can then create a shortcut (e.g.: opt-cmd-d) that will run it instantaneously (System-Prefences / Keyboard / Shortcuts / Services).
My solution is not really sophisticated, but I learned (glimpsed) a lot about sed, awk, cat and AppleScript/Automator.


Disabling Mission Control (OR making plist changes take effect immediately)

No, there isn't really a better way to force a process to reload its preferences other than killing it.  Be careful: a process may flush its preferences when it is killed, so your change may get overwritten.


iPhoto files compressed in Time Capsule. Where is the original size?

Find your iPhoto Library, which should be in Pictures. It's a package. Control-click on it and select Show Package Contents. You will see a Masters folder. Make a copy of that folder and all its contents by dragging it to the Desktop or anywhere you like, holding down the Option key at the same time — the green plus icon appears. If it doesn't, you're not making a copy.


Is there a way for the iPad mail show calendar links, as the iPhone's?

How odd. On my iPad I do get links to the Calendar app, for the text 'Tomorrow morning', just as on iPhone.

I just looked in the Settings app, under 'Mail, Contacts, Calendars', for an option to turn this facility off and on. There isn't one.

So I don't think the issue is the iPad itself. I suggest you look carefully at the email itself, e.g. to see if there is any difference in punctuation or spacing, between what works on your iPhone and does not work on the iPad.


What format does the apple notes sqlite db date use?

According to this answer on Stack Overflow, it's a Unix timestamp adjusted by 31 years. This is typical of CoreData, Apple's ORM framework. The following would work:

select datetime(zmodificationdate,'unixepoch','31 years') from znote


If you can't see the screen, try asking Siri. Hold the side button and say ‘increase the brightness’.


Spotlight uses a system process to index all files on the storage, so if you have a corrupt search or the process is crashing, the only true fix is to back up the device and erase/reinstall it if it's not a setting you can toggle.

That setting would be in the settings app - navigate to Siri & Search and then below the main settings is an alphabetical list of apps.

Toggle off all the photos items and then power down the phone. Then power it up and navigate back to re-enable them.

If after 30 minutes on charge, the index isn't working you'll want to prepare to erase and wipe the device.

If you are hesitant to do that (since you have to unync an Apple watch - get your health data on the iOS device - then back that up securely, then wipe and restore and then set up things like wallet, fingerprint if the restore doesn't work perfectly) you might try some other things.

Reset all settings on the iOS device
Consider asking Apple Care if there's anything else we missed or a known issue in your version of iOS.

If the version of iOS you're running has a bug, no amount of fiddling will fix that and you'll have to wait for a patch to apply.


Sidekick will let you do this.

Highly recommended.

("Disclaimer:" I was a beta tester for the new version, but also a paying customer. Otherwise un-affiliated with them.)


How to use FN keys as FN keys on macbook pro touchbar for ALL apps?

If you go to Settings > Keyboard, in the Keyboard pane, the box "Touch Bar shows" select "F1, F2, etc. Keys" as the option.

The touch bar will now just show Fn keys as if it was a normal keyboard. (They will dim and appear black sometimes.)

Then, you can change the setting directly below, "Press Fn key to" and select "Expand Control Strip" or "Show App Controls". This will fulfill your request to "only have it while I hold the fn key."

Hope this helps!


MacBook Pro Mid 2009 does not boot without resetting system management control (SMC)

I'd try to boot the Mac into Recovery Mode and then Reinstall MacOS and see if that helps with the issue. If not then the hard drive needs to be taken in for repairs. You can also try inserting a new hard drive with MacOS on it and see if it boots.


Has anyone experienced ergonomic problems with the Magic Mouse?

You're seeing some first indications of RSI because you're using your hand in ways you're not used to, and possibly because the mouse doesn't fit your hand.

Switching to a normal mouse is a good first aid, especially since you noticed that the problem disappeared or became less of a problem. For some people, it just takes time to get used to new movements, while others won't be able to use the new device for longer periods of time. Those unlucky people should not force themselves to use devices that aren't comfortable for them, and this might include you.

The problem with the magic mouse, IMHO, is that it's too small to really be useful as a gesture device because you're gesturing with the same hand that you use to hold it. That's bound to be awkward, which stresses your hand's anatomy, and some people develop problems from that. Others might not notice any problems -- everybody is different.

Solution:

Change to a different mouse.
If you must use gesture input, use a separate device for that. Apple offers the magic touchpad, which is a simpler and smaller version of the original FingerWorks iGesture series of devices which you can still buy used on eBay. And their laptops have multitouch trackpads too.


How can I modify Info.plist under EI Capitan 10.11.4 or Later

The culprit (as suggested by klanomath) is likely System Integrity Protection, that protects (except others) also the /usr directory. To switch it off

Switch off your Mac
Boot into recovery (when you press power button, you should be already holding cmdR keys, hold them as long as the display is clear white)
In the recovery system, go in the menubar to Utilities > Terminal
Terminal window will pop-up. Enter:

csrutil disable
Confirm with enter
Close Terminal, restart the computer through Apple logo in top left corner

From here on, the SIP is disabled and you can edit your file. It should be noted, that after you are done with your modifications, you should definitely re-enable the SIP. The method is same as above, the only difference is that you will type into Terminal:

csrutil enable


Will the new lightning EarPods work with iPad?

The System Requirements from EarPods with Lightning Connector states:

  Works with all devices that have a Lightning connector and support iOS
  10 or later, including iPod touch, iPad, and iPhone.

  Compatibility

  iPhone Models

  iPhone 5iPhone 5ciPhone 5siPhone SEiPhone 6iPhone 6 PlusiPhone 6siPhone 6s PlusiPhone 7iPhone 7 Plus
  iPad Models

  iPad with Retina displayiPad mini 2iPad AiriPad Air 2iPad mini 3iPad mini 4iPad Pro (9.7-inch)iPad Pro (12.9-inch)
   iPod Models

  iPod touch 6th Generation


The new PSU did the job ! The EFI led is still off but everything works fine now :)


Show limited reminders/notifications on iPhone lock screen (iOS 13)?

Settings > Reminders > Disable banners, but leave sounds on.
Your iPhone will make a sound and vibrate when you the set time or date comes, but nothing will slide from the top screen. From there, you can prevent the notifications from appearing in Notification Center. If you want to see the reminder, you'll have to open the Reminders app.


How to record audio from an application/audio device?

VLC has an option for listening to network streams, so if VLC is compatible with the stream that you want to listen to it also offers an option for saving that stream to your HD. In the dialog box that lets you enter the stream URL there is a drop down menu by the OPEN button that lets you save the stream.

Of course this does depend on if VLC will open the specific stream you want it to. Many streaming services use special players and DRM to prevent such things. Failing the VLC method Tetsujin has an excellent recommendation in Audio Hijack as it doesn't care about any of that and just records all the audio passing through your Mac.


Cloning an image from MacBook Air to MacBook Pro

There won't be a driver issue as long as the OS version on your Macbook Air is newer than the pre-installed OS version number on the Macbook Pro.


As a user with multiple monitors attached to my Mac, how does it select which one a new window is opened on?

If you right click on any icon in your dock, you could assign an app to a display.


In Terminal, how can you determine which shell is actually running?

It depends on the shell you are running in.

If it is a POSIX confirming shell e.g. bash, ash,ash, sh, and some others e.g.  csh, tcsh then echo $0 will return the shell's name

e.g.

~ $ bash
bash-3.2$ echo $0
bash

or

~ $ ksh
$ echo $0
ksh

However not all shells are POSIX e.g. I used to use ipython shell profile and now fish


After making your change to the script, try setting the immutable flag on brew.sh.

chflags uchg /usr/local/Homebrew/Library/Homebrew/brew.sh

I have not tested. As a general rule, I do not give root to applications whose developers are begging me not to.


Partition SSD in Yosemite for Dual-Booting Ubuntu

You have to boot from another device or to Internet Recovery Mode and then use the command line to modify the CoreStorage volume.

Preparation:

Backup your data.
Detach any external drive (especially your external Time Machine backup drive).
Restart to Internet Recovery Mode by pressing alt cmd R at startup.
The prerequisites are the latest firmware update installed, either ethernet or WLAN (WPA/WPA2) and a router with DHCP activated.
On a 50 Mbps-line it takes about 4 min (presenting a small animated globe) to boot to a recovery netboot image which usually is loaded from an apple/akamai server.

I recommend ethernet because it's more reliable. If you are restricted to WIFI and the boot process fails, just restart your Mac until you succeed booting.

Alternatively you may start from a bootable installer thumb drive (Mavericks or Yosemite) or a thumb drive containing a full system (Mavericks or Yosemite).

Modify CoreStorage:

Open in the menubar Utilities/Terminal
Enter diskutil cs list
Enter diskutil cs resizeStack LVUUID size with LVUUID: UUID of the logical volume and size: the final size of your Macintosh HD
Example: diskutil cs resizeStack DC2473AF-0833-4DBD-BF8F-D5D60063554A 200g
Enter exit and quit Terminal.
Reboot to your main volume.
Start installing Ubuntu to the now unallocated disk space.


I have had success with simply mounting and using File Explorer to locate the DCIM directory and copying it out.  However, I found it easiest to delete the photos from within the Photos app on the phone itself, despite how tedious that is.

You have to go into the Photos app, select the camera roll album, press 'Select' at the top right, and drag to select the photos you want to delete.  I recommend deleting in batches instead of trying to select them all in one go.  Unfortunately, this doesn't actually delete the photos, it just moves them to the 'Recently Deleted' folder.  Go to that folder, click 'Select' then 'Delete All'.

Yes it's tedious, but it works every time and I've gotten pretty fast at doing it.


Can iPhone 6 tell if a surface is horizontal?

Yes you can.

Find a surface that you trust to to be level
Open the compass/spirit level app and place phone on it
Tap the screen while phone is placed on the surface - this will recalibrate the accelerometer reading on your iphone6 implicitly
taking into account the camera bump as well.
Go measure the things you want to measure :)

There is a catch to this, as it does assume that the surface is wide enough to place an iPhone 6 down with the camera bump touching the surface.


Excel 2011 copy and paste beachball hang freeze issue

The best answer to this issue appears here: Excel 2011 copy and paste beach ball hang issue.

Essentially:

You need to do this every time you freshly open the Excel program.

On starting up Excel, and before opening your Excel spreadsheet, open a new blank Excel spreadsheet.
Perform a single copy and paste of an empty cell into another cell.
Do this twice. Doing it twice is important.
Close that spreadsheet, and without quitting Excel, open the spreadsheet you want to work on.

The problem should now not occur.

It seems that when a copy and paste is performed the first two times, Excel tries to do some mapping of all the relationships in the spreadsheet, and due to some coding issue, gets caught up in some long loops. Doing two copy and pastes first, with no big spreadsheets open satisfies this process with no vast spreadsheet to work through. Hence it avoids the long delay and apparent hang.


Encrypted e-mail using a certificate not issued for that e-mail

That is not possible. It is the certificate that specifies the email address it can be used with. The allowed email address is in the email field, as well as in the rfc 822 name field, where more than one email address can be given.

It does not make sense to allow the sending client to use a certificate for email addresses that are different from those allowed by the certificate, because that presumes knowledge about internal alias mappings on the recipient side. If the recipient could and would want to accept emails encrypted with the certificate to any additional email addresses, they should have been listed in the certificate.


I just called Apple to make sure. The answer is unfortunately as expected:

No, Apple TV and iPad cannot connect directly without being part of the same network.
And yes, the best way to create this kind of network would be an Airport Express.

Well.


How to view local user password in Terminal?

The passwords are stored in a salted hash, so there is no way to just read them.
If you want to crack the password, here is a guide from a few years ago, it still works.

If you need access to the files in the User profile and you have admin access, you can just change the permissions in finder or using chmod in the terminal. Here is a guide on how to achieve that.


Brand new MacBook Pro flagship behaving strangely

If it is a hardware issue, you'll have CPU usage and issues with a stock OS. Back things up and wipe it. Then run the iLife apps like garage band and iMovie and Photos to soak the CPU.

Everything in my experience is you have some software issues that aren't ready for the new API and new CPU/GPU and will have occasional panics as the drivers get updated for non-apple users or the non-apple code gets patched to behave properly.

Adobe is notorious for needing a patch for new HW.
JRE, XAMPP, NetBeans - would depend heavily on your versions
Apple offer free hardware support - why not get them to check things and let you know. Run sysdiagnose each time you get a panic so you have all the diagnostic logs saved if you end up with some pattern of 10 or more KP so that engineering can analyze things. If you have less than a dozen crashes or can't make it happen, realize that you'll likely need to pay someone to analyze those diagnostics as it's time consuming and requires fairly specialized experience to make headway on non-reproducible core dumps and panics.


My Mac Switches Audio Output From Bluetooth Headphones to Internal Speakers

This kind of issue has been widely noticed after the major updates of macOS from Mojave to Catalina. I would suggest you get the latest Catalina update that has been released couple of days ago.
In other hand, try the following two resolutions which might help you.

Open Finder
Click on “Go”
Then go to “Folder”
Type on the search tab ’ /Library/Preferences’
Look for a file with a filename “com.apple.Bluetooth.plist.
Delete that file. Not to worry though as will auto-create a new copy of the Bluetooth file.
Once file is deleted, restart your Mac device.

PRAM or Parameter Random Accessory Memory that stores system settings on your Mac device such as settings on display, volume of your speakers, time zone settings and many others. Here’s how to reset PRAM on Mac:

Shut down your Mac device.
Press the Power Button.
Before the grey screen appears, press the Command, Option, P, and R keys all at the same time.
Continues pressing the keys Mac restarts and a startup sound can be heard for the second time.
Finally, release the Four (4) keys:  Command, Option, P, and R keys


“Memory Trace Upload was successful” message randomly appeared on iPhone

Apple and iOS do not have that as a standard dialog or feature - Apple crash reports and memory traces are logged and controlled much differently than how the Facebook App is designed.

https://support.apple.com/en-us/HT202100
https://developer.apple.com/videos/play/wwdc2018/414/
https://developer.apple.com/library/archive/technotes/tn2151/_index.html

Apart from the link above on whether you have Apple share analytics you report back to the developer, you can inspect your iOS device in settings to see what the Facebook app is logging to Apple and possibly through them to Facebook when you opt in to Apple’s analytics sharing process.

https://support.omnigroup.com/ios-crash-log/

Open Settings.app.
Tap Privacy, then scroll down and tap Analytics.
Tap Analytics Data.
Locate the log for the app that crashed. The filename will use this format: <AppName>_<DateTime>_<DeviceName>
Tap the crash log to open it.

Assuming you have discovered this message is in-app diagnostics and not iOS / Apple diagnostics and opting out from Apple collection, uninstall the Facebook app as a quick fix to remove the memory upload message that it is sharing with users when it it letting you know a trace has left your device.

You would of course need to use Safari to access your feed until the app developer either explains to you why they are letting you know a trace is uploaded or opt out of analytic / memory trace collection within the Facebook app.


Can Lion's Mail.app unsubscribe from Gmail IMAP folders?

One of the ways to do this is in the gmail settings. Now that Advanced IMAP controls graduated from labs, there's nothing extra to install. Go into the web interface for Gmail and go into settings. Go into the Labels tab and you should have a listing of all your labels with some options. On the far right side is a tick box that says "Show in IMAP" If this is off then Mail shouldn't be able to get at that folder.


How to download entire iCloud Photo Libary to Windows PC

This strategy works at the time of writing using nothing but the PC.

Install iCloud for Windows
Open File Explorer and open the context menu (right-click) on the iCloud Photos entry in the left-hand-side panel (image below)
Select 'Always keep on this device', and wait for the green progress bar across the path to disappear - every file should now have a green tick as its 'status' indicator
Once this is done, copy files across to a part of your hard drive that isn't managed by iCloud
Open iCloud, untick 'Photos', activate via the 'Apply' button, and confirm 'Delete from PC'.

Your iCloud Photos are now un-synched from your PC but all the files will be in the location you chose in step 4.
Once this


Photos folder on external hard drive incessant disk usage for 5 years

You’ve moved to a new Mac and a clean, maybe even a newer OS with newer versions of the software (iPhoto vs Photos).  There’s a lot that macOS is going to do with all those files in their new home on your external drive indexing, analyzing photos, facial recognition, etc.
These things are going to happen so you’re going to have disk activity.  Every time you kill these processes because you believe there’s an issue only delays and prolongs the process that needs to happen.  You have, as you say 500GB of files most likely with a ton of meta data attached - it’s going to take time to process them.
To draw an analogy, this is like seeing your car rev its engine a few RPM’s higher on start up than normal and rushing to the mechanic because you believe it’s a problem.  It’s not.  It’s behaving normally for the conditions which is probably much colder that day than normal and requiring more revs of the engine to warm up; sorta like having 500GB of files in a new location not normal and having to spin the drives and process them. Once everything normalizes, your car will rev down and so will your drives.


In OS X Lion 10.7.5 can I turn faces off in iPhoto?

No. There is no way to turn off Faces in iPhoto. The best way is to use Aperture. I use Aperture, but a common alternative is Adobe Lightroom.


I'm seeing exactly the same problem and, according to a MacPorts bug report, it's coming from libgpg-error and not seen with GnuPG version 2.1.16.

So it seems we need to either wait for the gnupg21 port to move from 2.1.15 to 2.1.16 or locally modify and rebuild the gnupg21 port (and maybe some of its dependencies?) to upgrade ahead of the official update. I'm not sure I'd want to do the latter with something like GnuPG though, although that's just an instinctive reaction.

Workaround

Rather than upgrading gnupg21 I've found that downgrading libgpg-error makes the problem go away (I tried this because of the comment in the GnuPG mailing list post linked from the bug report that it's the upgrade of libgpg-error from 1.24 to 1.25 that's caused the problem).

MacPorts provides guidance on downgrading a port and on one of my Macs I still happened to have 1.24 available (I installed MacPorts without root privileges hence the omission of sudo here):

$ port installed inactive | grep libgpg
  libgpg-error @1.24
$ port activate libgpg-error @1.24
--->  Computing dependencies for libgpg-error
--->  Deactivating libgpg-error @1.25_0
--->  Cleaning libgpg-error
--->  Activating libgpg-error @1.24_0
--->  Cleaning libgpg-error
$ port installed inactive | grep libgpg
  libgpg-error @1.25
$ gpg2 -K

No error, much joy :)

It's not quite so straightforward if the older version has been removed but also works for me (and given the reference to linking errors it might be prudent to uninstall then reinstall gnupg21 after downgrading libgpg-error if using the method above) :

$ svn checkout -r 150579
https://svn.macports.org/repository/macports/trunk/dports/devel/libgpg-error
Error validating server certificate for 'https://svn.macports.org:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: *.macports.org
 - Valid: from Mar  2 07:47:38 2016 GMT until May  2 01:19:52 2017 GMT
 - Issuer: GlobalSign Domain Validation CA - SHA256 - G2, GlobalSign nv-sa, BE
 - Fingerprint: 3E:AF:D7:EA:81:A4:92:33:B6:BC:DA:38:76:C3:15:54:9A:09:50:E0
(R)eject, accept (t)emporarily or accept (p)ermanently? t
A    libgpg-error/files
A    libgpg-error/files/patch-configure.diff
A    libgpg-error/Portfile
Checked out revision 150579.
$ cd libgpg-error/
$ port install
--->  Computing dependencies for libgpg-error
--->  Fetching distfiles for libgpg-error
--->  Verifying checksums for libgpg-error
--->  Extracting libgpg-error
--->  Applying patches to libgpg-error
--->  Configuring libgpg-error
--->  Building libgpg-error
--->  Staging libgpg-error into destroot
--->  Installing libgpg-error @1.24_0
--->  Deactivating libgpg-error @1.25_0
--->  Cleaning libgpg-error
--->  Activating libgpg-error @1.24_0
--->  Cleaning libgpg-error
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  Found 16 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     gnupg21 @2.1.15 +pinentry_mac
Portfile changed since last build; discarding previous state.
--->  Computing dependencies for gnupg21
--->  Cleaning gnupg21
--->  Scanning binaries for linking errors
--->  Found 16 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     gnupg21 @2.1.15 +pinentry_mac
--->  Computing dependencies for gnupg21
--->  Fetching distfiles for gnupg21
--->  Verifying checksums for gnupg21
--->  Extracting gnupg21
--->  Configuring gnupg21
--->  Building gnupg21
--->  Staging gnupg21 into destroot
--->  Deactivating gnupg21 @2.1.15_0+pinentry_mac
--->  Cleaning gnupg21
--->  Uninstalling gnupg21 @2.1.15_0+pinentry_mac
--->  Cleaning gnupg21
--->  Computing dependencies for gnupg21
--->  Installing gnupg21 @2.1.15_0+pinentry_mac
--->  Activating gnupg21 @2.1.15_0+pinentry_mac

GPG 2.1 uses a new format for its key files. Therefore you cannot use it together with any earlier version of GPG. Neither can you
easily go back to an older version as the old version cannot read the new format.

--->  Cleaning gnupg21
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.


How can I remove the new imessage apps and drawing options

You can't remove them, they're part of Messages.  Once you tap into the tiny text area, the text box expands to hide the buttons.


how to debug configure.sh errors when compiling rsync on Yosemite

The problem is with the install of the command-line developer tools on your Mac.

Try installing again with the following command. This should install the command-line tools alone.

 xcode-select --install

The script is testing the command-line tools to see whether a compatible version is installed but is getting back confusing responses. This is why it fails.


Is there a way to remove custom ringtones from an iPhone without using a Mac or PC?

Follow these steps:

Press Select.
Choose any of your recordings, it doesn’t matter.
Press the button of the box with an arrow pointing up in the bottom left corner.
Press the Ringtone button.
Press Your Ringtones.
Slide left the ringtone(s) you want to delete, and there should be a Delete button.


How to prevent iPhone from dropping wifi connection when it goes to sleep?

I have the same iPhone and the same problem. I just went into Settings > General > Reset > Reset Network Settings. Then reconnect to your wifi like normal.

This worked for me, however if the problem is still there, maybe turn your data off when using wifi. Hope one method works for you (:


How to delete videos from iMovie on iPhone?

On iOS - not all videos are stored in the camera roll. iMovie would also show videos which are not in the Photos app. They cannot be deleted the usual way.

There are probably several ways to get rid of them, but this one here deletes all:

Delete the entire iMovie app from you phone.
Install the app again from iTunes or from the App Store.


Is the camera in the new iPad using "4S optics"?

No, the iPhone 4S has an 8mp camera.

The prior iPhone 4 had a 5mp camera though.

But, yes, the older iPad had a much worse camera - less than 1mp.

This would seem to show it's from the iPhone 4: The new iPad camera: we've seen it somewhere before

Megapixels aren't everything - but the new iPad certainly has the best camera in an iPad so far. The front facing camera isn't that great though, even with the rear one hugely improved.


What's the best NAS for home usage with Macs?

Synology DiskStation
The Synology DSM software has built-in support for Macs including Apple Fileshare Protocol (afp) and Time Machine support. It has an iTunes server in addition to a regular DLNA Media server. As it is Linux based it is easy to configure the NAS to do rsync backups (ssh login).
It has a great web-based desktop-style interface that is very easy to understand and use. The DSM software is constantly being updated and improved.
They have solutions from 2-disk on up to 15-disk.  You can find the 4-disk DS411j without drives for less than $400.


It is a 5 Gb file.

Find a place where you can download it in 1-2 hours (22 is not good).
Apple store can do it for you!
or at Starbuck coffee shop you can do it in about 2 hours :)

Also, Verify the downloaded file is correct.

Open a terminal window up (Applications -> Utilities -> Terminal) then type:
cd "/Applications/Install macOS Sierra.app/Contents/SharedSupport" with those double quotes.

then type in:

shasum InstallESD.dmg

and after a couple minutes it should return:
139ef35e4af0da8286b2a3af326cb114d774f606  InstallESD.dmg


Error when booting Mac with FileVault Encryption

What is really is might be a bit of a guessing game, but the next step is clear.

Boot to your Recovery HD and see what disk utility makes of the volume itself.

If you lack a Recovery HD - then it's time to make a back up of any files you can reach (attach the drive to a sled / boot in target mode / install the OS to an external drive and copy things off using another OS.)

At that point, you can re-run the installer which may fix the issue for you and will certainly get you back to having an Recovery HD or expose a hardware problem if you can't even re-instal the OS on top of the data that is there.


iCloud and iPhone Calendar have different timezones

Even though the timezone was set correctly on a Mac, an iPhone and in iCloud settings, syncing across devices has always been off by a couple of hours for me.

Turns out, the time zone, though specified, was disabled for Calendar.

To fix this, click the gear icon in the upper right corner and choose Preferences:

Go to Advanced and make sure the first checkbox is ticked.

Click Save and enjoy your timezone.


Opening a new Finder *tab* from command line

You really can't via any “normal” shell commands, but you can run AppleScript via the shell to accomplish the task.

Here's a Bash function with the command fnt for “Finder New Tab”:

function fnt()
{
    osascript -e 'tell application "System Events" to perform action "AXPress" of menu item "New Tab" of menu "File" of menu bar item "File" of menu bar 1 of application process "Finder"'
}

Add the above bash function to your ~/.bash_profile or ̃/.profile file to use it. After adding, restart Terminal or use the source command in the current Terminal window to have access to the fnt function.

This should work on any version macOS that has the “New Tab” command in the “File” menu. You'll also need to add Terminal to: System Preferences > Security & Privacy > Privacy Accessibility

I understand some improvement to AppleScript has been made in Mojave relative to tabs in the Finder, but I'm still using macOS Sierra 10.12.6 and can't test.


Cannot install JDK 7 on macOS Sierra 10.12.6

Similar to what @klanomath suggests:

Copy the pkg off the disk image so it can be edited.
Extract pkg contents in Terminal (assumes "JDK 7 Update 67.pkg" is your pkg name): pkgutil --expand JDK\ 7\ Update\ 67.pkg JDK\ 7\ Update\ 67.unpkg
Edit the Distribution file with your favorite text editor.
Change the return value of pm_install_check() to always be true.

    function pm_install_check() {
      return true;
    }

Save the Distribution file.
Back in Terminal: pkgutil --flatten  JDK\ 7\ Update\ 67.unpkg JDK\ 7\ Update\ 67.new.pkg
Run/Open the new pkg file.


Different remote SSH access password than user account password

You can only have one password for one and the same account, but for SSH and SFTP you can however further restrict access to make it more secure.

One thing you can and should do if your SSH server is available to the public is disable password authentication altogether:

Edit /etc/sshd_config (requires root credentials) and uncomment the line:

#PasswordAuthentication no

Next uncomment and change the following directive to no.

#ChallengeResponseAuthentication yes

Now you can only authenticate with SSH keys and authenticating with passwords is disabled. To set up a public and private key I'd refer you to the following documentation.

Additionally you can also restrict which accounts can login over SSH and for example only allow one specific user (which can be different from your day-to-day account and can have a more secure password). You can do that right from the Sharing preference pane.


How to restore time machine backup to a new machine running a different version of the Mac OS?

In the Applications directory, there is a subdirectory called Utilities. In Utilities you'll find Migration Assistant. Or just use spotlight to launch it.

Migration Assistant has the option to restore from another machine, a Time Machine Backup, or another disk.

Make sure the TM disk is plugged in to your wife's new machine, and you should be able to select it from a list of volumes.


Snow Leopard was only officially available on DVD, so you would need to buy a copy of that before you can buy the Mountain Lion upgrade if you want to stick to the official upgrade path.

Apple still sells Snow Leopard media as well


iPhone 4s repetitive charging sound with black screen

If the phone's battery is original, it is surely now defective due to age. Have it replaced. Continuing to try and use it may cause it to swell and physically damage other components in the phone.


The short answer is "no".

The touch command does not modify the data in a file at all. Its effects on a file are:

If the file does not exist it is created
If the file exists if sets its access time metadata to the current time

There are some more options but in this case they are irrelevant, you can see the whole documentation by typing man touch in the terminal.

So, no worries, your .profile file was not modified.


I've created multiple DMG files from the same folder - checksum is different on each?

Copies of an existing dmg will be identical but separately created dmg files will not.

Effectively Guaranteed to Differ

The Apple Disk Image .dmg format effectively guarantees that no two disk images will be bit for bit identical. Equality between disk images containing the same contents is not a practical requirement of the format.

UUID within the 0x6B6F6C79 / koly Block

Within the dmg file format is the koly structure. This structure includes a SegmentID of type uuid_t. This is a 128 bit Universally Unique Identifier (UUID). The SegmentID identifier alone will ensure that every dmg file differs by more than one bit.

Using HFSleuth on the iTunes 11.0 disk image shows the embedded UUID:

HFSleuth> ver
Verbose output is on
HFSleuth> fs iTunes11.dmg
KOLY header found at 200363895:
    UDIF version 4, Header Size: 512
    Flags:1
    Rsrc fork: None
    Data fork: from 0, spanning 200307220 bytes
    XML plist: from 200307220, spanning 56675 bytes (to 200363895)
    Segment #: 1, Count: 1
    Segment UUID: 626f726e-7743259b-6086eb93-4b42fb65
    Running Data fork offset 0
    Sectors: 1022244

In the example above, the line Segment UUID: 626f726e-7743259b-6086eb93-4b42fb65 is a universally unique identifier embedded in the disk image.

One Bit Differences and Hash Functions

A difference in one bit should result in a 50% or more change in a cryptographic hash function output, such as SHA-2.

The use of a UUID within the structure is not to ensure every disk image is unique but to ease segment identification within the disk image. That a UUID provides uniqueness properties beyond the scope of the disk image is a by-product of the UUID's use.


Is it possible to change the SSH_AUTH_SOCK path?

I ended up with the following plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>org.openbsd.ssh-agent</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/bin/ssh-agent</string>
        <string>-l</string>
    </array>
    <key>Sockets</key>
    <dict>
        <key>Listeners</key>
        <dict>
            <!--
                 <key>SecureSocketWithKey</key>
                 <string>SSH_AUTH_SOCK</string>
            -->
            <key>SockPathName</key>
            <string>/Users/myusername/.ssh-agent.sock</string>
            <key>SockPathMode</key>
            <integer>384</integer> <!-- 0600b8 in decimal -->
            <key>SockPathGroup</key>
            <integer>0</integer>
        </dict>
    </dict>
    <key>EnvironmentVariables</key>
    <dict>
        <key>SSH_AUTH_SOCK</key>
        <string>/Users/myusername/.ssh-agent.sock</string>
    </dict>
    <key>EnableTransactions</key>
    <true/>
</dict>
</plist>

The only downside is the need for an hard coded username. If somebody know how to solve this as well...

I just overwrote the default file at /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist, then I executed the following commands:

launchctl unload /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist
launchctl load /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist
launchctl start org.openbsd.ssh-agent


DropDMG

I use and recommend DropDMG since it has many features that make it useful for sharing software such as scripting the building of a DMG file directly from my CI server when I promote a build using the included CLI tool dropdmg.

Above: Many options for configuring a DMG file, including layouts and showing a license when opening the DMG.


Any iPhone app crashes whenever time radio dial is pressed

Wow, after struggling for a while, I finally tried something that should have been obvious, and it worked:

I changed the time format from 24-hr to 12-hr, and now it is working OK.
To be clear, in case anyone else has this problem:

Settings ==> General ==> Date & Time ==> Toggle 24-Hour Time off

I do not understand why that worked; I have been using the 24-hr clock since I owned the phone a little over a year ago, and this just started happening a few weeks ago.

Does anyone know where I can report this to Apple?  I suspect some auto-update introduced this bug, but I have no idea how to tell this to people who can actually track it.
(Too bad Apple does not use GitHub for anything...)


How to remove friend's HomePod from audio selection during phone calls?

These can be removed by rebooting your phone.


Normal operating temperatures and fan speeds for mid-2006 iMac?

With a machine that old, dust covering the internal components will make it difficult for the computer fans to dissipate heat.

I would suggest turning the iMac over, opening the RAM cover and blowing out as much dust as you can through the vents.


How to fix fontd process taking up 100% of the CPU?

sudo atsutil databases -remove; atsutil server -shutdown

From 50% cpu usage to 1%

Source: http://icicity.com/2014/02/13/high-cpu-usage-caused-by-fontd-on-os-x


Enabling /bin/bash on Catalina - invisible to System Preferences -> Security & Privacy -> Full Disk Access

I followed Peter Brooks' suggestion and it worked for me:

system Preferences -> Security & Privacy -> Privacy -> Full Disk Access
Click the lock in the lower left corner to allow changes
Separately, Open a finder window
Select Go -> Go to Folder... from the menu bar
Type /bin and click Go.
Drag /bin/bash to the Full Disk Access (right hand side)

Done.
When I Just clicked the + in the Full Disk Access thing, i could not find /bin/bash . It somehow wasn't visible. ¯\(ツ)/¯


Should I have my Mac on until "external" hard drive encryption process is done?

Not necessarily.

OS X seems to handle well pausing and restarting where the encrypting process left off.

However, there is no way I can recommend doing this. I had backups of my data and decided to try it. :) I just wish there was more official information regarding this process.


Maximizing (not fulll screen) safari window in Bug Sur not working (Option Click Plus)

If you hover over green circle while not in full screen you should see following options:

'Zoom' is the option which should deliver result you are calling 'Maximizing the window'. These options are also available under 'Window' on Menu bar (by default keyboard shortcuts are for Tile Left/Right, others must be set).
Shortcut for Full screen is ⌃ + ⌘ + F. Using it while in Full screen reverts window back to initial size before going fullscreen.


OS X Lion Server app reinstallation on 2011 Mac Mini Server

When you boot into the recovery partition or use internet recovery - Lion will be granted as a download according to the serial number of the mac. My suspicion is server will be handled in the same manner as the OS, not as he iLife apps are granted to an Apple ID.

You will have to pay for Lion Server if you want it associated with a specific Apple ID (just like Lion) - but shouldn't have an issue when downloading to that mac.

You can test this by booting to recovery (in any of the manners) and re-installing Lion and Server to a new USB external drive.


Buying iphone connected to a carrier for wifi

You need to be sure the iPhone is not blacklisted.

You can use Verizon site:

http://www.verizonwireless.com/b2c/nso/enterDeviceId.do

Depending on the iPhone model (CDMA or GSM) you need to enter MEID or IMEI code.


How can I listen to free radio on an iPhone?

If you're referring to normal, terrestrial radio such as you'd get in your car or a cheap clock radio, the answer is that you cannot. At least, not without buying a receiver, something like this Griffin radio receiver.


How to configure client OS X VPN (L2TP) connection so you do not loose access to intranet?

You will need to configure the Routes of the VPN connection. This is a bit advanced and needs some fiddling with the connections.

Theres a guide here
http://www.constrainedrandom.com/2011/mac-os-vpn-routing/

You can also lookup other posts for "Custom VPN Routing"


Is Apple's Mail.app more secure over using webmail?

In practice no Mail.app is not more secure.

The reason being that most mail providers also provide a webmail service e.g. Gmail, iCloud, Outlook.

So you have the risks of webmail as well as possibly other from Apple Mail. the attacks against Apple Mail are different.

Re Javascript attacks I use webmail and don't allow download of images and use web blockers to stop various Javascript from running. Mail.app will run Javascript (the message pane is in effect a web browser)

Now if you could find a mail provider that does not provide webmail access then there might be something in the original premise. However there will be other security issues and so you can't say one is more secure than the other.

In all cases turn javascript off if you can if you are worried about security. There is a good case for using text based mail user agents like pine, mutt, even emacs, however the mail might not be as friendly and as easy to use.

Remember security is relative. Nothing is 100% secure. You just have to choose how secure you need it to me. A CIA operative will have different needs to a normal member of the public.


The apple TV is full HD, this is why you can rent and view full HD films and video content.

However if you are streaming from an iPad, and the video on the iPad is not HD the the content streamed to the TV will not be HD.

Edit

This applies to the previous version of the Apple TV with a built in HD. not the current one. Here is a comparison of the two.


The canonical method to reset a net-snmp installation to factory defaults in Mac OS X (there's no difference between client & server in this case) is:

sudo launchctl unload -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist
sudo cp /etc/snmp/snmpd.conf.default /etc/snmp/snmpd.conf
sudo rm /usr/share/snmpd.conf
sudo rm -rf /var/db/net-snmp

This resets the snmpd.conf file to the default & clears out any added users and instance data. This should be valid back to 10.6 or so, possibly earlier, but I'm not sure.

In 10.11.x Apple updated the net-snmp version from 5.6 to 5.6.2.1 which may cause some issues.


Will the 4G LTE used in an iPad bought in England also work in Sweden?

No.
The LTE standard uses different frequencies in the US and Europe. However, the model sold in Europe is the US model. This has been officially confirmed by Apple [1, german].
LTE in the iPad
The iPad supports only the frequencies 700 and 2100 MHz [2] for LTE use. These frequencies are not used for LTE in the EU.
If you take a look at the footnotes, Apple states on their website (US and foreign) that:

4G LTE (is only) supported on AT&T and Verizon networks in the U.S.; Bell, Rogers, and Telus networks in Canada.

LTE worldwide [3]
The following frequencies aren't really such even numbers. They are frequency bands that spread out over a whole spectrum of which little fragments are divided among carriers.

USA: 700, 1800, 2100 MHz
Canada and Mexico: 1800, 2100 MHz
European Union:  800, 1800, 2600 MHz * (bands in use differ widely)
Asia in general: 1800, 2600 MHz
Australia: 1800 MHz

There also exists this table [4] which lists very detailed information on frequencies bands used world wide. You can see here that the the 2100 MHz band is used for UMTS and IMT (= 3G standards) in Europe. The 700 MHz band does not seem to be used by carries in Europe.


Macbook touchpad multitouch stopped working

Answer found on apple boards:

by Majicman in Nov 13, 2009 1:13 AM
I'm an Apple technician who works for a self-servicing provider. This happened to me today as well. Reboot didn't fix it, neither did a new user account.
Here's what I did that did indeed fix it:

Boot into single user mode. (hold down command + S on reboot)
Wait for the # prompt
Type exactly this: fsck_hfs -f /dev/disk0s2

When it's done, type shutdown -r now
Your Mac will reboot. Hopefully that fixed it for you, too!

For whatever reason I couldn't get into single user mode, so I just hold option and opened the Terminal there. Worked for me! :)
( I just wished I knew what the bleep disk0s2 has to do with anything here! )
Also, someone else mentioned there the fsck_hfs didn't work for them but this did:
/sbin/fsck -fy


Is there any way to remove the stock ticker from Notification Center in iOS5?

Go to Settings > Notifications > Stock Widget and turn it Off.

Notifications for all apps that can display them are managed in Settings. Two built-in apps, Stocks and Weather, get exceptional treatment and show in Notification Center as widgets. In the Notifications Settings, they are listed as Stock Widget and the Weather Widget.

To prevent an app from displaying in Notification Center, click the app in the list and make sure the option “Notification Center” is set to off.


Bluetooth Device Shows Up In Menu But Not In Preferences

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!


iPhone 4 is unable to connect to 3G network

Will better to do that issue is you need to try reset your network settings and its automaticaly regenarated from your network carrier..  Try it.. Maybe its work from your problem.


otool -L /path/to/yourapp.app/Contents/MacOS/yourapp

This returns a list of the frameworks that the app binary makes reference to. They are listed with the path to the framework which lets you find the binary for copying, or you can write a script to parse the output to do this for you.

Make sure you run this command on the app binary, not the bundle.

Framework paths beginning with ‘@rpath’, ‘@executable_path’ or ‘@loader_path’ are frameworks located within the app bundle, so as long as you're copying the app bundle you don't have to do anything special with these frameworks.


As of date, there is no official way to upgrade iPhone 4 to any iOS after iOS 7.1.2 and iPhone 4s can't be upgraded to any iOS after iOS 9.3.6


My first idea is to use Parental Controls to restrict access to Keychain Access:

System Preferences > Parental Controls > Add the account that will be used > Apps > Limit Applications > Check all the boxes except Utilities > Keychain Access

If you need the users to be able to open Keychain Access (For example, to manage their own keychains), you can set up the login keychain so that it doesn't unlock automatically and allow/require end users to create and use non-login keychains.  To set the login keychain so it doesn't automatically unlock, open /Applications/Utilities/Keychain Access, go to Preferences > First Aid, and uncheck the last three checkboxes, "Synchronize login keychain password with account", "Set login keychain as default" and "Keep login keychain unlocked".

Neither of these are exactly what you're asking, but should solve the problem.


How can I route all traffic on my iPad through a proxy?

The Proxy you add is a http proxy. Port is not the point. In the other word, other protocol except http traffic will not going through this proxy. for example Facebook App using SPDY protocol so this app "bypass" your proxy


The problem can be in 1 of 2 areas.  Either there is a problem with the photograph, or it is a problem with your Mail setup.

You can test both areas, try sending a different photo, see if it works.  Or, try sharing the same photo via another mechanism, e.g. messages, or Twitter, see if that works.

If one of them fails, then that is your likely cuprit.  If they both work, then it's likely to be a little more nuanced and harder to track down!


Moving ipad pictures to a different computer

If you erased the iPad before giving it to your dad, then this issue wouldn't have happened.

Anyways, can you view the iPad like a camera (in windows explorer)? Then can you copy all of the pictures off?

The warning from iTunes about erasing doesn't always mean it will erase the iPad; I've had to sync my device to a new iTunes and It didn't actually erase (but your experience may vary)


Identify which apps on ipad belong to another account for which I do not have the password?

This script run on my Mac having iTunes showed the account for each IPA-file.

for f in ~/Music/iTunes/Mobile\ Applications/*.ipa;  do (echo "$f" ; unzip -p "$f" "iTunesMetadata.plist" |  plutil -p - | egrep -i "\"(itemName|artistName|AppleID)\"" ) |  perl -e 'while (<>) { if (m!^/!) { chop; $fqn=$_; } if (m/"(.+)" => (".+")/) { $e{lc($1)}=$2; } } print "$e{\"appleid\"}\t\"${fqn}\"\t$e{\"itemname\"}\t$e{\"artistname\"}\n";'; done|sort|less

It is an adaptation of the script shown in https://apple.stackexchange.com/a/256278/3157


The choices that are listed here are based on what is configured within the OS. You can change this, of course.

Go into your System Preferences under 'Language & Region' and click 'Advanced…'.
Under the 'Dates' tab, you can change one of the formats (e.g., 'Medium') to just be the year and click 'OK'.

Restart Pages and you should now be able to customise based on year.

If you go to a computer that does not have this setting, it will still be the same until somebody edits the date field.


Changed Office365 password, cannot change in mail.app: account already exists

I had the same thing happen to me this evening after updating my Office365 password.

What worked for me was to open my desktop Outlook App and send myself a test email. Outlook was then prompted to ask me to put in the password. After adding the password to Outlook and sending the test email, I then went back to my Mac Mail and received my test email there. I also checked the Outbox in Mac Mail, which had three emails waiting to send. I double-clicked on the first one and then all three emails sent.


Why is Airdrop not available between iPhone and old MBP

Your MacBook Pro does not contain the necessary hardware to support AirDrop.

In OS X, the feature didn't use Bluetooth, instead using Bonjour and personal area networking over WiFi to discover and transfer files between Macs.

When iOS gained the feature in version 7, it was a completely different implementation, using Bluetooth LE and WiFi Direct. That's why it was not previously compatible with the OS X implementation.

Apple has now retrofitted the iOS implementation onto OS X in Yosemite. This in turn requires a chip for Bluetooth v4 and LE support. This chip was not included in MacBook Pros until mid-2012.

You may be able to replace the Bluetooth chip in a 2011 MacBook Pro. See this thread on MacRumors. It references Handoff/Continuity but the underlying chip replacement is what is needed to enable AirDrop as well.

  As it turns out the 2011 MacBook Pro can use the same Airport/Bluetooth card as the mid 2012 Macbook pro and its user replaceable so by replacing the 2011 macbook pro Airport/Bluetooth card you should have the ability to use Handoff/continuity.


Contacts app on new iPad incorrectly assumes default country code

Please check the settings under

Settings > General > Language & Region:

iPhone Language: English (Australia)
Region (Australia)

Ideally your iPad should detect your contacts' numbers correctly now, but it doesn't hurt to restart your device.

Also, after setting the settings above you may need to sign out of iMessage and log in again.


Will a restore to default factory settings remove the firmware updates from my Iphone?

Restoring to factory setting will simply wipe out every bit of customization you did to it (every setting you changed from the default) but it will not downgrade the firmware.

In other words, if you bought your iPhone with iOS 3 and now you're on iOS 4, then a factory setting reset will still leave you on iOS 4.


how to split an mp4 into separate clips?

Here's a tutorial I just made to solve the problem. No pro subscriptions, no nonsense.

QuickTime Export Split Clip Tutorial: https://www.youtube.com/watch?v=g7MgVBGfFCo

Essentially, you just use the shortcut to split the clip, move the split over to a new file, and save the new file. Quick and easy. Split up an over hour long video into 13 videos or so [1] in 15 minutes.

[1] https://www.youtube.com/playlist?list=PL3z1TiLmRFcwBvXbeSmXhYbouKfBKZyZv


iPhone using data despite per-app cellular data being disabled

You need to also turn off background updates, which is where the bulk of the data usage is likely occurring.

Settings> General > Background App Refresh > Background App Refresh Off. Of course, you can choose which apps you wish to turn off individually for background refresh instead.

Don't forget that if you are worried about cell data usage, you can also put your phone in Airplane mode, which turns off all radios, but then manually turn on Wifi. This will force your phone to use only Wifi, as the cell radios are off. Simply turn off Airplane mode when you wish to use the cell radio again.


Apps disappeared after unlocking, backup and restore of my iPhone

Probably you didn't transfer your purchased apps to iTunes before you restored the phone. Under normal circumstances you would have gotten a warning message about this. Look under Applications in iTunes, check the iPhone tab and see if your apps are listed there, if not they are not backed up. If you have connected your iTunes software with your iPhone Apple account the apps should sync automatically.

Only way to get them back otherwise is to go to Appstore and download them again. Easiest way is to enter Appstore, go to the Update tab and press Purchases/Not on iPhone. (Using the same Apple-account you won't have to pay for your purchased apps again.)


Fast image preview in macOS context menu (right click)

On Mac it's called Quicklook & is much more powerful than just a quick jpg preview, it can also preview text, pdfs, spreadsheets, audio, movies & even much more specialist data types - anything there's a plugin for.

There are two simple ways...

In column view a preview will always show to the right of the selected item. [This is a pref, accessed by hitting  Cmd ⌘   J  from any open Finder window, but defaults to on]
The size of the preview is dependant on the column width.

Alternatively, from any view, just tap the Spacebar - the preview will pop out at full size [or to fit screen]. You can resize by dragging a corner, same as any window.
This usually has an 'Open With' choice at the top to go straight to the default app for that file type [circled in red].
You can change the currently viewed item by changing your selection. You don't need to be able to see behind the preview for this, you can step around using the arrow keys.
Pressing Spacebar a second time clears Quicklook.

Quicklook is also available from some other apps, such as Mail, for viewing attachments that don't auto-inline, like text files, or if the view is too small, for instance a pdf.


How to set up wireless bridge on same subnet?

I've had the same question, but from the other point of view. I wasn't aware of ifconfig (kinda new to this stuff).
I think I got it working by doing it the other way round.
I first had OS X share my internet over wifi (via sharing preferences)
Then with ifconfig, you'll see that OS X creates a bridge100 (or something)
I set the IP manually like you did on that bridge
and then I add my network connection supplying the internet access.

Not entirely sure whether it works perfectly, at first glance, everything works OK, but who knows....


How can I use the desktop version of Google translate on my iPhone?

I think what you want is in the Google Translate ios app. At least the phrasebook.

Here's Google's documentation that talks about how to use the phrasebook (save translations) on different platforms.

  Save translations - IOS

  Add a word or phrase

  On your iPhone or iPad, open the Translate app.
  Translate a word or phrase.
  Next to the translation, tap Star translation.

  See & delete translations

  On your iPhone or iPad, open the Translate app.
  At the bottom, tap Saved.
  To remove a word or phrase, tap Star translation.

    Note: Your app phrasebook saves on the app only. You won't see it on other devices or in your mobile browser.


How to export and import Atlassian Source Tree from one Mac to another?

Didn't tested, but the Source Tree configuration files are on the following path:

  ~/Library/Application Support/SourceTree

Coping the directory to your new computer should be enough to recover your settings.


Mac OS Creating PDF's weirdly large in size since I changed my iPhone

The Create PDF Quick Action (or similar Automator actions) don't have any 'controls' for the way the PDF is created, (of the kind you find in Acrobat or the PDF Export dialog of some apps). It just 'wraps' the image data in a PDF format. (I think it may also stick the image on your default printer page size.)
It's possible that the HEIC format, being newer, contains compression that the PDF format can't use, so it has to use a less efficient method. How large (pixels) are the images?
It's certainly possible to resample the image data, or increase the compression used, of a PDF: you could create a new Quick Action to create the PDF and then downsample or compress it.
What's the purpose of converting them to PDF? Are you collating images together into one file?
There are other (dare I say better) Quick Actions for PDF manipulation, including one to Create a PDF from images, which is faster than Apple's own and preserves the images' dimensions.
https://github.com/benwiggy/PDFsuite


Cannot log in with Apple ID after performing password reset

To anyone still needing help, this is what was done to fix this issue.

If you reset your iCloud email and password online that does not update your icloud account on your computer with the new email address.

You need to login to your iCloud account online and set your primary email back to the original one (your computer is still using this email) reset the password if you would like.
Now restart your computer and you should be able to log back in.
Once you are logged in, go back to iCloud website and change back to your new email.
Before you log off your computer go to Setting>iCloud and remove the old iCloud account and add the new iCloud account.

That should be all you need to do.
Now your computer is using the new email and you should be able to login using your new password.


Do 64gb and 128gb SDXC cards work on the Macbook Air 2011?

It appears to work according to several reports:

http://www.zdnet.co.uk/reviews/ultraportables/2011/07/26/apple-macbook-air-2011-133in-40093522/

  There has been some concern that Apple lists the MacBook Pro models on
  its web site as having an SDXC card slot, for high-capacity SD cards,
  and only lists the card reader on the Air as an SD card one. We tried
  a 64GB SanDisk SDXC card in the MacBook Air's card reader, and the
  system recognised it as the appropriate size and was able to access
  files on it. However, if you're looking to get a massive SD card in
  order to augment the smallish 128GB SSD built into the Air, note that
  the card slot leaves the SD card hanging halfway out on the side of
  the system, so it's not appropriate for full-time use.

https://discussions.apple.com/thread/3014714?start=0&tstart=0

  I got my Transcend SDXC 64GB flash card, and yes, it reads and writes
  perfectly in my MacBook Air.

According to iFixit it uses the Gensys logic GL822 SD slot controller which is a USB 2.0 high speed device (480mbps) and supports up to 2TB SDXC cards.


Which chargers to buy for a charging station?

The answer is YES.

You can use the higher power Charger on lower power laptops. The battery will only take as much as it can handle.

It is a pull not push process.

Extra info: If you were to use lower power charger on high power laptop, you could end up newer charging the battery fully, or it could take extended time to charge.


Menu bar shows that macOS Sierra very frequently uses location services to check the time zone even though Setting Time Zone is disabled

I had the same issue on macOS 10.12.6. Give this a try:

Under System Preferences > Date & Time > Time Zone: Uncheck "Set
time zone automatically using current location"
Disable location services completely
Delete the file "/Library/Caches/com.apple.AutoTimeZone.plist"
Reenable location services again
Restart your computer

Does it solve your issue? Source


How to Rescue a Scratched CD/DVD on Mac OSX

Step 1: Install Homebrew

In case you haven't heard of Homebrew, it's a software manager that can install all sorts of professional tools (actually, it can install almost anything) on your mac using the terminal.

For instructions on how to install homebrew, visit the Homebrew Website.

Step 2: Install ddrescue

ddrescue is an open source disk recovery tool. It is capable of copying your damaged digital media (hard disk drives / CDs / DVDs) without getting stuck on the "bad" parts of the media. It will simply replace the "bad" parts with blank space.

To install ddrescue, open Terminal and type:

MyMBP:~ MyUsername$ brew install ddrescue

Step 3: List the existing disks

Notice the last disk - /dev/disk2 is the physical DVD drive and MyDVD is the name of the DVD inserted to the drive.

MyMBP:~ MyUsername$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         251.0 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:          Apple_CoreStorage Macintosh HD            250.0 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

/dev/disk1 (internal, virtual):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           +249.7 GB   disk1
                                 Logical Volume on disk0s2
                                 197F2F12-3300-4DD1-8DB5-F14532F3D0B8
                                 Unencrypted

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            MyDVD                   *4.7 GB     disk2

Step 4: Unmount the DVD

To be able to rescue the DVD you should unmount it like so:

MyMBP:~ MyUsername$ diskutil unmount /volumes/MyDVD/
Volume Oct 31 2013 on disk2 unmounted

This action does not eject the drive, only makes it so other parts of the operating system won't be able to use it while the recovery is in progress.

Step 5: Recover the DVD into a .iso file

This action will try to read the entire DVD and write the recovered bytes to a .iso file which can then be used to burn a new DVD or mount directly into the operating system:

NOTE: Wait for it to finish - it can take quite a long time.

MyMBP:~ MyUsername$ ddrescue -n -b 2048 /dev/disk2 MyDVD.iso MyDVD.log
GNU ddrescue 1.22
     ipos:    2736 MB, non-trimmed:   131072 B,  current rate:    1985 B/s
     ipos:    2758 MB, non-trimmed:   327680 B,  current rate:       0 B/s
     opos:    2758 MB, non-scraped:        0 B,  average rate:   1840 kB/s
non-tried:    9223 PB,  bad-sector:        0 B,    error rate:    1260 B/s
  rescued:    2757 MB,   bad areas:        0,        run time:     24m 58s
pct rescued:    0.00%, read errors:        5,  remaining time:         n/a
                              time since last successful read:         52s
Copying non-tried blocks... Pass 1 (forwards)

Step 6: Mount the recovered .iso file and copy its content

Use this instruction to mount the .iso file to the OS. You should then be able to open this file as if it were the original DVD and recover your files. Do note, that some of the files may be broken because of the "bad sectors" but hopefully the majority of your files will be ok.

Step 7: Upvote this answer :)

I hope this process worked for you. If it didn't write a comment and I'll try to help.


Simple answer: No. You're stuck with the sounds in the interface Apple provides, which have default settings for ringtone, text tone, new voicemail, new mail, sent mail, calendar alerts, reminder alerts and airdrop.

You can customize entries in Contacts to use alternate sounds and ringtones for texts and calls, but that's it.

It may be possible to change the click sound if you jailbreak your iPhone, but I'm just guessing.


How to share mouse and keyboard via Wi-Fi to Android?

The webpage at alternativeTo lists some alternatives to 1keyboard for macOS.


How do I stop my iPad from wrongly auto correcting my name?

I'm not sure where you entered your name incorrectly.

If your name is entered incorrectly as a contact then:

Click on Contacts
Scroll down until you see 'Alien'
Click on the contact
Click Edit
Change the name

If you entered your name incorrectly only in your email account settings:

Go to Settings > Mail, Contacts, Calendars
In the ACCOUNTS section, click on the account that has the incorrect information (e.g. Gmail)
Click on Account
Change the Name associated with that email account.


macOS apache installs on different directory with homebrew, how to start/stop?

TL:DR; Use /usr/sbin/apachectl

The issue is that you have bins for both versions, and as they have the same name. Your .bashrc / .bash_profile configuration will determine the order bin folder are included, which determines which wins.

It's generally a good idea to /usr/local/bin win, as this is stuff you installed yourself and not something that comes with the OS by default.

The location of the apachectl script for the apache installed on macOS is located in /usr/sbin, so you can run it directly using /usr/sbin/apachectl. Alternately you can make an alias or symlink for this to make a unique command.


MacBook Pro won’t turn on, even after SMC reset

The answer in my case was No, there was no other option but to change the main logic board. To my extreme fortune, Norwegian law requires five years of warranty on all electronics such as laptops and phones, so it was done for free. The repair shop even told me I was eliglible for a new screen so they threw in that as well.

Update Q1 2018: And to my extreme fortune and several unexpected circumstances, now they even swapped out the battery for free. Talk about longevity :-)


Can I use any other PCIe SSD in Macbook Pro 15 (Retina, Late 2013) with or without adapter?

No, it is not possible to use any of them with an adapter.

If you specifically do not want the OWC one (you do not say why), you can purchase an Apple original part. That will (ofcourse) work.


Sharing an AppStore download across computers

Technically, the press says it will be possible and supported for businesses and schools, but you may need to pay for volume licenses. It's just not yet clear if this will be economical or feasible for individual consumers.

In general, you will have to download each purchase once for each mac. Updates will come up as small delta packages to reduce the load on you as well as Apple. Lion itself seems to be getting extra handling as a special case.


How to get Mail files from Mountain Lion Time Machine backup in Mavericks?

Sorted it after a long trawl through the internet. For any one else with a similar problem...

Thanks to this post by Alberto Ravasio here

  Last but not least, navigate the TM disk within the Finder, (do not enter TM).
  When you are on the date you are looking for, navigate the directory structure until you reach the Users folder.

  Open Terminal and type

cd

  and a space, drag and drop your user name folder inside the Terminal window. That completes the cd command for you. Hit return.

  You are now into your user folder inside the TM disk. Type

cd Library
open .

  please note the dot after open. Last command opens a Finder window of the Library folder inside TM disk.

  Now you are ready to get what you need.


MacBook Pro keyboard and Trackpad not working. All solutions found have failed

You need to replace your top case assembly.

Your keyboard and trackpad (built in) are USB devices, so when you plugged in your external mouse/keyboard and everything worked, you effectively ruled out software issues.  This is also confirmed when trying to boot in Safe Mode or doing NVRAM/SMC resets via the built in keyboard.

If it doesn't work in a pre-boot environment, it's not going to work at all.

The only option left is replacement of the top case assembly itself (Apple PN# 661-02361)  and given that both have failed, it's highly likely that the USB interface on the keyboard has died.

Technically speaking, you could replace just your keyboard and trackpad, but it's an extremely labor intensive proposition.  Whether you are replacing the keyboard/trackpad or the assembly itself, it will require a complete disassembly of the MacBook innards.  iFixit.com has a writeup on the procedure and they rank it as "Difficult" with an allocation of 3 hours time.

Even if you don't plan on undertaking that repair yourself, I do suggest you familiarize yourself with the procedure to understand what's actually involved.  Suffice to say, it will be an expensive repair.


Is there an app that will notify me (in notifications center) if a process is using up a high percentage of CPU for a specified amount of time?

You could run a script like this every minute with cron or launchd:

#!/bin/bash

cpulimit=50
prefix=${TMPDIR}cron_cpu
current=$(ps -erco %cpu,command | tail -n+2 | sed 's/^ *//')
echo "$current" > $prefix$(date +%s)
a=($prefix*); for ((i=0;i<=${#a[@]}-3;i++)); do rm "${a[i]}"; done
[[ $(awk '{s+=$1}END{printf "%i",s}' <<< "$current") -lt $cpulimit ]] && exit
averages=$(awk '{cpu=$1;sub(/[^ ]+ /,"");a[$0]+=cpu;c[$0]++}END{for(i in a){printf "%.1f %s\n",a[i]/c[$0],i}}' $prefix* | sort -rn)
if [[ $(awk '{s+=$1}END{printf "%i",s}' <<< "$averages") -ge $cpulimit ]]; then
    terminal-notifier -title "CPU use" -message "$(head -n5 <<< "$averages" | paste -sd / -)"
fi

If the average CPU use in the last three samples is over 50%, it uses terminal-notifier to display the processes that used the most CPU.

You could also use MenuMeters to display total CPU use in the menu bar:

Or run a script like this with GeekTool:

for i in {1..4}; do ps -erco %cpu,command | tail -n+2; sleep 1; done | sed 's/^ *//' | grep -v GeekTool | awk '{cpu=$1;sub(/[^ ]+ /,"");a[$0]+=cpu;c[$0]++}END{for(i in a){printf "%.1f %s\n",a[i]/c[$0],i}}' | sort -rn


How to completely disable Airplay in Mac OS X

I have just found some help here: Disable AirPlay Mirroring. It will let you disable Airplay Mirroring (I assume that includes just the sound) by using a terminal command. It will deny the computer access to the AirPlay.app that allows Airplay mirroring.

sudo chmod 000 /System/Library/CoreServices/AirPlayUIAgent.app/Contents/MacOS/AirPlayUIAgent

Some problems are associated with this though. I've copied the article's "drawbacks" below.

  The only drawback to this method is that it locks up the menubar, which means your users won't be able to use any of the menu bar items. They're still able to adjust the volume using the keyboard, though. Logging out and back in will restore the functionality of the menubar until the user tries to use AirPlay mirroring again. I guess if your users complain about the menubar crashing, you know what they've been trying to do! To remove your users temptation of crashing the menu bar all the time, you can hide the AirPlay icon by opening System Preferences > Displays and unchecking the "Show mirroring options in the menu bar when available" checkbox.

if you don't enjoy it afterwards and you want to fix it back to defaults without reinstalling OS X you want to do the same steps above like you did when disabling AirPlay. But instead of the 000 after sumo chmod you want to use the numbers 755

You would follow the steps, restart your iMac like before and you should have re-enabled it back


What is the worst thing that will happen if I do not update iTunes to its latest version?

The only way to know this is to watch the release notes for every subsequent version of iTunes and see if the release has any security content.

This will change over time, but the present version of iTunes for Windows is 12.1.2, for which the release notes can be found here: https://support.apple.com/kb/DL1614.

You will note that security is not mentioned for this release, but you do need to be aware of future releases so that you can check their notes when they come out to see if any flaws have arose.

You may find it easier instead to just follow some Mac news blogs, since they typically all run stories when an update is released.

Overall, however, I wouldn't say this is a tremendous security risk.


What do light grey song titles mean in iTunes?

Switching to the "songs" view showed the problem: they were unchecked for some reason (no idea why). And because this checkmark wasn't visible in the "artists" view (which I always use) I never noticed this before.

Anyway, selecting all songs -> check selection solved the problem!


Is there a way to change the default camera app launched from the iOS5 lock screen?

Sorry, but Apple doesn't allow this, and it doesn't even look like there is a jailbreak tweak for this.


Other resolution (no scaling) in MacBook Pro retina

Images and icons look about the same because of integral scaling. But text in non-Retina apps looks clearly worse. The difference is that on a non-Retina display, text uses sub-pixel rendering. But with Retina, old apps use full-pixel anti-aliasing instead. (Those full pixels are then multiplied perfectly with integral scaling.) Not quite sure what Retina text on a Retina display uses, it's hard to eyeball.

Separately, other resolutions look pretty good. The highest is 1920x1200. The trick is they are also rendered in double-resolution (3840x2400) and then scaled down for the display (2880x1800). Because there are so many tiny pixels, the result is acceptable, but the optimal setting is definitely sharper.

So Retina apps at 1920 look pretty good, and non-Retina text at 1920 has smaller and slightly fuzzier full-pixel anti-aliasing.


Pop-up windows that disappear mysteriously

Is it when you launch an application?

I have a similar behavior with jDownloader, and it seems to be the Firewall (Allowing the app to make a connection) popup.

I don't have a solution, it's still happening, but since I don't have any trouble using the app, I haven't looked further.

Since the app is based on Java, maybe OS X Lion notice (after showing the popup) that Java is allowed to connect and cancel the prompt. It's purely based on assumption and I wouldn't be surprise to be proven wrong but I can't find any other reason (since it's only with this, Java-based, app that it's happening)


The serial number is printed on a card that came with the installation DVDs.  If you don't have this card, or the DVDs, then maybe the original owner still has a record of it.


How to capture the visible page screenshot in one step in Safari or another browser?

So after a bit of playing with various options, I've come up with a pretty efficient solution:

I've found that even though it's older, using Paparazzi is the most efficient solution.  I was able to set some sane defaults for the file naming (using YYYY-MM-DD as a base) and the output resolution (around 1020 (width) x1320 (height) for ~120ppi (kept font size output for my monitor resolution at about the same size) letter (8.5"x11") gives me a nice ordered image output that I can then import into PDFPen or Preview, etc. to generate a nice sequential PDF from the output.

This leads to a simple navigation from page to page and a quick cmd-s + <ENTER> to save the image rapidly.


Installing fresh macOS High Sierra on SSD (Crucial MX500) on iMac 2011 21.5 (A1311) (Mid-2011)

I exchanged the SSD drive, and it worked!

For the issue wasn't the installer, it was the SSD itself. I hear that that OWC brand of SSD are less prone to issues. I actually, but the OWC, but then MX500 can on sale and the warranty is longer and the specs are better...but I had to exchange the drive once.


Mounted directory not listing in terminal

I found a solution based on the following steps:

Find the culprit sshfs process: $ pgrep -lf sshfs
Kill it: $ kill -9 <pid_of_sshfs_process>
Force unmount the "unavailable" directory: umount -f Documents/AWS/EC2/Linode


I updated to Mavericks — now my G5 is so slow I can't stand it!

Mavericks System Requirements
Mavericks requires an Mac with an Intel processor (system requirements), so I don't know how you installed it on a G5. Can you provide more information on the model of Mac you have, including the year?
Simply Overview for Reverting to an Previous OS
There are two ways to revert to a previous OS version, both require erasing the computer and starting over. The difficulty and time required will depend on the status of your system backup(s), or for that matter if your even have a backup. Below is a simple overview of the steps required. Further assistance can be provide once we determine your situation.
Made Backup Before Upgrade
Hopefully you created a backup before the upgrade. If so, you should make a separate second backup of any files/documents that you have worked on since the upgrade (if possible, make a second complete backup). Reinstall from your pre-upgrade backup and then copy over any files/documents from your second post-upgrade backup.
Did not Backup Before Upgrade
If you didn't make a backup before the upgrade, you'll need to make one now. Once you have the backup complete and tested that you can boot from it, you can reinstall the pervious version of the OS that you were using. Once the system is backup and running, you can use Migration Assistance to move over all your Apps and documents from your post-upgrade backup.


With FileVault enabled, the disk is encrypted and cannot be accessed at all without you entering the system login password. If it weren't so (e.g., to make unattended boot work), then the point of FileVault, which is preventing access to anything without your explicit authorization, would be lost.

So yes, it is normal. You could create two disk partitions, encrypt the non-boot partition, and put your data there. Or, you could create encrypted disk images and use those for data you want encrypted. The problem with these approaches is that it's very hard to keep potentially sensitive data from leaking into the non-encrypted part: caches, swap files, backups, etc. If you simply encrypt everything, then this management headache goes away.

It's a classic tradeoff between security and convenience.


Is there a way to disable dragging (drag-n-drop) in a read-write dmg file?

It is not possible to disable drag-n-dropping of icons in Finder for a specific read-write DMG from within the DMG.

You should consider creating your installer in a different manner. For example consider using a read-only DMG with an app inside that the user needs to double click. When double clicked it will present a window allowing the user to drag-n-drop onto that area and doing whatever you wanted doing initially.


Is it possible to somehow default the OSX preview window size on open for PDF files?

Customize Preview (easy)

Have you looked under Preview preferences? You can set Initial Document Scale to 100% or larger if you want. You might need to adjust the option below that, defining size equal to screen or print sizes.

Use a better PDF viewer

If Preview.app can't do what you want, look into Skim.app

Skim has an option to open PDFs as Default, Maximized, or Fit. One of these ought to improve.

Customize Preview (complex)

If you want all three points requested above and want them in Preview.app, I would do the following:

Turn on Universal Access so you can script applications via the GUI
Make a new app in Automator that accepts PDFs. Replace Preview with this (open with this by default, put it in your dock so you can drag-and-drop onto it, etc.)
The new app should simply take the input PDF and pass it to Preview, so it displays there
The new app should then use Universal Access commands to

Maximize the window
Set to "Single Continuous Page"
Select the mouse tool you want.


There seem to be a number of people on various forums in your same boat, dating back even to when the iBooks app was first introduced. The only theories I was able to find explaining why this might be happening (large PDFs, file protected PDFs, non-searchable PDFs) are all easily disproven. So I can't help you there.

However, if all you're trying to do is get the file out of iBooks and into your Dropbox, this is doable with the help of a computer. I've included instructions for two methods below. If you have a Lightning to USB cord and a computer that you use iTunes on, it's probably easiest to transfer the file the first way. If not, you can also do it wirelessly with iCloud Drive.

If you don't mind buying software, you can also accomplish this with a third-party computer program such as iMazing or PhoneDisk.

iTunes

Connect your iPad to a computer using a USB cord (or Sync over Wi-Fi, if you have that set up) and open iTunes. Wait for the device icon to show up near the top left of the window, near the <> buttons. When it does, choose File > Devices > Transfer Purchases from [your iPad's name].

Unfortunately, depending on how much content you have on your iPad, this may be fairly overkill... using this method will sync all purchased content from the iTunes Store to your computer, as well as "all podcasts from your device's Podcasts app and copies of all PDFs, books, and audiobooks from your device's iBooks app" (source).

Once the transfer is complete, your PDFs and other ebooks will appear in the Books app on your Mac, and you can drag and drop the file into Dropbox or wherever else you want it.

iCloud Drive

First, you need to make sure that the following things are set up properly, both in iCloud settings on your iPad (Settings > iCloud) and on your Mac  ( > System Preferences > iCloud):

You are logged into iCloud
iCloud Drive is turned on
iBooks is turned on within iCloud Drive settings

Having checked that, open iBooks on your iPad and wait a moment. If there is a cloud icon in the top right, that means it's busy syncing your documents. (You can tap on it to see what it's currently syncing.) Wait for it to finish.

Now open iBooks on your Mac and wait patiently for the PDF to appear. Make sure that View > Hide iCloud Books is not ticked.

Once the PDF is synced to your computer, simply drag and drop the file into Dropbox or wherever else you want it.

Note that this method can be a bit temperamental and may not work, even if it seems like everything is set up correctly. If it doesn't, and this is your only option, try rebooting your devices and follow the steps again.


How do I change the image display duration in the Catalina screensavers?

I stumbled upon this problem today. Even with 'csrutil' disabled I couldn't modify the screensaver. I found out Catalina double protect the user setting the volume as read only.
After disabling 'csrutil', do 'sudo mount -uw /' on terminal and you'd be able to modify it until restart.


Selecting files for input Safari applescript

It is not a "Finder" window. It is owned by  Safari

You have not made clear how you know which file to choose.
So I assume you will be partially hard coding it into the script.

This example assumes you are able to form a path string to the file.

This example is also written to click and add an image to an Answer on one of these Ask-different pages.

You already know how to click buttons with the Applescript/js

But you can use keystrokes to enter the command G+cmd+shift  which will open a 'Go to..'  sheet in the 'Choose' dialogue window.

You then keystroke your path to your file.

The next two buttons 'Go' and 'Choose' are the default ones so you can just keystroke Return to hit them.

(This image was uploaded using the script)

activate application "Safari"
tell application "Safari"
    tell document 1

        do JavaScript "document.getElementsByClassName('wmd-button')[5].click()"
        delay 1

        do JavaScript "document.getElementById('filename-input').click()"
    end tell

end tell
tell application "System Events"
    keystroke "G" using {command down, shift down}
    delay 1
    keystroke "~/Desktop/image/image.png"
    delay 1
    keystroke return

    delay 1
    keystroke return

    delay 1

end tell

tell application "Safari"
    tell document 1
        do JavaScript "document.getElementById('add-picture').click()"
    end tell
end tell


Despite the fact that your iPad says it's not charging under Windows, it will in fact charge if the display is off. Check your battery percentage, attach the iPad and turn off the display (standard locking by pressing the power button once); check back in 30 minutes or so and you'll see that you've definitely gained several percent, as much as 10% in that time.

As to why the iPad indicates that it's charging under OS X but not under Windows I cannot say. Fortunately it's lying. :)


How to stop programs stealing focus when initializing a build in XCode?

You can add this to the Info.plist of Xcode to make it launch in the background:

<key>LSBackgroundOnly</key>
<string>True</string>

(You might need to get write privileges on the Info.plist if you downloaded Xcode from the Mac App Store)

Source and details about what it can break: http://reviews.cnet.com/8301-13727_7-20085680-263/keep-applications-from-stealing-focus-when-opening-in-os-x/


How do I delete just the videos from my iPhone?

Sorry for the self-answer, but I found a way to do it quickly using just the iPhone and no third-party software.

In iOS 4.3, do the following:

Open Camera.app
Click the photo thumbnail to view the photo library
Click Camera Roll to view all photos
There's a capsule button at the top that says 'All|Photos|Videos'. Select videos
Press the Export icon - you can now tap on videos to select them before hitting Delete.

Not sure why this functionality is not available from Photos.app, but there you go.  Thanks for all the other answers.


VPN with mac mini reachable locally but not from the Internet

I will assume that your situation is like mine and most other at home: Your Mac mini and other computer is on a local network, you have a router and is connected to the internet using a service provider. Then there are four things needed to reach you mini from the internet.

1) The mac mini has to be "opened" for access. It seems you have done this already.

2) The internet provider needs to allow access from the internet to your computer. Some do, absolutely not all. And not necessarily on all ports. Some allow web on port 80 and 8080, some allow ssh. You need to check.

3) You need to find out the IP adress to your home network, actually to your router. Logging in to the router might give you that. One problem is that it can change, the IP adress lease is time limited. Some service providers can give you a static IP adress, often at a cost. If not, you could use a dynamic DNS adress service.

4) Finally, your router needs to take internet connections and transfer them to your Mac mini. You need to log in to the router and set up things there.

And lastly, remember to add security. It will take a few minutes before the crooks out there try to connect and make nasty things.


It will work as you expect. However, a work around for first-track-will-be-played-most when using album shuffle is to have one or more intermediate playlists that take random samples from the library, e.g.,

Library 10 000 tracks

Playlist A selects 1 000 tracks from Library by random

Now if you play from A shuffled by album the first-track-effect will disappear. Add intermediate playlist at will (e.g., if you want all tracks played less than 5 times or so)


Select text field that is not focused without losing selection

Either use Cmd/Tab to cycle round to the app, or simpler, click the window's title bar...


How to add an icon to a keyboard layout?

I am not sure if ukelele itself implements a way to do this, but the solution turned out to be trivial.
Locate your .bundle file which is being used. Mine was at /Library/Keyboard Layouts/#British.bundle.
With a terminal, cd into the Contents and then Resources subdirectories of the bundle. Now the command open . should open finder at this location.
Have fun replacing the .icns file within.


Configuring OS X Firewall to enable SSH/SCP only on the local subnet?

IceFloor is a frontend/GUI for the system firewall pf and should be able to be configured to do just what you want.
http://www.hanynet.com/icefloor/


Will Turning Data usage off disable the hotspot?

Technically, yes.If you turn off the data plan, then regardless if they try to be a hotspot, it won’t matter because there won’t be a data plan to use.
However, (I know this because I was researching data plans last week) you can get a data plan that doesn’t have hot spot or tethering capability.  So, your user can still have mobile data, but they won’t be able to use their mobile device as a hotspot.   You also might want to ask the carrier if they can manually turn off the hotspot function.


Finder → Preferences → General → uncheck Open folders in tabs instead of new windows


Your default keychain that holds the login info/wifi passwords, etc is called login. If you forget the password, you can reset it from Keychain preferences. It is usually the password of the account when you first created it. Refer to Apple's support documentation for more information:

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


How to retrieve emails from iCloud account that is full

This happened to me too. I spoke with Apple support on the phone and because my email was an iCloud email, they said there is most likely no way I would receive the emails I missed while my storage was full. The people sending the emails most likely received a bounce message indicating the mail was not delivered.


Is there a file copy utility for OS X that's similar to TeraCopy for Windows?

I looked around for something like TeraCopy a while back but everything I found was pretty horrid.  In the end I decided to just use cp and rsync on the command line.


Ensuring file sharing stays enabled MacOS

Proper tools in macOS client are sharing and launchctl which have to be run as root:

Check man sharing how to use it.

To start/stop or load AFP or SMB use:

sudo launchctl [subcommand] -w /System/Library/LaunchDaemons/com.apple.AppleFileServer.plist

or

sudo launchctl [subcommand] -w /System/Library/LaunchDaemons/com.apple.smbd.plist

The proper tool to deal with macOS server related tasks is serveradmin which has to be run as root:

sudo serveradmin -h
Usage: serveradmin [-dhvx] [list | start | stop | status | fullstatus | settings | command] [<service_key> [ = <value> ]]

  -h, --help     display this message
  -v, --version  display version info
  -d, --debug    print command
  -x, --xml      print output as XML plist
Examples:
serveradmin list
    --Lists all services
serveradmin start afp
    --Starts afp server
serveradmin stop ftp
    --Stops ftp server
serveradmin status web
    --Returns current status of the web server
serveradmin fullstatus web
    --Returns more complete status of the web server
serveradmin settings afp
    --Returns all afp configuration parameters
serveradmin settings afp:guestAccess
    --Returns afp guestAccess attribute
serveradmin settings afp:guestAccess = yes
    --Sets afp guestAccess to true
serveradmin settings
    --Takes settings commands like above from stdin
serveradmin command afp:command = getConnectedUsers
    --Used to perform service specific commands
serveradmin command
    --Takes stdin to define generic command that requires other parameters


Toggle Natural scrolling from command line with reload

The same setting is visible in the Magic Mouse and Trackpad panes. This works if you have a Magic Mouse connected (but not if you do not):

osascript -e 'tell application "System Preferences"
    reveal anchor "mouseTab" of pane id "com.apple.preference.mouse"
end tell
tell application "System Events" to tell process "System Preferences"
    click checkbox 1 of window 1
end tell
quit application "System Preferences"'

This works if you have a trackpad:

osascript -e 'tell application "System Preferences"
  reveal anchor "trackpadTab" of pane id "com.apple.preference.trackpad"
end tell

tell application "System Events" to tell process "System Preferences"
    click radio button 2 of tab group 1 of window 1
    click checkbox 1 of tab group 1 of window 1
end tell

quit application "System Preferences"'

nb: the "Accessibility Inspector" tool that comes with Xcode can be used to locate UI items to click on.


USB ports not working, no paired magic keyboard, "no bootable device, press any key" on an iMac 2009

Since you've ruled the HDD out, the remaining options are pretty much the hard drive cable or the logic board. As none of the USB ports work, it sounds like a logic board issue. A way to test would be to reset the PRAM. To do this, plug in a USB keyboard, then before powering on the machine, hold then Cmd, Option, P, R keys all at the same time,hen reach back and power on the machine while holding the keys. Continue to hold the keys.

If the logic board is working, the machine will power on, you may see a white screen, then it should reboot and chime again. Keep holding to see if you can get it to chime multiple times before releasing the keys.

If that works, then the USB ports are working, and you'd be looking at an issue with the HD cable. Otherwise, unfortunately, it's most likely the logic board, but again, that would require a trip to an Apple Store or AASP (Apple Authorized Service Provider).


Apple Mail 6.2 doesn't download messages from Gmail over POP3

Review your settings on the Gmail website; could you have perhaps overlooked the checkbox to Download all messages from today on (or whatever your preference is)?

By the way, I have my Mail.app accounts all set to POP3, and iDevices, of course, are on IMAP ... so that works; on the GMail page, you can leave them both on.

Check your Mail.app account preferences: in Advanced, the port needs to be set to 995. And have you run Mail's Connection Doctor, under the Window menu? When it can't connect, clicking on the error will take you right to the place in Mail preferences where the error is.


Is it possible to use a touchscreen monitor on a Mac Mini?

Yes - they connect over USB like a mouse and over whatever display method you want to push the video.

Since the OS isn’t touch based, you basically emulate the mouse and it’s not going to change the OS how it behaves.