Google Chrome: Error 11 after setting Automatic Updates Yo, got the following issue: Google Chrome is running on OS X El Capitan.
After I set "Automatic Updates for all Users" to true at the "About" page in Google Chrome and entered my credentials (this process obviously needs root rights) this error message appears now on the "About" page:

Update failed (error: 11)

After I googled this error message I visited the following link that describes my problem very well: https://bugs.chromium.org/p/chromium/issues/detail?id=520135.
Sadly none of the approaches works for me (Reinstallation worked neither), so I ask here if anybody has any idea to solve this problem ?

Just found this How To Fix Chrome Update Error 11 On A Mac

  Open Finder. In the top menu, select Go > Go to Folder
  Enter either of the locations below. If the first location doesn’t come up, try the other:
  /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/
  ~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/
  Double click the file called CheckForUpdatesNow.command – the Mac Terminal window will open and execute the command
  Wait until you see the message “[Process completed]”
  Close the Terminal window
  Refresh your Chrome ‘About’ page – the update should complete without showing the error

And it really worked for me


AppleScript to Delete Folder I was wondering if anyone can give me some advice on how I can use apple script to delete this folder?

Users/user1/Library/Application Support/Skype/tankitan

tell application "Finder" to delete ((POSIX file "/Users/user1/Library/Application Support/Skype/tankitan") as alias)

Perhaps this script clears up any 'tankitan' hooks while managing a specific external hook (s), for certain user1 or username (s)

(* Ashley Rhodes https://mrashrhodes.wordpress.com/2015/03/18/simple-delete-files-and-folders-script-applescript/ *)
tell application "System Events"
    set deleted to POSIX file "/Users/username/Library/Caches/"
    tell application "Finder"
        delete (files of folder deleted)
        delete (folders of folder deleted)
    end tell
    set deleted to POSIX file "/Users/username/Library/Cookies/"
    tell application "Finder"
        delete (files of folder deleted)
        delete (folders of folder deleted)
    end tell
    set deleted to POSIX file "/Users/username/Library/Saved Application State/"
    tell application "Finder"
        delete (files of folder deleted)
        delete (folders of folder deleted)
    end tell
    set deleted to POSIX file "Users/user1/Library/Application Support/Skype/tankitan"
    tell application "Finder"
        delete (files of folder deleted)
        delete (folders of folder deleted)
    end tell
end tell

Mind you, even a Rhodes POSIX can get tangled...
Managing sticky-web c/o Internet of Things


How can my iPhone know my location whilst in airplane mode? I've been curious about this for awhile. I've seen this happen for multiple versions of the iPhone with multiple apps, but to be specific, today with the iPhone 5s, iOS 9.0 and the Galileo map app, I was in a foreign country walking around, and had put my phone on airplane mode to avoid extra data charges. I had expected to use the Galileo app like a digital copy of an ordinary map, which is to say I did not expect it to know my current location. And yet, every time I moved 5m or so, my location was updated in real time. How is this possible? Was the phone getting signals from nearby WiFi, or cell towers, or what?

If you have a device with iOS 8.2 or earlier, Airplane Mode will also
  turn off GPS.

Thus with iOS 8.3 and above the GPS stays on while in Airplane Mode.

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

GPS works independently of phone or WiFi signals and is "receive only", so keeping it enabled even in Airplane mode doesn't influence other electronical devices nearby.

TIP: Also, to avoid huge data charges while abroad, you could just turn of Data Doaming in Settings -> Mobile Data. That way you can still send and receive texts and calls (which usually are way less expensive).


What is the relationship between Lion's Resume feature and Safe Sleep? I have disabled the "Restore windows when quitting and re-opening apps" checkbox in the General preferences pane in Lion, but after a recent sudden power loss (no battery) my iMac restarted in exactly the same state as I had left it the night before. What feature of Lion is making this (miracle) possible, and how do I ensure that it remans enabled?

I read for example that I can "disable Resume", because it "duplicates" something called "Safe Sleep", but I'm not sure what any of these features are, how they are related, or how I can control them. For example, does the behavior I saw in my recent power loss mean that my machine had gone to sleep between my last use and the power failure, or is some kind of snapshotting taking place continuously in the background? I also understand that there are different "kinds" of sleep. If sleep is indeed necessary, do different triggers (keyboard, script, idle, etc.) for sleep result in different "kinds" of sleep.

Resume, counterintuitively, does not actually save anything itself. It simply relaunches all the applications that were running when you shut your computer down. It's the job of those Lion-compatible applications to restore their windows.

Safe sleep, on the other hand, saves a snapshot of your RAM to your HDD when you put your computer to sleep. In case of power failure, the machine boots from this file on startup.

Safe sleep is the only time (that I know of) that OS X saves its RAM.

You can use the pmset command line utility (specifically the sudo pmset -a hibernatemode x command where x is the sleep mode) to change the sleep mode, although there is no significant benefit in doing this.

The three main different kinds of sleep are as follows (from the pmset man page):

  hibernatemode = 0 (binary 0000) by default on supported desktops. The
  system will not back memory up to persistent storage. The
       system must wake from the contents of memory; the system will lose context on power loss. This is, historically, plain old sleep.

  hibernatemode = 3 (binary 0011) by default on supported portables. The system will store a copy of memory to persistent
  storage
       (the disk), and will power memory during sleep. The system will wake from memory, unless a power loss forces it to restore from
       disk image.

  hibernatemode = 25 (binary 0001 1001) is only settable via pmset. The system will store a copy of memory to persistent storage
       (the disk), and will remove power to memory. The system will restore from disk image. If you want "hibernation" - slower sleeps,
       slower wakes, and better battery life, you should use this setting.

As I stated before, configuring the sleep mode is not recommended (again from the pmset man page):

  We do not recommend modifying hibernation settings. Any changes you
  make are not supported. If you choose to do so anyway, we recommend
  using one of these three settings. For your sake and mine, please
  don't use anything other 0, 3, or 25.

I don't know about the script vs. user issue, although I highly doubt there is a difference.

The other answer is too complex ^

"safe sleep" aka hibernate on windows: if enabled, will sleep ur computer but also write the RAM to a file on the hard drive. Restarting the power will allow u continue from the previous state.

"Resume" saves the states of open applications when turning off/logging off your computer to meta files, and later freshly reloads your OS and Apps, but resumes based on the specifications of the meta files. Resume is a convince, not a safety net. I recommend you turn it on, might save some time and it doesn't really cost you anything


Files synced by Synk Pro have wrong owner on both synchronized Macs – how can I fix it? I sync some folders within my Home folder between two Macs (running Lion and Mountain Lion) using Synk Pro, a commercial live file sync application. I have the same account name on both computers.

After syncing, some of my files on both computers are read-only, and they also aren't owned by me, but by the macports account – why?

To be able to modify files, I've used Get Info to change permissions of some files to read/write for 'everyone', and I used the app Permissions Reset to reset permissions back to original, but it doesn't change the permissions of sub-folders/files, and I have a huge file tree, so doing this manually is practically impossible. And Disk Utility does nothing to user data.

How can I fix this?

--
Added info:

As suggested, I ran the commands id -u and id -u macports on both computers. The result is that on the MacBook Pro, my account has uid 501 and macports has uid 502, and on the iMac it's the other way around.

The files appearing read-only to you is probably only because you are currently not their owner.
    What's likely happening is that the synced files retain the numeric owner-id from the source machine, and since that numeric uid in this particular case corresponds to the account macports on the target machine (in both transfer directions), macports has become the owner.

To verify that your account on each computer has the same numeric uid as the macports account has on the other machine, type the commands id -u and id -u macports in the Terminal in your account on both computers.

Fixing the cause of the problem

When information was submitted that the syncing is done using Synk Pro, I had a look at the Synk Pro web site and the app, and in the 'Advanced' settings I noticed the "Ownership:" option, which by default is set to "Copy If Possible".
    Since it looks like Synk Pro transfers files' numeric uid, and there's no option for mapping this uid to another uid/account on the target computer, the way to make synced files be owned by you is to change the "Ownership:" setting to "Ignore".

Fixing the files

To fix the permission problem for the already synced files, you only need to change the owner of the files to your own account. Since (in this case) all of your synced folders are within your Home folder /Users/youraccount, you can do this with the following command in the Terminal when logged in to an administrator account (you'll have to give sudo the password of the admin account):

sudo chown -R youraccount /Users/youraccount

using the actual account name (also known as short user name) of your own account in place of youraccount. The account name is the same as the name of your account's Home folder in the /Users folder.
    This will change all files and folders within the folder /Users/youraccount to be owned by youraccount (-R is for recursive), which should give you write-access to all of your files.

Since you earlier gave write-permission to 'everyone' for some files to be able to modify them, you may want to remove those permissions. This command:

sudo chmod -R u+w,go-w /Users/youraccount

ensures that the owner of your files, and no-one else, has write permission on them.

Type man chown and man chmod for more info about these commands.

Advice against using Finder to fix a folder's permissions

(I will update the below later)

Note: It is possible to change ownership and permissions of all files and folders in a folder tree using the Finder, by use of the controls at the very bottom of the Sharing & Permissions section of a Get Info window as shown in the picture in the question. One problem with this is that an account's home folder, and the standard subfolders therein, such as Library, Documents, Public and so forth, have special permissions (by use of ACLs) preventing them from being deleted among other things, and you don't want these special permissions to be removed or propagated to other folders and even files, so you should not use this unless you know very well what you are doing.

You can easily do to this in the shell (terminal) like on Linux using chmod

When using chmod, you have the three letters u, g, o (user, group, other) for defining the instance to which you want to give the permission. And the three letters r, w, x (read, write, execute) to define the kind of permission.

If you want to give all the read and execute permission, you would use
chmod ugo +rx target. Similarly, you can take away permissions using - instead of +


Separate Time Machine backups for different partitions I have an older Mac mini with 3 partitions: one running 10.5, 10.6, and 10.7. I'd like to back these up via Time Machine, however, I'd like them to each be separate backups. Whenever I try to back up one partition to the TM drive (with all other partitions excluded), it works fine. When I boot into a different partition and back up, it uses that same backup, adding the other partition to the mix.
How can I make them each use their own unique backups?

When you set a TM backup you specify which drive and partition to backup to. If you have an empty drive you can give it 3 partitions (or more) using disk utilities. Then when you back up your 3 partitions you can back each one up to a separate partition on the other drive. The real problem is that having three time-machine backups means your machine will almost always be backing up something. Since it backs up hourly I'd kick them off 15 minutes apart.
There are also extensions and apps that let you change the hourly backups to daily, or weekly. You could then back-up 10.5 on Wednesdays, 10.6 on Thursday, and 10.7 on fridays. Or back them all up once a day 7 days a week and separated the backups by 8 hours.


Why is the current provisioning process for iPhone development implemented the way it is? Given the large number of examples of issues with the manual steps necessary to provision devices and install apps using the developer SDK, I am wondering why Apple took this route.

Specifically, the process seems to be error-prone and could likely be automated.

Is this just a rite of passage or are there reasons for implementing it this way that I am missing?

Are there reasons some of these steps HAVE to be manual?
Does anyone see a way of improving this or does anyone know of some automation/scripts that make this simpler for developers new to the platform?

The biggest issue is the key generation. The hardcore security of iOS is that only signed apps are allowed to run on your devices, unless you've jailbroken it and installed a package to bypass this, typically for non-licensed deploying or app pirating.

You need to generate a key based on Apple's certificate authority, or CA. Then you upload it to the portal and Apple approves it, provided you're a paid developer. Whenever you deploy an app, be it to the store or to your device for testing, you sign the app with your digital signature, which is backed by Apple. This tells your device, or your testers' or customer's devices, that the app is from a developer who is who he says he is. Since the main way to get an app on your device is through the store, you have the confidence that it is not tampered with (since the developer's signature is invalid with the flip of a single bit in the app) and that it's passed through Apple's checks by being hosted on the store. This is a two-fold assurance of the security.

Provisioning profiles are a whole other beast. Previously, Apple would let you "sideload" an app to any number of devices you wanted. This meant that you could bypass the App Store and sell apps yourself as a download, no different than desktop apps. Apple didn't approve of this and has since limited it to 100 devices per year being listed on a single developers account. You add your devices to the portal by it's UDID, it's unique fingerprint, and you would need to get this from any devices you wish to beta test your app or adhoc deploy to. Since it costs roughly $0.99 / year / device, it's prohibitively expensive to sell apps this way, but it allows you to have plenty of beta testing slots. Of course, a provisioning profile is the list of which devices can run which apps signed by who developer.

In recent Xcode's, once you've established your key (which would be difficult to automate from inside Xcode), you can plug in any iDevice, open the organizer and click "Use for Development". Xcode will prompt for your credentials and then automatically add the device to the portal and create a provisioning profile for you. Once you've done the initial setup, it's basically one-click to add an extra device. I don't think Apple is as worried about the initial setup being automated, since it's only a one-time process.

(Sorry, I'm trying to work on my long-windedness.)

I haven't seen a lot of speculation as to why they have it be this way other than to say that it's probably designed with device and user security in mind to keep the "riff raff" out of the process (i.e., creators of malicious software). You are, however, in good company with your frustrations regarding how the whole process works. Near as I can tell, outside of prepping a device for local, hard-wired testing, there is no way to automate any of this.

In the end, this is Apple's decision, and they have never said why it is this way. C'est la vie.


iPhone 5 case for parkour I am looking for a good iPhone 5 case for parkour. As I often climb up walls and something like this the iPhone should be protected well. I found the Griffin Survivor, which is actually perfekt but very very thick... Is there an alternative to Griffin Survivor, which is protecting well (also the screen) but smaller?

As you are aware, everything is a trade-off. Smaller case typically means less protection. Bigger usually equals more, obviously.

With that in mind, I have used an Otterbox, for rough going, and really like it:

Otterbox Defender

It seems to be a solid build, and, although the rubber casing has gotten somewhat more loose over time, Otterbox does have a good warranty.

Now, this next thing is no match for a pocket, and likely as big as the Survivor, but perhaps you would like it:

Otterbox Armor

If you desire an even more minimalistic approach and would consider carrying the phone in a pocket you could always go with my all-time case favorite:

An Otterbox Clearly Protected -> Viewing Vibrant Screen Protector
Speck Candyshell (or similar)

This setup doesn't have a belt clip, but the case feels very natural in your hand - so you don't lose the iPhone feel, but also don't give up too much protection. Note that the back of the case does scratch some, but most of that is aesthetics. And the screen protector is terrific.

I think the best one is the "lifeproof" case, is the one i use when i do parkour (shockproof), but is also waterproof, dirtproof, and snowproof, is an amazing, case, and is the thiner one that i have seen.


Is there a way to list all available commands in terminal Is there a way to list all available commands in terminal?

I know linux has compgen -c is there an equivalent command for OS X?

Update:
The actual issue was that I was using zsh instead of bash. So from zsh, I could either just open bash or run a bash command from zsh bash -c "compgen -c"

In zsh you need to enable the completion system. Please read through man zshcompsys. To install the completion system enter the command

compinstall

and follow the directions. Check the fpath variable

echo $fpath

in my situation I needed to declare the variable in my .zshrc

fpath=(/usr/local/share/zsh/5.0.7/functions)

This is the location of my zsh functions. After the compinit line in your .zshrc add the following lines

autoload -Uz bashcompinit
bashcompinit

This is the completions entries in my .zshrc

#\\\_ COMPLETIONS _///#
zstyle :compinstall filename '/Users/fd0/.zshrc'
zstyle ':completion:*' list-colors "${(@s.:.)LS_COLORS}"
autoload -Uz compinit
compinit
autoload -Uz bashcompinit
bashcompinit

I can now enter the command compgen -c and it behaves similar to bash.

While in Terminal, type Tab Tab. Then you'll see:

Display all 1653 possibilities? (y or n).

Press Y and it will list all possible commands


Change font style for pdf's using Preview As shown in the screenshot there are no options for changing the font under tools. I went through all main menu options and no features for manipulating the color, size, etc are there.

This should be a dead simple operation - any tips here?

UPDATE  I had found references to preview having the ability to modify the text/font characteristics - specifically in the place my screenshot shows. They are not there however: is this a Yosemite specific limitation? https://discussions.apple.com/thread/4674837?start=0&tstart=0

Another update  One of the answers provided download links for pdfs. I have selected text field and right clicked. The screenshot follows: There are not any options for changing the font/font size: only the color. What is different for me?

On Yosemite (Preview 8.0), hit shift-command-A or select "Show Markup Toolbar" from the "View" menu:

Find font options by clicking on the italic A:

Writable or fillable PDF files allow you to include text directly on the PDF file and save the document as if you were filling it out with a pen or pencil. Your Mac includes the Preview application built into the operating system that comes with all the tools you'll need to work with PDF documents. Use the extended toolbar to change the Font of your text when filling out a writeable PDF
In another word, you can change the font size when you fill in PDF-based forms . Read more at How to Change Font on a Writable PDF on a Mac


How can I repair a scratched MacBook Air screen? (A1369) I have a mid-2011 MacBook Air (model A1369), whose screen has attracted some unsightly but superficial scratches. They look like smudges, but I suspect a layer of coating (or similar) has come off.

Most likely, the scratches stem from frequent transport with the screen pressed to the keyboard.

The screen is not protected by a glass layer – I hope it has a removable user-facing plastics film.

Is there a way to replace the scratched layer of the screen assembly to get rid of the scratches? I feel confident to do repairs myself and have done similar things in the past.

Here is a sketch of the scratch areas:

This picture is based on a photo. The scratch shapes are correct, but color and intensity are exaggerated for readability.

The protective plastic cover on the screen is bonded to the complete LCD display and not really removeable as a single element. A video on Youtube ("A1369 13.3" Macbook Air LCD Screen Repair step by step howto guide") explains the removal and disassembly of the display and is one hour long. It involves a heat gun and very careful use of special tools:

Conclusion: there is no way to remove the single element (scratched screen protector) in a simple procedure. It would be probably easier to replace the complete lid assembly, but this items costs 500 USD / 440 EUR (Summer 2015). This seems excessive for a screen which has "only" a few very unattractive scratches.

Mental note for next Mac: always place a protective cloth between keyboard and screen.

I'd look into used parts, with a P5 pentalobe and a T5 torx screwdrivers you can do that job, it's really easy and it might be not that expensive.


Emails are automatically marked as read after a few seconds I have a problem that potentially causes me to miss important email: An incoming message is automatically marked as read after a few seconds. One can watch how a new email is at first unread in the inbox and then turns to read.
This problem seems to occur only for one of several IMAP accounts.

My settings are: In the viewing tab a selection "Mark all messages as read when opening a conversation" check box is unset.

What could cause this?
How can I diagnose if the problem is on the server side or if Mail.app is malfunctioning?

I've been able to fix the issue: In fact, it was the fault of OS X Server.

In the server app, under the calendar tab, there is a checkbox "activate invitations via e-mail". The problem disappeared when I unchecked it!

Uncheck (Mail->Preferences->Viewing) 'Use classic layout'.


How to enable "larger text" scaling slider on a 2k monitor? I have a Mac Mini (late 2014) connected to two Dell U2515H monitors, which have 2560x1440 resolution.

Problem: everything (macOS UI elements) is too small at this native resolution.

I was able to force "HiDPI" mode, using the command below.

sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true

The result looks nice and sharp, BUT everything is too big when using the 1280x720 HiDPI resolution.

What I need is a scaling in between these 2 options (100% and 200%).

It seems that macOS has this option (several levels of scaling available) on their iMacs and MBPs:

Is there a trick to enable this slider with my monitors?

Search for ResolutionTab on the app store. It's only a couple of bucks and works well on my 2009 MacPro.


What are the physical differences between an iPhone 4S and an iPhone 4? I'm wondering what physically has changed between the CDMA iPhone 4 / GSM iPhone 4 and the new iPhone 4S.

the placement or number of bands interrupting the metal side case
micro SIM slot location
camera and LED opening / placement
home button
receiver / front camera / proximity sensor placement

Superficially, the buttons on the 4S seem to align with the CDMA model spacing as opposed to the GSM spacing

I ask to know and for the practical application of people that want to reuse a precision case or protective film are going to find differences. I'm looking for first hand knowledge or reports of people taking a micrometer to the shipping hardware and doing a comparison.

The iFixit Teardown says that it has the same front panel (i.e. same positions for the Home button, LCD, sensors and earpiece). Other sites have also confirmed that it's the same layout as the CDMA iPhone 4.

It should work with any case made for the CDMA iPhone 4, and some of the less precise GSM iPhone 4 cases (i.e. ones with large cutouts around the buttons). It should also work with any Apple bumper purchased from January on, as those were designed to work with the GSM & CDMA iPhone 4.

The 4S also has 4 symmetrically positioned black strips (gaps between the antenna segments), 2 on each side, just like the CDMA 4. It also has a GSM slot, which is pretty much the only distinguishing feature between the CDMA 4 and the 4S.

Based on my experience with cases, it appears that the headphone jack is in a different place on the new iPhone.


Is there a way to mirror to HDMI display on FileVault login screen? I have a MacBook Pro Retina & Mavericks, with FileVault 2 enabled. I also mirror to an HDMI display, but it doesn't show anything on FileVault 2 login. This is an issue, because I'd like to get a docking station where MacBook is actually closed (clamshell mode). But then I can't see the login screen. Is there a solution? As far I've seen at this point, I need to boot up and login with the laptop open; and then close it and put it in the dock.

Is the laptop plugged in? If not, it has to be plugged in in order to output to a display while closed


Why does Cmd-I in Preview do something other than advertised? Somewhere after Lion (from which I upgraded to 10.10), Apple has changed the shortcut to show/hide the toolbar in Preview from ⌘-B to ⌘-I, at least it says so in the menu entries.
 But when actually using the shortcut, what pops up is (as one would expect), the info window.

Can someone explain why they would change it (probably not a constructive question), or whether this is a bug and how to rectify this and get the old behaviour back? Can this be done with assigning custom keyboard shortcuts?

This is not a bug, although I can certainly see why it looks like one. That little symbol is a pipe ( | ), not the letter I. The pipe is the upper character on the backslash ( \ ) key.

So to type ⌘-|, the physical keys you need to press are: ⌘-Shift-\.

The difference between "|" and "I" was more pronounced back when Lucida Grande was the system font (in fact, this very post is set in Lucida Grande; you can see how the pipe is taller and thinner than the uppercase I). But OS X Yosemite switched the system font to Helvetica, and unfortunately the "|" and "I" now look basically identical.

This is probably a bug, or you've changed it yourself. Report to Apple and look with them.

You can change this by going to System Preferences -> Keyboard -> Shortcuts -> Application Shortcuts and add what you want, you will have to type the exact thing such as "Show Toolbar".

I can't see for myself if it's a mistake on Apples part because I'm using Swedish on my OS X.


Safari extension to get rid of Google redirect links in search results? I'm looking for a Safari extension that can rewrite the google search results so that it gives you the direct URLs rather than the long jumbled redirect links that often pop up.

If you're wondering what I'm talking about, Google often (but not always) gives you the results with redirect URLs like this:
http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBgQFjAA&url=http%3A%2F%2Fextensions.apple.com%2F&ei=56lZTvqqCNP-sQKKzoGZDA&usg=AFQjCNG8RJkKTqQOF1SSdxFTGI4J6iArug
which make it a pain when trying to share/copy&paste a link, not to mention whatever additional tracking nonsense goes on behind the scenes.

It's definitely possible, as there seem to be some Greasemonkey scripts available for Firefox, but I haven't been able to find any Safari extensions that do this so far.

Canisbos has released another extension called gDirectLinks, which is a more efficient subset of LinkThing focused solely on the task of removing the hidden redirects from Google's links. It handles both regular Google search and the more modern Google Instant search (AJAX; most people are using that version these days without knowing it, as it's on by default). It also has the option of re-writing Google Images results to point directly to the image.

It's very important to note that gDirectLinks (and its big brother, LinkThing) is the only extension of its kind that properly handles Google Instant results.

More information is available at the official website. Enjoy!

I know this question is old but I found it trying to find an extension I had used on another machine (which no one else mentioned).

Safari History Washer is what I was looking for, incase it helps anyone else.


What does "@" signify in unix file permissions? I have a file with the following permissions on my MacBook Pro:

-rwxr-xr-x@  1 root  wheel   101K Feb 29 17:09 apachectl

What does the @ stand for?  I can't execute the file and this is the only thing that's standing out to me.  How can I get rid of it?

Just as some background, I copied this from a Time Machine backup.

If the file or directory has extended attributes, you'll see an @ in the permissions field. For extended security information (ACLs), you'll see a +.

From man ls on OS X:

-@      Display extended attribute keys and sizes in long (-l) output.

The xattr program can be used to display and manipulate extended attributes. Take a look at what's there before deciding to go while deleting those attributes, though. Definitely take a quick look at the man page for xattr too.

A quick example from some example PHP compromise code I keep around for reference:

$ ls -@l php-compromise.php
-rw-r--r--@ 1 user  group  502620 Jul  5  2011 php-compromise.php
    com.apple.FinderInfo        32
    com.apple.TextEncoding      15

I found that the -E or -N are actually invisible even when using sudo. The only way I could fix it was by logging in as root


How to add a line break in a cell in Excel for Mac What key combination do I have to press to create a line break in a cell in Excel for Mac 2011? The Windows combination of Alt+Enter does not work on the Mac.

The answer is to use Control+Option+Enter, which will create a line break in the cell.

As an alternative, Control+Command+Enter can also be used to achieve the same.

These combinations work both in Excel for Mac 2011 and the new Excel for Mac 2015.

As pointed out by Shameer in this answer, Alt+Enter now seems to work as well in the new Excel for Mac 2015.

http://giffconstable.com/2013/10/mac-excel-keyboard-shortcuts/ helped me figure it out -> it turns out to be ctrl-i worked on my macbook


Will rsync copy extended attributes, ACLs, etc. reliably enough for Time Machine? I am copying a TM backup to a new drive over USB by drag&drop per Apple’s recommendation.  But since it is more than two terabytes, I am concerned about the risk of interruption.

If I try to resume with rsync -avAX will Time Machine be able to continue using it?  Another question/answer suggests I might have to ensure I have the latest rsync but will that be enough?

Rsync, with the -E option, will copy the extended attributes and ACL of a file. The man page for rsync states:

    -E, --extended-attributes   copy extended attributes, resource forks

    -E, --extended-attributes
                  Apple-specific option to copy extended attributes,
                  resource forks, and ACLs.  Requires at least Mac OS X 10.4
                  or suitably patched rsync.

Well, in OS 10.14.6 the answer is NO, but not due to a flaw in rsync.  Somebody bumped the USB cable when it was one-third done (estimating twelve hours to go).

I tried "rsync  version 3.1.3  protocol version 31" installed/updated today by brew

When that failed, I installed another with Macports.  It gives the identical version info but is in a different path.  It too failed, same message.

Both of these claim to support ACLs with -A and extended attributes with -X

MBP-WWG:~ Admin$ sudo time  /opt/local/bin/rsync -aAX /Volumes/Nahshon/Backups.backupdb/ "/Volumes/Seagate Backup/Backups.backupdb"
Password:
rsync: opendir "/Volumes/Nahshon/Backups.backupdb/." failed: Operation not permitted (1)
rsync: get_xattr_data: lgetxattr("/Volumes/Seagate Backup/Backups.backupdb/.","com.apple.finder.copy.checkpoint#N",0) failed: Operation not permitted (1)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1209) [sender=3.1.3]

Looking at the first error, I tried ls on the source backup.  Not permitted, even with sudo.  And sudo chmod -RN fails to remove the ACLs.  So, it must be SIP protected.

Update: as seen in comments, this error does not happen to everyone.  I do not know why.  I do know that before SIP, I occasionally had to relax permission restrictions on a backup set to get around a Time Machine bug.  But Time Machine always tightened them back up on the next backup.  Now, SIP won’t let me do that, but apparently at least one person does not have those restrictions.


Can't move files or folders to some positions As you can see in the below video, I can not move files or folders to some positions on desktop. There is nothing that blocks me to move. I couldn't solve what causes this problem.
Sometimes the problem can be solved by just restarting but not always.

Disabling "Snap to Grid" is not the solution of this problem. I want my files and folders to be snapped to the grid. Please watch the GIF above. As you can see from there, the folder can be moved and snapped to grid everywhere except top-left.
What might block one of the grid spots from receiving an icon on the desktop?

It's something I've seen before but cannot reproduce at will.
It's easiest to repro if you're dragging close to another item with a longer name, but that doesn't always seem to be the issue.
Usually it requires some combination of toggling Sort by… or Snap To Grid - though that will upset a lot of otherwise carefully-placed icons that you'd have to reset afterwards.
if you'd rather not do that, then if you hold  Cmd ⌘  as you drag, it will stay where you put it [not snapped, but you can usually get it close enough by eye]
Sometimes you can clear it by enlarging the grid spacing on the desktop, or reducing the font size - then when you return it to your previous settings, the issue magically goes away.

Go to your Desk and right click on it.
Then go to Sort by and uncheck Snap to grid
You're welcome. With pleasure


Why I can't remove iTunes and how to remove it? Whenever I run sudo rm -rf /Applications/iTunes.app, it is deleted, but after some time it's automatically restored. How can I get rid of iTunes forever without any chance of it coming back?

If you just want to prevent it from launching, running

sudo chmod 000 /Applications/iTunes.app

should do the trick. Needs to be repeated after every OS X/iTunes update, but this also applies for any solutions involving removal of standard applications.

PS: Just to put things into perspective as far as disk space is concerned:

root@Mithos:/Applications$ du -sm iTunes.app Chess.app Game\ Center.app Stickies.app Photo\ Booth.app Photos.app
191 iTunes.app
5   Chess.app
3   Game Center.app
5   Stickies.app
5   Photo Booth.app
31  Photos.app

Even on a system with just a 128 GB SSD, squeezing out 200 MB doesn't give you much.

rm -f -r /Applications/iTunes.app

removed it for me along with Chess, Game Centre, Photo Booth & Stickies.

You have unload the ituneshelper app first (use activity monitor), I didn't need to as I delete the unnecessary OS X garbage immediately after launch.

It is untrue that it is required by OS X, it is only by required by Apple to sell you stuff.

here's an AppleScript application to automate it, or you can just paste the following into AppleScript Editor and adapt to your taste:

(*  Start Apple Peeler Lite and ignore any found entries  *)
display dialog "This will remove unwanted Desktop Pictures, Screensavers, Dictionaries, Languages, Voices & the following apps:

Chess
Games Centre
iTunes
Photo Booth
Stickies

Click OK to start, you will be prompted for your password"

(*  Applications  *)
do shell script "rm -f -r /Applications/Chess.app" with administrator privileges
do shell script "rm -f -r /Applications/'Game Center.app'" with administrator privileges
do shell script "rm -f -r /Applications/iTunes.app" with administrator privileges
do shell script "rm -f -r /Applications/'Photo Booth'.app" with administrator privileges
do shell script "rm -f -r /Applications/Stickies.app" with administrator privileges

(*  Voices  *)
do shell script "rm -f -r /System/Library/Speech/Voices/Alex.SpeechVoice" with administrator privileges

(*  Dictionaries  *)
do shell script "rm -f -r /Library/Dictionaries/'The Standard Dictionary of Contemporary Chinese.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Diccionario General de la Lengua Española Vox.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Dutch.dictionary" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Italian.dictionary" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Korean - English.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Korean.dictionary" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Multidictionnaire de la langue française.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Portuguese.dictionary" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Russian.dictionary" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Sanseido Super Daijirin.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Sanseido The WISDOM English-Japanese Japanese-English Dictionary.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Simplified Chinese - English.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/'Spanish - English.dictionary'" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Thai.dictionary" with administrator privileges
do shell script "rm -f -r /Library/Dictionaries/Turkish.dictionary" with administrator privileges

(*  Screen Savers  *)
do shell script "rm -f -r /Library/'Screen Savers'" with administrator privileges

(*  Desktop Pictures  *)
do shell script "rm -f -r /Library/'Desktop Pictures'/Abstract.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Isles.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Antelope Canyon.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Lake.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Bahamas Aerial.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Lion.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Beach.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Milky Way.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Blue Pond.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Moon.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Bristle Grass.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Mountain Range.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Brushes.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Mt. Fuji.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Circles.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Pink Forest.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Death Valley.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Pink Lotus Flower.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Desert.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Poppies.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Ducks on a Misty Pond.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Red Bells.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Eagle & Waterfall.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Rice Paddy.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Earth Horizon.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Rolling Waves.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Earth and Moon.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Shapes.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Elephant.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Sky.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Flamingos.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Snow.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Floating Ice.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Floating Leaves.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Underwater.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Foggy Forest.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Wave.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Forest in Mist.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Foxtail Barley.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Frog.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Galaxy.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Grass Blades.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Hawaiian Print.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/Zebras.jpg" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Yosemite 2.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Yosemite 3.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Yosemite 4.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/'Yosemite 5.jpg'" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/.localizations" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/.orderedPictures.plist" with administrator privileges
do shell script "rm -f -r /Library/'Desktop Pictures'/.thumbnails" with administrator privileges

(*  Languages  *)
do shell script "rm -f -r /System/Library/LinguisticData/da" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/de" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/es" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/fi" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/fr" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/it" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/ko" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/nl" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/no" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/pt" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/ru" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/sv" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/th" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/tr" with administrator privileges
do shell script "rm -f -r /System/Library/LinguisticData/zh" with administrator privileges

(*  Widgets & Folders  *)
do shell script "rm -f -r /Library/Widgets" with administrator privileges
do shell script "rm -f -r /Library/iTunes" with administrator privileges
do shell script "rm -f -r /Library/Documentation/Applications" with administrator privileges
do shell script "rm -f -r /Library/Documentation/iPod" with administrator privileges
do shell script "rm -f -r ~/Library/Caches/com.apple.iTunes" with administrator privileges
do shell script "rm -f -r ~/Library/Caches/GameKit" with administrator privileges
do shell script "rm -f -r ~/Library/Caches/com.apple.gamed" with administrator privileges
do shell script "rm -f -r ~/Library/iTunes" with administrator privileges
do shell script "rm -f -r ~/Library/Preferences/ByHost/com.apple.iTunes.*.plist" with administrator privileges
do shell script "rm -f -r ~/Library/Preferences/com.apple.gamed.plist" with administrator privileges

display dialog "Success!

Unwanted Desktop Pictures, Screensavers, Applications, Dictionaries, Languages & Voices have been removed

Please Restart your Mac" giving up after 15
(*  End Apple Peeler Lite *)


Why would you choose Alfred over Spotlight? Mac OS X is already loaded with Apple Spotlight, why use Alfred?
What does Alfred bring to the table that Spotlight doesn't?

One thing is speed. I believe Alfred is currently faster than Spotlight. And, this is specifically for Lion I believe, Alfred learns where Spotlight doesn't.

If I want to launch Adobe Photoshop and start to type 'Ph' Alfred will offer Photoshop as an option and move it to the top with the more I select it.

With Spotlight, Photo Booth with be the first choice, and it will not learn what I want with repeated use. I believe at one point it did, but lost the ability in Lion.

I have not switch. It seems like spotlight is working fine for me. I store doc on my computer and spotlight pulls them up. While it would be nice for spotlight to, search the web like alfred?, it does not mean that i need an entire app for that purpose. plus, most of the greatest things about alfred requires Plus or about five or ten bucks for it. Thus, i have not gotten it because it does not seem like the utility it brings is worth the money.


How do I simulate a bad Wi-Fi connection on my iPad? I'm testing an iPad application that requires an Internet connection. I'd want to simulate a situation when the connection isn't stable and can be suddenly lossed. If it's possible I'd want to control this process and "hit a button" that will abort the connection for a couple of seconds. I'd want to abort/resume connection quickly to test that app will resume it in case of connection abort.

How can I simulate non-stable Internet connection?

I know that it's possible to just turn Wi-Fi off on iPad but will it be the same for application as abortness of connection because of other reasons?

There are a few ways you can do this, depending on your situation:

Move further away from your router. While this may seem a bit obvious, I realize that it isn't always possible while testing/debugging (for example, if you are working on a desktop computer).
Put aluminum foil around the router and/or antenna. This will (partially) block some or all of the radio signals by creating a makeshift Faraday cage. The results you get will depend on the strength of your router signal, distance from the router, and other environmental factors.
Set your router's wireless signal power to a lower setting. The method for doing this is different for each router, so you will have to look at the user guide for instructions on how to do this.

I hope this helps solve your problems!

EDIT:

Another thing I just thought about would be to make your SSID hidden. iDevices are known to have problems reconnecting to hidden networks, and you might be able to programmatically disconnect from the network at random intervals.

Another thread proposes this tool:

http://mattgemmell.com/network-link-conditioner-in-lion/


Transfer folder from MacBook to iPad I want to transfer folder that contains many video files from MacBook to iPad. I don't want to use iCloud. I use AirDrop. Is there any 3rd party App, or how can I easily transfer and see the files in the folder in iPad?

You can use some File Manager app. You can AirDrop the entire folder to the Mac, or vice-versa.


How can I switch between the two Java versions in Mountain Lion now that Java Preferences is gone? I have two versions of Java installed with Mountain Lion:

Apple's Java 6 Update 37 (Java for OS X 2012-006)
Oracle's Java 7.

The update from Apple removes Java Preferences. In another question someone wonders about the removal of that utility.

My question is different:

how can I switch between the two versions now that Java Preferences is gone?

I previously used Apple's utility to set Java preferences with ease. Without that utility, is there an easy and fast way?

Open up a terminal use this command:

/usr/libexec/java_home -v 1.6

You can change the 1.6 to any version of java you want to use and the command will output the location of where that version of java resides. (i.e: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home)

then you can set the JAVA_HOME like you normally would with the output of the previous command. i.e.:

export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

So to simplify; something like this should work:

export JAVA_HOME=$(/usr/libexec/java_home -v 1.6)

remember to check the version with:

java -version

Hope it helps.

Why do you need to have 2 versions of Java installed?

Apple doesnt have Java installed as a default update (from Lion onwards I believe). The best way to check for/install Java on a Mac is as follows :

Open Terminal. Type "java" (without the quotes of course)
If java isn't present you get the following :
 "No Java Runtime present, requesting install…"
Java starts installing normally (this is the false executable starting the install)
If you have java to check the version, in terminal type "java-version"

If you want to install a different version of java :
Just goto the oracle site and download the newest/older jdk.


Recording direct from camera into MacBook Pro via HDMI? Is there any way to 'tether' my camera via its HDMI out to a MacBook pro?

The goal is to record live, uncompressed, video direct from a camera. Thus skipping the camera's file system and recording directly onto the Mac's hard drive via Premier Pro or similar software.

This is how it works for me camera's HDMI -> Mac's USB but it requires a special device:

I have a Panasonic HC-V777 camera which has a micro HDMI output (the micro HDMI - HDMI cabel is provided with the camera out of the box).
I have a Corsair Elgato HD60 S capture device which has 2 HDMIs: input and output. Also it provides an output port and a cable that connects HD60 to my Macbook's USB.
I connect my camera to HD60 which connects the camera to the USB.
OBS Studio is software that works on macOS and is HD60-friendly: it supports a special adapter that makes it possible to both record and stream the input from the camera coming to HD60 from the camera's micro HDMI.

The disadvantage of this approach is the need in the extra device (HD60 S) and also this device requires output to go somewhere otherwise the capture does not work. I connect it to the second monitor where I see the output from my camera that is passed through the HD60.

Trying to figure this out also - BUT with HDMI to Firewire...looks like I may need an additional adapter of male Firewire IEEE connection to female HDMI

I do have a FireWire 800 hook up on the back of my 2010 iMac to to my DVR (Firewire IEEE 1394 input) using a cable like this https://www.amazon.com/Clear-IEEE-1394-Firewire-Cable/dp/B00699GJW4 - The one I picked up was a Belkin about 6 years ago. From there I use a program called AVS Browser which automatically reads my DVR. Then I stream through VLC player.

Kind of ticked me off..just a little when I asked an associate at a local computer store this past week of FireWire to HDMI for video, in this smug tone he said - "huh? No such thing, Firewire doesn't work for video, just data" Yeah, 50% true! I wasn't even going to get into it, but yes Firewire WILL work with video connected to a DVR, The video stream is well "data" (NOT all channels on my Fios box works..some network are blocked and will not record. Many do.)


Apple Magic Keyboard 2 native function keys don't work I purchased an Apple Magic Keyboard 2 (the US layout model). I own a Macbook Pro 15" (Late 2012), updated to El Capitan (if relevant, this computer was running the El Capitan Beta prior to its release).

I turned on my keyboard for the first time and connected it using the lighting cable. A notification showed up telling me that the Magic Keyboard is ready to use.

When pressing the function keys, they don't perform the function they're labelled for (for example it's impossible to change the volume or brightness). All of the information I found on the internet so far didn't seem to reflect in my current situation.

These keys work correctly with the Macbook's built-in keyboard.

I am using the default US keyboard layout from OS X. When opening the keyboard viewer, the keyboard seems to be recognised as a non-Apple keyboard.

Another situation I've encountered is that when unplugging the keyboard after the initial set up, I get a window called "Keyboard Setup Assistant" which makes me press specific keys on the keyboard in order to recognise it, and ends up determining it is an ANSI keyboard. This seems like a strange behaviour.

EDIT: I also tried toggling the setting to use the F keys as standard function keys on and off, but to no avail.

EDIT 2: before using this new keybaord, I was using the old Apple Magic Keyboard, with the Italian layout, but OS X was configured to use a tweaked US layout (modified using Ukelele). For a while they were both connected to the system. I then unpaired the old keyboard.

It turns out that my problem was rare because the circumstances of it were rare too. I solved my problem successfully by upgrading from El Capitan Beta to the Stable release 10.11.4. I did this by downloading the installer from the App Store application (can be found in the Purchases tab), and running it on my PC. After selecting the drive on which the current OS X was installed, I waited around 30 minutes for the installation to complete. It was completed and I didn't lose any of my data.

Once I logged back in, I clicked on the Bluetooth icon while holding alt and shift, clicked on Debug and Remove all devices. After that, I reconnected my keyboard and it worked fine.


If I delete Clash of Clans on one iPad, and download it on another using the same Apple ID, will it save my progress? I just bought a new iPad and I’m wondering if I can move Clash of Clans from the old to the new and save the progress. I spent a fair bit of money into it and I don't want to lose it.

Extracted from the Clash of Clans FAQ:

  Can I continue my game on a new device?

  Yes you can, but it requires the use of GameCenter. The only way to transfer your account to a new device is to have the original village linked to a Game Center account. Login to that Game Center account on your new device and you will prompted to load your previous village.

This post which requires a login, has some helpful instructions on setting up your game on a new device.

Game center is the best way try it out ok hope this help


Can not copy in Google Docs using Safari I've had this problem for a little while now (can't recall what would have triggered it). I'm using Safari 6.0.5 on 10.8.4 on an early 2011 15" MBP.

When I try to copy anything using the keyboard from google docs nothing happens - I also hear an audible error noise. I think it's Safari saying "HAHA - sucker". Anyhow, I can paste into GDocs with whatever is in the clipboard at the time. I also use PopClip, which gives you the option to copy text when something is selected - that works as normal. If I try to copy something from the edit menu, I get the "These actions are unavailable via the Edit menu, but you can still use:" error dialog.

Cleared cash, disabled plugins, restarted computer...etc...none of the typical troubleshooting stuff works.

Ideas?

I have recently switched from Chrome to Safari and now I'm having this problem when working in Google Docs.  I'm sorry to say I don't have a solution at this time.


JDK 7 on mac 10.6.2 (32bits) I want to install JDK version 7 on my mac Snow leopard 10.6.2 (32bits).
 How can I do it ? Pleas give me some help ? is it possible or not ?

Java 7 and Java 8 is only available in a 64-bit version on OS X, and therefor it can only be installed on a 64-bit Mac.

I have tested this solution, and when I install jdk version 7, the installation is failed. And when I go into /Library/Java/JavaVirtualMachines/jdk1.7.0_72/Contents/Home/bin/java in order to run java it return Bad CPU type in executable.

Is the problem because I have a mac with 32bits?


How can I obtain older versions of Xcode? How can I obtain older versions of Xcode?

Is there a way that I can freely download a version that only requires OS X 10.6.8? So far this is all I've found on the matter; but, when I click the 'download Xcode 3' link, it simply brings up the page for downloading version 4.

You can download older versions of Xcode here after you've logged into the dev center.

Uncheck all of the options except "Developer Tools" in the Categories section on the left side of the page. Every version of Xcode back to version 1.0 in 2003 is available there.

Go to App Store, click Purcharsed, and check if you see 'Xcode for Snow Leopard' there. I have it there, but maybe it's because I've bought Xcode 4.0 when it was released and there was no Lion yet.


Is it possible to enable shift+click in icon view in the Finder? I would like to use the shift+click selection method on windows within the Finder that are using icon view.  Unfortunately, whilst it works fine in the other views to block highlight all files between the first and second click, its behaviour changes to operate the same as cmd+click in icon view.

I have a few hundred images in the folder and I want to select a big range to move it to a separate folder. The range is higher than my screen, so it needs be scrolled down - to a point. This is one of the most frequent situations in dealing with images. I don't know which images are which just by their filenames. I need to see them to select them. I don't want to drag the mouse/trackpad to select the range, as I need to be extra cautious about the scroll speed that way. It's infinitely more convenient to use the Apple's all-glorified trackpad (two-finger scrolling) that admittedly does work great. Then, when I find the last picture, I want to shift-click it and have the range selected.

Is there any way to get this working in icon view, or can anyone at least attempt to explain why it does not work, and if it's perhaps a bug or maybe a conscious decision to implement it in this way?

Here is a workaround. In Icon View, select the first and last items using Command-click.  Change to List View.  Command-click the first or last item to de-select it, and then Shift-click the same item to select the entire range.

There IS a way of doing it clever clogs! Click on the screen (not on the ICON) and drag a box around the icons you which to highlight ... Voila!


How can I change the cellular DNS server on iOS? Is there a way to set a global DNS server that will be used for all connections (both Wi-Fi + cellular data)? If there isn't a uniform manner to specify DNS, can I just change the DNS used by the cellular connection?

Ideally, I am looking for an answer for vanilla iOS; however, I'd welcome any solution, including one that requires a jailbreak.

I'll cover the no-jailbreak scenario and leave editing or another answer for someone that knows how to change this by modifying iOS.

Without a jailbreak, no. The cellular data is governed by APN settings. You can change these with the iPhone configuration utility and some learning.

The Wi-Fi settings are easy to override using the device itself, but it's not global but instead an override on a per-network name basis. Go to the network settings for a specific Wi-Fi. Under the detailed screen (tap the blue > sign once you are connected) and swipe up to expose the DHCP / BootP / Static IP address part of the screen. You can tap to edit DNS and append, delete or substitute your choice of DNS settings from that screen.

When I need to run a custom DNS, I often use VPN to get to a router with known settings and this works over Wi-Fi and cellular data since all traffic goes to the VPN where I can control the DNS. This requires time and a server (Amazon web service free tier is ideal for low cost hosting).

You can use this app: https://www.dnsoverride.com/
It can override DNS settings for any Wi-Fi and cellular connection. One scenario in which it's not going to work is if your ISP intercepts DNS traffic. Some mobile operators do.


Would a late 2008 MacBook run with 8 GB or RAM if correctly purchased? We've got a late 2008 MacBook (already upgraded to 4GB RAM), it's fine -speed wise, but when checking the activity monitor were very close to running out of space -RAM wise.

What I would like to do is upgrade the RAM to 8GB, but checking the Crucial website, it looks like the most RAM I can get in is 4GB. Is this correct or is there a way I can upgrade to 8GB? What would be preventing you using 8GB RAM?

It is certainly possible to install 8GB of RAM on this model. You will need to check if you have the correct Boot ROM Version and install it if needed. Follow this guide.

You can learn what RAM to buy for your MacBook using System Profiler.

You can always reclaim the "inactive" memory with the purge command. Open a terminal window, type in purge and press enter. Most of the "inactive" memory will become free.


What's the best iPhone SIP apps work internationally and allow recording? So far, Siphon is the best SIP app I've tried.
MobileVOIP and TruPhone are very nice too (and don't need jailbreaking).
Other apps offer at least some SIP features such as Nimbuzz, Fring, Viber and even Skype.
Apple's FaceTime audio clearly is an option for some

While I have all of these, I hardly use any of them, for a variety of reasons.

I'm looking for a more ideal third party app that should:

Integrate with both Address Book and the iPhone's native recent calls
Replace phone.app and load rapidly to place phone calls
Have international number support
Allow call recording

As a plus,
- Support Skype, Google (talk, voice, etc) and integrate with other options if possible

I've used Acrobits SoftPhone (link goes to their site, iTunes link below) for some time, thought admittedly very sparsely and only for the simplest of use cases, so, much of this is taken from their site.

Use the OS' Address Book: Yep, it maintains it's own "quick list" (favorites) however.
and global Recent Calls list: Nope, maintains it's own (pretty sure this one is impossible anyways, "private APIs" and all that).

Load as fast as Phone.app: I call this subjective, because Phone.app is always running, which gives it an inherit speedup compared to anything else. Acro's SoftPhone does support the VoIP backgrounding, and even push, so you can "Swipe To Answer", but it still takes at least a couple seconds to do. (At least that's how it feels, comparatively speaking.)

International Number Support: I think this is not so much a client feature as much as it is a feature of your server you SIP register to. This one is unknown to me as I've never attempted to call an international (outside the US) number.

Allow Recording: Yes. Upon tapping the record button, a voice announcement is played, and then conversation is recorded and able to be replayed from the app.

Skype: Nope

Google Voice: Yep, but to what extent, I am unsure. Per their website:

  GoogleVoice users:  Though we have integrated GoogleVoice, Acrobits Softphone's main use is as a SIP client.  You can setup Acrobits Softphone to initiate GoogleVoice calls through other types of numbers, but to get the full functionality of Acrobits Softphone, you need to have GoogleVoice linked to a SIP Account.

Rest: If it's SIP, it should work.

Bonus: It supports ZRTP. Zimmerman's encrypted RTP protocol for SIP calls. Free for incoming calls, in-app purchase for initiating calls using it.

iTunes Link: Acrobits Softphone.

I use Smartgroshen app, simple, good quality of voice and sync with your phone contacts. Get 0.5 euro at start.


Is it possible to use Time Machine with iCloud? I have a MacBook Pro (early 2011) with a 320 GB hard disk, and I have a 200 GB storage plan on iCloud. The problem is that I cannot simply copy the Applications folder to iCloud Drive and restore it later in the event that I lose all of the disk storage. I would like to save all the operating system files, the applications and almost everything on the disk (I need about 150 GB for that).

The problem is that Time Machine asks me for a disk to save the data on. If I have a fast connection I think it's not totally worthless to save the entire disk to iCloud, but does Time Machine support this and if yes, how?

Unfortunately, Time Machine doesn't support this feature and there are a couple of reasons why.

Time Machine makes physical backups of all your files, not just links to them. If it backed up to iCloud Drive (which syncs to your Mac), it would duplicate 150GB on to your HDD. It would then try to back all of that up too (unless you exclude that location from the backup) so it would try to add another 150GB to the backup, and so on.
Time Machine makes incremental backups. Sure, your backup is just 150GB now. But you change a few files and it backs up an additional 25MB. You install a new app and it adds another 2GB. While you may keep your actual drive below 320GB, your Time Machine backup could end up over 1TB in size! In my case, I use about 400GB of storage on my Mac, but my Time Machine backup is over 1.3TB due to deleted files.

Having said all that, sure, theoretically it is possible. If you created a link to a folder on your iCloud Drive in /Volumes/ it should show up as a disk to back up to, and if you excluded backing up iCloud Drive through Time Machine it wouldn't double in size every backup. Your hard drive would fill up very very quickly though, and your performance would suffer. To me, at least, this seems a lot more effort than it is worth.

Apple will add this feature surely soon, as 512GB isn't a lot with fibre.


Numbers floating sheets In Numbers, how can I get the spreadsheet to remain stationary on the page? I have tried to double tap thinking that would display and anchor the sheet but it doesn't work.

In your question, you mention:

  double tap

So is it safe to say you are referring to Numbers on iOS?  If so, to lock a table or element do the following:

Tap the Format icon (Paint brush)
Tap the Arrange tab.
There you will see a Lock.  This will lock the element from moving and prevent editing.

To edit again or move, unlock in the same manner.

Hope this helps!

Problem

You would like to lock a spreadsheet within Numbers

Solution

Select the table that you would like to lock
In Numbers 3.1 select Arrange Menu and Choose Lock (⌘L)

Apple Support Documentation (Resize, move, and lock a table)


Auto Generating and Printing PDF Files From Markdown? I'm looking for a way to automatically have my computer generate and print PDF files from a folder full of markdown files.

So, every morning at 5AM I'd want my computer look at my /markdown-files folder, create a bunch of PDFs to go into a /PDF-folder and also run the printer so the pages are waiting for me.

There are a couple of requirements that might make this a bit tricky:

The PDFs should have the file title at the top of each page
The page needs to be A4
The lines should be double spaced at least.

I used to use WKPDF to generate PDFs, but it no longer works on Yosemite.

You can do this with Markdown.pl and htmldoc(1), both of which can be installed with Homebrew.  The basic flow for making a PDF is:

markdown foo.markdown | htmldoc --no-toc --no-title -f foo.pdf -

As for your filename-per-page, you coul incorporate echo to add it as an HTML element:

echo $(markdown foo.markdown) "
foo
" | htmldoc --no-toc --no-title -f foo.pdf -

And for printing, the lpr(1) command will send a file to your default printer.

Tying this altogether:

for filename in `ls *.markdown`;
do
    echo $(markdown "$filename") "
$filename
" |
        htmldoc --no-toc --no-title -f "${filename}.pdf" -
    lpr "${filename}.pdf"
done

I have not used WKPDF, but its author suggests a method by which it can be made to work in Yosemite:  https://github.com/plessl/wkpdf/wiki/How-to-install-on-MacOS-10.10-Yosemite


Setting environment variables (TEXINPUTS) in El Capitan I am a user of TeXShop, an application launched from the Launchpad. Everything works great except that in order to get full functionality, I need to set the TEXINPUTS environment variable. (To be precise, the variable must be set for certain processes launched by TexShop. It is normally inherited from the parent process.)

Until I upgraded to El Capitan, I could do this by calling launchctl setenv TEXINPUTS some-appropriate-value. Unfortunately, this has stopped working after upgrading. The command appears to succeed, and querying with launchctl getenv TEXINPUTS shows me the value I set, but it is not passed to applications I launch from the GUI. (I have confirmed this by launching a Terminal and checking the environment.)

The launchctl manual page has this to say about the config system command:

  path:     Sets the PATH environment variable for all services within the target domain to
  the string value.  [...] Note that if a service specifies its
  own PATH, the service-specific environment variable will take precedence.

  NOTE: This facility cannot be used to set general environment variables for all
  services within the domain. It is intentionally scoped to the PATH environment
  variable and nothing else for security reasons.

So it seems that Apple (a) does not want to pass my environment settings to applications willy-nilly, may have a way to customize the environment of specific "services". Does anyone know how I can get my editor to "see" the TEXINPUTS variable?

PS. Almost all related questions I've seen are about setting PATH. Solutions specific to setting the system path are not going to help here.

The problem is well known and is due to Apple - the /usr folder cannot be anymore written. The solution is to add a link to this location: /Library/TeX/texbin - depending also on your TeX version, see more info in this link: https://tug.org/mactex/elcapitan.html


Unknown email at iOS upgrade When I upgraded from iOS4 to iOS5 an unknown email address showed up as a possible email for me to set as one of my email accounts. Did anyone else have this problem? If so, where did it come from?

Is it possible that someone had access to your phone and/or your Apple ID? If someone tries to sign into iMessage using another email address (even without having your password) it will show up as an unverified alternate email in your Apple ID.

If they also added that email to your iPhone's Mail.app they could reply to the verification email while on your device. All they would need then is to get your Apple ID password and they would have a validated account on your Apple ID. Then you would have an "extra" email account linked to your ID, even if they deleted the accounts off of the iPhone when they were done.

Best thing to do is to check your account at http://appleid.apple.com, verify that there are no more unknown email addresses, then change your password!  Seriously! I saw this happen a lot when the upgrade from iOS 4 to iOS 5 first came out.

No, nobody else has reported this problem according to my search.

All OS upgrades are tested and this kind of major bug would have been detected, so it is certain that the OS upgrade would have not added a new email account.

The email would have been there before, you just didn't notice it until now.


How can I temporarily run a resource intensive process without overheating my CPU? I have a 2015 Macbook Pro with 2.5 GHz, 16GB.

I'm trying to run someone's deep learning python script on my macbook. The program has to take in training data and process it. It maxes out my CPU. I ran the fans on max speed and it got part way through the process but because my CPU cores were hitting 90 degrees I had to quit the script early.

make sure you have smc installed so you can adjust your fans...also, make sure your fans are clear of dust/debris...dust can create a real problem. you can also do new thermal paste but it may void your warranty...and thats only really necessary if youve got a constant, major overheating issue


X11 applications don't open after XQuartz update (OS X 10.10.4) I updated X11 by installing the most recent XQuartz package, 2.7.9. Now, when opening an application that is supported by X11 (e.g., emacs), my terminal throws an error (while X11 starts in the background):

[lap0988:~] user% emacs test.txt &
[1] 14071
[lap0988:~] user% Error: Couldn't find per display information

Needless to say, the application doesn't open. My hunch is that this has to do with the DISPLAY environment variable.

[lap0988:~] user% echo $DISPLAY
/private/tmp/com.apple.launchd.p7v5k8pNT7/org.macosforge.xquartz:0

Has anyone come across the problem? Can you suggest a straightforward fix for this?

I'm afraid you'll probably need to rebuild emacs.  I expect that the one you have is looking for libraries that aren't there any more following the XQuartz update.

I had the exact same problem, and solved it with brew upgrade emacs --with-x11 --with-ctags --with-glib --with-gnutls.  The relevant command-line for you will differ according to your choice of package manager and build options.

XQuartz 2.7.9 has multidimensional namespaces.
Only a few libraries were patched.
Not the ones for gnu emacs as I experienced.

Reinstalling 2.7.8 is the first step.
The second is to remove the new X11 library that
was installed by 2.7.9.
In my case this was found at
/opt/local/lib/X11
But be careful with this!


Macbook Volume Control Not Working When I press the volume button (F11 and F12) nothing happens.  Also the mute button (F10) doesn't work.  I tried resetting my computer. Plugging in and out my headphones. Nothing worked.

This happens to me all the time.  I often switch audio device's for pro audio, but it also happens other times using different applications.

Open Terminal (Utilities)
Enter "killall coreaudiod"
Enter your user/admin password

Your volume controls should be working now.  I've reset my NVRAM and PRAM, as well as repaired disk permissions, yet still have to do this quite often.

** Running this command while playing audio/visual via web browser has caused the command not to work and/or the browser crashing, most of the time it doesn't though.

If your having trouble with your volume and brightness buttons, instead of pressing the buttons by themselves, hold down the FN button first, and proceed to press the volume up/down, or brightness buttons, and it should work fine :)


iPhone 6s suddenly said Activation Error I picked up my iPhone 6s to use it, and it starting activating itself out of nowhere. Then it asked me to choose a Wi-Fi network. I had no clue what it was doing, so I did what it said, my Wi-Fi network was already checked so then I tapped done.

It then went to a screen that said Activation Error. Beneath that it says

Activation could not be completed.  Please restore the phone and install the latest version of IOS and attempt activation again.  If the problem persists, please contact customer support.

Whats's going on with my iPhone all of a sudden? I haven't tried the restore route because my phone hasn't been backed-up in a while, and I don't want to lose my Notes and Contacts data.

This is happening to my phone when I get out of range of my cell service. It is really frustrating because I can't take pictures or anything when this happens. But, I have found that if I know that I will be going somewhere where I won't have a signal I put my phone on airplane mode and then it doesn't happen.

No, this is Apple bricking your phone until you upgrade your iOS as they have told you to do. Follow their instructions to reactivate.


Xcode 6.0.1 CTRL-Drag from view to source code not working I'm following a tutorial and when I CTRL-drag from the view to the source code in Xcode nothing happens. I get the blue line but when I drop it in the source code I don't get the menu where I can choose options. Please see screenshots:

When I CTRL-drag the label DSA from the view to the source file on the right side of the editor and drop right after @interface nothing happens.
I'm using latest XCode 6.0.1.

I'm supposed to get a menu like the screenshot below (grabbed from the tutorial book)

Resolved. Had to associate a class to xib file as per screenshot below:

your xib file doesn't know its class, try doing this in main.storyboard.


Catalina: Can't sign out of iCloud and Update Apple ID settings error, WindowServer high cpu. Now fixed I had this issue for a while where system prefs -> icloud complained about "Update Apple ID Settings".

Clicking continue it'd eventually ask for my icloud password and then it would an error

clicking sign out, i'd be asked if i wanted to save a copy of some iCloud data, then nothing would happen just takes me back to the screen with signout on it and the update apple id settings.
i tried many many things myself and with apple to resolve this including:
do at least 1 full backup first

moving keychains folder and restart

create new admin account and sign in to my apple id, all features
worked fine in new account restart into recovery, repair
permissions, reinstall os

previously to calling apple i had repaired permissions, backed up,
booted into internet recovery, reformatted the ssd, reinstalled
Catalina, created new admin account, used migrate assistant to
restore from backup, used recovery to repair permissions yet the
appled id issue persisted.

changed my apple id password

used ipad to sign out of appleid on all other devices.

In my research i had come across a blog that referenced removing the accounts in ~/Library/Accounts and deleting the mobileme plist. i couldn't find the blog again but found this stackexchange which references the same.
iCloud sign out not possible on High Sierra
i made some changes as:

i made a note of all accounts in system preferences -> internet
accounts then ensured all icloud settings where on.
i created an archive of ~/Library/Accounts
put all the items in Accounts into a new folder in accounts, that
enough to stop the OS using those folders and enables a quick
restore
i archived ~/Library/Preferences/MobileMeAccounts.plist then deleted
it, i also put all plists older than 2015 (had ~ 400 of them) in a
new folder (select all the files you want then right click and
choose new folder with selection).

rebooted the Mac, opened system prefs -> icloud and signed in, waited to be notified that email accounts had been added then opened Internet options and enabled them all, adding any additional iCloud accounts not present.
All appears ok with the other benefit being windowserve cpu utilisation is now in single digits from a minimum of 50+%
Hoping this will help someone


Apple Watch - Can third-party apps update the activity app's exercise ring? Third party apps usually have their own "record your exercise" button. Will the exercise ring be able to reflect data recorded by these apps, even if the automatic trigger for the Watch to consider something to be "exercise" is not tripped?


Dualboot on an external hard drive I have an iMac, its OS (EL Capitan) is located on an external hard drive.
I want to install WIndows 10 as a second OS on this drive.

But, since it is an external drive, I can't devide it into several partitions, using BootCamp Assistant.

Is there any way I can do it? Maybe I should use different software? Even solution, that includes erasing of the data is acceptable at the moment!

Thank you in advance!

You can actually divide external drives into several partitions.

To do so you just need to add a partition table to the drive using Disk Utility. Unfortunately that will render existing data on the drive unreadable by conventional means.

So in essence you'll need to copy your data to a backup, add the partition table, format the macOS partition and copy back your data. Then you can format the Windows partition and install Windows.


Tracking access or edit history for a specific file I am using a Macbook Air with High Sierra.
I need to find out which file was uploaded via Chrome on an exam website since I am afraid I upload the wrong one.

Is there any way to see the precise access history for a file. I cannot just look at the "last access" date/time because I touched all the incriminated files several times unfortunately.

What I am looking to find is some kind of log which tells me all the times that a file was accessed so I can see if I touched the correct one at upload time. Any suggestions? Thank you!

I checked the system.log and I also checked the audit files but nothing seems helpful.

macOS (and all other OSs that I know of) only record last access and do not log multiple accesses. It is possible that Chrome remembers in some way.

Chrome has a History menu item that gives you a list of files accessed by Chrome along with the date.  The last option of the History menu is an option to show full history.  This may help you find what you need.


iPhone shows Connect to iTunes screen after turning off and back on I have iPhone4 and I shut it down by using power off button. Now I can't open the device unless I connect it to iTunes. I don't have backup and I don't want to lose my data and restore to factory setting when I connect to iTunes.

How should I proceed to bring it back up with all my actual data?

You can use TinyUmbrella to force your iPhone out of recovery mode:

Open TinyUmbrella, connect your device and click Exit Recovery.

For more information, see this forum post:

http://www.whited00r.com/forum/index?topic=2835.0

did you try to force reset the iPhone ?

Force reset


External USB3.0 4TB HDD is not recognized by Mac OS X I've bought an external 4TB HDD. It is this this one. The problem is that my Macbook Air 11" 2013 (with Mac OS X 10.9.2) does not recognize it.

The device is ok. I can use it from other computers with GNU/Linux. But I don't know what happens with my Mac. Disk utils app does not show it in the volumes list, diskutil command either.

I had this problem where I couldn't see my external usb hdd with ntfs format in mac os and I tried DiskUtil where it stuck at loading.

None of above worked for me. But I found this piece of command which miraculously made my hdd drive visible in mac:

set devmgr_show_nonpresent_devices=1

Got it from here:

https://www.online-tech-tips.com/computer-tips/external-hard-drive-not-recognized/

Many HDD (most) are sold pre-formated in NTFS (windows).

You Mac wont read/Write to it out of the box.

You can format the disk in Mac format (using Disk Utility) but if you have information on it already then you need to teach your Mac to use the NTFS format.

There are 3d party software that would do that.

If you plan to use the external HDD with Mac only the it is recommended to format it in Mac Extended-Journaled mode to ensure no problems of RW will occur in the future.

Here is some reading for you so you can choose:

http://www.cnet.com/news/how-to-manually-enable-ntfs-read-and-write-in-os-x/

http://osxdaily.com/2012/04/22/format-drive-mac-pc-compatible/


Why paste from screenshot into Mail will save as TIFF format? I use ^ Control⇧ Shift
⌘ Command4 first, then I paste it into Mail, when I double click the image that I pasted, it is TIFF format.
I try to change the screenshot format to PNG; it works. But when I change back to JPG or BMP, both of them will be saved as TIFF format.
defaults write com.apple.screencapture type jpg

How can I save it as JPG format?

It Has to do with the Clipboard; not Screen Capture
Screen capture can obviously support more than these two file formats; obviously it supports GIF and JPEG/JPG, but it also supports PDF.  However, the issue here isn't what Screen Capture is capable of handling, it what your clipboard is capable of. Why?  Well, you're going directly from your clipboard to pasting an inline image into a mail message.  Once Screen Capture "hands over" bitmap to the clipboard, it's work is done.
Now, your clipboard stores images as a RAW format so it can preserve every single detail.  How it gets saved (when Screen Capture writes it to disk), the clipboard simply doesn't care if you use a high quality format like PNG or TIFF or a lossy format like JPEG or PDF; basically, you chose it, you'll get it.
But why PNG or TIFF?
The very short answer is both are image formats that support lossless compression.  In other words, they can make the images much smaller than their RAW format without losing an ounce of quality.
Apple chose PNG as it's default and I can only speculate as to why...

PNG (Portable Network Graphic) was to be a replacement for the GIF format
It's web friendly
It was designed for transferring images over the network/Internet

TIFF on the other hand...

Acquired by Adobe in 1996 for desktop publishing
It was an attempt to standardize scanned (and faxed) documents into a single high quality file format
Built in support for meta data
Could hold multiple pages as a single document like a PDF

Why you get TIFF when pasting to your App
Coming out of the clipboard, you've got two ways to go - PNG or TIFF.  Since you specifically told screen capture you didn't want PNG, it went to the only other choice available - TIFF.

How can I save it as JPG format?

Don't use your clipboard.  Save to your Desktop (or other location) and just manually convert to JPEG.  Then drag your item over to the app you're using.  If you do this through the Preview App, you will have the opportunity to set the quality/size of your JPEG in case it's still too large for some receiving email systems.  (Preview) File → Export → Format

If this is something you do quite a bit, you can easily create an Automator action...but that's another question for another time.

I am in the same boat, why does saving to the clipboard make it a .TIFF. I took two screenshots and it is larger than i can send in an email. .jpg please, when did this start happening? I used Terminal and OnyX with the same result.


How can I restart an app game from the beginning I would like to restart two games, bubble safari and bubbleseason, from the beginning. When I delete the app and reinstall it from the App Store all my old data is on there and I start from the same level I left it at, I want to start all over from scratch.  Is this possible?

Deleting the game from iOS devices usually removes the game stored data, unless, those data are stored in iCloud. Here are the steps to delete saved games data in iCloud.

Make sure you’ve deleted the games you want to reset. Some of those games will push the local saved data to iCloud even if you’ve deleted the data in iCloud.
Access those saved games data in Setting > iCloud > Storage & Backup > Manage Storage.
Select Show All to view all the saved data. You’ll see non-games app in this location too because it shows all your iCloud storage.
Tap on the games you want to reset.
Tap Edit at the top right.
Tap Delete All to delete the saved games data.

You might have to delete all the saved game data. It might take a while, but the most thorough approach is to search the entire computer if you don't know where this data coudl be saved. Therefore open a terminal and type

sudo find / -name "yourgame" -print

And delete all the files that are showing up if you think that these might relate to the saved game status.

EDIT: I didn't see that you were looking for a solution on iOS. In this case you should be able to delete the app with it's associated data in iTunes on your Mac. It should work if you delete the app from your iTunes library


Seeking a USB Flash Drive (nearly) flush with MacBook I am seeking a low-profile USB flash drive (in either 2.0 or 3.0) that would sit nearly flush with the side of the MacBook.

This way I can leave it in through reboot cycles, and hopefully find that macOS will mount it without needing to insert anew after every reboot.

The SanDisk "Ultra Fit" looked promising in Amazon's pictures, until I found that it protrudes quite a bit. It means that if I pull the MacBook from its bag and inadvertendly knock the flash drive, I will risk  also knocking the logic board—possibly a very nasty event.

Does there exist a solution that sits nearly flush with the side of a MacBook? Ideally it would protrude just enough so I can grab it when necessary, but even if I need a special tool (such as two tiny screwdrivers) to pull it out, that is also good.

Another option is from Elago

Do you have any experience with this product? Does it nearly vanish inside a MacBook?

I'm not aware of any such products with a USB connection, but there are several options for using an SD card slot in this way, if your model of MacBook has such a slot. Some of these are storage devices, while others are microSD card readers, but both types have the same functionality. Note that different models of MacBook have different depths of SD card slot, so make sure you get a product designed to work with your computer.

Here are a few examples:

Transcend JetDrive Lite (64-256 GB)
PNY StorEdge (128-256 GB)
BaseQi microSD adapter
MiniDrive Nifty microSD adapter

Try the SANDISK ULTRA FIT USB 3.0 FLASH DRIVE

It only goes up to 128GB though ($37.99)

https://www.sandisk.com/home/usb-flash/ultra-fit-usb


Built in FTP client (cmd + k) - can't upload files (Mavericks) I have just found out that I can enter a built-in FTP client on my Mac by simply pressing ^ Ctrl + K. Great thing!

But after I have successfully connected to my server and a 'folder' with files located there appeared, it occurred that I can't upload files by simply drag & drop'ing them. When I checked the 'Get info' I saw that it is marked as 'You can only read', yet the ftp account itself is okay, because I could upload files there from dreamweaver (unfortunately I have only Windows licence for this app).

Why is it marked as 'You can only read' and how do I fix that?

Please help!

P.S. Could you explain it in an easy way? Because I'm new to Mac (just bought one few days ago).

The built-in ftp is read only since forever unfortunately. From Mavericks help:

  Servers and shared computers that you can connect to

  You can connect your Mac to the types of servers and other computers
  listed here.

  ...

  FTP servers

  With read-only access, you can copy files from the server, but to copy
  files to the server you may need another FTP app. Choose Apple menu >
  App Store to find FTP apps available for OS X.

Maybe try the free Cyberduck or (not free) Transmit.

Mac FTP Instructions:

1) From the Finder menu, click Go, and then click “Connect to Server…”.

2) In the resulting dialog box, type in the FTP address: ftp://webaddress.com

3) Enter the user name and password provided

4) Once connected, a Finder window will open showing the contents of your FTP site.

5) To upload files or folders, just drag-and-drop them from your computer into the space provided.


How to get rid of firewall "accept incoming connections" dialog? I've accepted this so many times that firewall should already remember it.

For example, I get it for Eclipse when starting my java programs in debugging mode ... sometimes this dialog is displayed only very shortly, like half second, and disappears. I also get it for iTunes (when I enable sharing my library), and other programs, even though I have them listed in Firewall preferences panel (adv. settings).

sudo codesign --force --deep --sign - /path/to/application.app

I've never had to create a certificate using this method.

If that doesn't help, try without --deep and without the trailing slash:

sudo codesign --force --sign - /path/to/application.app

Note, just to make it clearer: After having applied the signature, start the app, accept incoming connections one last time, then quit and start again to verify that the request is gone.

The solution for me was to just disable the firewall completely. It's extremely common to create web-enabled pieces of software that are of course unsigned because you're compiling them natively.

Open the spotlight with CMD + Spacebar and search "privacy" and select "Security and Privacy". Then switch to the "Firewall" tab and disable the firewall there.


AppCake - How to reclaim temp folder space I have transferred the .ipa whatsapp installer to an app called Xdownloader on my iPhone 5s running iOS 8.1.2 (jailbroken).

The .ipa file is about 110 megabytes. My free space was 1.7 gigas. I then deleted and installed whatsapp several times where each time I would open Xdownloader, click on the .ipa file, and choose to open it using "AppCake" in which I would get the option to install popping up right away.

Then I noticed that the free space dropped to about 300 megabytes! I can only presume that AppCake unzips the .ipa file to some temp folder and installs from it but doesn't delete it after the installation process completes! I navigated (using iFile) to all folders I could think of but couldn't find a thing! I also tried to clean up using iCleaner Pro. still, didn't do it.

I tried to remove both Xdownloader & Appcake altogether and reinstall them but then again it woudn't solve the problem. Appreciate any help

Looks like you imported (copied) an ipa to AppCake several times and all the copies are still there in a folder AppCake uses for storing ipas. It is somewhere in mobile.

I also faced some kind of related issue on my iphone 5. You can try to clean all temporary memory. May be there are some cache. then try to install Xdownloader & Appcake to your iPhone 5. It will work. Good luck


Pictures are stored but not displayed in Camera Roll Well, I've been running low space for a long time and this led to a sudden disappearing of old photos (actually 5000 of them - the oldest ones) in camera roll. I don't know how how that worked - maybe iOS tried to free up some space by removing the thumbnails (without asking me???).

The main advice is to remove the photos.sqlite and other similar files from PhotoData directory. That did nothing - the restored base is lacking my OLD ones. Still you can find them all in DCIM folder.

How can I add them back to sqlite??? Thanks a lot!!

upd. ios 9.1

To free space in iPhotos ("Camera Roll"), on your iPhone (or iPad) go to:

Albums > Recently Deleted and then select the photos for permanent deletion.  I'll bet you have tons of photos there gobbing up space.  That should take a lot of pressure off on your available space for photos.  Myself, well I didn't know that was there for ages ... ;-)

Update: After further details from the OP, sounds like he CAN take pictures and they are stored on the device, but these pics are just not appearing in "Camera Roll".  I suspect "Camera Roll" is an alias to the DCIM storage location.  Could be something wrong with how the thumbnails linking to the DCIM storage folder you reference are added.  Thus, the advice you were receiving on removing the SQL-lite db.

Camera Roll itself must be an alias to that DCIM folder.  It would make no logical sense to have pictures stored in BOTH the DCIM folder and also Camera Roll.  How these things interact would appear to be where the problem exists.

I remember with Outlook .pst folders there was a (2) GB limit (I believe) that buggered everything once the file hit 2GB.  I just checked this for you and the max SQL Lite file size is 140 TB, so this can't be the problem.  HOWEVER, the size of the query as to what's retrievable in memory from a huge SQL Lite DB CAN be a limiting factor:

https://stackoverflow.com/questions/14451624/will-sqlite-performance-degrade-if-the-database-size-is-greater-than-2-gigabytes

The upper limit as to the SQL query to the SQL Lite DB required to display the pics in "Camera Roll" looks a likely candidate if your pictures store is huge and the query size required to display them in Camera Roll is limited in memory