Where is clipboard data stored? Is there an actual file where the data is stored while I have something in my clipboard?

Pasteboard is handled by pbs process on OS X. Things which are copied are stored inside pbs address space. More about that is on Apple Pasteboard Server article.

Whether the data is transferred between objects in the same application or two different applications, in a Cocoa application the interface is the same—an NSPasteboard object accesses a shared repository where writers and readers meet to exchange data. The writer, referred to as the pasteboard owner, deposits data on a pasteboard instance and moves on. The reader then accesses the pasteboard asynchronously, at some unspecified point in the future. By that time, the writer object may not even exist anymore. For example, a user may have closed the source document or quit the application.
Consequently, when moving data between two different applications, and therefore two different address spaces, a third memory space gets involved so the data persists even in the absence of the source. NSPasteboard provides access to a third address space—a pasteboard server process (pbs)—that is always running in the background. The pasteboard server maintains an arbitrary number of individual pasteboards to distinguish among several concurrent data transfers.


TextMate/TextWrangler Document Reverts This happens to me when I'm editing a document (usually a Javascript script) in TextMate (1 and 2) and TextWrangler.

I have this document open in another app, and in certain occasions, the document within TextMate/TextWrangler would revert itself to the previously saved versions whenever I hit Cmd+S. This is very annoying as my changes are basically gone.

I'm pretty sure both TextMate and TextWrangler are not sandboxed. The version of TextWrangler I have is the one from the Mac App Store.

Anyone has any workarounds for this?

For TextWrangler there is a setting in the preferences — it's the second from the top in the following screenshot.

There is probably a setting in TextMate too, but as of version 2, it's probably a defaults setting, since almost everything has ben stripped from the preferences GUI.


What's the correct way to back up all Photos from the Photos app? I downloaded the macOS Sierra (GM) and installed it on my MacBook. Before I installed it a backed up all my data that isn't stored in the cloud or somewhere else.

I'm using iCloud Photos to sync all my photos and videos with iCloud. Every photo and video is already in iCloud so I may don't need to back up my Photos library, but I did - just in case something goes wrong.

So I wiped off all the data from my MacBook to do a complete and clean installation of Sierra. Finally everything works fine and I'm going to get all my photos and videos back to the Photos app.

My backup of my photos and videos has ~13GB and I really have a slow internet connection, so it would be nice if I could use the backed up library instead of downloading everything from iCloud.

As soon as I open my library with Photos it starts importing and optimizing etc. and all photos and videos are there. But it starts uploading every single photo and video to iCloud? How can I tell Photos that my photos and videos are already in iCloud and it should stop uploading?

The Photos app in macOS Sierra is able to do a comparison between what is in the cloud, and what is stored in the local library on your Mac. (Likely through some means of signature/hash function).

To provide some insight with actual numbers - My Photos library is approximately 53GB, and only required about ~1.5GB worth of bandwidth to validate/sync the library after migrating the library to a different Mac with a fresh install of macOS Sierra (1.5GB includes any photos that it also needed to sync since the last my library was active).

With that being said, you can be confident that your bandwidth limitation, or capacity, should not have to handle the full file size. However, be mindful that if there are other cloud services (iCloud Drive) they too can utilize bandwidth.


Machine Learning on external GPU with CUDA and late MBP 2016? I would like to know what the external GPU (eGPU) options are for macOS in 2017 with the late 2016 MacBook Pro.

I did my research, however on the internet I find a lot of confusing information. Some say it can work, but it requires Windows (dual-boot). Others say, it can only work for the older graphics cards as CUDA is not supported for the newer graphics cards (GTX 1080). Ideally, I would like to run the 1080 GTX of NVIDIA. My only purpose is to use Keras and TensorFlow with it. However, I do not know all the things that are important to get it to work. My question therefore is, is it possible to use TensorFlow with CUDA and eGPU on the late MacBook Pro 2016 (15")? I want to use the graphics card in macOS (with late MacBook Pro 15") as an eGPU (no dual-boot/Windows/Linux partition).

Side note: I have seen users making use of eGPU's on macbook's before (Razor Core, AKiTiO Node), but never in combination with CUDA and Machine Learning (or the 1080 GTX for that matter). People suggested renting server space instead, or using Windows (better graphics card support) or even building a new PC for the same price that allows you to use a eGPU on Mac. (I do not prefer that option.)

I could finally install Nvidia Titan XP + MacBook Pro + Akitio Node + Tensorflow + Keras

I wrote a gist with the procedure, hope it helps

https://gist.github.com/jganzabal/8e59e3b0f59642dd0b5f2e4de03c7687

Here is what I did:

This configuration worked for me, hope it helps

It is based on:
https://becominghuman.ai/deep-learning-gaming-build-with-nvidia-titan-xp-and-macbook-pro-with-thunderbolt2-5ceee7167f8b

and on:
https://stackoverflow.com/questions/44744737/tensorflow-mac-os-gpu-support

Hardware

Nvidia Video Card: Titan Xp
EGPU: Akitio Node
MacBook Pro (Retina, 13-inch, Early 2015)
Apple Thunderbolt3 to Thunderbolt2 Adapter
Apple Thunderbolt2 Cable

Software versions

macOS Sierra Version 10.12.6
GPU Driver Version: 10.18.5 (378.05.05.25f01)
CUDA Driver Version: 8.0.61
cuDNN v5.1 (Jan 20, 2017), for CUDA 8.0: Need to register and download
tensorflow-gpu 1.0.0
Keras 2.0.8

Procedure:

Install GPU driver

ShutDown your system, power it up again with pressing (⌘ and R) keys until you see , this will let you in Recovery Mode.
From the Menu Bar click Utilities > Terminal and write ‘csrutil disable; reboot’ press enter to execute this command.
When your mac restarted, run this command in Terminal:

cd ~/Desktop; git clone https://github.com/goalque/automate-eGPU.git
chmod +x ~/Desktop/automate-eGPU/automate-eGPU.sh
sudo ~/Desktop/automate-eGPU/./automate-eGPU.sh

Unplug your eGPU from your Mac, and restart. This is important if you did not unplug your eGPU you may end up with black screen after restarting.
When your Mac restarted, Open up Terminal and execute this command:

sudo ~/Desktop/automate-eGPU/./automate-eGPU.sh -a

Plug your eGPU to your mac via TH2.
Restart your Mac.

Install CUDA, cuDNN, Tensorflow and Keras

At this moment, Keras 2.08 needs tensorflow 1.0.0. Tensorflow-gpu 1.0.0 needs CUDA 8.0 and cuDNN v5.1 is the one that worked for me. I tried other combinations but doesn't seem to work

Download and installing CUDA 8.0 CUDA Toolkit 8.0 GA2 (Feb 2017)
Install it and follow the instructions
Set env variables

vim ~/.bash_profile
export CUDA_HOME=/usr/local/cuda
export DYLD_LIBRARY_PATH="$CUDA_HOME/lib:$CUDA_HOME:$CUDA_HOME/extras/CUPTI/lib"
export LD_LIBRARY_PATH=$DYLD_LIBRARY_PATH

(If your bash_profile does not exist, create it. This is executed everytime you open a terminal window)

Downloading and installing cuDNN (cudnn-8.0-osx-x64-v5.1) Need to register before downloading it
Copy cuDNN files to CUDA

cd ~/Downloads/cuda
sudo cp include/* /usr/local/cuda/include/
sudo cp lib/* /usr/local/cuda/lib/

Create envirenment and install tensorflow

conda create -n egpu python=3
source activate egpu
pip install tensorflow-gpu==1.0.0

Verify it works

Run the following script:

import tensorflow as tf
with tf.device('/gpu:0'):
    a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a')
    b = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 2], name='b')
    c = tf.matmul(a, b)

with tf.Session() as sess:
    print (sess.run(c))

Install Keras in the envirenment and set tensorflow as backend:

pip install --upgrade --no-deps keras # Need no-deps flag to prevent from installing tensorflow dependency
KERAS_BACKEND=tensorflow python -c "from keras import backend"

Output:

Using TensorFlow backend.
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.8.0.dylib locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcudnn.5.dylib locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcufft.8.0.dylib locally
I tensorflow/stream_executor/dso_loader.cc:126] Couldn't open CUDA library libcuda.1.dylib. LD_LIBRARY_PATH: /usr/local/cuda/lib:/usr/local/cuda:/usr/local/cuda/extras/CUPTI/lib
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.dylib locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.8.0.dylib locally


AppleScript - How to set variables for an undetermined number of list items? I'm new to AppleScript. I'm trying to create a script which takes the list items from a previous Automator workflow action and convert them into variables.

There will be an undetermined number of list items (well, between 1 and 40 each run).

This works for a determined number of list items, let's say three.

on run {input, parameters}

    set value of variable "F1" of front workflow to item 1 of input
    set value of variable "F2" of front workflow to item 2 of input
    set value of variable "F3" of front workflow to item 3 of input

    return input
end run

But if there are only two list items generated from the previous workflow action, we run into problems.

So, I updated the script using if to try to get around this issue.

on run {input, parameters}

    if item 1 exists then
        set value of variable "F1" of front workflow to item 1 of input
    end if
    if item 2 exists then
        set value of variable "F2" of front workflow to item 2 of input
    end if
    if item 3 exists then
        set value of variable "F3" of front workflow to item 3 of input
    end if

    return input
end run

When I run this, only the first variable F1 populates. The others are left blank/do not populate. I'm not sure how to move forward with this?

Can anyone tell me if I'm on the right track, or if there's a better way to do this?

Variable declaration must be made before run time. The following example AppleScript code, run in Script Editor, is to demonstrate a way of doing it:

set input to {"one", "two", "three"}

set F1 to missing value
set F2 to missing value
set F3 to missing value
set F4 to missing value

try
    if item 1 of input is not missing value then
        set F1 to item 1 of input
        log "F1 is: " & F1
    end if
    if item 2 of input is not missing value then
        set F2 to item 2 of input
        log "F2 is: " & F2
    end if
    if item 3 of input is not missing value then
        set F3 to item 3 of input
        log "F3 is: " & F3
    end if
    if item 4 of input is not missing value then
        set F4 to item 4 of input
        log "F4 is: " & F4
    end if
end try

log "F4 is still: " & F4

The log result is:

(*F1 is: one*)
(*F2 is: two*)
(*F3 is: three*)
(*F4 is still: missing value*)

Obviously the log command is being used to show that the variables were assigned a new value, except the last one because the input list only had three items in it. You'll need to built this out for however many variables could be needed, as you can't add them after execution of the code has started. You mentioned "between 1 and 40 each run" in your OP.

You'd remove the log commands for the real code  within each of the if statement blocks, besides the variable assignments, as appropriate at that point in the execution of the code, if any.

Note that by wrapping the code of the group of if statement blocks, that sets the new value of the variables based on the value of the list item, in a try statement when there are less items in the input list, it doesn't throw an error that would halt execution of the code, and continues with the remaining code.

The value of the variable is initially being assigned missing value, however "" (double-quotes) can be used instead as well. I like to use missing value at times as it can be easier to read the code.

NOTE: The example AppleScript code above it just that, and is coded as is to demonstrate a way of assigning the variables a value from a list. Which is what input is in the context of e.g. on run {input, parameters} of a Run AppleScript action in an Automator workflow. Depending on what the source of the input is and what will be done with it, you may need to add e.g. as string or as text or other coercion as appropriate as/if applicable, in this case after item n of input, e.g. set F1 to item 1 of input as string.


External display -- Insignia TV cutting off edges? So I have a 2010 Macbook Air, 1.6GHz, and I am trying to hook it up to an external display, this Insignia:

http://www.bestbuy.com/site/insignia-24-class-24-diag--led-1080p-60hz-hdtv/9844485.p

I have an HDMI -> MiniDisplayPort cable from Amazon that I've connected. In both closed clamshell mode and extension mode, a tiny bit of the screen on all four sides is cut off from the monitor -- the entire top menu bar is cut off, and a bit of the bottom dock is cut off. The settings in Display Preferences is 1080p. I've tried holding alt, and I do not see any listing for 1920x1080 -- I only see 1080i, and lower resolutions, none of which fix the problem of the menu bars being cut off. Could it be the HDMI -> MiniDisplayPort Cable? I've ordered a Male VGA -> MiniDisplayPort and will try that, but in the meantime, does anyone have any other ideas?

Thanks.

In the display settings on your mac for the tv, is there a slider for "Underscan"? That's what allowed me to shrink the picture down a bit so the corners weren't cut off as much.


What is /System/Library/CoreServices/WiFiAgent.app? Recently, I've been a bit worried about malware, so I've been examining my system and searching for out-of-place applications/programs, and this one stood out.

For one, when looking at the file in Finder, it's called Wi-Fi.app, but when looking at it via the command line, it's called WiFiAgent.app.  In other words, in Finder, I see only a "Wi-Fi.app", but on the command line, I see only a "WiFiAgent.app".  Moreover, I tried searching for both apps, with neither returning very many results.

What is this app?

WiFiAgent.app is part of OS X and is the agent responsible for all things Wi-Fi in the GUI.

This includes everything from managing the menu bar item to showing dialogs for entering the wireless key of the network. The agent runs in the background on all Macs with a wireless service.

Here's a converted version of the WiFiAgent.app Localizable.strings which shows some of the features of the agent through the messages that can be localised.

The reason why WiFiAgent.app is shown in Finder as "Wi-Fi.app" is because of the InfoPlist.strings file defining CFBundleDisplayName:

{   CFBundleDisplayName = "Wi-Fi";
    CFBundleName = "WiFiAgent";
}

Contents/Resources/InfoPlist.strings


iPhone 4 needs to restored, but I am concerned about losing photos My iPhone 4 suddenly turned off and won't turn back on. I've tried charging it, holding the home and top button and plugging it into my computer. Nothing is working. When I plugged it into my computer, I received a notification that the phone is in recovery mode and needs to be restored to factory settings. I am fine with restoring it, but my concern is that I haven't backed up my phone for awhile and I don't want to lose the photos that were taken after the last time I backed up the device.

Is there anything I can do to restore the phone and still manage to save my pictures?

There are two apps that will mount your iPhone as a USB drive. One is Called "Phone Disk" the other is called iExplorer. If you google for them you can download one. Simply plug your phone into your computer. When iTunes comes up, hit cancel, and then browse your iPhone just like you would in the finder. Drag the "Photos" folder onto your computer.

All backed up!

Another app, called WiFi Photos (free), goes on your phone, when you launch it any mac on the same wifi can go to a special URL, and browse your iPhone photos and right click to save!


Xcode's Organizer window gets lost, when using 2 external monitors The Xcode's Organizer window (Window -> Organizer) disappears, when using multiple (in my case 2) external monitors.

Xcode's Window -> Bring all to front command doesn't bring the window back onto any of the screens
Same goes for MacOS's Show All Windows command, when holding the Xcode's Dock icon

The only option for me is unplugging the monitors, or restarting Xcode.

Are there any alternative solutions?

I have the same issue. Restarting Xcode helps.


How do I close the source of an AppleScript application? When saving an AppleScript as an application, you can view the source by looking in the package contents. Recently, ruddfawcett posted his AD search application he made with AppleScript and the source was closed. How do I do this?

In the Save As dialog, there's a box that says "Run only". Check that when you save.


How to access a clicked URL in a URL handler application created in Automator I'm currently trying to modify the default URL handling behavior in OS X. I would like, when clicking on any link outside of a web browser, to copy this URL to the pasteboard instead of opening it in the default web browser – for instance, clicking a link in a Skype conversation should copy this URL to the OS X pasteboard instead of opening it in Firefox (which is currently my default web browser).

I have thought about solutions, but I’m currently unable to implement one. If I can create an application that puts URLs into the pasteboard that are sent to it, and can set this application as the default web browser, I would be able to achieve my goal.

I created an application with Automator that executes the shell command pbcopy and have set this application as my default web browser, but I didn’t get the expected result. I did some testing and I can confirm that the application runs on clicking on a link, however, I cannot get the URL passed to the application / shell script. I tried both stdin or a passed argument, but without success.

Is there a way for an application created with Automator to retrieve a clicked URL and send it to pbcopy, when that application is set as a (default) handler for URLs?

Alternatively, is there a better way to create a fake web browser that takes the input and puts it in the pasteboard than Automator? Or is there any other way that I can achieve my goal without a custom application / script?

The way URL opening in Mac OS X is actually more complicated than you would think. When you click a URL, Mac OS X does not just pass the browser the URL to open; instead, it sends it an Apple Event, with the ID kAEGetURL, containing the URL.

I never really used Automator (it's just way too slow and limited for my typical use), so I'm not sure about this, but I doubt it has the ability to handle Apple Events. Therefore you won't be able to use Automator to achieve what you want.

You'll therefore have to resort to a normal Objective-C app in Xcode.

The two basic things you need to do are:

register your app for receiving the kAEGetURL event, and set the CFBundleURLTypes in your app's Info.plist to include http and https.
Implement a method handling the kAEGetURL event, and make it copy the URL to the clipboard.

These two things are relatively straightforward to do in Objective-C; to illustrate, I've created a sample application that does this. You can view it at https://github.com/houbysoft/short/tree/master/Copy%20URL%20to%20Clipboard. The most important file is https://github.com/houbysoft/short/blob/master/Copy%20URL%20to%20Clipboard/Copy%20URL%20to%20Clipboard/AppDelegate.m, there you can see how to register for the event (this is done in the applicationWillFinishLaunching: method) and how to copy it to the clipboard (this is done in the getUrl:withReplyEvent: method).

If you're feeling lazy and just want to see that this works, grab this file, extract the application from it, set that as the default web browser (open Safari Preferences, and browse for that app in the Default web browser field). Then click on your link in Skype, and it should be copied straight to your clipboard.


How do I schedule a print job in 10.9? When printing, I can't seem to find the scheduler in the print dialog box. How do I enable print scheduling in 10.9? I remember in at least 10.5 it being one of the options in the print dialog.

Print Job scheduling was removed in OS X 10.7 Lion. As a workaround, you can pause the printer, print what you want then continue the printer.

You can provide feedback to Apple regarding this on the following page:

http://www.apple.com/feedback/macosx.html


Install El Capitan in Virtual Box for testing purposes I enrolled to Apple's beta program as I want to test some software under El Capitan. Therefore, I would like to instal El Capitan in Virtual Box.

Is there a recommended way of doing this? As I understand I have to install Yosemite first and then upgrade to El Capitan beta?

I understand, that I have to convert the .app I download into a bootable image which I can use to install it in a virtual machine - can somebody point me to a reliable (tested) howto how I can do this?

The instructions below, found in Creating a bootable El Capitan ISO image, worked for me after a download of OS X El Capitan from the App Store.

hdiutil attach "/Applications/Install OS X El Capitan.app/Contents/SharedSupport/InstallESD.dmg" -noverify -nobrowse -mountpoint /Volumes/esd
hdiutil create -o ElCapitan3.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach ElCapitan3.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/iso
asr restore -source /Volumes/esd/BaseSystem.dmg -target /Volumes/iso -noprompt -noverify -erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -rp /Volumes/esd/Packages /Volumes/OS\ X\ Base\ System/System/Installation
cp -rp /Volumes/esd/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/
cp -rp /Volumes/esd/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/esd
hdiutil detach /Volumes/OS\ X\ Base\ System
hdiutil convert ElCapitan3.cdr.dmg -format UDTO -o ElCapitan3.iso
mv ElCapitan3.iso.cdr ElCapitan3.iso

Additionally for running within VirtualBox:

Create a new OS X El Capitan from Wizard.
Change "System->chipset" to PIIX3, mount created ISO and boot up.
If you only see a the CD/DVD as installation target within the installation program choose "Utilities > Disk Utility" and erase the VirtualBox disk, which will lead to an empty HFS+ Journaled disk, which now could be chosen as target.


Hide Notification Center button from menu bar in High Sierra How do I get rid of the Notification Center button in the menu bar in High Sierra?

It's that one in the far right:

I'd like the space it occupies to disappear too. Apparently it used to be possible to hide the icon but the space would remain.

Also, I want to continue using the Notification Center; currently I access it with a gesture on my trackpad.

The answers to Remove the Notification Center icon from the Menu Bar do not work for me in High Sierra.

The Bartender app allows you to hide and rearrange menu bar icons - it may work for you.


Adding a new hard drive to RAID1 software RAID fails I've got a Mac Pro 1.1 running macOS Server 10.6.8 that I want to use as a RAID-Server. I use Disk Utility to run a RAID1 set with two 500GB hard drives.

Now adding a third 500GB hard drive to the existing RAID-Set with diskutil appleraid add member fails by showing me the following error message:

Error: -9911: The target disk appears to be too small to add to this RAID set

But when I delete the RAID-Set and set it up with all three hard drives together, the RAID is being created without any problem.

I belive that it could have something to do with the fact, that the third hard drive is a different model (different company), and the other two are the exact same. But if that would be the case, then I could not replace a hard drive in a RAID-Set, even if it would be from the same company and the same model line – since even those can change over time – except if I buy the exact same one – right?

I want to be sure that Apple RAID is capable of adding a new drive to an existing RAID if I have to swap a damaged one. Is anyone able to help me with this problem?

Thanks in advance!

I did not know, that it's not ok to cross post over multiple platforms – sorry for that.

However on superuser I got an answer to my problem, so here is the link once again:
https://superuser.com/questions/1476652/adding-a-new-hard-drive-to-raid1-software-raid-fails


Mac App Store without admin password? Is there any way to use the Mac App Store without the administrator password? IE change it to install the app at ~/Applications instead of /Applications?

According to one poster in an Apple discussion forum, this may be possible in Lion:

  This is possible with Lion.

  There is a _appstore group. All the users that are in this group are
  allowed to install applications from the Mac App Store.   You can add
  a user to this group with the workgroup manager (install server
  admin tool first). Or by typing in this command on the terminal.

dseditgroup -o edit -a shortusername -t user _appstore

Unfortunately, this approach won't work in Snow Leopard or earlier versions of OS X. There also doesn't seem to be an option to install apps in a directory other than /Applications.


Is there an iPod locator? I know the iPhone does that, using me.com, but I don't know anything similar for iPods. I have an iPod touch and, sometimes, I forget where I leave it, only knowing it's on my house.

If it was my cell, I would dial the number and listen. Is there a similar app for iPods?

Your question and Webs' answer answer the question. With me.com, you can send an instant message to your iPod touch. Surely it needs WiFi turned on to receive the message. Additionally you can make the iPod beep for 120 seconds, and you can lock or reset it from remote.


MZFinance.BadLogin.MacAppStore_message error when signing into Apple ID I get the above error message when trying to sign in to my Apple ID when trying to do a fresh install of OSX on my mac mini. It is an old version of OSX (Mavericks).

Seems to be very little info on the web about this error in this situation in particular.

Mavericks does not support asking for two-factor authentication. However, you don't need to disable two-factor authentication to log in to services which don't support it.

Attempt to log in as usual. You will receive an error message which may vary depending on the service and version of OS you are using.
Choose to allow the login on another device and note the code given.
Append the code to your password, then log in again.


macOS Mojave CalendarAgent runaway process I'm using Google Calendars on more than one account.

Everything was fine in macOS High Sierra, but after upgrading to macOS Mojave, the CalendarAgent process sat at about 100% CPU, continuously.

The only way I could hold the fans quiet is by freezing it by running:

killall -STOP CalendarAgent

But that's not really a solution. All it does is prevent the runaway process from executing. Consequently, the Calendar.app client doesn't work anymore.

Anyone encounter the same problem? Any ideas on a proper fix?

Well, it appears that somehow the upgrade must have left the calendar info in a weird state, because this seems to have fixed it:

Disable all Google calendar accounts (Calendar.app -> Preferences... -> Accounts).
Wait for the CalendarAgent process to subside. Eventually it will; use Activity Monitor to check. A reboot may help at this point.
Enable each Google calendar account, one by one: every time one gets enabled, the CalendarAgent process will get excited for a while. Wait for it to idle before enabling the next account.


Internet page not loading, ping not working but host www.example.com return an IP Sorry I'm being vague because I don't even know where the problem can be.

Yesterday I was using the internet just fine. Today on the same wifi router and on another 3G connection, I couldn't access any webpages. I tried using those exact same two connections with another laptop and it worked.

I cleared the cache, set up my DNS server to be OpenDNS ones, made sure there was no proxy activated, but no luck. Tested with Safari, Chrome, and Firefox.

Ping doesn't work. Host does.

I am no networking expert. I'd like help with solving this issue.

Thank you.

Mac OS X 10.6.8 / Firefox & Chrome : Latest

Ok. I fixed it.

A bit of more details first.

dig / nslookup / host commands were working. So I actually had access to internet.

The problem was ping and all Browser using the System resolver that was not working.

I unload then reloaded the /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist with the -w option. And it worked.

Hope it can help,


Window manager freezes when triggering Exposé on macOS Sierra? On my MacBook Pro (Early 2015), I've been struggling with a problem since I upgraded to Sierra.

I don't use Exposé very often, but some times, when I trigger it accidentally with a swipe on the trackpad, it freezes the window manager.

What happens is that the windows start moving inwards (like they do for Exposé) for a beat, but then stops again almost immediately. And after that, the window manager appears to be frozen. I can't bring up any menus, get the “Force Quit” window to appear or change active windows. I can bring up the Cmd-Tab switcher and select a different window, but doing so does nothing – the app that had focus keeps focus, and the windows stay as they were. I can open Siri or Alfred via keyboard shortcuts, but neither receives keyboard focus or reacts to the mouse. I can talk to Siri, but since she can't log me out or kill a process or something like that, that's also useless.

I've only found two ways out of this problem. One is to do a hard reboot (which I'm not fond of), and the other is to SSH in from another machine and do a “sudo killall Dock”, which does alleviate the issue, but requires some logistics.

Any suggestions on how I can stop these freezes, or at least get easier out of them?

It's still happening with maOS Mojave 10.14.1.

When it happens to me, the OS isn't frozen, only Expose is. Music keeps playing, I can receive notifications, etc.

In this case, try adding to Dock an icon that will restart Dock:

Open Automator
File -> New -> Application
In the search field, pick Run Shell Script
In the text area, type: killall Dock (capital D on Dock)
File -> Export
Save it as "RestartDock" in somewhere convenient
In Finder, open the directory where you saved the app and drag it to Dock

When the bug happens, try clicking on the app from Dock.

Credits to https://www.addictivetips.com/mac-os/how-to-restart-the-os-x-dock/


Time capsule not backing up Since many days, my time capsule, isn't making any backups. I checked the light status and its green, when choosen the command for backup now, it spends good amount of time (10-15 min) saying "preparing backup" and then failing, and upong entering "Time Capsule" preferences and choosing the red icon, I am showed the following message

I tried restarting time capsule and my mac. But nothing works, My system is updated too. How can i fix this problem and why is it happening?

It clearly advises you to use Disk Utility and repair your back up disk.


How to paste information from JSON Helper I'm able to fetch JSON data using JSON Helper and see the results in Script Editor, under Results.  I'm not sure what I would use next in AppleScript to copy those results so I can paste it into a program such as Numbers.

tell application "JSON Helper"
    set myRecord to fetch JSON from "http://www.nfl.com/liveupdate/scores/scores.json"
    return myRecord
end tell

You can use the set the clipboard to command.

tell application "JSON Helper"
    set myRecord to fetch JSON from "http://www.nfl.com/liveupdate/scores/scores.json"
    set the clipboard to (make JSON from myRecord)
end tell


Quick way to preview all pages in a PDF file Is there a quick way or software for MacOS that makes it easy to quickly preview all (or many) pages in a single PDF file. Optimally, it would preview a PDF with multiple pages, similar to how Quick Look shows multiple files.

Currently in Quick Look, I have to scroll through the pages (this does not give me the overview I would like). Alternatively, I'll have to;

Open PDF in Preview,
Open print dialog,
Choose layout and select 16 pages per sheet,
Save as a new PDF, and then
Quick Look or open the new PDF. Which gives something like this:

Preview also has something called a "Contact Sheet" (similar to the contact sheets one printed for photos on a film).

Open the PDF in Preview and either press cmdoption6, or go to the "View" menu and select "Contact Sheet".

Then zoom in or out to taste.


is it a problem to buy an iPhone in a different country? My parents are traveling in Central America, and my mom's iPhone was stolen. She was going to buy another one in Honduras. After their trip wraps up in a month or two, she's going to come back to the US and the vast majority of her future usage will be in the US.

I'm just wondering if there are any potential problems with this plan. I know that when you setup an iPhone you can choose a particular language, so that isn't a problem.

One potential problem is it will probably cost her more, because she'll be buying without the subsidy she'd get from a US carrier. She knows about this and is willing to do it anyway, because she really likes sending photos to us from her trip.

Are there any other technical or logistical issues? The big one I can think of is maybe the model she'll get will be setup for different cellular bands than the model she'd get in a US. But my information might be dated, perhaps this used to be a bigger problem last decade than now. Plus this is Central America, not Europe or Asia.

Anyway, this is a pretty wide-ranging question but thanks for any advice you can provide.

ALSO: Since this is a stolen iPhone situation, is there any Apple-specific thing you might recommend? We are already going to 1) Tell Verizon to switch her service to her new iPhone, and 2) Attempt to wipe the phone remotely using Find My iPhone. But I forget if it helps to tell Apple about the theft. This is an older model iPhone (5?) and not on the latest iOS so it might not have some of the latest anti-theft capabilities that I think they put in iOS recently (but forget what they were)

There are two issues:

First, while Apple's warranty is international, Apple sometimes limits overseas service to the country where the device was purchased, or requires users to return the item to the US for service. This stackexchange answer has more information.

Second, she must be careful to purchase a model which will cover the phone bands she expects to use. iPhones sold in different countries sometimes have different coverage, and often multiple models (band coverage-wise, not "7" or "8" or "X" - wise) are offered. This Apple webpage, for example, lists the models that will provide LTE coverage as well as the bands covered. (I know it's bad form to refer to an external page, but the info is far too large to copy-and-paste into this answer.)


How to hide or remove useless network names from the wifi menubar icon I have obnoxious neighbors that think its funny to use offensive words for their SSIDs.

I would like to remove those SSIDs from, at a minimum, the wifi menubar icon.  If its easier, hiding/removing them from the OS completely (menubar icon and system prefs) would be acceptable.

I'm an OS X newbie, so I don't even know where to start with this.

I prefer built-in solutions (read: free), but solutions < $10.00 would be ok too.

You could place something like this Applescript in you Applescript Menu and use it to list you preferred networks, choose on and connect to it.

set the getList to paragraphs of (do shell script "networksetup -listpreferredwirelessnetworks en0")

    set title to item 1 of getList
    set wifi_list to items 2 thru -1 of getList

   set the chosen_newtwork to choose from list the wifi_list with prompt "Choose a " & title without multiple selections allowed

    if the chosen_newtwork is false then return

    do shell script "networksetup -setairportnetwork en0  " & (chosen_newtwork as string)

(I cannot say this is perfect as I have found it sometimes does not always want to connect but I am unsure if that is just my router/wifi)

Update.

Using the same idea above, you could also create a banned list of bad ssids.

And filter them.

The main command is using a airport framework command instead of the networksevice command so is a tad slower. But scans for available networks instead of just you preferred.

    set bannedList to {"BTWifi-X"}
    set wifi_list to {}
    set the getList to paragraphs of (do shell script "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s |awk '{print  $1}'")

    set title to item 1 of getList
repeat with i from 2 to number of items in getList
        set this_item to item i of getList
        if this_item is not in bannedList then
            if this_item is not in wifi_list then -- stops duplicates from original list
                copy this_item to end of wifi_list
            end if
        end if
    end repeat

    set the chosen_newtwork to choose from list the wifi_list with prompt "Choose a " & title without multiple selections allowed

    if the chosen_newtwork is false then return

    do shell script "networksetup -setairportnetwork en0  " & (chosen_newtwork as string)


Python-based app requires bypassing 'unknown developer' warning Using a Python utility called py2app, I've built a distributable .app. from a Python-based project.

It launches fine (when double-clicked) on my own machine, yet when tried elsewhere (other users on other Macs), the user gets warned that the application is from an unknown developer, and he/she has to jump through the hoop of holding Ctrl then right-clicking, or the less secure 'allow from anywhere' option on System Preferences.

Excuse my ignorance, but what step(s) need to be taken such that this is not required?

Sign up with Apple as a paid developer and you can use your Mac App signing certificate to sign that app before distributing it. Your Apple ID will then allow Apple to trace things back to you should you sign something malicious and it comes to their attention.

You're looking for the Mac Provisioning Certificate that Apple will sign and deliver you you from https://itunesconnect.apple.com

https://developer.apple.com/osx/distribution/
https://developer.apple.com/developer-id/

The alternative would be to disable gatekeeper, but I'm presuming you want to know how to have your app be accepted by many Macs without needing each one to bypass the settings globally or grant a one-time exception to your app each time you update it.


How do I control text alignment in a document with a  3 column layout in Pages 09? How do I create a menu/brochure for a salon with 3 columns, where the price will be next to the description but right-aligned?

I think there has to be be a better way than hitting the Space bar to get it to the right!

If you've got tabular data (which it sounds like you do), using a table is perfectly appropriate.

The other way is with tabs. Show the ruler by hitting command-R (if it's not already visible). You should see triangles denoting the margins of the page. Click anywhere in the ruler to create a tab stop. Create some more. By default, tab stops are left-aligning, but if you double-click on an existing tab stop you cycle through center-aligning, right-aligning, and decimal-aligning (useful for lining up numbers like $100.10 and $100.).

Once you've got your tabs, start entering some text, with tabs where appropriate. If you want to adjust the tab stops, make sure to select the text it applies to first.

If you want to get really smart, once you've got everything set up exactly the way you like, you'll create a style. Hit command-shift-T to show the styles drawer (if it's not already visible), and click the + at the bottom of the drawer. Create a new paragraph style and call it whatever you want. Then you can apply it consistently to new text in the document.

Using columns to do this is possible but awkward. Using spaces is a bad idea because the text will never line up right—plus it's a PITA.


Bootcamp Error: The startup disk cannot be partitioned or restored to a single partition Earlier today, I tried to install a Boot Camp installation of Windows 10, but there was an error and was removing the partitions it made, but I accidentally closed the window and now I'm stuck with an extra partition.

When I run diskutil list, this is what I get:

FYI, this is a MacBook Pro 13 inch (base model) with Mojave 10.14.1.
What can I do to get my drive back to normal (with just the Macos installation)?

Here is the commands you need to enter in a Terminal application window.

sudo diskutil eraseVolume free none disk0s4
sudo diskutil eraseVolume free none disk0s3
sudo diskutil apfs resizeContainer disk0s2 0

These commands will have removed the Windows partitions and expanded the macOS partition to recover the free space. However, there may still be Windows boot files stored in the hidden EFI partition (disk0s1). If these files exist, then they can be removed by entering the commands given below.

sudo diskutil mount disk0s1
cd /Volumes/EFI/EFI
rm -r Boot
rm -r Microsoft
cd ~
diskutil unmount disk0s1


What are some considerations in organizing apps in the dock? I am relatively new to Mac and OS X (4 months now). While I build my collection of preferred applications my Dock keeps on growing. It now takes about 70% of my screen width and I start to find it a bit messy.
I like to keep things organised and was wondering what are common practices to do so?

I know some people organise apps in folders by category/type, but how do I do it actually?

How is the icon for such a folder selected? Can I customise it?

PS. Screenshots are welcome.
PS2. If you have any recommendations of icon sources for organising Apps into folders, that'd be helpful, too.

There are lots of little application launcher utilities available, to name two Overflow and the venerable DragThing.

Personally, I prefer keyboard-based launchers like Alfred or LaunchBar.

OS X Lion will have feature called Launchpad which looks like it will be a good replacement to the dock for launching applications.

Organizing Apps in the Finder or launching them all via the Dock is rather futile, in my opinion — unless you have a very small collection of Applications…

If you're looking for folder icons, there are tons of online sources. I recommend the Iconfactory to start.

Customization: in the Finder if you use the Command Get Info in the file menu on a selected folder (also available in the right-click contextual menu), you can select the icon in the info window top-left. From there you can copy the icon resources and paste them.

So that's how you can customize the folders, copy icons from a downloaded folder source, and paste them into your new folders. Panic software produces an excellent Application for icon management that can also streamline this process called CandyBar.


Thunderbolt ports on my MacBook Pro (Retina, 13-inch, Early 2015) stopped working I purchased my MacBook Pro (Retina, 13-inch, Early 2015) just a few months ago for one specific purpose. I use it at my church to run the projector. It's connected through VGA, so I've been using a MiniDisplay to VGA adaptor (Apple Online Store). It worked great until last week. All the sudden it wouldn't recognize the Projector display. Sometimes I can get it to work for 30 seconds or so, then it may flicker in and out some and go away or sometimes it just drops the signal right off the bat. During troubleshooting I tried hooking into a couple flat screens via VGA and got the same thing. I've confirmed that everything else from the projector to the adaptor work correctly.

At first I thought it may be a short in the MiniDisplay to VGA adaptor so I  bought 2 more adaptors and tried them and still had the same problem. My friend brought his Macbook Pro and it worked perfect using all 3 adaptors. So I've been able to narrow the problem down to the MBP, but I have no clue what it could be. I've tried resetting PRAM and Management Unit even though I don't think that applies to the MBP.

I'm running Yosemite 10.10.5. I haven't upgraded to El Capitan yet due to my presenter software not being compatible with it yet. I would really appreciate any advice. Not sure if this is a software or hardware issue either? Thank you in advance!

Since the MBP is so new, you should probably contact Apple right away.  You have eliminated all but your new Mac as the problem.  Let Apple fix it.


Why does iPhone navigation bar disappear when browsing certain sites? When I click on the Facebook bookmark I saved to my home screen, m.facebook.com appears in Safari but the navigation bar at the bottom and the URL bar at the disappear.  At first I thought I was launching the Facebook app by mistake but I verified that's not the case.  Any idea why this happens?

Yes, mobile sites can be programmed to remove the navigation bar whilst browsing the site.  Makes for a better user experience when these elements get out of the way.

This is documented here  http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariHTMLRef/Articles/MetaTags.html

In particular the apple-mobile-web-app-capable element.


automator shell script application doesn't work in 10.13 I created application by automator for running jmeter. Since 10.13, this application does not work any more.

My shell script(I put jmeter directory in application Contents):

RADIR=`ps x | grep jmeter | grep -v grep | cut -c 28- `
COMMAND="$(dirname "$RADIR")/jmeter/bin/jmeter > /dev/null 2>&1 &"
eval $COMMAND

I checked that command is correct. But it doesn't work by running application. And it worked well before 10.12

I got some messages in Console log, The reason seems to be security exception. I am not sure

Some security mechanisms have been changed? How can fix it?

Thanks

About my previous analysis, I was totally wrong.

I ignore an important thing, Java version, not mac os x version. I just installed jdk 10 additionally and I also have jdk 8 in my system. Of course I set environment variable JAVA_HOME for jdk 8 in .bash_profile and .bashrc files, I checked java version in Terminal, it's java 8, everything is fine.

But in automator running process, java version is 10

Change shell script for getting error message

RADIR=`ps x | grep jmeter | grep -v grep | cut -c 28- `
java -version > ~/log.jmeter 2>&1 &
COMMAND="$(dirname "$RADIR")/jmeter/bin/jmeter >> ~/log.jmeter 2>&1 &"
eval $COMMAND

log.jmeter:

  java version "10.0.1" 2018-04-17

  Java(TM) SE Runtime Environment 18.3
  (build 10.0.1+10)

  Java HotSpot(TM) 64-Bit Server VM 18.3 (build
  10.0.1+10, mixed mode)

  Error: Java version is too low to run JMeter. Needs at least Java >= 1.8.0.

What!!!! That's the problem~~~

Change shell script to fix it:

export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)"
export PATH=$PATH:$JAVA_HOME/bin
RADIR=`ps x | grep jmeter | grep -v grep | cut -c 28- `
COMMAND="$(dirname "$RADIR")/jmeter/bin/jmeter > /dev/null 2>&1 &"
eval $COMMAND

It works well.

So, there are two problems in this issue:

Jmeter is not support jdk 10 (wait for official update)
How to properly set java home environment variable for automator?


Documenting Packet Loss on Corporate Network If you suspected intermittent packet loss on a corporate network that you have no authority over, as an IT guy how would you irrefutably document it?  (you are on a Mac, so any *nix toolchain is possible).

Thanks

The answer depends on the topology of the network.

You can set off different sized pings to different hosts internally and externally, reset these every hour with a bash script, and copy the output to an hourly directory.

Analyse the output in excel, tweak via vim.

You may also try traceroute -I which will give you hops using ICMP echo instead of UDP.


brew cleanup: Warning: Skipping XXX: most recent version X not installed Did upgrade all formulas:

> brew upgrade
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
No changes to formulae.

Why this upgrade did not install the latest version of httping?

> brew cleanup
Warning: Skipping httping: most recent version 2.5_2 not installed
Pruned 0 symbolic links and 7 directories from /usr/local

This command also complains something about httping:

> brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this.

Thanks!

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  httping

How to fix this? Upgrade to latest and what are unlinked kegs in your Cellar.

UPDATE after first answer and comments (summary brew link httping did not help):

> brew link httping
Linking /usr/local/Cellar/httping/2.5_1.reinstall... 6 symlinks created
> brew upgrade
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
recon-ng

> brew cleanup
Warning: Skipping httping: most recent version 2.5_2 not installed
> brew info httping
httping: stable 2.5 (bottled), HEAD
Ping-like tool for HTTP requests
https://www.vanheusden.com/httping/
/usr/local/Cellar/httping/2.5_1.reinstall (12 files, 163.7KB) *
  Poured from bottle on 2019-06-19 at 17:57:11
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/httping.rb
==> Dependencies
Required: gettext ✔, openssl@1.1 ✔
==> Options
--HEAD
        Install HEAD version

more comments:

> brew upgrade httping
Error: httping 2.5_1.reinstall already installed
> brew outdated
>

Why my httping package is unlinked? No one knows, it's your machine. We don't know what you have done in the command line.

To fix the unlinked kegs error, run the following command to relink it manually,

brew unlink httping
brew link httping

# if it doesn't link, force link it
brew link --overwrite httping

Why a Homebrew package need to be linked?

Take httping for an example. httping is installed into /usr/local/Cellar/httping/2.5_2 with the suffix <package-name>/<version>.

tree -L 2 /usr/local/Cellar/httping/2.5_2
/usr/local/Cellar/httping/2.5_2
├── bin
│   └── httping
├── share
│   ├── doc
│   ├── locale
│   └── man
├── INSTALL_RECEIPT.json
├── license.txt
└── readme.txt

Homebrew contains the content of a package in one place, a folder named with pattern above.

But to expose them for global use, the pkg content needs to be linked under /usr/local, which is an acknowledge place for *nix software installation. So, bin/httping is linked as /usr/local/bin/httping. And other contents also need to be linked into corresponding folder, like /usr/local/share, /usr/local/sbin, etc.

Update

According to the additional info you provided. The installation location of httping should be /usr/local/Cellar/httping/2.5_1, but not /usr/local/Cellar/httping/2.5_1.reinstall. It indicates the reinstall process may be interrupted.

I reproduced the problem on my machine and fixed it by the following commands.

# don't use reinstall
brew uninstall -f httping

# remove possible broken symlinks
brew cleanup

# install httping again
brew install httping

# check the version
brew info httping


homebrew - trouble upgrading openssl? I'm on osx 10.11.

(Background:
I'm having trouble getting the system installed Python to use TLS 1.1.)

From what I've read I need to use brew to manage Python.  But I want to upgrade openssl first so Python picks up the right version?

I did brew update, brew upgrade, brew doctor (no problems)

Then I tried:

$ brew install openssl
Warning: openssl-1.0.2h_1 already installed
$ brew link openssl --force
Linking /usr/local/Cellar/openssl/1.0.2h_1...
Error: Could not symlink ../../../opt/openssl/include/openssl/aes.h
/opt/openssl/include/openssl is not writable.
$ brew link --force openssl
Linking /usr/local/Cellar/openssl/1.0.2h_1... 1601 symlinks created

I'm not sure if those worked on not, but here's where I am now:

$ openssl version
OpenSSL 0.9.8zg 14 July 2015
$ which openssl
/usr/local/bin/openssl
$ ls -l /usr/local/bin/openssl
lrwxr-xr-x  1 greg  admin  46 Jun 27 15:23 /usr/local/bin/openssl -> /usr/local/Cellar/openssl/1.0.2h_1/bin/openssl
$ /usr/local/Cellar/openssl/1.0.2h_1/bin/openssl version
OpenSSL 1.0.2h  3 May 2016

So it seems like I might have installed the upgraded openssl version but am I ready to do brew install python and it will get the right openssl version and let me use TLS 1.1?
(Is this even the right approach to get TLS 1.1 support for Python?)

solution to install from source and get around the homebrew error

brew install openssl

-> Warning: openssl-1.0.2j already installed, it's just not linked.

brew link openssl

->Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
  -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib

cd ~/scratch
git clone git@github.com:openssl/openssl.git
cd openssl
sudo mkdir /usr/local/ssl
sudo chmod 777 /usr/local/ssl
./config -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
make
make test
make install

now, you will think you failed. but per OpenSSL not getting linked with homebrew on El Capitan 10.11.6
you have to close your terminal then reopen it
now

openssl version -a

will show that you are using the new version.


Where is the mic located in apple earphones? I heard someone say:

  The mic in the apple earphones is located in the earbuds itself - it listens to the vibrations from your head.

I had always thought the earphones where in the volume adjuster box.

My question is: Where is the mic located in apple earphones?

It's located in remote box. You can see the inside and actual mic on iFixIt website.

Microphone is marked red 2F17 045.


Installing fresh macOS High Sierra on SSD (Crucial MX500) on iMac 2011 21.5 (A1311) (Mid-2011) For reference, I previously successfully installed a SSD (WD BLUE) on my MBP Pro 2011 with no issues, but for the life of me I can't get it to work on my iMac (A1311, mid 2011).

SSD: Crucial MX500 (I chose this drive over OWC as it was slightly cheaper and came with 5 year warranty vs 3 year with OWC).

These are the steps I did:

Attached the SSD via USB2 to SATA to initialize the drive
On a separate USB drive, created a bootable USB High Sierra Installer
Removed Apple OEM HDD, installed SSD with thermal sensor
Booted in Option mode (pressing the Option button only)
Selected the USB drive which had the installer

I can't select the SSD to install.

I can install macOS on the SSD using a USB connection and boot from there without any problems.

I tried installing the SSD internally with and without the thermal sensor to ensure it wasn't faulty, it appears to be a non-issue.

Any ideas?

I exchanged the SSD drive, and it worked!

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


Forgot pass code and want to know if my recent videos will be safe if I restore from iTunes???? Help please! I forgot my pass code on my iphone 5. I know I can restore from iTunes but what about the videos on my phone?  We recently took a trip and I have uploaded all the photos but not the videos,:(. Do they back up when my phone backs up to the cloud? I also haven't backed them up to my computer yet. I really don't want to loose all these videos of my kids!!!! I have an iPad Air also but I know videos don't stream right?  Please help me if possible thanks!

When you connect your iPhone to iTunes you can do a backup, you should be able to do this even without the pin. Then just restore last backup and you're fine!

There is either a big "backup now" button or you can right click on the name of your iPhone and then select backup. Depends from the iTunes version.

Hope this helps.


How can I retrieve image files from a damaged zip archive file? When i tried to unzip using the Mac default Archive zip utility and the error message: Error 1 - Operation not permitted.

Then I tried using 7zx and got the error message: Cannot open the files as archive file

How can I retrieve image files from the damaged zip archive file?

Are there any tools to retrieve at least some of my files from the damaged zip file?

If the issue is actually a damaged zip file, the command line zip tool can try to repair it.  For that you'd use the -F or -FF options, like that:

zip -F damaged-copy.zip --out repaired.zip
zip -FF damaged-copy.zip --out repaired.zip

It's always a good practice to do that on a copy of the damaged file, so you're sure you don't damage it any further.  To see what the -F and -FF options do, look at the man page: man zip.


In Mavericks' Activity Monitor, what is a "Zombie?" I have Nginx installed; compiled via MacPorts, and configured to launch on start-up. When I go to the Disk tab of Activity Monitor after installing Mavericks, the nginx process(es) is listed with a kind of "Zombie," or sometimes "64 bit, Zombie." What does this mean?

According to wikipedia, a zombie process is  a process that has completed executing, but still has an entry in the process table. In other words, a zombie process has finished executing, but it hasn't been cleaned up yet.

When a process finishes, its return code needs to be returned to the parent process. Normally, this happens immediately, so you don't see the zombie process. However, sometimes, the parent process doesn't cooperate, and the zombie stays in the process table indefinitely.

If you want to get rid of a zombie process, you have three options:

Wait. Hopefully it'll clear up on its own.
Send a SIGCHLD to the zombie's parent. If it's behaving correctly, it'll fetch the return code of the zombie process, and the system can then reap the zombie process.
Kill the parent process. When you kill a process, its children are adopted by init, which will clean everything up for you.


App will not open and will crash on every attempt Whenever I open an app it goes there for a second then crashes and goes directly to the home screen. This haven't happened before, it recently started.
I have restarted my phone, powered it off, and updated to the latest iOS.
Is there anything I can do to fix this other than reinstalling the application?

No, the app is either corrupted (which happens sometimes during the download) or as a serious defect that causes it to crash (and that Apple didn't catch during review).

You'll have to uninstall then reinstall the app.


How do I sort the Facebook News Feed EDIT: As of Facebook v10.0, this question received a lot more views as the option has moved again.  See the new answer below.

Original Question

I'm using Facebook v6.8 on iPhone 4 running iOS 7.0.4.

In previous versions of Facebook, I could tap a cog icon in the NewsFeed box and select whether to sort by Top Stories or Most Recent.  I can't find that icon any more.

How can I sort by Most Recent?

Whilst at the top of your feed, pull down so you see the News Feed button. Tap that and you can select from All Friends, Most Recent. Lots of other choices are available if you expand the list by tapping the downward facing arrow.


How to run OS X from DVD or USB stick? I would like to have a safe "Linux-like start/boot from DVD or USB stick" environment.

How to do such security thing for the latest OS X (10.9 Mavericks)?

I'm not sure how to make a live environment from a DVD, but it is relatively easy to do it with an USB flash drive or an external HDD.

To install it to your HDD or flash drive do the following:

connect your drive
open the "Disk Utility" and click on the corresponding drive on the left hand side
click on the partition tab and select 1 partition from the drop-down menu
click on options and make sure you'll format it with the GUID Partition Table in order to make the drive bootable

BE VERY SURE ABOUT THIS, YOU'LL ERASE EVERYTHING ON THE HARDDRIVE

now mount your install image and proceed with the installation, be sure to select the proper harddrive

Also, note that you already have a recovery partition.


Finder "Open With" very slow I have the latest version of OS Yosemite (10.10.5) on a very powerful MBP (i7, 2.4, 16GB RAM).

When I right-click on a file in Finder and choose "Open with", "Other", the dialog window is very unresponsive:

it takes time (minutes) to populate the /Applications folder.
Scrolling the content of the /Applications folder is incredibly slow, the content takes seconds to move when I scroll the mouse wheel and I spend not less than a minute trying to reach the correct application I want to use.
When I finally reach the correct application and click on it, it takes 1-2 seconds to highlight the item I selected and another couple of seconds to enable the "OK" button.

This happens every time I select "Open with - Other" and not only the first time.

Is there anyone who can suggest a solution for this problem, it is incredibly annoying. I have never experienced such a weird behaviour on any OS X version.

Thanks.

Try rebuilding the Launch Services database, which populates the Open With menu. It can sometimes get corrupted, which can cause duplicate entries, slowdowns and other weirdness.

If you're comfortable with the Terminal, you can do this with a single command:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

Otherwise, a free GUI tool like Onyx can do it at the push of a button.


Trackpad gesture to open the widget sidebar? What is the exact touchpad gesture to open the widget sidebar?

You need to swipe left physically from off the trackpad (i.e. the palmrest) and onto the trackpad. You don't have to have the cursor in the top right to do this. You can have the cursor wherever on the screen.


Are "Extensions" something that disappeared many Mac OS versions ago? On a sheet of Mac keyboard shortcuts for booting, one of them says, "hold down shift while booting and the computer will not load login items or extensions".

Am I wrong, or are Mac OS "extensions" something that were phased out a long time ago?  (In other words, with OS X Lion, the shift key simply cancels loading the login items, period?)

Note that, of course, I know that "extensions" has meaning in other apps -- Firefox, Safari, Thunderbird, etc.  But please confirm my Mac OS X suspicion as I describe it above.

(Yep, I know this is related to my other question.  Getting this answer clear will allow me to resolve both questions clearly and designate their correct answers.)

Your expectation that extensions are only a thing of the past is incorrect.

Modern Mac OS X uses kernel extensions, which are not identical to the "old school" extensions used in Mac OS 9 and earlier, but yes, there are still such a thing as extensions. You can find them in /System/Library/Extensions.

Apple expands on this in this support document about Safe Mode.


Can I replace optical drive with 2nd hard disk on MacBook? I have a unibody MacBook, late 2008 I think. The optical drive failed and I wondered about adding a second hard disk. Is this simple to do?

I have heard good things about the Optibay kit. It provides a mounting bracket for whatever hard drive or SSD you want to put in there.

This video shows how to install it in a Mid-2010 MBP, which is close in design to the Unibody MacBook you have. Instructions according to the guy in the video:

Remove the bottom panel
Disconnect and remove the Wi-Fi/Bluetooth antenna.
Disconnect optical drive and put the connector onto the Optibay
Put your hard drive into the optibay
Follow the steps in reverse to reassemble your computer.

The dangerous parts are when you pop up the delicate connectors with, say, an iPod opening tool. So the Wi-Fi may not work afterwards, and you would be on your own since Apple doesn't support modifications. But overall, it isn't so bad. It looks like an easy fix.


Why does the MacBook Air have five pins on the charger? I just got a MacBook Air and noticed the charger has 5 (i.e., an odd number) pins. Shouldn't there be a pair number, one for positive, one for negative charge?

I thought about it being ground, but the charger does not have a ground plug. (Note: the cord does, nevermind)

From MagSafe Wikipedia page

Pin 1 - Ground
Pin 2 - V+ @ 16.5 V DC
Pin 3 - Charge control pin
Pin 4 - V+ @ 16.5 V DC
Pin 5 - Ground

The inner large pins are V+ (16.5 VDC). Measuring with no load will give  6.86 V DC; the full 16.5 V is provided to the proper load.
The outer large pins are ground.
The tiny center pin is a charge control pin that assists with changing the LED color, as well as reporting the connected adapter type and serial number to the connected Mac.


Why does iphoto only open 4 images in the external editor? I am using Photoshop as the external editor, but when I select a series of photos (more than 4) within iPhoto and choose "open in external editor" only the first four of the selected open. It's pretty annoying because I don't want to have to keep going back and forth between the programs to see what i have open in Photoshop. I just want to select (holding control and selecting) different images to then edit outside of the program.

Is this a setting i can adjust? What possible reason would there be for this limitation?

I believe this is to protect against User error - the kind of thing that happens when an inexperienced user doesn't realise that s/he has every photo in their Library selected and then opts to send to the external editor.

No, there is no setting to adjust. Nor have I ever found a way to hack the limitation.


Copy photos from places album to PC In the iPhone photos app, there are now special folders (Places, People, etc.). Unfortunately, photos in these albums will not import automatically into Windows when the iPhone is connected via USB.

Photos in the Places album do not show up in the "All Photos" album or the "Camera Roll".

Does anyone know of a procedure for getting photos from these albums (specifically, the Places album) onto a Windows PC?

An alternate method for download is:

Visit https://icloud.com
Log in using your Apple ID
Select the Photos app
Select the photos you wish to download
Click the Download icon at the top right of the window


Can I install OS X lion on a disk that is OS X Extended Journaled encrypted? Just wondering if I can, using Disk Utility, format the hard drive such that it is OS X Extended (HFS+) Journaled encrypted. Will Lion be able to install on that disk?

I'd say this is more work than it's worth since Lion clearly isn't expecting to be able to deal with the new encryption scheme. You'd be better off running Lion virtually as that's far less work to do than hacking together the parts of Mountain Lion needed for file vault 2.

The obvious catch-22 is where you need to expose that disk to Lion to get it encrypted in the first place, the recovery HD placed on that drive will allow the installer to prompt for a password and get the CoreStorage keys set up to unlock that volume for the installer.

As mentioned in the comments, it's easiest to connect your encrypted Mac to another Mac in target disk mode to get the Lion installer to run (or better to just image things) - but advanced knowledge of fdesetup and the boot process also might allow other solutions. You will likely have continual problems with automatic rebooting since Lion isn't going to know how to decrypt the boot volume nor will the Recovery Boot image want to hand off to Lion since it's not supposed to know how to handle Filevault 2 drives in the first place.

http://derflounder.wordpress.com/2012/07/25/using-fdesetup-with-mountain-lions-filevault-2/


Terminal/Safari Cannot Resolve Host But Chrome Can Connect I have MacBook Pro (Retina, 13-inch, Early 2015) with OS X 10.11.5.

Internet connection works only for Chrome. Safari and several terminal apps cannot connect to internet due to resolve host failure.

I read the following posts in stackexchange that describe similar connectivity issues: My native mac apps are not connecting to the internet, but Google Chrome does and works correctly. Why is this?

On the terminal:

ping google.com: ping: cannot resolve google.com: Unknown host
ping 8.8.8.8: 5 packets transmitted, 5 packets received, 0.0% packet loss
curl google.com: curl: (6) Couldn't resolve host 'google.com'
curl 8.8.8.8: curl: (7) Failed to connect to 8.8.8.8 port 80: Operation timed
ssh {servername} : ssh: Could not resolve hostname {servername}: nodename nor servname provided, or not known
nslookup google.com: This works correctly.
dig google.com: This works correctly.

I tried the followings a lot of times to no avail:

Renewing/turning off&on/inputting manually DHCP.
Restarting/resetting the router and the macbook.
Turning WiFi on/off. This fixes the problem for a few minutes but then the connection drops again.
Set all network configurations except wifi to "make service unavailable" in network preferences.
Checked and copied all network settings from another macbook pro that's connected and online on my network.
Ran network diagnostic and assistant tools
Set Network > Wifi > Advanced > DNS > DNS servers to OpenDNS ip addresses: 208.67.222.222
No Proxies is checked or set under Network > Wifi > Advanced > Proxies.
Set TCP/IP > Configure IPv6 to "Link-local only" as suggested here:  Constantly dropping internet on El Capitan?
Logging in and connecting to internet with guest user account.

I tried running the following commands to reset DNS but they didn't run neither

$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist: Could not find specified service

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

I didn't try the followings:

Resetting SMC
Removed the /Library/Preferences/SystemConfiguration folder.
Removed network password from keychain.

Other information that might be relevant:

OS X Firewall is off.
I tried the following commands on terminal:

$ ifconfig en1
en1: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500
     options=60<TSO4,TSO6>
     ether 4a:00:03:bd:de:d0
     media: autoselect <full-duplex>
     status: inactive
$ ifconfig awdl0
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
     ether 76:aa:18:a6:c9:49
     inet6 fe80::74aa:18ff:fea6:c949%awdl0 prefixlen 64 scopeid 0x8
     nd6 options=1<PERFORMNUD>
     media: autoselect
     status: active
$ sudo ifconfig awdl0 down

I did the last command because it was suggested here: Constantly dropping internet on El Capitan?

My modem router has no black/whitelist for any MAC addresses.
skype app doesn't connect. It is stuck in "connecting" state.

flushing DNS cache didn't help neither:

$ sudo dscacheutil -flushcache
$ sudo killall -HUP mDNSResponder
No matching processes were found

Here are the DNS server settings:

$ cat /etc/resolv.conf
#
# Mac OS X Notice
#
# This file is not used by the host name and address resolution
# or the DNS query routing mechanisms used by most processes on
# this Mac OS X system.
#
# This file is automatically generated.
#
nameserver 192.168.43.1

I run sysdiagnose command to produce the following report:

sysdiagnose_2016.12.19 (Dropbox d/l)
I can run mDNSResponder command on terminal. It returns no message back.

Your launch daemon com.apple.mDNSResponder.reloaded is not loaded properly.

You can check this by entering sudo launchctl list | grep DNS.

The result should yield something like this:

-   0   com.apple.mDNSResponderHelper.reloaded
108 0   com.apple.mDNSResponder.reloaded

108 is the pid and should differ on your system.

Check your com.apple.mDNSResponder.plist for errors with:

cat /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

It should look like this:

<?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>com.apple.mDNSResponder.reloaded</string>
    <key>OnDemand</key>
    <false/>
    <key>InitGroups</key>
    <false/>
    <key>UserName</key>
    <string>_mdnsresponder</string>
    <key>GroupName</key>
    <string>_mdnsresponder</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/sbin/mDNSResponder</string>
    </array>
    <key>MachServices</key>
    <dict>
        <key>com.apple.mDNSResponder</key>
        <true/>
            <key>com.apple.mDNSResponder.dnsproxy</key>
            <true/>
    </dict>
    <key>Sockets</key>
    <dict>
        <key>Listeners</key>
        <dict>
            <key>SockFamily</key>
            <string>Unix</string>
            <key>SockPathName</key>
            <string>/var/run/mDNSResponder</string>
            <key>SockPathMode</key>
            <integer>438</integer>
        </dict>
    </dict>
    <key>POSIXSpawnType</key>
    <string>Interactive</string>
    <key>EnablePressuredExit</key>
    <false/>
</dict>
</plist>

Remove the lines <key>com.apple.mDNSResponder.reloaded</key> and the immediately following <false/> or <true/> from the file disabled.plist by editing it with

sudo nano /private/var/db/com.apple.xpc.launchd/disabled.plist

You may have to disable SIP to do so!

Remove the mDNSResponder daemon from the launchctl database with:

sudo launchctl remove com.apple.mDNSResponder.reloaded

Re-add it with

sudo launchctl load /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

Reboot.


What is the hex ID for Fn key I would like to remap my Left Control to Fn key using hidutil. This is the command I've been trying to use:

hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x7000000E0,"HIDKeyboardModifierMappingDst":0x7000000??}]}'

There is a list of hex IDs on this page:
https://developer.apple.com/library/archive/technotes/tn2450/_index.html
but Fn key is not there.

I couldn't find it in a USB specification either: https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf.

The ID (0x3F) found in this document:
https://github.com/tekezo/Karabiner/blob/master/src/bridge/generator/keycode/data/KeyCode.data
is wrong.

What is the hex code for Fn key that I can use with hidutil? Or is it not possible what I've been trying to do?

(I would have remapped the keyboard using Karabiner-Elements if it wasn't buggy on my computer.)

I got this from Key Codes (freeware)

Fn key down

Modifier Change
    Keys:
    Key Code:   65535 / 0xffff
    Modifiers:  8388864 / 0x800100 ⓘ

NX_SECONDARYFNMASK / kCGEventFlagMaskSecondaryFn / NSFunctionKeyMask
        = 8388608 / 0x800000

NX_NONCOALSESCEDMASK / kCGEventFlagMaskNonCoalesced
        = 256 / 0x100

Fn key up

Modifier Change
    Keys:
    Key Code:   65535 / 0xffff
    Modifiers:  256 / 0x100 ⓘ

NX_NONCOALSESCEDMASK / kCGEventFlagMaskNonCoalesced
    = 256 / 0x100

tbh, it doesn't really mean a great deal to me, I'm no coder... ;)


Is there a way to restore the original sorting in a Numbers table? I have just started using Numbers and I started messing around with the organization options. Filters and categories work great, however, sorting has a weird behaviour.
If I sort the rows by a given column and then remove that sorting rule, the original row order is not restored. I couldn't find any simple way to restore it :/
How can it be done?

The simplest way is 'undo' i.e. ⌘+Z until you reach the desired (previous) state. 'Undo' applies to anything what is 'done' in a file, so pending on how many changes are made it may be lot of undoing.


Sublime Text is autocorrecting “^” I use Sublime Text 3 for my LaTeX coding. Whenever I try to type something with a carat such as e^{x+2} it autocorrects it to e{{x+2}}. The autocorrect occurs right after typing the first curly brace and only occurs in math mode.
I've looked through my Key Binding settings but it all looks pretty foreign to me. This post here seems to refer to adding this autocorrection, but again is tough for me to understand what is going on.

I would suggest you try turning off spell check. Under the sublime text menu item go to preferences and click on "Settings Syntax specific". You get a file that shows setting for spell checking. If that is true, try to change it to false.


How to record on CD my Album from Photos App? I have an album with some photos (almost 8 GB, lot of movies) in my Photos App on Mac. Now I need to save them on DVD. How to do this? Is there a simple way? How to find aprioprate album in Finder?

To move your Photos library to DVD:

1- Make an empty folder in your desktop or any other place in Finder (in a hard drive with at least 8GBs free space).

3- Go to your target album in Photos.app and press Command-A to select all photos in the album.

4- Drag photos from album to the open empty folder.

5- Wait! (It takes a little time. You can see the whole progress in a circular icon at the top of the Photos app, and if you click on it, a normal progress bar will appear, and it tells you the number of exported photos)

6- Burn. Again, press Command-A in the folder, and drag all the media to the empty DVD, and press Burn at the top-right corner of the Finder windows containing DVD.

7- Wait for the burning to DVD process to be completed!

NOTE: There are a lot of apps to help you do this in less time. You can find them with a simple search on Mac App Store.


iPhone Music Non-Streaming I currently have to use my iPod to listen to music in the car for free.
I wondered if iPhone works like an offline iPod?

Is there a way use home sharing and play musuic without streaming it (data use) with an iPhone?

Yes - there are three ways to accomplish this to have the Music app on an iPhone or iPad work without cellular connection and streaming data:

Disable the cellular entirely (remove SIM or disable the account with the carrier)
If you want data - just not for music - turn off cellular usage in settings for Music app
You can also just only play music that's cached.

All three of these need you to set up playlists and connect to WiFI and download those playlists / albums / songs so that the songs you want to be offline are cached. All of this data will come through WiFI and not cellular.

Now you can turn off everything (airplane mode) relating to wireless and WiFI and restart the phone. Open music and verify that the songs you downloaded will play in full. Now that you know how to cache - you can add playlists / songs / albums and cache them locally so you don't need to stream.

You don’t need another app d\to do this, but you might love the cesium player which makes it super easy to only see and play cached songs from your local library.


Uninstalling Nokia Flasher Harmattan My MacBook Pro runs El Capitan. By mistake, I installed Nokia's flasher 3.12.1 (which they say is for Harmattan - to be honest, I do not really know what this means, but I content myself to know this is the wrong one). It is a command line utility. Now I would like to uninstall it, but I do not know how to locate all related files (they are spread in various locations - this is all I know). I tried to run again the installer and look at its log, but I cannot understand it. Any idea?

The package available for download at MacFlasher_3.12.1.dmg contains the following files which you can remove manually. You can also remove the package receipt from /var/db/receipts/.

To find this list of files from the package, I extracted the package to a custom location using the following, then inspected the contents of the temporary directory.

pkgutil --expand /path/to/nokia_flasher.pkg /path/to/temporary

For an automated solution, try using UninstallPKG. This will parse the package receipt and allow you to remove the files.


Installation stuck at grey boot screen on Macbook Pro 4,1 (Early 2008) I would appreciate any help you guys can give me since I would really like to upgrade my laptop to Mountain Lion.

Computer: Macbook Pro 17" 4,1 (Early 2008)
RAM: 4 GB RAM
Hard drive: 128 SSD Hard drive
Video card: NVIDIA GeForce 8600M GT
Current OS: Snow Leopard 10.6.8

Steps I have taken but failed to properly install the OS.

Dowloaded Mountain Lion at least 3 times from the App store to make sure the download wasn't corrupted.
I even tried making a Lion Bootdisk so I can install Mountain Lion on a USB drive (Install ESD.dmg).
I have even tried installing Lion first thinking I would take it one version at a time but gets stuck on boot screen too.
I even changed my hard drive to a new blank SSD drive to see any difference.
Each time I install Mountain Lion or Lion, everything is good until the installer has to restart the laptop.
Laptop gets stuck at the grey boot screen with the Apple logo and the loading circle. Nothing ever happens after.
Even waited for 7 hours but no changes in the boot screen.
I always had to use/boot to the Snow Leopard CD so I can restart the laptop back to the Snow Leopard drive.

Safeboot gives me this endless message "ERROR: Firewire (OHCI) TI ID 8025 built-in: handleUnrecoverableErrorInt" but I don't have any Firewire cable connected at all.

What can I do next?

I'd do a quick triage to boot the Mac into single user mode to see if the boot drive / base OS is minimally functional. After that, I'd start with systematically working through the startup troubleshooting guide from Apple.

OS X: Gray screen appears during startup  - http://support.apple.com/kb/TS2570

You've clearly done many of the steps, but the order of steps is very helpful in knowing what the likely cause of the problem is. I might skip removing the SSD if you don't have a HDD - but installing a clean OS onto an external HD at that point might be a good way to rule in or out your SSD as contributing to the failure to install and boot properly.


Why firefox 10.1 uses full screen on Snow Leopard while Chrome and Safari do not? I am new to the Mac World, I am stuck with the fact that on my 15 inch Mac Book Pro only Firefox 10.1 uses all the screen, while Chrome and Safari only use a portion of it. Chrome is the thing I miss most because it's the browser I usually use.

How do I set it to use the full screen space?

I use Snow Leopard 10.6.8

I love Divvy - it's something that I feel OSX needs and that would allow you to set a shortcut for it. Otherwise the green orb on the top left will take you to full height, and then you can drag out horizontally to your chosen width.

Alternatively, should you upgrade to Lion, Chrome has a full-screen mode which hides all the other apps.


OSX Yosemite can't resize partitions? A few weeks ago I installed OS X yosemite.I did it on the standard partition, but I had a dual-boot with ubuntu.
I realised that the ubuntu boot was gone so I tried to redo it.
But in disk utility, when i tried to make Macintosh HD smaller it gave a
"Error: -69803: Couldn't modify partition map because file system verification failed
"

How do I fix this, not just for dual booting but resizing partitions?

Boot holding  Command ⌘    R  at the chimes to boot into Recovery Mode, run Disk Utility & Repair Disk.


How would I remap Mac CMD to CTRL keys in Blender? I want to remap the command with the control in Blender application. I've tried using Karabiner and when I open it these are the default Blender options:

I wonder how I can add the command/control switch as well?

I've tried doing it by updating the private.xml file as shown below:

<?xml version="1.0"?>
<root>
    <item>
        <name>For Applications</name>
            <item>
                <name>Enable at only Blender</name>
                <identifier>private.swap_command_and_control</identifier>
                <autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::CONTROL_L</autogen>
                <autogen>__KeyToKey__ KeyCode::CONTROL_L, KeyCode::COMMAND_L</autogen>
            </item>
    </item>
</root>

But it's wrong as shown here:

I want it to be appearing under the blender application item as shown below. Any advice please?

Your private.xml is missing the only key and would swap the keys system-wide. Additionally you got the naming of the item wrong.

Here is a working private.xml:

<?xml version="1.0"?>
<root>
    <item>
        <name>Enable at only Blender - custom</name>
            <item>
                <name>Swap Command and Control</name>
                <identifier>private.swap_command_and_control</identifier>
                <only>BLENDER</only>
                <autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::CONTROL_L</autogen>
                <autogen>__KeyToKey__ KeyCode::CONTROL_L, KeyCode::COMMAND_L</autogen>
            </item>
    </item>
</root>

or if you want the "For applications" to appear in the private section:

<?xml version="1.0"?>
<root>
    <item>
        <name>For Applications</name>
        <item>
        <name>Enable at only Blender - custom</name>
            <item>
                <name>Swap Command and Control</name>
                <identifier>private.swap_command_and_control</identifier>
                <only>BLENDER</only>
                <autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::CONTROL_L</autogen>
                <autogen>__KeyToKey__ KeyCode::CONTROL_L, KeyCode::COMMAND_L</autogen>
            </item>
        </item>
    </item>
</root>

If you want the key mod to appear in the non-private part "For applications" you have to add it (the most inner item key including <item> and </item>) to the file: /Applications/Karabiner.app/Contents/Resources/include/checkbox/apps/blender.xml.

Any Karabiner update/upgrade will remove/overwrite your mod probably.

Example:

<?xml version="1.0"?>
<root>

  <item>
    <name>Enable at only Blender</name>

    <item>
      <name>FlipScrollWheel</name>
      <item>
        <name>Flip Horizontal and Vertical ScrollWheel at Blender</name>
        <identifier>remap.app_Blender_flipscrollwheel</identifier>
        <only>BLENDER</only>
        <autogen>
          __FlipScrollWheel__
          Option::FLIPSCROLLWHEEL_HORIZONTAL,
          Option::FLIPSCROLLWHEEL_VERTICAL,
        </autogen>
      </item>
      <item>
        <name>Flip Horizontal ScrollWheel at Blender</name>
        <identifier>remap.app_Blender_flipscrollwheel_horizontal</identifier>
        <only>BLENDER</only>
        <autogen>
          __FlipScrollWheel__
          Option::FLIPSCROLLWHEEL_HORIZONTAL,
        </autogen>
      </item>
      <item>
        <name>Flip Vertical ScrollWheel at Blender</name>
        <identifier>remap.app_Blender_flipscrollwheel_vertical</identifier>
        <only>BLENDER</only>
        <autogen>
          __FlipScrollWheel__
          Option::FLIPSCROLLWHEEL_VERTICAL,
        </autogen>
      </item>
    </item>
    <item>
      <name>Keys</name>
      <item>
        <name>Swap Command and Control at Blender</name>
        <identifier>private.swap_command_and_control</identifier>
        <only>BLENDER</only>
        <autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::CONTROL_L</autogen>
        <autogen>__KeyToKey__ KeyCode::CONTROL_L, KeyCode::COMMAND_L</autogen>
      </item>

    </item>

  </item>

</root>

with the result:


How can I turn off push notifications for individual apps in iOS 5? When an app is first installed, occasionally it asks if you would like to receive push notifications for that app. Normally I click 'No' and never think about it again. But yesterday, I accidentally clicked 'Yes', and would now like to turn push off for that app so as to save battery life.

If I go to notifications in the settings app, I can easily change the type of notification to 'None', however is this actually disabling push, or just hiding the notification?

Some of the apps that I am pretty sure I clicked 'No' to push notifications have this setting set to 'Banner' - making me think that these settings aren't related to whether push is turned on or off for that app.

What is the correct way to enable/disable push after initially selecting an option on app installation? Are the notifications settings related to push?

There is no way to disable push notifications. They are handled by Apple's servers and will be sent to your device even if you uninstall the program.

Disabling all the app's respective settings under the Notification Center will only hide them. Refer to Apple's developer Push documentation for more details.

Specifically, look at the Apple Push Notification (APN) Service, which "transports and routes a notification from a given provider to a given device." Apple says the following about the APN:

  Sometimes APNs might attempt to deliver notifications for an application on a device, but the device may repeatedly refuse delivery because there is no target application. This often happens when the user has uninstalled the application. In these cases, APNs informs the provider through a feedback service that the provider connects with. The feedback service maintains a list of devices per application for which there were recent, repeated failed attempts to deliver notifications. The provider should obtain this list of devices and stop sending notifications to them.

—Source

In short, Push notifications are handled outside of the device. To stop them, once a program has been installed, means the developer of the program must remove your device from the list (or the notification must fail enough for the APN to stop sending them entirely). As a user, there is not way to "stop" them, just hide them from within iOS.


Enabling System Preferences > Display’s „Retina scaling options“ on an external HiRes/HiDPI but Non-4K display (Dell U2515H)? I just bought the 2560 x 1440 px @ 25 inch (117.5 dpi) Dell U2515H monitor and must say that I'm pretty pleased with the design and quality of the display. Excellent bang for the buck, very thin, frameless bezel, clean backside.

Using the included MiniDisplayPort-to-DisplayPort cable, it allows me to run at native 2560 x 1440 px @ 60 Hz from my MacBook Pro Retina 13" (Late 2013) and an even older MBPR 13" (2011). Both Macs are running the latest version of El Capitan.

I can enable the HiDPI modes using SwitchResX or the Terminal command, but in 1280 x 720 px (HiDPI), the UI becomes too big and one loses too much desktop property.

Question: Is there any way to enable the scaling options („Larger Text“ / „More Space“ and the sizes inbetween) under System Preferences > Displays, as found on the Retina MacBook displays and 4K/5K monitors?

Option+click Scaled

You can toggle between Apple’s easy-to-understand “Larger Text”–“More Space” icons mode and the other mode listing specific resolutions. To toggle, hold down the Option key while clicking Scaled radio button.

System Information app

Use the System Information app to see more about your monitor in use.

Choose Apple menu > About this Mac > System Report (button). Click Graphics/Display in the list.

Here is what I see with Retina scaling enabled for my 3840 X 2160 (4K) monitor (Samsung U28E510) on my MacBook Pro Retina Late 2013 with NVIDIA graphics card, in El Capitan.

Retina

Scaled options are Retina-style by default, more commonly known as HiDPI.

The SwitchResX app is not needed to get Retina effects on your external 4K monitor. That app has other benefits, but certainly is not necessary to get Retina/HiDPI as you get that be default from Apple.

Note the checkbox Show low resolution modes in the second screen shot above. Checking that box and choosing a resolution listed with the notation (low resolution) means you are disabling the Retina feature and scaling up the image crudely (wasting pixels).


How do I burn a DVD ISO from a MacBook? The MacBook Air can share DVD drives on other Macs. For reading disks this works great. However, I want to burn an ISO to the drive. The drive doesn't show up in Disk Utility. Is it possible to burn ISOs onto a shared drive from a MacBook Air?

Try to insert a empty disk into your mac. Then, share it with you MacBook Air. Now, you should have a new DVD-Icon in the finder sidebar.

It should now show up in the Disk Utility tool!

Or:

Right-Click on the ISO-Image, and click Burn on CD/DVD after you "connected" the empty CD/DVD to you MacBook Air via DVD-Sharing.


iPhone backup takes too long I am an Apple User since 1983. But I do not know whey my iPhone Backup (with Encryption on) takes 23 to 26 hours!! I am puzzled. (I have iPhone 6, 10.1.1 iOS, Mac OS X Yosemite, iTunes v.12.5.3, MBP late 2008.) Any answers? Thanks!

How old is your Mac computer (and its internal hard disk)? I ask because hard disks are known to fail over time, so if your hard disk is over 3 years old, it could be that your disk is failing and therefore writing information to the disk could take a really long time.

Fortunately, replacing a hard disk is actually quite easy/straightforward.


Generate TSV/CSV with multi-line cells that open in Numbers I want to programmatically generate tsv files with multi-line cells that stay preserved when opened in Numbers app.
What newline character to use to enable multi-line cells?

CSV is kind of standardized with RFC 4180. For multi-line fields the rules are

MS-DOS-style lines that end with (CR/LF) characters (optional for the last line).
Any field may be quoted (with double quotes).
Fields containing a line-break, double-quote or commas should be quoted.
If double-quotes are used to enclose fields, then a double-quote must be represented by two double-quote characters.

If this doesn't work with Numbers, you can also create a Numbers file, add some multi-line fields, export the file as CSV/TSV and verify the encoding/quoting used with TextEdit afterwards.
From the comment of @user3439894:

When Numbers exports to CSV it uses CR/LF between rows but uses LF for multi-line cells and the value is in double-quotes.


Transfer Health App Data to Computer Is there a way to transfer the step data (ideally, total steps per day) from my iPhone to my computer?

Thanks!

In iOS 10 in the Health app

Hit the profile (head icon) in the top right corner.

At the bottom of your profile is Export Health Data. Touching that brings up a dialog and eventually the normal sharing choice e.g. Message, Mail etc


iOS reply to email with attachment Is there a way to attach an image from the library using the default Mail app, while replying to an email?

‘Email photo’ in the Camera roll creates a new message, and ‘Reply’ doesn't give you an option to attach, as far as I can tell. I would also like to have the ability to attach multiple images.

The easiest way to add a photo as an attachment is to open you photo library while multi-tasking find the photo you want to attach.

Hold down on the image until the copy button appears, Hit copy.

Go back to Mail and hold down in the body of the message. Hit paste when the option shows up.

Repeat until you have all the attachments you wanted.


Migrations Assistant - Best way to transfer data? I'm thinking of using Migration Assistant to transfer data to my new Mac, but what is the best way to do this?

I have a Time Machine Back up on a Time Capsule, but this would be over wifi, so slow?
I guess target disk mode is out, as my MacBook only has FW400 and the iMac only has FW800, I understand these are different connectors, so out of the question?
However I do have a FW drive with both FW400 & FW800 connectors, so could Time Machine onto that, would it be slow?
Or could I make a temporary wired network between the two machines? If so would I need a crossover cable, or are Macs clever enough for this to work with a standard ethernet cable?

I have a FW800-FW800 cable that comes with an adaptor, and will convert FW800 to FW400.  So I can put on the adaptor and use TDM between a FW800 and FW400 machines.  Macs have ethernet interfaces that do auto MDI-X, so a crossover cable is not necessary.  Plug and play.


Finder Isn't Responding Mac 10.10.1 I am having a problem "Finder isn't responding" on my mac pro retina 10.10.1. All my files on my desktop are gone and the rainbow ball is spinning forever. I've tried many times to relaunch "Finder" by using command + option + esc, yet the problem still exist. So anyone has any idea to fix this problem? Please kindly help.

Please upgrade your OS to OSX EI Capitan which is the latest version of Mac OS X and possibly fixed many bugs of Yosemite and works really fast has inbuilt memory optimizer tool to free up RAM.