Does the AirPods case need to be around while listening via an iOS Device? When using an iOS device with a set of AirPods that have previously been paired, is the case also required whilst wearing them or can the buds be used without it?

No you don’t need the case to continue listening!

The case is only used for charging/storage and the initial (one time) pairing with your devices.

You can leave the case at home and get full usage out of the AirPods until the battery dies. This includes switching devices, monitoring battery levels, using Find My AirPods, etc.

I typically take the case with me unless I’m going for a quick jog/walk. I don’t recommend storing the AirPods anywhere other than the case or in your ears, to avoid losing them. Obviously the charging case prolongs the overall battery life as well.


nginx.vim syntax highlighting Attempting to use a VIM syntax highlighting plugin for editing nginx config files on El Capitan. It doesn't take.

It asks that you place these files and add these directores:

~/.vim/syntax/nginx.vim         <-- the plugin itself
~/.vim/filetype.vim.            <-- additional config file

filetype.vim contains just this one line:

au BufRead,BufNewFile /etc/nginx/*,/usr/local/nginx/conf/* if &ft == '' | setfiletype nginx | endif

The default nginx config files directory, in os x (via brew install), is

/usr/local/etc/nginx

I assume the comma separated wildcard paths in filetype.vim are all the paths with which to look for nginx configuration files (.conf).

No manner of editing filetype.vim will take. I've tried adding /usr/local/etc/nginx/* both by itself and as one of the comma separated arguments to the au vim scripting command.

There are no error messages. Has anyone ever used nginx.vim on os x? Much thanks!

Wow am I a doof. I forgot to actually turn on syntax highlighting in VIM. Once I did it worked just fine.

:syntax on

Welp, at least I learned something about VIM and OS X directory structure I guess! Sorry folks.


How can I 'reset' the inertial scrolling in Chrome? Chrome 17 on Lion has inertial scrolling like Safari 5 does. However, sometimes it reaches a point where the top/bottom edges are not bouncy anymore. This happens on a user profile in Chrome without any installed extensions.
The inertial scrolling is still there, but without the bouncy edges. The latter can be restored by restarting the computer. Just restarting Chrome does not fix it.

Is it possible to restore the bouncy scrolling in Chrome without restarting the computer?

I've issued at bug report at code.google.com.
Issue 120188The inertial scrolling is not bouncy at the top/bottom edges after some use

I've made two screen recordings:

Scrolling OK
Scrolling BROKEN

Are you referring to top and bottom bouncy or left and right bouncy?

If left and right, it's because Chrome uses two-finger scrolling for back and forward before allowing bouncy. (I.e., if you can go back to a previous page but not forward, you can bounce on the right side but not the left. If you can't go back or forward, you can bounce on both sides. If you can go back and forward, you can't bounce on either side.) If you have two-finger back and forward gestures off (as I do), you still can't bounce laterally (which is very annoying, as I like to idly bounce the webpages as I read them).


How to create two-week recurring alarms and reminders? I have many events that recur on two-week time spanned schedules.  For example, I have several things that happen based on a two-week period where these things repeat on: Monday, Tuesday, Wednesday, Saturday, Sunday, Thursday, Friday... and then starts over.

Here's a visual example, of what some repeating events could be in a two-week schedule (I left off AM/PM as this is just to give some visual help and doesn't reflect the precision of a real schedule):

It seems that there are a lot of calendars that have the weekly repeating option for days, including the iOS Clock.app, but I really need to set these times out within a two-week pattern as you can see that keeps repeating forever.

Is there a calendaring mechanism on macOS and iOS that facilitates creating indefinitely recurring alarms and reminders on such two-week rotations?

The app you are looking for is Due which can set up repeating reminders as you have described, AND (most importantly) it can repeat its reminder alarm every X minutes until it is marked "done" (at which point it will reset for the next occurrence). I use this for reminding me to take out the trash, which needs to be done every other Wednesday, for example.


Is it possible to automatically show apps which are installed to "~/Applications" in the system's "Applications" folder? Some applications are not installed to the usual root "Applications" folder, but to the one inside the user's home directory. They then don't show up when I click on the Applications folder icon in the dock.
While they sure can be started using Launchpad, I'm more used to start applications via the application folder link in the dock.
Is there a way to keep my habit but also see the user's applications?

Here is what I would do:

Create aliases for the apps already in: ~/Applications

Select the apps in ~/Applications and drag an drop into /Applications while holding down: option command

Create an Automator Folder action that will create an alias for any new app placed in ~/Applications into: /Applications

In Automator, File > New, then select: Folder Action
Set Folder Action receives files and folders added to ~/Applications
Add a New Aliases action setting In: to: /Applications
Save as, e.g.,: Alias My Apps to Apps

To work with Folder Actions afterwards, you can bring up Folder Actions Setup using Spotlight by typing in e.g. Folder Actions Setup until it shows, and then press: Enter Or, right-click on any folder in Finder and select Folder Actions Setup… from the Services section of the pop-up menu.


Tracing real-time filesystem calls by process? I suspect my backupd is performing a full filesystem scan. I can't tell because I don't know how to use Activity Monitor (or something else) to see what directories and files backupd is reading or writing. I'd like to check that and do it periodically so I can see if it's making progress.

Can someone suggest a program or command?

This was, ultimately, the best way I could find to do it:

sudo fs_usage -f filesys | grep backupd

If I wanted to stop the flow:

sudo fs_usage -f filesys | grep backupd | more

And if I wanted to output to a text file:

sudo fs_usage -f filesys | grep backupd >output.txt

I largely found this information here at AskDifferent. I then used the manpage for the command to piece together my commands above.

Hope that helps someone.


typing a backtick on Mac OS X Snow Leopard I have had a hunt around the net for this, but cannot find an answer - how do I type a backtick on Mac OSX Snow Leopard? I have a Macbook from late-2010.

The backtick character is one I use on a regular basis on StackExchange.

Disclaimer: This info is for English keyboards. If you're using a keyboard for a different language, look for the keys on your keyboard that match the photos.  Pictures of Apple's keyboards for various languages can be found here.

This question was answered 5 years ago, but pictures may be helpful for viewers coming upon it now.

To make a backtick on the US English keyboard - Use the key just to the left of the 1 key

To make a backtick on the British or International English keyboard - Use the key just to the right of the left shift key


What does it mean to be signed in to the devices below? So I am signed in with my company's Apple ID and I noticed I am signed in to several devices according to Apple website. What exactly does that mean in terms of capabilities and features?

It just helps you monitor things. You’d want to know if someone had your password and signed in. You also can run into device count limits for playing purchased music, so you need somewhere to see those counts as well.

There’s not much to do other than know it signed in and clear items when you think they are retired or erased or donated/sold.


Editing a color profile after calibration Is there a way to edit a color profile once you have finished calibrating the screen? I have a Dell S2340L, and after calibrating, I've noticed there is too much red in the greys.

Am I able to adjust this without going through the whole calibration process again?

I'd suggest tweaking the color balance on the monitor a bit. There should be a menu item to adjust color on the monitor itself. I suggest setting a custom color profile on the monitor rather then relying on the standard "warm"/"cool" type settings. (I have a Dell Ultra Sharp, and had to tweak this a few time before I got it right).

It's worth pointing out the calibration on most LCD/LED monitors can be very difficult since the color and contrast can change with the angle of view. While newer higher quality monitors minimize this, it's still evident.

Also if you really want everything well calibrated you can pick up a calibration system for ~$100. I have used a Huey Pro with great results for years, sadly it seems to no longer be sold, however this: http://www.pantone.com/pages/products/product.aspx?pid=1339&ca=2 seems to be similar (perhaps it's replacement).


Is there a publicly-accessible changelog for Mojave beta? I have an Apple Developer account, but it is not a paid account - I'm not really a developer, I just like to be able to see what's going on.

Therefore, when I try to access https://developer.apple.com/news/releases/ to find what's new in - for this week, public beta 8 - I'm met with a link to developer beta 10, which I cannot access.

Nowhere can I find a similar link to the current public beta.

Do Apple provide any changelog for public betas?

Note: I don't need a blow-by-blow account of every commit, just the broad strokes.

Short answer, no.

Apple doesn't provide release notes for public beta software. However, a comprehensive release notes report is available to registered developers enrolled in paid developer program (I am a paid registered developer).

As you mentioned, you are not looking for release notes from a developers perspective, but just need the broad strokes on what has changed. May I suggest looking through the one of the various blogs covering Apple news to get an idea.

One such popular site is MacRumors. They are generally quite prompt with any updates in the Apple ecosystem. MacRumors also share a birds eye view on the changelog with more user centric release notes.

See their blog post announcing macOS Mojave 10th public beta which outlines the user facing changes introduced in the macOS Mojave and notes the changes introduced since the last beta. Each post generally also link to the post for previous release and can be traced back to the first beta.


macbook mid 2010 13" won't recognise ssd crucial mx200 HD 500gb placed in the optical drive I have a macbook pro 13" mid 2009 2,26GHz with HDD 160gb. I recently replaced my optical drive with a crucial SSD 240GB and it works really good and it was quite an easy process. Now i am trying to do the same to a friends Macbook pro 13" mid 2010 with a crucial MX200 SSD 500gb, only now
it is not recognisable at all by the MBP.

both sata drives on MBP 2010 are on 3gb/s speeds while the ssd is 6gb/s!
Both macbook run el capitan

I tried disk utilities , i tried restarting with cmd + R and again is not there. I also replaced my friends sata cable with mine (which works fine) and still nothing. I am looking to several articles over the net and the most hopeful case is to replace the sata cable from the ssd to the board. If thats the case i will not have to return the item or lose my money but just buy a new cable.

Basically, do some SATA cables prevent negotiation to 6Gbps or is the 3 Gbps something to ignore and instead focus on maybe the adaptor i got to fit in the new ssd might be broken somewhere in the connection?

I suggest trying to put the SuperDrive back, and then seeing if the SATA cable for that works, if it does, you can switch the HDD for the SSD to check if it's faulty.

Also - there are inexpensive power supply / USB data connection kits so you could get one of those and test the bracket you purchased external to either MacBook and see if everything works over USB first.

the inexpensive self powered ones are fine in most cases
if you're wanting something to be sure you have a good part, consider getting one with a power supply. (or three since they are so cheap and as you know - sometimes a new part could be bad so having spares to test helps greatly). https://www.amazon.com/SANOXY-A12940-Drive-Adapter-Converter/dp/B001OORMVQ/

I wouldn't worry about a link negotiation between 3 Gbps or 6 Gbps - either will result in things working and even in the most stringent benchmark - it's almost never you are seeing more than 3 Gbps on a sata link so in practice you see no benefit from that - certainly not a cause for a drive not showing up entirely.


Vimperator Style Extension for Safari 5? Do we have a Vimperator style extension for Safari 5?

Not really. I've been hoping for a good one, but I keep coming back to Firefox and Pentadactyl, a Vimperator fork.

Safari does have Vimlike and Vim Keybindings, but Vimperator and Pentadactyl are miles ahead in terms of features. If all you're looking for is Vim-style movement and the ability to follow links from the keyboard, those should do the trick, but I miss a lot of the deeper features that Pentadactyl offers: javascript evaluation, quicklinks, ability to yank links from the keyboard, and much, much more.


mSATA SSD via IDE-adapter in PowerBook G4 12” I have a beautiful PowerBook G4 12” 1 GHz PowerPC ((A1010 (EMC 1986)) here with a dead hard drive which I want to replace with a SSD.

Is there any reason why a mSATA SSD (with mSATA to IDE adapter) would not work on this device?

Those adapters should work in principle for PowerBooks of that glorious PowerPC era.

Although you might want to doublecheck your exact model.

Apple PowerBook G4 1.0 12" (DVI - Al) Specs
Identifiers: 12-Inch DVI - M9007LL/A* - PowerBook6,2 - A1010 - 1986

Apple PowerBook G4 1.33 12" (Al) Specs
Identifiers: 12-Inch 1.33 GHz - M9183LL/A* - PowerBook6,4 - A1010 - 1986

Initially I thought those models would still be limited to 120GB supported capacity, but some vendors offer up to 480GB for a model of that range.

You might also want to check whether it fits into your machine. But that shouldn't be a real problem. This one is reported as being used just the way you intend to: in a PowerBook G4, but sitting a little tight

  adaptare 46235 mSATA-SSD 2,5 Zoll IDE-Controller 44-Pin Adapter

Or as experienced and friendly commentator John Keates says:

  I can confirm those adapters work. Also used a 1.8 to 2.5 adapter, a CF adapter (but that is easy) and SD adapter. Also one m2 adapter but only the sata variant; have not seen a NVMe to IDE adapter yet.

  Most issues were with unstable power for the adapter (resets during bootup) if it didn't have good DC-DC circuits on-board. There were a few where the adapter chip wouldn't allocate beyond 137GB, this is mostly because they completely emulate a disk and fake the on-disk format (but do pipe the data to the underlying disk just fine). There is an issue with some chipsets that don't do the right protocol switching on the IDE side, like going through PIO and DMA modes, but I haven't seen that type of issue for years. Note: last time I used such an adapter was about 4 years ago on OSX10.3 (iBook G4)


How to have a custom (or no) sort order in Finder windows Similar to this question, that has been answered, I have an end user that wants to sort folders in a particular order that doesn't really match any of the basic sorting methods.  She doesn't like the list view, instead preferring the column view, so that answer wouldn't really work for her.

She would like to sort folders that are named after months in the order they would appear on a calendar.  Basically like this:

Work January
Work February
Work March
Work April
.....

Normally I'd say there's no way to do this, at least without using tricks similar to the answer of the question I linked to above, which are in my opinion outside the scope for most basic users.  However, at one point she had a folder set up similar to this.  It could have very well been a bug or anomaly but I'm trying to exhaust all options before ruling it as such.

Any ideas?

If you simply put numbers (for the months) in front of the folders names they will be sorted.

If you prefer then use the Folder Action and Automator to do that automatically, for the folder containing the sub folders with the months names (numbers).


How to handle new image/video format of iOS on Linux laptop? I transfered my images from my iPhone to my Linux laptop (debian 10) by running the following command:

sudo dmesg|grep SerialNumber:

Then in file browser, I pressed Ctrl+L then write:

afc://IPHONE_SRIAL_NUMBER

This gave me access to my iphone and I could copy all the images to my PC.

When I checked the transferred files, I didn't actually find files. I found that each image is located in a folder. Folders have different extensions (.HEIC, .JPG, .MOV).

The images in these folders have poor quality and are small-sized. Not what I used to find when exporting my files to PC.

I tried converting the .HEIC folders to .jpg by running this command

for file in *.heic; do heif-convert $file ${file/%.heic/.jpg}; done

but I got the message :

Could not read HEIF file: Invalid input: No 'ftyp' box

How can I handle these folders to get normal images and vidoes out of them? I don't want to loose my images or my images' quality.

Here is the code / standard for the MPEG image container that Apple has widely adopted a bit earlier than others, but most major platforms should have good support these days.

https://github.com/nokiatech/heif

I would try this library if you can based on my trust in the Ubuntu community’s ability to vote up some great posts. (It appears Debian was patching HEVC in 2019 so you may already have the libraries you need once you know what to search for...)

sudo apt install heif-gdk-pixbuf

https://askubuntu.com/questions/958355/any-app-on-ubuntu-to-open-and-or-convert-heif-pictures-heic-high-efficiency-i

I do not have direct experience, so I welcome a big edit here or a better answer if someone has more direct experience.


How do I get someone else's apple ID off of the iphone 5 I purchased a used iphone and now I cannot transfer my information to it because it still has the former owner's Apple ID.

This depends on the situation.
IF Find My iPhone is on, he'll have to remove it from his account. Otherwise, sign out in iTunes & App Store, iCloud, FaceTime, Messages > Send & Receive, and GameCenter (can all be found in Settings, some may not be signed in). In most of these, you can tap on the AppleID: or Account: field, which shows the email address, while in iCloud, you scroll down to the bottom and look for Sign Out (iOS 8) or Delete Account (7 and earlier)
Ideally, as long as Find My iPhone is not turned on, Settings > General > Reset > Erase All Content And Settings, or even more ideally, use iTunes to Restore iPhone.

In summary, when Find My iPhone is NOT turned on, the best way is to use iTunes to restore.

Edit: I just noticed you tagged your question ios-5. If it's not running iOS 7 or newer, you may not need to worry about Find My iPhone. Activation Lock begins with 7. (You can check the version in Settings > General > About if you're unsure.)


Get a menu of windows that are open with command-` like you have with command-tab This is one of my biggest frustrations on mac, Im thinking about disabling nested windows because of it- if thats even possible
When I hold command-tab I see a nice menu of the open apps I have. I can see the app Im going to switch to directly
Now if I want to switch between windows of the same app I just have command-` which sucks because I cant hold it to see a menu of windows that are open. If I've got 3+ windows of my IDE open this is shitty and frustrating because I have to cycle through until I get to the window I want. I cant, like I can with command-tab, see a menu and then go directly to the right window
Is there any 3rd tool that does this or a mac feature Im not familiar with?

See the Mission Control System Preference for options to display windows.
"Application Windows" shows you just the windows for that application. The default key is either F4 or CTRL down.
Mission Control shows you all the windows in each Desktop Space, which you can select to be grouped together by application or not.


Unable to shrink a partition in osx 10.10 Hi, I installed windows using bootcamp, but i made the mistake to make the bootcamp only 20gb, so i want to expand it. I found a way to do so, but firstly i need to shrink my other partition - Macintosh HD, why am I unable to do so? Thanks

Well, I have another solution; hope it would work fine. Backup Windows data (bootcamp) firstly. Use Bootcamp utility to delete the existing Windows partition. Once you delete it, recreate new Windows partition with Bootcamp a little larger as you desire. Then reinstall Windows.


El Capitan Terminal command to toggle clock between Analog and Digital? Is there a terminal command that will toggle between the Analog and Digital clock in the menu bar?

Can do it via point-and-click, but would like to incorporate it into a script that prepares my computer for recording screencasts.

Make it analog: defaults write com.apple.menuextra.clock IsAnalog 1 && killall -KILL SystemUIServer

Make it digital: defaults write com.apple.menuextra.clock IsAnalog 0 && killall -KILL SystemUIServer


Where does the OS X routing table come from? Trying to find out where the initial routing configuration for OS X is stored (plist, or wherever), and what happens at startup to read that configuration and configure the network interface(s).

In OS X, the routing table is mostly managed by configd, based on the network settings in /Library/Preferences/SystemConfiguration/* and the live status of the network interfaces (e.g. is there something plugged into the ethernet jack at the moment?).

The network settings can be examined by looking in /Library/Preferences/SystemConfiguration/preferences.plist, but the format is very hard to understand; I recommend using the Network Preference pane, or the networksetup command to view & change settings.

The routing setup itself is pretty simple: each configured interface gets a route to its local subnet, and for destinations not on any of the local subnets, a default route is set based on the "Router" setting for the highest-priority "live" interface (see the order of the interfaces in Network prefs, or use networksetup -listnetworkserviceorder and then look for the first "live" interface on that list).

Starting in 10.6, things got a little more complicated, because Apple added source-based default routes for the defined routers of all interfaces. Essentially, this means that if traffic from a particular IP address comes in on an unexpected interface, it'll be replied to through the router defined on that interface.


How do I remove java version "1.6.0_65"? Every single time I try to install the Oracle Java Runtime Environment... I keep being stuck with Apple's Java 6. I have no idea how Apple's Java 6 ended up on my computer in the first place. The mac OS version is High Sierra 10.13.4.

I keep putting "java -version" into the terminal and it comes out telling me I'm still running 6...

How do I remove Java 6 completely as I need to install java 8 instead?

Visit first this page: How do I uninstall Java on my Mac? and see that Oracle is offering a tool for uninstalling (here).


Mac OSX Virtual box running appliance copied from Windows I had to work out of the office today and brought a copy of the Windows 2000 appliance I have on my Windows 7 machine at the office.

Copied this to the Mac I am now on (Mavericks) and copied the files into the /Users/myUserName/VirtualBox VMs directory.

Added the host-only adapter to the VB preferences and then added this to the network for the specific machine.

When running the virtual machine I boots and then fails with

Failed to open a session for the virtual machine Win2000ServerAdv.

Nonexistent host networking interface, name 'VirtualBox Host-Only Ethernet Adapter' (VERR_INTERNAL_ERROR).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Console
Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}

Now I am no netowkring expert but my guess is that issue lies with the fact that 'VirtualBox Host-Only Ethernet Adapter'is the name of the adapter on Windows and on a Mac this gets named to 'vboxnet0'.

Is there a simple work around for this poosibly, I thought there would have been a way to rename the vboxnet0 adapter name to 'VirtualBox Host-Only Ethernet Adapter' but cannot see anything for this, not even in the command line tools.

Any help in this regard would be great, or a simply 'No it cant be done' would be helpful.

Ta
John

From https://www.virtualbox.org/ticket/7067:

On Linux I had to manually create the vboxnet0 interface:

$ vboxmanage hostonlyif create
then manually edit each .vbox file and change all lines:

<HostOnlyInterface name="VirtualBox Host-Only Ethernet Adapter"/>

to

<HostOnlyInterface name="vboxnet0"/>


AppleScript for moving completed downloads to other folders I'm looking to write a script that will move all file in the downloads folder (once fully downloaded) to different folders on the hard drive and external hard drive. Where can I learn more about how to do this?

You could use a folder action like this:

Or create rules like this in Hazel:


Freeing up space and it said I was using up more I wanted to free up some space on my iPad, so I looked at Usage, and it said Mail was taking up the most bytes, so I went to my All Mail and deleted all the adds (which was a lot). Then I went to trash and deleted everything in there. Then, I check Usage again. It had said at first mail was taking up 19.4 MB, then AFTER I deleted a ton of things, it went UP. Now, it says it's taking up 33.4!! It did the exact opposite. I deleted a bunch of stuff, and the amount of storage the app was using went up... what's happening?? Thanks!

First, try signing out/disabling all Mail accounts. If that doesn't work, keep reading.

iOS apps created by Apple create and store logs, especially Mail. By deleting all the stores emails, you probably created 100's of log data about the deletion. You need to delete all of these.

The only way to do that is to restore your iPad. First, plug in you iPad to your computer and open iTunes. If "Other" takes over a gigabyte, you will need to restore. If not, disregard everything after this.

To restore, first click "Backup". After the backup is done, hit restore. It will download the latest iOS, then restore. After it is down restoring, set it up like it was new until it asks you to restore from backup. Select the backup you made earlier and let it work its magic.


Can't delete macports directory as root I've enabled root user in my mac using the latest Mojave. I am trying to delete a folder with it but for some reason I get the error "Permission denied". I thought root could do anything on a unix system?

sh-3.2# whoami
root
sh-3.2# pwd
/opt/local/var/macports/home/Library
sh-3.2# ls -lhart
total 0
drwxr-xr-x  3 root  admin    96B Sep 24  2016 ..
drwxr-xr-x  3 root  admin    96B Sep 24  2016 .
drwxr-xr-x  2 root  admin    64B Oct 13 18:54 Preferences
sh-3.2# rm -rf Preferences/
rm: Preferences/: Operation not permitted
sh-3.2# whoami
root
sh-3.2#

Although System Integrity Protection will prohibit even the superuser from modifying system files, opt isn't included in that list. The issue is that all applications are fenced off from "important" bits of the filesystem by default and Terminal.app is no exception. In Mojave (OS X 10.14):

System Preferences
Security & Privacy
Privacy tab
Choose "Full Disk Access" from list on left
Click on "padlock" bottom-left and provide superuser password to elevate privileges and allow additions
Click on the "+" sign and navigate in file chooser to Terminal.app

Screenshots are available in http://osxdaily.com/2018/10/09/fix-operation-not-permitted-terminal-error-macos/.

You'll need to restart Terminal for the changes to take effect. The MacPorts uninstall command at https://guide.macports.org/chunked/installing.macports.uninstalling.html - at the time of writing, this:

sudo rm -rf \
        /opt/local \
        /Applications/DarwinPorts \
        /Applications/MacPorts \
        /Library/LaunchDaemons/org.macports.* \
        /Library/Receipts/DarwinPorts*.pkg \
        /Library/Receipts/MacPorts*.pkg \
        /Library/StartupItems/DarwinPortsStartup \
        /Library/Tcl/darwinports1.0 \
        /Library/Tcl/macports1.0 \
        ~/.macports

...should now work.

As a side-note, current versions of iTerm request this permission when first installed and run, so if you have iTerm kicking around and don't want to restart Terminal, add it to the "Full Disk Access" list (if it isn't added already) and run the command there.


Viewing large number of pictures over network storage I am trying to view a large number of images from a NAS on a MacBook Air.

So far I open the folder in Finder, select all the images, and double click on the first one. This opens the image and I can use arrow keys to move to the next image. This is basically what I want.

However there is a problem. If I open a folder with many images, because the viewer seems to load all images at once which takes a long time over the network (from the NAS on the LAN).

Is there a way to load the images on demand such that it just opens the image currently viewed? (and perhaps preload the next one in the background?)

Try Quick Look. Select all the images, press spacebar and use the arrow keys to view the images.


How can I specify shutdown time with "sudo shutdown"? In the following Terminal command sudo shutdown -r now, there is a time set ("...now"). Is there a way to set a specific time.  For example, could it be sudo shutdown -r -int 1200?

From man shutdown:

-r      The system is rebooted at the specified time.

[...]

 time    Time is the time at which shutdown will bring the system down and may be the word now
         (indicating an immediate shutdown) or specify a future time in one of two formats:
         +number, or yymmddhhmm, where the year, month, and day may be defaulted to the current
         system values.  The first form brings the system down in number minutes and the second
         at the absolute time specified.

More to be found at “How to shutdown Linux at a specific datetime from terminal?” on Unix & Linux Stack Exchange and The OS X-specific man page.


Can iPhones with ActiveSync use Exchange shared mailboxes? I have a team that all have privileges configured in Exchange to give them read/write access to the Inbox, and send-as privileges, for a shared mailbox.  This works great on Outlook, where they can log in with their credentials and just pick "Open these additional mailboxes" in Outlook's account settings.

There doesn't seem to be anything precisely parallel to this in the iPhone, and the Googling I've done suggests that the easy way won't work on the iPhone.

But where things get really odd is that I don't seem to be able to add another Exchange mailbox on the iPhone with the shared mailbox's username and password.  Every time I try to authenticate, I get a password error, despite validating the server settings and the password repeatedly.

How can I get this team the ability to receive, move/delete, and respond to emails for this shared Exchange account from their iPhones?

As of August 2013, Exchange ActiveSync doesn't support shared Exchange accounts.  This isn't an iPhone issue, but rather with the ActiveSync protocol.

One option would be to use Outlook Web Access to access the shared Exchange account.  This would allow the team to do everything that you've outlined here.

Another option would be to set the individual Exchange accounts for the team to automatically copy mails from the shared account into a folder on the individual's Exchange account.  However, I don't think that this will meet your needs, especially moving/deleting and responding to mails from the shared account.  I mention it for the sake of completeness.


How to wrap a DMG file with a wizard installer? I have a question about installers for mac.

I have chromium.dmg which contains Chromium web browser. I would like to create a wizard installer that installs chromium then allows the user to optionally automatically install some plugins, and launch chromium with an initial start page displayed.

To do this, I need a wizard-based installer.

I found IzPack which looks like it might work? Does anyone have any ideas how to do this? I get that wizard installers "aren't really a mac thing".

For an example of a wizard-based installer for mac, see SoapUI for Mac.

UPDATE:

IzPack so far has the installer part rocking pretty great. But the file is a Java archive Jar and many of my users don't have Java installed. Not ideal. I need to find a way to bundle it as a DMG even though its actually a java executable.

UPDATE 2:

I've got something very nice by using a combination of IzPack and https://github.com/Jorl17/jar2app

The IzPack builds a java installer but then you are stuck with an executable jar file. That's where jar2app comes in - you can convert the jar to an app file with a bundled JRE. Perfect.

It's not perfect, but I've got something very nice by using a combination of IzPack and https://github.com/Jorl17/jar2app

The IzPack builds a java installer but then you are stuck with an executable jar file. That's where jar2app comes in - you can convert the jar to an app file with a bundled JRE.

Works for me, not perfect because the installer size gets kinda bloated. And also now you have a .app file which is actually an exploded archive. So you have to wrap that in a DMG. But that works.


Has Lion Native NTFS read/write support improved? I know about the other third-party options out there, this is more to do with the native stuff that comes bundled from Apple.  For years Snow Leopard has had notoriously bad NTFS read-write support hence it was disabled by default.  We could enable it like this, but it was dangerous at best.  So, has this improved in Lion, or is this still a neglected dangerous feature?

I haven't seen any credible reports that NTFS write support has improved with Lion. It was in Snow Leopard and still is disabled natively.

As, it's not supported by Apple, getting a good third party plug in to enable that feature is as mandatory with Lion as it was with Snow Leopard.


When trying to save a .jpg or .jpeg, Safari tries to force .dms extension onto end? Not really the most pressing question, but it's bugged me enough to get an account and try my luck...

When I try to save any .jpg or .jpeg, Safari forces a .dms extension onto the end of it, and there's no other way to save that picture. Usually with most things like this, a solution is readily available if you Google for it, but I couldn't find an adequate answer. It's been like this for months. Sometimes it goes away, only to come back the next time I try to save a picture.

use both then go to the file location and delete the .dms portion. Works for me.


SSH private key password never removed with Keychain/ssh-agent I have an SSH private key with password, and I'm able to add it to KeyChain/ssh-agent and have the password automatically used without having to enter it.
Now I'd like to add one more thing: I want keychain/ssh-agent to forget (or lock) the password after a certain time elapsed or the screen is locked.

What I'm experiencing (on Mac OS X 10.9.5), is that even if I set my "login" keychain to "lock after sleep", and I wake up the laptop from sleep, and the keychain is still locked, ssh (through ssh-agent?) is still
able to retrieve the password without asking me to unlock the keychain.

Note that the password is added to the keychain 'automatically' when I run ssh the first time - I'm not typing ssh-add on the command line, thus I prefer to not use ssh-add -t TIMEOUT explicitly.

Is there anyway to make it forget/lock the password?

Not sure if you have this settings.

Check the Keep login keychain unlocked to off, in keychain preferences - First Aid tab.


How to accept Apple Music Family invite without iOS/macOS? A couple of days ago I upgraded my Apple Music subscription to family mainly so my sisters could access music from their iPhones. Since my dad is avid music listener I decided to set up Apple Music for him also on his Windows laptop.

I sent the invite via email and then we created an Apple ID for him with this same email address. But there seems to be no way how to accept this invite without owning Apple device or at least Android one. This seems odd since iTunes is basically the Apple Music for macOS/Windows.

In my family sharing settings I still see the invite as sent and when I open iTunes on his Windows machine there is no indication that there is Apple Music family invite.

Have I missed anything or is this simply impossible?

EDIT: I found a solution. I created new user account on my Mac, signed in with dad's Apple ID and the Family Sharing invitation popped right up. iTunes on Windows now works fine.

Still would be nice to know if it is possible to accept invitation without Mac or spare iOS device..

No - you'll want to find a spare iOS device for your father's account to log in and accept the invitation. (or backup / wipe / set up your device for him - then wipe / restore your backup so that you don't mix streams of data signing out and then signing in as his account).

This would clearly be a bug and something you might be able to call Apple Support to see if they can push an alternate way to authenticate your father to the group.

My guess is the account is either blocked and needs apple push notification to tie it to a physical device one time and then it will work from windows. I've done this a handful of times for people that primarily are on Windows without needing to engage official support.


Weird spam message overlay appears on my iPhone's screen (FLASH SMS) This weird message keeps appearing every few days and it's very irritating. It always contains spam messages that asks me to accept or cancel invitations to random services (weekly jokes, pics etc). From googling, I believe this is some sort of Flash SMS:

Can someone explain if this is caused by an app or forced through the service provider as I would like to know how to disable these permanently.

Chances are your phone number was used by someone (else, or had belonged to someone before it got cycled to you) and they had subscribed to those services. If your phone bill is clean meaning there are no odd fees showing up out of the blue then I doubt it is an app.

My personal experience. I once installed an App on my iPhone and like a dumb idiot in a rush to get to work I loaded and accepted the usage terms (why would I read 45 pages).... well shortly there after I was getting billed an extra 20 Euros a month. Had to change my contract with my provider.

Another story, I was recently overseas and needed a prepaid SIM for my phone. I put it in and everything seemed fine until I was getting random SMS with jokes, weather, and sports that I didn't need nor had personally subscribed too. But the person who had my phone number before me had subscribed.

Best thing to do is contact your provider in any case and see if they can block the attempts on their side so that you don't get harassed anymore. Sorry to hear of your woes.


Recovering iPhone camera roll from iMac Today I upgraded from an iPhone 5s to an iPhone 6s via the Verizon store.  The clerk told me everything would be transferred between phones automatically.  After getting home I discovered my photos on the Camera Roll were missing.  The Camera Roll folder and all album folders are there.  They contain blank photos.  When I click on a photo it displays a blank frame, but the correct photo date.

All the iPhone photos are on my iMac.  So then I wonder if there's any easy way I can transfer the photos from the iMac to the iPhone. The Camera Roll contains 1,667 photos so I am really hoping i don't have to do this on a photo-by-photo basis.  Also, a photo may be in more than one album based on who was in the photo.  Also, the iPhone photos were not stored in iCloud.  Help!

The clerk at the Verizon store was an idiot.

Getting your stuff from the old iPhone to the new is simple but not automatic.

Back up your old iPhone to your computer (encrypt the backup so it saves passwords)
Plug your new unused iPhone into your computer and when prompted by iTunes restore from backup. Use the backup you just made from your old iPhone.

That will do it. It is important to NOT set up the new iPhone before you plug it into your computer. iTunes will recognize a "virgin" iPhone and ask you what you want to do.

You should be able to set up Photos and iTunes to sync what you want from your Mac to your new phone. Just leave the phone plugged into your Mac and open each and set your preferences.


Copy iTunes Playlists from old to new Mac My music is already copied onto new Mac AND into iTunes, but it is not organized into the several hundred playlists I have.  How do I get those playlists from old Mac to new Mac (and ensure the songs are placed in the playlists)?

Save a copy of your playlists from iTunes on macOS
You can export a playlist—for example, if you want to save a copy of the playlist, or import it to a different computer so you have the same playlist in both places.
You can also export information about a song (or songs) to use in a database or in another app.
When you export playlists or transfer song information, the actual songs or videos aren’t included—just the information about them or the playlist.
Save copies of playlists or use playlists on another computer
Do any of the following:

Save a copy of a single playlist or use it in iTunes on another computer: Select the playlist, choose File > Library > Export Playlist, and choose XML from the Format pop-up menu.

Import an iTunes playlist: Choose File > Library > Import Playlist. The imported playlist includes only songs and videos already in your iTunes library. Unavailable items are removed from the list.

Save a copy of all your playlists: Choose File > Library > Export Library. The exported information is saved in XML format.

Transfer song information into other applications
Do either of the following:

Export all the song information into a text file: Select a playlist,
then choose File > Library > Export Playlist. Make sure Plain Text is selected in the Format pop-up menu (if you use a double-byte language
such as Japanese or Chinese, or if the program you’re importing into
understands Unicode, you should choose Unicode).
All information from the Info window for each song is exported, not just the fields currently displayed in the library or playlist.

Copy the information (in the columns that are visible) for one or more songs: Select the songs and choose Edit > Copy, and then choose Edit > Paste in another application (for example, an email or text document).


Why are my DVD disks in the wrong format? I'm trying to play DVDs on my MacBook Pro however the disk doesn't play it doesn't even mount.

When I check Disk Utility it shows the format as Windows NTFS 3G.

If I try the same disks on another macbook it shows as Universal Disk Format (UDF) and plays fine.  How do I fix this?

It appears Parallels is the cause of the issue.  Found some instructions on paragon-software.com and executed step 1. DVDs now working great!


Sources for "ping" bundled with Mojave 10.14.6? I am interested in knowing whether the "ping" utility shipped with Mojave 10.14.6 sources are open.

man ping ends with BSD March 29, 2013 BSD, but it seems that FreeBSD's version of ping is not the same as the one I use locally:
https://github.com/freebsd/freebsd/blob/master/sbin/ping/ping.c

Apple puts all opensource content on https://opensource.apple.com.

I didn't find the 10.14.6-related sources there but ping version included in 10.14.5 is available here. At first glance Apple seems to have added some stuff, but you may need to run a diff to see all the changes.


AppleScript: 'exists' returns true every time On every exists in AppleScript the result is true. For example:
set a to (POSIX path of (((path to home folder from user domain) as text) & "skfhshfkh:" & "hfjhsfhsj:"))
if exists a then
    display dialog "AppleScript wrongly returns true ..."
end if

The result is
tell current application
    path to home folder from user domain
        --> alias "Macintosh HD:Users:[User]:"
end tell
tell application "Script Editor"
    exists "/Users/[User]/skfhshfkh/hfjhsfhsj/"
        --> true
    display dialog "AppleScript wrongly returns true ..."
        --> {button returned:"OK"}
end tell
Result:
{button returned:"OK"}

This path does not exist so where is the mistake? Is it my mistake or is it a bug in AppleScript?
Thanks for any help.

I am by no stretch of the imagination an Applescript expert, but this is what I have gleaned from my own fumbling over the years.
I'd appreciate corrections if there are any inaccuracies, or better methods.. but with some 'why it works' for newbies ;-)

What you're actually doing is asking Script Editor if the string "/Users/[User]/skfhshfkh/hfjhsfhsj/" exists… which it does, you just told it that it did ;-)
Script Editor doesn't know what a file is, nor how to look for one, so it's treating the string as a string not a path.

The simplest way to do this is use either the Finder or System Events which have their own 'exists' routine.

In this first example, you can input as either POSIX file or just file, & adjust your syntax accordingly.

So, this should work, for a file…

set msg to "No sign of it"
tell application "Finder"
    --if exists POSIX file "/volumes/MacintoshHD/Users/[user]/Desktop/testFile.rtf" then
    --or
    --if exists file ((path to home folder as text) & "Desktop:" & "testFile.rtf") then
    --or
    --if exists file "MacintoshHD:Users:[user]:Desktop:testFile.rtf" then
    --but NOT
    --if exists POSIX file ((path to home folder as text) & "Desktop:" & "testFile.rtf") then
        set msg to "Yeah, found it!"
    end if
end tell

display dialog msg

Displaying the dialog outside the Finder tell prevents Finder coming to the front to just to present it.

Alternatively, you could set your path outside of the exists function itself.
This would be my preferred method, & uses System Events instead of Finder...

set theFile to ((path to home folder as text) & "Desktop:" & "testFile.rtf")
set msg to "No sign of it."

tell application "System Events"
    if exists file theFile then
        set msg to "Yeah, found it!"
    end if
end tell

display dialog msg

Note that using System Events, you must put the dialog outside the tell, as System Events will not display the dialog itself.

In either of these examples, trying to start with a POSIX file & attempting to concatenate the additional path by using & "Folder:" & "Filename" won't do what you expect.
This is one point on which I don't know why it doesn't, but it doesn't.

One last note - if you are looking for a file, then all the above works.
If you are looking for a folder, then use this…

set theFolder to ((path to home folder as text) & "Desktop:" & "testFolder:")
set msg to "No sign of it."

tell application "System Events"
    if exists folder theFolder then
        set msg to "Yeah, found it!"
    end if
end tell

display dialog msg


Booting into Internet Recovery after erasing OS I'm in a situation that I put myself in accidentally. So I needed to erase the OS and put a new one using Internet Recovery, first steps I did well there's no more OS, next quest is to put the OS back in, using "Reinstall OS X" button. Here comes the problem, it says "You need to have internet connection to do it"(something like that). If I reboot the computer to connect the cable(I need to transport it to the other room), can I go back to Internet Recovery mode?

Thanks in advance.

Just connect it to a cable and re-enter the Recovery Mode (press cmd-R after power-on, see: Startup key combinations for Mac for boot keys); normally Recovery will now see a connection to the Internet – if not, do you have a DHCP server running on the router?


Mojave iCloud Keychain Copy & Paste Error I am trying to copy iCloud web form passwords to a local keychain as per this tutorial.

However, I keep on getting the following error.

Text:

An error has occurred. Unable to add an item to the current keychain.

One o more parameters passed to a function were not valid.

[Cancel]                                     [   Ok   ]

When copying and pasting from login, it works successfully so the problem must be related to iCloud Keychains.

Other people have encountered this problem:

Can't copy-and-paste in Mojave keychain
Error when running security in Terminal

but most interesting is this post

One or more parameters passed to a function were not valid. in unlock login.keychain
Ask Question

Update:

Contacted Apple Support. They couldn't figure out so an engineer is gonna take a look at log files.

Engineer responded with something like "While third parties may support exporting from iCloud and previous versions may support it, current macOS versions doesn't support it by default. But it maybe supported in future.".
Based on how low level the error message is, I suspect that this feature was broken unintentionally and Apple is just too lazy to fix it. I interpret the engineer's statement as something to the effect of "Oops, we broke some really useful thing that some people used, and we are too lazy to fix it so I am just gonna say its not supported anymore, but give a cushion of 'we may support in the future' incase someone complains enough and we do decide to put it back in.".
Pretty annoyed tbh. It appears...
Due to Apples special encryption method used for iCloud keychains, it is nearly impossible for a third party to decrypt it, even with the password and due to whatever reason, Apple has stopped supported exporting to local keychain, which can be decrypted by third parties.
After looking more into it, the entire implementation seems to be open source. If anyone with the skill would like to take the time to figure out how to decrypt it, that'd be pretty cool. Here's the links:
https://opensource.apple.com/tarballs/Security/
https://opensource.apple.com/source/Security/


How to Create Images with Yosemite I have a Mac Mini configured just the way I like it with 10.10.2 installed. I need to deploy that to a bunch of other computers around campus. The usual process for me in the past has been to use an external USB drive, with OS X installed, to boot the target Mac and capture an image. That really doesn't seem to be working in Yosemite. I can boot to my 10.10.2 USB drive and run Disk Utility, but odd things happen when I try to create an image. When I try to image the partition, OS X doesn't dismount the target partition/disk. In past versions of OS X, the target partition was immediately dismounted after I entered my password. Lastly, I cannot "scan the image to restore", that part fails even though I can successfully create the image file. The error message is: Unable to scan "image.dmg" (internal error). Has anyone else seen this? I've tried making several images already.

Thanks

If you are able to mount the drive, you can use Copy Copy Cloner or even better (IMO) SuperDuper! from Shirt Pocket. SuperDuper! will not copy caches and unnecessary files that are re-created upon boot, saving space. These both give you clones of the drive, but not images. If you can restore the clone, then this might work.

If you're savvy with a Terminal, you can use the basic diskutil and dd commands to get a disk image - this is what Disk Utility is likely doing under the hood. Just be careful with the input/output parameters of the command, to ensure you don't overwrite something you're not supposed to.

For example, you can find a disk and the partition you want with:

diskutil list

Then, to unmount the disk:

diskutil unmountDisk /dev/disk<n>

where the "<n>" is the disk number of the drive you want to image. Finally, create an image using some form of:

sudo dd if=/dev/disk<n>s<p> of=/path/to/image.img bs=1m

where the "<n>" is the disk number and "<p>" is the partition number you found above. Do not type any of the brackets (<>) as part of the command. There are other options you can add, and you can adjust the block size (bs) accordingly.

I just found more information at another post here: What is the best way to clone a disk between two Macs?


Wi-Fi issue with MacOS X El Capitan I have a MacBook Pro with retina display model A1502. I updated it to MacOS X El Capitan.
The Wi-Fi connection is still not working.
It works for sleep mode.

I followed this answer Wifi Keeps Dropping Macbook Pro 13in Retina Early 2015 but it is not working for me.

Exact the same issue.
Only my MBP with El Capitan could not connect to wifi (always turn off and turn on to work for seconds), but just at home, not at office.
I fixed with a firmware update of the router and access point (fritz!box), I also changed wifi radio channel and set wifi standard to n+g+b.


"Unable to Download App" on iOS 7.1.1 I am not able to download any app from the App Store on my iPhone 5 which is running iOS 7.1.1.

I have been getting the following error since last week when attempting to download an app.

Luckily, I could fix my issue.

I had to change my DNS to 8.8.8.8.
My internet used to work before this but after changing my DNS now I am able to download apps from App Store.

But I tell I haven't changed any setting on my iPad 2 running iOS 6 still every thing works including App Store downloads. I think this issue is with iPhone 5 or definitely iOS 7.1.1.


Enable full-screen mode for applications on Lion There some applications which I can not yet run in full-screen mode. I particularly would need the OSX Terminal app and possible the TextEdit. However, after the upgrade they remained the same, and does not have the full screen button in the top right corner. How can I enable Lion style full-screen mode for there applications?

Lion's Terminal.app does support fullscreen mode. Maybe you are overlooking it? How did you upgrade?

As for TextEdit, applications need to explicitely implement Lion fullscreen support, and this has not been done for TextEdit. There are other 3rd party text editors that have implemented fullscreen mode, depending on what usage you have for a text-editor.


Is ipfw the same as pf in FreeBSD? I'm wondering if references referring to pf in FreeBSD are applicable to ipfw in Mac OS X Snow Leopard? I'd like to know to see if it's worthwhile to consult books on pf for use with Mac OS.

ipfw is like as ipfw on freebsd. :)

ipfw and pf are totally different packet filtering systems. ipfw is the old BSD (Internet Protocol Firewall), and pf (packet filter) comes from the OpenBSD.

pf is much much more powerful as ipfw. In fact, pf is much more powerful as anything other. Here is too much differences, but the main "philosophical one" is:

In IPFW, the first rule in a ruleset what matches a packet "wins" - and next rulesets are not evaluated
In the PF the packet is matched with all rules and the last rule that matches  the packet "wins".

You should consult books, manuals about the "ipfw", not pf.

Btw, here are two nice free applications: NoobProof and WaterRoof - both are helpers for the OSX's ipfw. http://www.hanynet.com/noobproof/


Handoff with different iPhones Which iPhone will work with handoff in between macs and itself. I'm looking into buying one and I want to make sure I could use handoff.

The 'Handoff' functionality depends on your iOS version and device hardware, as well as your Mac hardware. As it states in in the Apple support page for 'Handoff':

  Handoff works with several apps that come with OS X Yosemite and iOS 8: Calendar, Contacts, Mail, Maps, Messages, Notes, Phone (iOS only), Reminders, and Safari. It also works with Keynote v6.5, Numbers v3.5, and Pages v5.5 for Mac, and Keynote, Numbers, and Pages v2.5 for iOS. Third-party apps may also work with Handoff.

iOS hardware that is compatible with Handoff:

iPhone 4S (sharing iPhone calls only)
iPhone 5 or later
iPod Touch (5th generation)
iPad 4th gen and iPad Air/Air 2
iPad mini, mini with Retina display and mini 3

Further requirements for specific features are found on Apple's support page.

Mac hardware that is compatible with Handoff:

MacBook Air (Mid 2012 and later)
MacBook Pro (Mid 2012 and later)
iMac (Late 2012 and later)
Mac mini (Late 2012 and later)
Mac Pro (Late 2013)


Random podcasts appeared in the podcast app I recently reset my iPhone and restored it using my latest iCloud backup. I noticed in the podcast app that four Christian podcasts appeared under a "Not Subscribed" section (seemed interesting that all of the podcasts had the same general theme). I had never subscribed to, or even heard of, the four podcasts. I deleted them and closed the podcast app. Now each time I reopen the podcast app, one of the podcasts continues to reappear and attempts to start downloading an episode.

I found this question that sounded oddly similar, but it had no answers.

Update

I tried removing all podcasts and syncing with iTunes on my computer (which shows no current podcast subscriptions), but this random podcast still appears.

I'm not sure why this worked, but I reset my iPhone a second time and restored it from the same iCloud backup and that seems to have fixed it.


Any way to edit metadata of MKV files (without re-encoding)? When watching a MKV file from the web in VLC, the title bar (see "#1" in image below) seems to be pulled from metadata, not the filename.

If you open the “Get Info” panel in VLC, you can change the title (“#2”) and then click “Save Metadata” (“#3”), but when the file is re-opened, the old information is shown.

I have not found any other Mac apps which can edit MKV metadata. Several offer to edit mp4 metadata, but that isn’t what I need.

I have found a way to do this using mkvpropedit which is part of mkvtoolnix.

mkvpropedit "foo.mkv" -e info -s title="This Is The Title"

There is a GUI wrapper for this app and other Mac installation instructions available at the official website.


How can I undo/redo in iOS Notes.app w/o shaking my iPhone? Are there alternative ways to quickly undo/redo changes?

2019 Update

iOS 13 now supports gestures to easily undo/redo!

Three finger swipe:

right to left - undo
left to right - redo

Double-tap with three fingers - undo
Three finger tap - open shortcut menu containing buttons to undo, cut, copy, paste, and redo (screenshot below)

More info about the new gestures (including copy, cut, and paste) can be found in this article.

NOTE: These gestures should work across all apps that support undo/redo functionality!

Hat tip to @Jaime Santa Cruz's answer, which prompted this update.

You can now press undo/redo buttons in iOS 11 on the iPhone!

Open notes, view a note in landscape, and you'll see arrows on the bottom left!

NOTE: Seems to only work with notes under an iCloud account


MacOS Cannot format to APFS I am experiencing an identical problem to the one in: Unable to format internal drive as APFS on 2018 MacBook Pro

However this thread in unanswered and unresolved

My internal drive can format to everything except APFS, I have tried troubleshooting via linux, and simple disk utility. Fsck and first aid both report no problems and this is driving me insane!! help desperately needed!

I do not know if you read my answer to the question you refer to? The command diskutil apfs createcontainer disk0 should have failed. You are suppose to create the container inside a partition (or two partitions where each partition is on a different drive). You specified disk0 which usually is the primary internal drive on a Mac. Maybe you were able to create the container, but being unable to create a volume would not be an unexpected result.

Below are the commands from my other answer.

diskutil eraseDisk JHFS+ dummy GPT disk0
diskutil apfs createContainer disk0s2
Container=$(diskutil info disk0s2 | grep Container)
diskutil apfs addVolume "${Container##* }" APFS myVolume

The first command creates the partitions. The second command create a APFS container in the second partition. The third and fourth commands creates an APFS volume in the APFS container.


iMac won't let me login with network account I have a number of iMacs running Sierra/High Sierra/Mojave, which I'm adding to a client's Windows Active Directory. Everything is going well, but I've hit a tiny snag that I can't work out.

I have one iMac, running Mojave, that I have previously logged into with my AD account with no issues. It is possible that I left the screen locked and myself logged in, and then subsequently have changed my account password. Now I am unable to log back into the iMac - just get the shakey password. The machine has been rebooted a number of times since.

I've tried removing the user profile for my account from the Users folder - no difference.

I've tried unbinding the machine from the AD and rejoining, but no dice. I can log in with other AD accounts, so it's clearly not an issue with the binding.

I can log into the machine over SSH with my domain account creds, and authenticate administrator actions if logged in as a non-admin user with them too, so clearly the machine knows my creds are good and that I'm an administrator.

It's like there's something cached that needs cleared out, but I'm lost as to what.

I'd greatly appreciate any advice - I don't want to have to deal with Users having the same issue in the future without a way forward.

Interestingly, I found a solution for my issue after some testing. In the hope that it helps someone else, this is what I found.

My initial, and many subsequent logins on the device were just Username & Password, and this just stopped working. When I tried domain\username and password it sailed through, asked me to update my keychain, and I was logged in.

That's quite an unusual change of behaviour, as if the device had forgotten that my account was a network account, and was trying to authenticate it locally. There's only one local account configured on the device and the name of it is nowhere close to the name of my network account.

I think I'm going to recommend all users to login using their domain\username as their login name, in order to avoid any support calls for this issue.


How to fix homebrew error: "invalid active developer path" after upgrade to OS X El Capitan? I get this error when I run brew update:

$ brew update
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: Failure while executing: git checkout -q master

How to fix this issue?

Run the following commands to fix the above error

sudo xcode-select --install
sudo xcode-select -switch /

I found the answer on https://github.com/Homebrew/homebrew/issues/23500

I also had to do this:

sudo chown -R $(whoami):admin /usr/local

Because of some permission issues. However, do this only if you have to.


Large external HD array for a Mac mini with RAID to run the Mac mini as a NAS I'm looking at getting a NAS to store about 12 TB of data (but would like expansion options in future).

The main purpose of the NAS would be to:

Backup
Have cloud files like Google drive and Dropbox.
Backup our laptops (Time Machine).
Store archived project files (live project files would still be kept in Dropbox).
Possibly work directly on files on the NAS with at max 10 people working at any one time.

Additionally, I would also like RAID options for redundancy.

I've been looking at some Synology NAS models, which can do the above, but they seem to either be reasonably priced but using an Intel Atom CPU. Or quite expensive but using an Intel Xeon CPU. I see there is no option for a Intel Core CPU, and I'm concerned at the unit being under powered with an Atom CPU.

I have a 2012 Mac mini with a i7 CPU c. 2.5ghz which is a decommissioned work machine. The hard drive in side of it is too small for the tasks above, but is there a way I could attach a large external drive array with RAID via USB 3 and run the Mac mini in Server mode to accomplish what I want to do without buying a Synology NAS?

I have a 2012 Mac mini with a i7 CPU c. 2.5ghz....is there a way I could attach a large external drive array with RAID via USB 3 and run the Mac mini in Server mode to accomplish what i want to do without buying a Synology NAS ?

A "large" enclosure?  No.  The biggest USB 3 Direct Attached Storage device I've seen was a 5 bay unit made by Drobo (I won't have those anywhere near my data centers because of their reliability issues).  Can you expand them?  Sure, by purchasing another enclosure.  As long as you have free USB 3 ports, you can add another unit.

Promise makes the Pegasus 3 Thunderbolt RAID enclosures that can hold up to 8 drives but they're horribly expensive.

So, (IMO) DAS really isn't a cost effective solution in the long run which, ultimately means the Mac mini isn't a great file server to begin with.  Additionally, macOS also lacks critical support for things like iSCSI making it a poor choice for a storage server.

I would go with the NAS as it's much more cost effective, feature rich, and flexible.  To the contrary, running macOS (an OS more oriented to the desktop rather than a server) just adds way too many layers of complexity to your storage equation.


Can I deploy my Django site to OS X Server? I want to run my Django website on OS X Server 3.2.1 running on Mavericks.

These more detailed  considerations arise from my question.

Can I deploy into OS X Server 3.2.1 without interfering with the reliability of OS X Server's own apps?
Can I use the Server App's GUI to install new sites and manage existing ones?
Can I use Django as a web app that I can 'bind' to other websites in the manner of OS X Server's "hello world" python web app?
Can I use different python versions and use virtualenvs to manage package versions?
Can I use UNIX Domain Sockets for interprocess communication between OS X Server's http server and a wsgi server like you can between Nginx and Gunicorn?
Can I use Fabric to automate Django deployment to OS X Server?

wrt the issues above:

Yes you can. Very effectively. Just be aware that your Django sites won't integrate into Server App's GUI unless you restrict yourself to python 2.7; Apache mod_wsgi; no virtualenvs.
Not if you wish to proxy to a wsgi server like Gunicorn, because when you save the Website's panel, OS X Server will sanitise some of your essential Apache directives and you will lose control over how your Django static files, for example, are served. OS X Server has a particular execution and configuration model in mind and it does a good job of managing websites that accord with that model - but at the cost of flexibility. I know that people successully deploy Django using Apache's mod_wsgi, but that comes with severe limitations.
As in 2. The proxies section of the plist for your web app in OS X Server's ../apache2/webapp directory is all-or-nothing. e.g. You can't Include a ProxyPass /static/ ! in the right place for it to have effect.
Not with Apache mod_wsgi.
No. OS X Server 3.2.1 uses Apache 2.2. Proxies via UDS was not included in Apache until later. (Perhaps you could have Apache proxy to Nginx (via a TCP port) and, in turn, proxying to Gunicorn via each Django site's own UDS ... if you thought there was a compelling reason.)
Yes.

The approach I took:

Put your application's Apache .conf file in OS X Server's ../apache2/other directory where it will be left alone by the Server app.
Forget about trying to use the Server GUI and 'binding' web apps to sites through its Advanced settings window. A nice idea but ...
Use virtualenv(wrapper) to set up the different python and package versions for a more future-proof approach ... OS X Server 4 on Yosemite coming up!

Example code:
.conf for Django virtual server
This is adapted directly from the file that OS X Server generates from its GUI with these main differences:

ProxyPreserveHost is off by default.

ProxyPass /static/ ! prevents the Alias directive from being ignored. I found that, when including this directive using the Apple-recommended web app .plist includeFiles section, the Included lines were in the wrong place to have the desired effect.

sed your SITENAME and PORT:
<VirtualHost *:80>
        ServerName SITENAME
        ServerAdmin mail@you.com
        DocumentRoot "/usr/local/python_projects/SITENAME"
        ErrorLog /var/log/apache2/error_log
        <IfModule mod_ssl.c>
                SSLEngine Off
                SSLCipherSuite "ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM"
                SSLProtocol -ALL +SSLv3 +TLSv1
                SSLProxyEngine On
                SSLProxyProtocol -ALL +SSLv3 +TLSv1
        </IfModule>
        <Directory "/usr/local/python_projects/SITENAME">
                Options All -Indexes -ExecCGI -Includes +MultiViews
                AllowOverride None
                <IfModule mod_dav.c>
                        DAV Off
                </IfModule>
        </Directory>
        ProxyPass         /static/ !
        Alias             /static/ /usr/local/python_projects/SITENAME/static/
        ProxyPass         /         http://localhost:PORT/
        ProxyPassReverse  /         http://localhost:PORT/
        ProxyPreserveHost On
</VirtualHost>

LaunchDaemon plist for Gunicorn wsgi server
sed your SITENAME; REVERSED_SITENAME and PORT:
<?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>REVERSED_SITENAME</string>
     <key>ProgramArguments</key>
     <array>
          <string>/usr/local/virtualenvs/SITENAME/bin/gunicorn</string>
          <string>--bind=127.0.0.1:PORT</string>
          <string>--workers=2</string>
          <string>superlists.wsgi:application</string>
     </array>
     <key>RunAtLoad</key><true/>
     <key>WorkingDirectory</key><string>/usr/local/python_projects/SITENAME/source</string>
<!--      <key>StandardErrorPath</key><string>/var/log/gunicorn/REVERSED_SITENAME.error.log</string> -->
     <key>KeepAlive</key><true/>
</dict>
</plist>

Snippet from the OS X Server's .bash_exports
Shows virtualenv paths specified by the virtualenvwrapper environment variables
export WORKON_HOME=/usr/local/virtualenvs
export PROJECT_HOME=/usr/local/python_projects
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3
export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv
source /usr/local/bin/virtualenvwrapper.sh

Snippet from the Fabric automation file fabfile.py
Shows:

The target paths - the directories where your configuration files will end up;

The commands to activate the Django site in the final steps in deployment

# copy (and overwrite if necssary) configuration files to the LaunchDaemons and apache2/sitesdirectories

sudo('cp -f %s /Library/LaunchDaemons/%s.plist' % (gunicorn_config_file, reversed_site_name))
sudo('cp -f %s /Library/Server/Web/Config/apache2/other/%s.conf' % (apache2_config_file, site_name))

# Get the gunicorn wsgi server running on its unique TCP port

sudo('launchctl unload -w /Library/LaunchDaemons/%s.plist' % (reversed_site_name,), warn_only=True)
sudo('launchctl load -w /Library/LaunchDaemons/%s.plist' % (reversed_site_name,))

# Give us some assurance that the gunicorn port is open

sudo('lsof -i TCP:%s' % (port,))

# Get Apache to include the new website; talk to gunicorn; and make it available to he world!

sudo('apache2ctl graceful')


How to transfer apps from a previous iPhone to a new one? I have recently got a new iPhone. I would like to transfer all my apps that I have previously downloaded (ie: iFruit, BBM, TU Go from O2, etc).

How do I do so without downloading them all again? …and also I need to transfer all my pictures and videos through iCloud but not apps.

you can all you need to do is use iTunes and create a backup of your old iphone, after that's dome plug in the new iPhone and choose the previous iPhone backup (old iPhone) and it should work, I have done this since the iPhone 4 so I'm sure it works. The only thing is it takes a while if you have used a lot of your memory.

You can find additional instructions on how to do this on Apple's support site.


Does Textmate have anything like Emacs's point and mark for making selections? In Emacs, I can easily select a phrase in the middle of a sentence using incremental search. For example, I've written the sentence "I have never been to Paris, but I have taken a virtual tour of the Eiffel Tower, and I'm very excited to see it in person". Then I decide that I'd rather move "I have taken a virtual tour of the Eiffel Tower" to the beginning of the sentence.

To do this in Emacs, I would use incremental search to find "I", move to the start of the word, set the mark, then search again for "Tower" and move to its end. Now everything in between is a selected region and can be operated on.

Can I achieve the same result in Textmate?

I am familiar with its incremental search, but I cannot find a connection to selecting text. There is the "Extend selection to include next" command in the Text Bundle (bound to ^W), but that doesn't work for two different search targets and makes multiple selections rather than selecting everything in between.

Extending the selection using ⇧⌥ and arrow keys is the closest I've come up with, but it means tapping an arrow key for every word. Selecting to the end or beginning of a line is not what I want; I'm looking to capture something in the middle of the line.

I'm not tied to using incremental search: it's just how I do this in Emacs. (Is there some way to use ⌥^B in non-source-code text?) I'm open to any solution that allows me to quickly move from one arbitrary place in the text to another, selecting everything in between, without switching to the mouse.

Cocoa/OS X's built-in Key Bindings system make this possible. The text view in TextMate implements the highly-relevant NSResponder action methods setMark: and selectToMark:.
The TextMate manual explains that ~/Library/Application Support/TextMate is the right place for a custom KeyBindings.dict file to set the bindings for those actions. Adding these lines to the dictionary:
"^ "       = "setMark:";
"^~ "      = "selectToMark:";

binds ⌃-Space to set the mark (the same binding for this action as Emacs) wherever the cursor is currently located, and ⌃-⌥-Space to select from the cursor to the previously-set mark. This is one extra keypress compared to Emacs, but it'll get the job done.


I lost my data on iPad 2 I updated my iPad 2 to iOS 7. It blocked and asked me to plug it to iTunes. I did connect it to computer then I was asked to restore the iPad. I am afraid I lost all my data and I don't have the access now to syncronise it to computer.

Is there any way how to recover my data from iPad updated before restoring it?

How about using iCloud? Backup everything before you start restoring. http://www.icloud.com

Another Way how to Backup iPad 2 : https://discussions.apple.com/thread/4542101

Hope this will help you.


Can Apple watch warn me when my iphone is out of range Now and then I manage to leave for office without my iPhone. As I depend on some two factor authentication apps and other stuff on the phone this basically means that I have to go back and get it.

It would be an extremly helpful feature if Apple watch could warn me actively when my iPhone gets out of its range. The little red indicator that watch displays in the top bar is not enough. I need a tap and some beeps.

I looked around the Watch app on my iPhone but could not find any setting activating such a feature.

Is there a way to get my watch to warn me when my iPhone is out of range? An app maybe?

I haven't found an app that does this yet either. Your best bet would be to wait for the upgrade to watchOS 2.

This should enable developers to add more functionality to their apps, including the function you're in need of.


If I change the sim in my iPad4 (retina) will I have to set it up again? I've changed providers and gotten a cheaper plan for my iPad. (Running iOS 7)

My question is: If I change the sim in my iPad4 (retina) will I have to set it up again?

Normally you would have to just set up the new provider stuff.

Account with them, email if you have one, the data plan, the payment service ect.


Wrong Macintosh HD icon after Catalina Upgrade After upgrading to Catalina 10.15.2 the Macintosh HD icon on my Desktop and other places is showing what looks like a Chrome disk image icon instead. I've tried restarting and running first aid on the volume with no changes. Any ideas how to restore the normal icon?

None of the workarounds mentioned in comments worked for me, so I decided to write a separate answer for people with the same trouble.

Experienced the same issue since the upgrade from Mojave 10.14 to Catalina (10.15.1), felt unreal and confused. Spent 10-15 mins searching and troubleshooting trying to fix but no luck (including Get Info - Upper Left corner - select the Icon - ⌘ + delete - it didn't work).

Mysterious and no one can explain how and why it happened (if you can, please_).

Disk Utility.app show the same Chrome Disk Image icon, didn't find a way to force a refresh or delete it.

I was hoping that the issue would be fixed by macOS patches but obviously NO up until 10.15.4, that's why I ended up here lol.

So the solution that worked for me:

In Terminal (or iTerm2)

open /System/Library/Extensions/IOStorageFamily.kext/Contents/Resources

Open internal.icns in Preview.app
Select all icons included by using ⌘ + A and copy to clipboard ⌘ + C
In Get Info UI, click on the upper left corner icon to select it
Paste ⌘ + V, if this does NOT work, use the file menu - Edit - Paste,
the latter worked like a charm for me, finally...

  NOTE: In my case, I didn't select all icons included in the icon resource file, so the paste ended up with a wrong one, when I use the file menu - Edit - Undo, it just refreshed to the correct Icon, hmm... Anyway, it worked. Thanks to @user3439894 and OP @jjathman


How do I make a box transparent in Markup? I take a screenshot using shift+Command+4 and right click on it and choose the option "Markup" and then draw a rectangle box but how do I make it transparent so that content underneath is visible?

Here is the screenshot showing what I am taking about:

I tried several options but couldn't find a way to make these boxes transparent.Can someone help me on this?

Choose the fill colour button on the toolbar (red filled square in your screenshot), then open the colour palette with the button at the bottom of the popover, and set the opacity on the colour using the slider or entering a percentage (100% is fully opaque, 0% is fully transparent).


Permanently install a non App Store app on an iPad - without expiration Is it possible to permanently install a non App Store app on an iPad, without worrying about whether provisioning might expire?

I'm creating a 1 of a kind art piece with a one-off iOS app that accompanies the piece and since it's 1 of a kind, I don't think it's proper to be on the App Store.

No, it is not possible. All current methods of distribution, including those available through the ordinary App Store developer program and the Enterprise Developer program, have expiration dates.

Another answer mention Enterprise distribution as the solution - but it is not. The provisioning profile expires after 1 year, and the certificate itself after 3 years. So you would have to renew it in order to have the app working for many years.


Installed Apps not showing in Cellular Allow Data for section I have iphone 5s , IOS 9.3.1

All the apps like whatsapp , facebook , twitter , skype etc from IOS Store are installed in my iphone and is available in Background app refresh section

But all those apps are not appearing in "Allow Data For" section in cellular section in IOS.

Those apps appears in that section when i turn the data on and use some apps from the data. Each app when takes the data connection and use it start appearing in the section. Once it appears in that section i was able to remove it from there.


Apple News app missing I have just updated to iOS9 but can't find the Apple News app. All web sites imply that the News app is part of the released version of iOS9.
Interestingly, the U.K. Apple site whats new with iOS9 implies its 'coming soon'
Is this a UK only issue?

You need to set your region from settings.app to USA


Fusion Drive lost space after bootcamp-fail. resizeStack throws an error. What can I do? I have a 2 TB Fusion Drive in a 5K iMac (Late 2015). Two days ago, I started the bootcamp assistant to create a partition for Windows 10. It got stuck (let it run 30 minutes), however, which forced me to reboot the machine. After booting, I lost 164 GB from my Fusion Drive.

I googled and found a solution, which states to boot into recovery and run diskutil cs resizeStack <LGVID> 0g, which I did. However, I am not able to let it resize, because it immediately throws an error. Following the error does not work either.

I also tried repairing the disk with Disk Utility which runs for a few minutes, then says everything's fine. Nothing changed of course.

Output of gpt -r show /dev/disk0:

Output of diskutil verifyDisk disk0:

What can I do now?

Since I wasn't able to resize the stack and seemingly no one was able to help me, I decided to to this:

Make an image of the Fusion Drive Volume and save it onto an external hard drive
Delete the Fusion Drive
Rebuild the Fusion Drive
Install OS X to let it create the Recovery partition
Boot OS X, run Bootcamp Assistant
Run the Windows Installer WITH NO EXTERNAL DRIVES ATTACHED (!)
Restore the image to the Fusion Drive
Be happy after 10 hours of work

Not the best procedure to do but as this was the only thing that seemed to help, I did it.

For recreating the Fusion Drive I used this answer from klanomath:
https://apple.stackexchange.com/a/168744/109455

I have a working setup with OS X El Capitan and Windows 10 now.


What is the preferred method of command line domain name lookup (DNS)? What command line command do I use to lookup a domain address?

When looking at the man pages for nslookup and dig I can see a section saying that these utilities do not use the Mac OS methods of finding names.

So, what command should I be running?

nslookup, host, and dig are perfectly good DNS query tools in OS X, but they all query DNS directly rather than going through OS X's internal resolution system. As a result, they don't check the /etc/hosts file, or resolve Bonjour/mDNS names (those ending in .local). The standard (quick 'n dirty) way to test resolution is to use ping, since it'll resolve the address you give it through the usual system before attempting to ping it. If you want something intended for the purpose, use dscacheutil instead:

$ dscacheutil -q host -a name www.apple.com
name: e3191.c.akamaiedge.net
alias: www.apple.com www.isg-apple.com.akadns.net www.apple.com.edgekey.net
ip_address: 184.24.141.15

$ ping www.apple.com
PING e3191.c.akamaiedge.net (184.24.141.15): 56 data bytes
64 bytes from 184.24.141.15: icmp_seq=0 ttl=57 time=57.258 ms
^C
--- e3191.c.akamaiedge.net ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 57.258/57.258/57.258/0.000 ms


What malware has actually affected Jailbroken iOS devices? Are there examples of malware that affects jailbroken iOS devices that doesn't require installation of shady packages (e.g. something that can compromise a device just by opening a PDF or visiting a site)?

I hate to say it, but in all my years of jailbreaking I have yet to see any type of malware have any real impact on the iOS community. Sure there was the infamous SSH vulnerability, but that was patched rather quick. That's the beauty of jailbreaking; we don't have to wait for Apple to release a fix. Most people fear that jailbreaking is insecure and puts your device at risk. That's far from the truth. My favorite example is the jailbreakme.com PDF exploit for iOS 4.3.3. At the same time they released the exploit, they pushed a patch to Cydia. As soon as you jailbroke, you were advised to install the patch, so that your device could not be further compromised. It took Apple a lot longer to implement and roll out their fix. In that situation, it was better to jailbreak than to not, because unless you had the patch, someone with bad intentions could have abused the exploit and done anything they wished with your device. Sure, you can be careless and install some malicious software, but most of the time it's the user's fault, because you always should be careful with what you do in a limited-regulation environment. As a final answer to your question, there were a few PDF exploits that were triggered merely be visiting a website (jailbreakme.com), but those vulnerabilities were never used for evil.

Edit: Another malware example has popped up, but it's not specific to jailbroken devices; it can remotely jailbreak any device without user interaction. This is the first time we've seen a remote jailbreak being used in the wild for malicious use. Apple has already patched it - they patched it quick. But the jailbreak community took a few months to patch it.


How to add Twitter to Notification Center in iOS 5? I just got a new 4S and am not seeing notifications pop-ups from Twitter.  I'm using the Twitter for iPhone app.  How can I enable new tweets in notification center?

New tweets in Twitter can't be added to the notification centre, thankfully. It will only notify you in the notification centre if your mentioned or receive a direct message.

The settings for the Twitter notifications can be found in Settings -> Notification Centre

Also make sure you have your Twitter set up correctly under Settings -> Twitter after installing the Twitter app.


iTunes Music download all songs to be available offline I am traveling abroad next week and in order to preserve data, I want to download all music that I 'own' on iTunes Music to my device.

So I want to avoid downloading each song one by one.

One trick I can think of is to create a playlist of all songs and then hopefully I can download this new playlist so that all un-downloaded music will be downloaded.

Is there a better way to easily and quickly download all music at once?

You can create a smart playlist with the attribute iCloud Status, is, Apple Music and Location, is not, on this computer.
If you can change the Apple music attribute with purchased.
Also check the checkbox live updating.

Now you can make the playlist available offline by downloading it at your device.

More information: Apple Support


Where can I find the task manager in Mac OS X Lion? Where can I find a task manager in Mac OS X Lion? I want to see the processes that are currently being run, and I can kill any process I like.

It's called Activity Monitor. You can find it in this folder: /Applications/Utilities/


My keyboard shortcut System Preference panel doesn't allow me to create application shortcuts My computer is a MAcbook pro and I am running Macosx 10.8.4
I just realized that the shortcuts don't work anymore in an application where I really need them. When I went to re-create them in the keyboard System Preference panel, I wasn't able to do it. I could select my application, and name the shortcut I wanted to create, but then it was impossible to type the actual shortcut. I got error beeps and no symbol would appear.

I don't know what to do at this point.

Are there some commands I could run in Terminal to fix this issue?

Thank you

After you have selected the shortcut you want to change, press the tab key on your keyboard and you will be able to type in the new shortcut.

Anyway, that is how I solved the problem :-)


macOS calendar.app - app reset results in calendars reappearing How do you delete all calendars app data and reset the app information to default.

Issue:

I delete all the calendar data and reboot the system.  I open the calendar app and it has reset to the default calendars.  But then it resets again and loads the previous calendars that I deleted.  Not sure where it's finding it from since I thought I deleted all the locations the calendar app data resides.

Setup

on macOS 10.14.6
calendar Version 11.0 (2245.5.2)
local sync only (no iCloud)

I have deleted the following:

~/Library/Calendar/
~/Library/Containers/com.apple.CalendarAgent
~/Library/Containers/com.apple.CalendarAgent.CalNCService
~/Library/Containers/com.apple.CalendarFileHandler
~/Library/Containers/com.apple.CalendarNotification.CalNCService
~/Library/Containers/com.apple.iCal.CalendarNC

Then I have rebooted the system.

So after deleting the above folders and if the issue still exists enter the following terminal command

defaults delete com.apple.SyncServer SyncServicesResetWorldRunOnce

Then reboot the system.


Stuck email open with notification of 500 unrecognized addresses I received an email with 500 names, mostly political discussions, I decided I wanted to be off the list and when I made the request by replying the last person it cc'd all 500 names and it would not send, instead a notification dropped down over the email and said it doesn't recognize the recipients. The list is so long it drops below the email screen and it will not scroll down, no arrow key, nothing..just is stuck there
I pressed enter and it all just hides up into the upper portion of my screen, and I can minimize it..NOTHING closes it.. I did delete it from the outbox..but the damn letter is still there.. Help!! I have mac book pro OS 10 8 4

I was asked if I had tried the Escape button...(by my housemate) and so I did ..the long notification window with no bottom on it that was stuck over my email disappeared leaving me with my email that I intended to send to one person but ended up with 500 recipients that were not recognized by my computer..
I now could simply discard it.
I must say as I commented above..I feel a bit sheepish...


Changed Username, Broke Everything I changed a username in Yosemite, and now everything under that username is wrecked.

Chrome won't work at all, saying it can't read or write to a data file.
All of my son's Minecraft data is lost, and the minecraft launcher won't run, saying something about Java not being able to set up a directory.

Both these things run fine under all other usernames.  Also, I can't establish Read/Write permissions for any folders at all, though the problem username is an admin account, and I have all the passwords to unlock the permissions manually and changed them in the "get info" area, and have changed them many times, the change never sticks.

I have tried Repair permissions, in the disk utility, and that hasn't worked either. How can I salvage Minecraft or possibly all user data?

When you changed your username, did you also change the name of your home folder. Without more information, my best guess would be that you changed your username by going to System Preferences→Users & Groups, right clicking on your account and choosing "Advanced Options". There are fields there where you can change your username (inexplicably labeled "Account name") and your home directory.

You should never change either of these for the account you're currently logged in as! Log in as a different user.

Changing the "Home directory" field only changes where the account looks for its home directory. It does not actually rename the folder.

Continuing to guess, I will surmise that that's exactly what you did. You wanted to change your username from oldyou to newyou and at the same time changed the name of your home folder from /Users/oldyou to /Users/newyou, but made the change only in the dialog, not on disk. The next time you logged in, the system noticed your home folder (/Users/newyou) was not present, so it made one for you as if for a new user.

The good news is that your old home folder, /Users/oldyou, is still there with all your data (Minecraft included), exactly as you left it.

There are two possible paths you can take here, both depending on your still being able to perform admin functions.

One method is to go back to System Preferences and change the "Home directory" field back to /Users/oldyou. You'll have to restart, but when you log in all your data will be back. You'll have a now-useless folder /Users/newyou, which you can delete.

It'll mean that the name of your home folder no longer conforms to the  /Users/username convention, but that should be OK. It's just a convention, and only poorly written software will get confused by it. Sadly, we live in a world where poorly written software exists.

Which leads to the second method for resolving your problem. If you can still create accounts, make a new admin account. In that account, delete /Users/newyou and rename /Users/oldyou to /Users/newyou.

These folders are marked as deny delete, which also means you can't rename them. (Renaming is tantamount to deleting and then adding.) Finder probably won't even let you try. You can do it from Terminal, though, by first:

sudo mv /Users/newyou /Users/trashme
sudo mv /Users/oldyou /Users/newyou

Be sure you've replaced newyou and oldyou with the proper names. Verify that you can log in to your newyou account. Once you're sure that everything is working as it should, you can delete the /Users/trashme folder with:

sudo rm -rf /User/trashme

Be very sure you've entered that exactly as I've given it. Copy/paste might be a good idea. Punctuation, including spaces, is very important here.


What port is this *picture* (mid 2007 13 inch macbook)? I've been trying to hookup this MacBook I have to an external monitor, but I don't know which adapter to buy. I bought a VGA adapter on eBay, but the connector is really thin. Can someone direct me to what port this is, and bonus points if you can find me an ebay listing.

I've looked up the model on Apple but they don't give me specifics on the item.
It's a mid-2007 13" MacBook.

This pictured connector on your mid 2007 13 inch MacBook is a mini DVI connector according to http://support.apple.com/kb/HT3235

The Apple part number for the Apple Mini-DVI to VGA Adapter is: M9320G.

And the eBay link: http://www.ebay.com/sch/i.html?_nkw=M9320G


What Apple Watch sleep tracking app uses minimal battery power and is fully compatible with the iOS Health app? I want to use an Apple Watch 2 to track my sleep. In order to achieve this I will need to wear the Apple Watch during sleep, which creates an issue around battery usage. So my thinking is that I can put the watch on charge twice daily on most days: in the morning while getting ready for work and again at night while getting ready for bed. By doing this I estimate the battery will have enough power to keep the watch going 24/7 on most days.

Obviously this means I need a sleep tracking app to do the tracking. My requirements are:

It must be highly efficient in terms of battery usage
It can track sleep while the watch is in Airplane mode
It can synchronise data with the iOS Health app on my iPhone
It must be able to provide a summary of my sleep on the Apple Watch itself

NOTES:

I do not mind paying for the App if doing so results in me getting a much better product
I am open to using 3rd party devices if it means the quality of tracking/measurements are much higher
While not a requirement, if the app also supports syncing data with other HealthKit apps that would be a plus

I did consider posting this in the Software Recommendations community, but it didn't seem to have the appropriate tags.

I thought it was time to share my experiences with using sleep tracking apps on my Apple Watch.

Not long after posting the question I downloaded Sleep++ and used that for quite a while. Sleep++ works well. It is power efficient and met most of my requirements. It's not perfect (e.g. you need to manually start/stop sleep tracking, but it's free (with ads - but the ads don't appear on the Watch) so you can give it a good try before paying to remove ads. It's also very well supported by the developer.

My hope was to use this app until Apple's own implementation of a sleep tracking app in watchOS was released. But since this wasn't ready in time for watchOS 4, and since I upgraded to a new Series 3 Apple Watch, I decided it was time to look at another sleep tracking app - namely one that doesn't require me to manually start and stop it (for those times I forgot, or those times I dozed off unintentionally).

I settled on AutoSleep which is a paid app. I've been using it for a couple of weeks and have been very impressed with how well it works and how it meets all my requirements.

It can automatically detect your sleep (assuming you're wearing the watch) or you can use it manually (similar to Sleep++ but without having to wear the watch). Obviously using it manually is not going to provide all the measurements, but it's equivalent to what Sleep++ could do.

Also, if you're wearing the watch, you can manually enable the Lights Off option. This is not necessary, and since one of the best selling points of this app is that it automatically detects your sleep without manual intervention, you may not want to opt for this. But if you do, it tells the app that you've officially gone to bed (hence the 'lights off' label) and the app will also track how long it takes you to fall asleep after going to bed. Useful if you want to also track that metric.

One of the other great features of the app is that on the iPhone you can tweak it to suit your sleep. That is, the app provides some nice measurements and graphs to illustrate your sleep and, if you notice it hasn't detected your sleep accurately enough (e.g. you know you woke up during the night and the app hasn't detected that), you can alter how sensitive it is or isn't to tracking your sleep. For me, I've never had to tweak it. It has accurately recognised my start sleep time, as well as my restlessness and any time awake in bed during the night. It has also detected times that I've dozed off in front of Netflix, while reading a book, etc regardless of the time of day!

All in all I am very happy with this app and it's very close to how I imagine Apple will implement its own version.

As there is no free version available, feel free to ask me any questions about this app in the comments below.

NOTE: I am not affiliated with this app in any way.