On my Mac mini under OS X 10.6.5, a java -version gives me Java 1.6.0_22.

It's an out of box + upgrade from 10.6.4 to 10.6.5 and installation of last Xcode 3.


USB Keyboard not working after Macbook wakes up from sleep

I would reset both your PRAM/NVRAM and your SMC. See below for instructions.

Reset your PRAM/NVRAM

Older Macs had what's called Parameter RAM (PRAM), newer Macs use Non-Volatile Random-Access Memory (NVRAM). It may be worth you also resetting this. Here’s how to:

Shut down your machine. Yes, a full shut down, not just logging out.
Press the power button and then press the commandoptionpr keys. You have to make sure you press these keys before the gray screen appears or it won’t work.
Hold those keys down until your Mac reboots again and you here the startup chime.
Let go of the keys and let your Mac reboot normally.

Note: When you log back in you may need to readjust some of your system preferences (e.g. mouse speed, time and date/timezone, etc).

Reset the SMC

Your computer's System Management Controller (SMC) can also be reset. However, the instructions for doing this on MacBooks differ depending on the type of battery they use. Since your question has specified the model, I've provided both sets of instructions below:

For MacBook Pros, MacBook Airs, and MacBooks where you can’t remove the battery on your own (i.e. it's a built-in battery), here’s what you do:

Shut down your computer
Keep the MagSafe adapter (or power cable) plugged in.
Press at the same time shiftoptioncontrol (on the left side of the keyboard) and the power button
Let go
Turn your computer back on with the power button.

For MacBook Pros, MacBooks etc that you can remove the battery from, here’s what you do:

Shut down your computer
Disconnect the MagSafe plug (or power cable) from the computer
Remove the battery
Press the power button for 5 seconds and release
Put the battery back in
Reconnect the MagSafe cord (or power cable)
Turn your computer back on with the power button


iPhone 4 cannot restore to iOS 5 in DFU mode

As iOS 5 is public, there is no need to download the firmware file yourself. Just click on 'search for updates' and let it upgrade.


Man in the Middle Network Proxy for iOS that supports SSL?

Use mitmproxy. It's proven for this sort of thing. A while back there was some uproar about the app Path uploading the adressbook to its servers. This was what was used to discover it. The guy wrote up how he used it and that's a nice intro on how to install and use mitmproxy.

From the site :

  mitmproxy is an SSL-capable man-in-the-middle HTTP proxy. It provides
  a console interface that allows traffic flows to be inspected and
  edited on the fly.

  mitmdump is the command-line version of mitmproxy, with the same
  functionality but without the frills. Think tcpdump for HTTP. Features

  Intercept and modify HTTP traffic on the fly
  Save HTTP conversations for later replay and analysis
  Replay both HTTP clients and servers
  Make scripted changes to HTTP traffic using Python
  SSL interception certs generated on the fly


How to put Desktop on External Drive/Non-System Partition?

You can create a folder hard link using coreutils. Remove the symlink you created and install Homebrew if you don't already have it, then brew install coreutils and use:

sudo gln /Volumes/<partition_label>/Desktop ~/Desktop

(Be careful with removing hard links, since the destination will be deleted if you delete normally. To delete a hard link, use unlink ~/Desktop.)


Time Machine Backup to a Windows computer

There was a lifehacker article on doing exactly this by creating a sparse HFS+ bundle on the Windows machines.  You could use a Linux machine or Amazon S3 using s3fs + encfs too.

Time Machine requires an HFS+ filesystems backup disks like this sparse bundle because Time Machine uses Apple's unusual directory hard links.

Linux could theoretically read the HTF+ sparse bundle but Windows sounds doubtful.


Recents not updating with new files in High Sierra

When Recents is active in a Finder window, go to the window's action (gear) pop-up menu, select "Show Search Criteria". The first criterion for Recents requires that the "Last Opened" metadata entry have a value – this is probably why your screen captures are not showing up (if you were to open them in Preview, then they would show up in Recents).

You can edit the search criteria in that window, or perhaps better, copy the search string and create a new smart folder with it, then tweak it until satisfactory.


Can MBP 13 mid 2012 send audio and video through thunderbolt to HDMI?

As far as I know, thunderbolt to HDMI by default provides audio.  Now, whether your adapter supports it, well that's another question.

I have used this device from Amazon Basics to supply HDMI to a TV (including audio) from a MBP and a Microsoft Surface Pro 3.  It worked with zero issues.


Change Apple ID on iPhone without causing 'damage' to apps/app store purchases and keeping app data

It is possible to change the Apple ID on an iPhone. You can do this by going to Settings > iTunes and App Store and logout with your current Apple ID. After that, you can login with the new Apple ID.

When you download/purchase an app from the App Store, it will be connected to the Apple ID that is used to do the download/purchase. This means that if you start using a different Apple ID to download/purchase new apps, there's no problem to update them.

As you mentioned, you have for example WhatsApp installed. If there's an update for WhatsApp in the App Store, you are still able to update it, but you have to use the Apple ID password of your "old" Apple ID.

On a side note, you can make a backup from your WhatsApp history (texts and media) in iCloud. After this, you can delete and reinstall WhatsApp and restore the backup.

I don't know if other apps that are important for you have the same functionality to create a backup to iCloud.


Voice Memos (ios app) recording to Google Drive

Send it to yourself via text. When it arrives, click on the file download icon. Save to Google Drive (must have the app already on phone).


I've gotten at least a usable approach, tho not perfect.

The best I could do is the following:

1) don't ever use emacsclient and take start server out of init.el

2) in mission control preferences, uncheck the boxes for "when switching to an application..." and "group windows by application"

If I am editing more than one doc, in different desktops I end up with more than one instance of emacs running,  but I can live with this.  Also, the startup seems to be fast enough for me without emacsclient.

It doesn't look like cocoa emacs is impemented as a document based cocoa app.  Is that the case?

Seems like Macvim handles the multiple document without multiple instance case more gracefully.

Best regards.

JRV


Stream YouTube video in Full HD resolution on iOS Safari

Safari on iOS is restricted from playing videos at Full HD resolution. To view them at higher resolution, using the YouTube app is your only resort.


Confirming couple of points

You are running OSX 10.6.8
Current Xcode version in your machine is 3.2.4

Xcode 4.2 should work fine on your machine.
I have a snowleopard machine at office running Xcode 4.2, i updated it via the Mac App store only. Ok. If this is not working via Mac App store, then go to your developer account (free or paid) and then download the Xcode version for Snow Leopard and install it manually. Just make sure you are downloading the Snow Leopard edition not the Lion edition. Please don't hesitate to ask for assistance :-)

Edit : Here i am attaching a snapshot of where to find the link . You need to scroll down and check in the Downloads section.


Does HiDPI (Retina) technology utilize GPU resources?

Retina is just a marketing word for a high resolution monitor.  The trick is then that instead of just allowing the user to use a lower resolution than the display is physically capable of, macOS lies to the application about its size so it thinks that it is e.g 800x600.  All the system calls that then actually draw stuff like text and graphics then knows about the lie and can utilize the full resolution of the monitor.

All this require GPU support (and was introduced a long way back) to work well so that is not the criteria.

The external GPU is useful however if you for any reason need more strength than the internal GPU can provide.  Games and intense visualization rendering are obvious choices.  As they consume more power they usually are only enabled when actually needed falling back on the internal GPU for normal chores.

Unless you know already that you will run these kind of programs the internal GPU will do fine.


Why does /var/vm on MacBook Pro tend to show sleepimage and nothing else?

All is well - the system is managing this space better and better over time. As the system gets sliced into a user space overlay and a sealed and signed system overlay, it’s natural to have transient files like caches in a third filesystem.
All this is unlocked and enabled by APFS containers.


The gdal package doesn't install a gdal binary:

pse@Mithos:~$ ll /usr/local/Cellar/gdal/2.2.4/bin
total 2088
-r-xr-xr-x  1 verence  admin   2203 May  4 11:52 gdal-config*
-r-xr-xr-x  1 verence  admin  39580 May  4 11:52 gdal_contour*
-r-xr-xr-x  1 verence  admin  34432 May  4 11:52 gdal_grid*
-r-xr-xr-x  1 verence  admin  35188 May  4 11:52 gdal_rasterize*
-r-xr-xr-x  1 verence  admin  40932 May  4 11:52 gdal_translate*
-r-xr-xr-x  1 verence  admin  40852 May  4 11:52 gdaladdo*
-r-xr-xr-x  1 verence  admin  38852 May  4 11:52 gdalbuildvrt*
-r-xr-xr-x  1 verence  admin  38672 May  4 11:52 gdaldem*
-r-xr-xr-x  1 verence  admin  41432 May  4 11:52 gdalenhance*
-r-xr-xr-x  1 verence  admin  34988 May  4 11:52 gdalinfo*
-r-xr-xr-x  1 verence  admin  46360 May  4 11:52 gdallocationinfo*
-r-xr-xr-x  1 verence  admin  34984 May  4 11:52 gdalmanage*
-r-xr-xr-x  1 verence  admin  39400 May  4 11:52 gdalserver*
-r-xr-xr-x  1 verence  admin  45936 May  4 11:52 gdalsrsinfo*
-r-xr-xr-x  1 verence  admin  45864 May  4 11:52 gdaltindex*
-r-xr-xr-x  1 verence  admin  40040 May  4 11:52 gdaltransform*
-r-xr-xr-x  1 verence  admin  39364 May  4 11:52 gdalwarp*
-r-xr-xr-x  1 verence  admin  40136 May  4 11:52 gnmanalyse*
-r-xr-xr-x  1 verence  admin  49772 May  4 11:52 gnmmanage*
-r-xr-xr-x  1 verence  admin  34624 May  4 11:52 nearblack*
-r-xr-xr-x  1 verence  admin  55228 May  4 11:52 ogr2ogr*
-r-xr-xr-x  1 verence  admin  46364 May  4 11:52 ogrinfo*
-r-xr-xr-x  1 verence  admin  69388 May  4 11:52 ogrlineref*
-r-xr-xr-x  1 verence  admin  50428 May  4 11:52 ogrtindex*
-r-xr-xr-x  1 verence  admin  35316 May  4 11:52 testepsg*

There is also no man page:

pse@Mithos:/usr/local/Cellar/gdal/2.2.4/share/man/man1$ ls
gdal-config.1       gdal_pansharpen.1   gdaladdo.1          gdalsrsinfo.1       ogr2ogr.1
gdal2tiles.1        gdal_polygonize.1   gdalbuildvrt.1      gdaltindex.1        ogr_utilities.1
gdal_calc.1         gdal_proximity.1    gdalcompare.1       gdaltransform.1     ogrinfo.1
gdal_contour.1      gdal_rasterize.1    gdaldem.1           gdalwarp.1          ogrlineref.1
gdal_edit.1         gdal_retile.1       gdalinfo.1          gnm_utilities.1     ogrmerge.1
gdal_fillnodata.1   gdal_sieve.1        gdallocationinfo.1  gnmanalyse.1        ogrtindex.1
gdal_grid.1         gdal_translate.1    gdalmanage.1        gnmmanage.1         pct2rgb.1
gdal_merge.1        gdal_utilities.1    gdalmove.1          nearblack.1         rgb2pct.1


User profile transfer, apps which are/were not PPC show up as PowerPPC

I had forgotten about how great Carbon Copy Cloner is! I have not used it in quite a long time (last time I used it, it was free; they do offer a fully functional trialware version for 30 days).

I retried all attempts I listed in my question, including only transferring a single user profile (data, applications, etc) using the Migration Assistant with no change. Each time I finished a migration, clone, almost 50% of my apps were being seen as PowerPC applications and would not run...even though they were in fact Intel/Universal apps.

I believe the underlying problem was that the recovery partition on the two machines differed. I'm surprised Clonezilla didn't wipe it out (It cloned the 3 partitions)! Carbon Copy Cloner on the other hand, informed me of the difference and offered to clone over the difference. That difference was only the fact that the destination machine had a Lion OS in the recovery partition. Both machines were imaged with Mountain Lion.

That's just a guess, but because nothing else worked and CCC did, I'm leaving it at that unless someone else can offer some insight. I hope this helps someone in the future. I've never seen or heard of anything like this.


Installed App with Brew Cask Over Existing Install, Did it Remove the Old App Files?

Cask does not clean up old versions by default. It stages the installs in /opt/homebrew-cask/Caskroom/$APPNAME and then symlinks them in to ~/Applications or /Applications depending on the brew recipe. And then it leaves the old versions around until you run brew cleanup.

You can see old installs of OpenOffice under /opt/homebrew-cask/Caskroom/openoffice. You can safely delete the old installs from there, though brew cleanup is supposed to do this for you.

If you had previously installed OpenOffice using their DMG installer and not Homebrew Cask, it was most likely installed in /Applications and not ~/Applications. Cask won't install over top of an existing installation that wasn't previously Cask-installed itself. So check /Applications and make sure you remove the old version from there if hadn't installed it via Cask. If you had installed it via Cask all you need to do is delete it from /opt/homebrew-cask/Caskroom/openoffice as mentioned above.


Ipod classic was corrupted, so erased everything off it using disk utility

You can follow the troubleshooting options here, and if it still does not work, please let us know.

It's also sounding like there's a possibility of a failed HDD in that iPod. Using diagnostic mode, can you give us the details on the "Memory" SMART test?


How do I unlock portrait mode in iPhone?

This is the lock rotation icon. You will notice that when you turn your iPhone (say, in Safari) it will stay in portrait.

To disable it:

On iOS 7+ :

Open the Control Centre by sliding your finger from the bottom of the screen to the top
Tap the button a the top right (here circled in red)

iOS 6

Double tap on home button
Then slide the multitask bar to the left (where the Sound controls are)
And on the left you'll find the button to unlock this.


When syncing iphone 5, itunes hangs on backup stage

Delete any old backup related to this device

Open finder
command-shift-g to open the go to folder.  Put in ~/Library  Hit go
Navigate to Application Support > MobileSync > Backup
Order by Date Modified and look for the latest folder which should be timed at the last time you did a backup.  Drag the folder out to the desktop
Try to resync with the phone

If it all works you'll get a new backup in the folder, delete the one on your desktop.


How to change language of facebook interface in ipad2

If you look at the page for that app in the App Store and you will see that Arabic is not on the list of supported languages.  So you cannot change it the way you want.


Can the iPad Mail app show the message list full screen?

Sorry no, Mail.app on iPad only has two views.

In Portrait mode, the message list slides in from the left.  You can swipe left and right to change the view to account and folder list and back again, however you cannot resize the pane, although it feels like you should be able to in this view.

In Landscape mode, the message list is permanently fixed in position and width; you can no longer swipe to change the content.


Issues with auto updating App Store - OSX

As far as I know and I'm using a MacBook Pro too, when you set automatic update, it will automatically download and install update.

However, for big upgrade, it always ask you do to it, such as upgrade from the current version to Sierra.


iMac 27-inch late 2015 upgrade RAM with higher frequency

If you mix 2133 with 1866 it will all run at 1866.

Replace all memory sticks with DDR3 2133MHz
Use quality components (Crucial, Kingston) or you may encounter freezing issues


I bought 200GB of ICloud Storage, iCloud Settings shows 200GB, but the iCloud Storage tab says I have 4GB

Sign out of iCloud on your phone by going to Settings > iCloud > and tapping "Sign Out." Then sign back in. This will prompt your iCloud connection to update the information it is displaying. If it does not update, sign out of iCloud, restart your iPhone, and sign back in.

Additionally, you may want to download the Ookla Speedtest app from the app store, and check the speed of your internet connection, as that is the most likely culprit of a slow backup, but will be a separate question as it involves router settings, and/or your Internet Provider.


I think there is one more way of doing it. You just have to go to the Application folder, select the application and press CMD + Delete. Once you do this, the particular application will disappear from your launchpad as well.


If you saved it in keychain, it will auto-fill in the Change Password dialog.
If so, it's listed in keychain as "iOS Backup", where you can open the plaintext version to see.

If not, then I think you'll have to try changing it to see if you remembered it correctly. I don't know if it will allow changing to the same password - never tested that.


Calendar view in iPad Mini running iOS 9

The few things you can change in the native calendar app are under settings at the bottom of Mail, Contacts, Calendars:

You would need to download a custom calendar app to change the week view of your calendar data. The best I can manage is changing the week start date, which changes things everywhere.


Batch change creation dates based on file names using setFile

To me it looks like the problem is with the quotes. Try to copy paste this into your script:

for f in *; do
t="${t%%.*}"
t="${t%%-*}"
m="${t:5:2}"
d="${t:8:2}"
y="${t:0:4}"
h="${t:11:2}"
m="${t:14:2}"
s="${t:17:2}"
date="$m/$d/$y $h$m$s"
setFile -d $date "$f"
done


Any type of VNC would be able to achieve this.

However, a far simpler solution would be to use TeamViewer which would be much easier to set up & avoid the need to provide a way to punch through the firewall from the outside, as it connects from 'inside' the firewall & is then 'invited in' by the remote party.

TeamViewer is free for non-commercial use.


How to open an Excel workbook that ends with a specific string using Applescript

Because you're new to AppleScript and because the script you gave had myriad rudimentary errors, this answer is quite long as I thought it appropriate to explain how to correct the script and why the errors arose in the first place.

However, for the benefit of any readers for whom this would be TL;DR, here are two three versions of the script in their complete form, each differing in how file(s) are sought and the command sent to Excel in order to open it/them.

Disclaimer:  I haven't been able to fully test the scripts, as I do not own a copy of Microsoft Excel.  I have formulated these snippets based on an online version of the AppleScript dictionary.  If you encounter any script errors, your feedback will help me correct them.

① This version uses the open workbook command as per your original script, which only accepts a single file reference.  Therefore, the search conducted will return whichever single file it finds first with the appropriate filename ending.  Note: See below for why the Excel command might not work, and why I have provided a second version of the script should this be the case:

    set sourcefilepath to "Macintosh HD:Users:nprabu:Documents:Work:Project:Q1 2018:"

    try
        tell application "Finder" to set sourcefile to ¬
            (the first file in the folder sourcefilepath whose ¬
                name ends with "DK.xlsx") as text
    on error
        return display notification ¬
            "No filenames ending in \"DK.xlsx\"" with title "File Not Found"
    end try

    tell application "Microsoft Excel" to ¬
        open workbook workbook file name sourcefile

② This version uses the standard open command that accepts one or more file or alias objects.  Use this version if you need to open multiple files easily or the above version of the script fails to open the file:

    set sourcefilepath to "Macintosh HD:Users:nprabu:Documents:Work:Project:Q1 2018:"

    tell application "Finder" to set sourcefiles to ¬
        (every file in the folder sourcefilepath whose ¬
            name ends with "DK.xlsx") as alias list

    if sourcefiles is {} then return display notification ¬
        "No filenames ending in \"DK.xlsx\"" with title "File Not Found"

    tell application "Microsoft Excel" to open the sourcefiles

③ Addendum: Emergency Script:

Thanks to @user3439894 for testing these scripts and reporting some odd behaviour from Microsoft Excel regarding how it responds to the standard open command (see the comments thread attached to this answer).

Essentially, it behaves as expected if Excel is not already running, and will open multiple files (in the background).  However, if Excel is already open, it will only open one file out of a given file list, and the one it chooses to open is seemingly random.

Therefore, I'm adding this third version of the script as a less graceful approach to opening multiple files, but one that will surely cope with Excel's personality issues:

    set sourcefilepath to "Macintosh HD:Users:nprabu:Documents:Work:Project:Q1 2018:"

    tell application "Finder" to set sourcefiles to ¬
        (every file in the folder sourcefilepath whose ¬
            name ends with "DK.xlsx") as alias list

    if sourcefiles is {} then return display notification ¬
        "No filenames ending in \"DK.xlsx\"" with title "File Not Found"

    tell application "Microsoft Excel"
        activate -- Bring Excel into focus

        -- This loops through the list of files and
        -- opens them one at a time
        repeat with sourcefile in sourcefiles
            open the sourcefile
        end repeat
    end tell

You can, of course, try and replace open the sourcefile with open workbook workbook file name (sourcefile as text), should that command be working in your version, but otherwise you'll be fine just using open.

A Detailed Breakdown

Retrieving your file(s)

The first few errors in your original script arise from this line:

set sourcefile to name of every file of sourcefilepath ¬
    whose name ends with "DK.xlsx"

(I have split the code over two lines for readability; this doesn't affect how AppleScript executes the commands.)

▸ Firstly, this command needs to be sent to an application that can handle file and folder objects.  The two options you have are Finder and System Events.  Finder is suitable and most commonly used for file commands.  To send a command to Finder, you simply add a tell clause at the start of the line:

tell application "Finder" to set sourcefile to ¬
    name of every file of folder sourcefilepath ¬
    whose name ends with "DK.xlsx"

You also need to specify that sourcefilepath is a folder object, which I've done by adding the object specifier folder in front of the variable.

▸ Your question as it is stated, together with your choice of AppleScript variable name, implies you are wanting a single file to be opened.  However, the command we've just been looking at tells Finder to get every file, which will always return a list of items (although it may be a list containing only one item), rather than a single item.  If there are multiple files whose names end with "DK.xlsx", then all of them will be returned in this list.  This will cause problems when it comes to opening the files using Excel's open workbook command, which can only handle one file per command statement.

If you are reasonably sure there's only one filename that ends in "DK.xlsx", then you can change every to first:

tell application "Finder" to set sourcefile to ¬
    the name of the first file of folder sourcefilepath ¬
    whose name ends with "DK.xlsx"

(I prefixed some terms with the to make it more readable; AppleScript happily copes with or without the being present.)

The other consideration is that open workbook requires that the full path to the file be specified.  However, by requesting that Finder returns just the name of the file(s), you will only be given the filenames without the path.  In order to retrieve the full path, remove the request for the file's name property and instead retrieve the file object, which you can then coerce into text:

tell application "Finder" to set sourcefile to ¬
    (the first file of folder sourcefilepath ¬
    whose name ends with "DK.xlsx") as text

▸ If it turns out that you do, indeed, wish to retrieve multiple files that end in the suffix "DK", then its best to coerce the list of file objects into an alias list (which is a list of aliases).  This is so we can use the standard open command instead of open workbook, as the former can accept a list of multiple file aliases, enabling you to open many files with one single command.

tell application "Finder" to set sourcefile to ¬
    (every file of folder sourcefilepath ¬
    whose name ends with "DK.xlsx") as alias list

Opening the file(s) in Excel

You didn't mention which version of Microsoft Excel you're using, which may turn out to be pertinent information.  This forum question from 2009 is from a user who reports running into trouble when using the open workbook command.

▸ BUT...  Let's assume for now that the command will work with your version, and that you only wish to open a single file.  The syntax as you've got it is all correct, and the adjustment I mentioned above to retrieve the full file path will prevent the open workbook command from throwing an error because of a bad file reference.  One stylistic note: you can write the tell statement and the open workbook command on a single line, then delete the end tell line:

tell application "Microsoft Excel" to open workbook workbook file name sourcefile

No one form is better than the other, so it's personal choice.

▸ The forum post I mentioned above that reported a malfunctioning open workbook command also cited the same problem when using the standard open command.  However, this Stack Overflow post provides the likely cause, and reassures me that this open command will work where the open workbook command may not.

Basically, in the same way that the Finder application needs a folder object to be specified explicitly as being a folder, Excel needs the file object to be specified explicitly as being a file (or alias):

tell application "Microsoft Excel" to open file sourcefile

▸ The benefit of this open command is that it can accept lists of aliases to open many files at once.  Therefore, if you decide to keep the version of the Finder command that retrieves multiple files, make sure you coerce it to an alias list, which you can then use like so:

tell application "Microsoft Excel" to open sourcefile

Note here that the file object specifier is absent when opening multiple files, because the variable sourcefile is already of the correct type, namely alias list.

Closing comments

The final versions of the script I supplied at the beginning are slightly different in how I chose to implement the changes I've detailed here.  I also felt it wise to include some basic error-handling in case a file could not be found, which would throw an error and might lead you to wonder if the code was faulty.

If you find that the file successfully opens in Excel, but that it remains in the background concealed behind other applications, you can add this command to the script to bring Excel into the foreground and make it the focussed application:

tell application "Microsoft Excel" to activate

or—combining it with the existing Excel commands:

tell application "Microsoft Excel"
    activate
    open file sourcefile
end tell

If you need any of this clarified or if you have any further minor questions relating to this, leave a comment and I'll get back to you.  If you find this helpful or if it solves your problem, do consider selecting this answer or any other that proves more useful so other forum visitors know this issue has been addressed and can benefit from it if they have a similar problem.


How do you list items with and without labels from the terminal?

Using ls, you can show the extended metadata of files:

$ ls -l@
-rw-r--r--@ 1 andrew  staff  1292910 Aug  9 11:36 labelled_file.jpg
    com.apple.metadata:kMDLabel_hlsi7t7nerhynemqvydgeb26de       50

However, the quickest way to get labelled and unlabelled files is with an attribute search using mdfind:

$ mdfind -onlyin . -literal 'kMDItemFSLabel > 0'  # labels have value 50
/cwd/labelled_file.jpg

$ mdfind -onlyin . -literal 'kMDItemFSLabel == 0'
/cwd/all.jpg
/cwd/other.jpg
/cwd/files.jpg


Why won't my new iMac El Capitan print from Word?

Welcome to Stack.

Try reinstalling, or resetting up any drivers for your printer. You can do this using either built-in mac features, or using any drivers provided by Canon on their website (available here).

For the built-in Apple feature head over to System Preferences.
Then navigate to Printers and Scanners.
Click the - and remove your printer.
Click the + and add follow the steps to re-add your printer.

Hopefully this fixes your issue!


macOS High Sierra 10.13.2 - Missing Disk space

I had a similar problem. I ran 'dd' to fill up the SSD and then deleted the files afterwards:

dd if=/dev/zero of=/tmp/zero.1.out bs=1048576 count=10240

I created a few of those (10GB each and some larger - 30 GB) until the SSD was nearly 100% full.

I then deleted the files with: rm /tmp/zero.*.out

Finally: df -h /
now reports the correct allocation with one oddity:
ifree read 9223372036854041010 which seems incorrect.

Disk Utility (First Aid) was not picking up any issue although the reported available space was clearly off by 50 GB (almost 50% of the entire capacity of my SSD partition).

Hope this helps.


Can I transfer iTunes credit between accounts?

This totally will not work. iTunes explicitly says gift certificate balances can not be used to purchase other gift certificates. I will call apple tomorrow to find another work around.


File sharing between two Catalinas - Finder cannot connect

Regrettably I have found no solution to this anomaly.
I was in the fortunate position to be able to erase and re-install Catalina.

The problem no longer exists for me. I have a “de-crufted “ system.

I’m always impressed by how OS X / MacOS has been able to upgrade this Mac successfully for about 6 years with very few of these kinds of anomalies encountered generally in upgrades over the last couple of decades and nearly a dozen different Macs.


Homebrew tap when there is no artifact for the current OS

I am not overly familiar with Homebrew, but depends_on seems to allow you to specify an architecture. I think adding
depends_on arch: :x86_64

to your formula will solve the issue nicely.


Am I missing something by using outdated data cable and wall charger?

I have a total of 5 charging cables (and my partner has another 4) ranging from the 3G days until now. I still use my original 3G cable (the one where you had to press buttons on the side to release it) to plug my iPhone 4 into my iMac, and nothing has gone wrong so far :)


Problem with iPad personal hotspot on OS X 10.11

As this is an issue involving Beta Software, it should be reported to Apple via the Bug Reporter.  Sign in with your Apple ID or developer account.

As to why: Check again your OS X Network settings.

Is there a fix: Perhaps with the next Beta release.


The layouts are all editable when using the graphical interface of iBooks Author. I don't see why you couldn't edit the files on the filesystem if you wanted to do advanced editing, but for most uses the GUI works well for my needs.

Start with a template you like and open it:

View menu -> Show Layouts
make your changes
File menu -> Save as Template...


Flash not working on a specific site in Safari 7 Mavericks

Clearing Safari's cookies solved the problem for me.


No, there is no such setting. If it existed, it would most probably be in System Preferences > Appearance.

However, this behavior seems to depend on the application. On my 10.6 system, the Finder and iTunes indeed present it, but iCal, Mail and Safari don't.

I unfortunately have no idea as to the root cause for this difference, and which programs might behave in which way.


Is there any free way to have a Mac function as an AirPlay speaker?

This isn't free, but it's only $2.99 AirServer


It's like upgrade your house to have another room. Wether or not it justify's its cost depends on wether you use it or not. In general, I'd say 4GB is the minimum to go by these days, I'd opt for 8GB for most non-casual users.

Considering how expensive a MacBook is, I'd suggest going the extra mile to ensure your purchase lasts you well into the future. If your model is not a retina model (I.e. the RAM is user serviceable), I'd strongly recommend a 2x8GB kit like this one. At $130, it's only $30 more expensive than the 8GB Apple offers, but is DOUBLE the memory. (it's faster too, but your MacBook will bottleneck the speed difference, so it won't actually count for anything)


iPad messaging with multiple family iPads

If all you care about is having your kids text message only people who have Apple devices signed into an Apple account using iCloud, then the process is pretty straightforward.  You go to the settings on the iPads and then head over to Messages -> Send & Receive.  On this page you can add whatever email addresses you've made up for your kids and then confirm with your Apple ID.  Their email will be sent a confirmation with a link that needs to be clicked.  Now you can set their Send & Receive to only have that address checked for "You can be reached by iMessage at" and for "Start new conversations from".

The actual texting to/from any number capable of text messaging is only going to function within the context of your iPhone's ability (i.e. your phone number).  You can either enable or disable that feature for each specific device(iPad), or if they are data capable devices (not the WIFI only version, but rather 4G/LTE) then maybe the provider will be able to set them up a phone number for texting (I'm not 100% sure on that so check with them first).

Basically, even though Apple devices can all be set up using specific addresses to send/receive messages from, they really can't send from one single data/texting package and route only between specific devices based on some other hidden meta data (meta data which is impossible to exist within a text message btw).

So let me try to make it simpler.  You can allow for the iPads (say WIFI-only) to send/receive text messages by way of the Text Message Forwarding feature, yet it will always appear on your iPhone because ultimately that's where messages are delivered from/to.  If your iPads message someone in the Apple ecosystem (i.e. has an Apple ID) then the individual address you set up on those iPads for Messages -> Send & Receive can be used.  This is strictly limited however to Apple IDs or addresses associated with one.


My MacBook Pro freezes up when working with Parallels Desktop 11

Parallels desktop 11 does not support macOS Sierra.

Requirements According to their Knowledge Base:

  Software:

  OS X El Capitan 10.11.1 or later
  OS X Yosemite 10.10.4 or later
  OS X Mavericks 10.9.5 or later


Force terminal to use binary from a different path

You can always provide the full path to the binary instead of using the PATH at all.

$ /usr/local/bin/pandoc

To make multiple executions easier, you can create an alias.

alias pandoc=/usr/local/bin/pandoc

$ which pandoc
/Users/marco/.pyenv/shims/pandoc

$ alias pandoc=/usr/local/bin/pandoc

$ which pandoc
pandoc: aliased to /usr/local/bin/pandoc

To make future executions easier, put this alias in a .profile.

To bypass the alias without removing it, prepend a \.

$ \pandoc

The ‘right way’ is still to modify your PATH.


OS X 10.8 in a VM on a Mac running Windows

The OS X EULA (both client and server editions) restricts running OS X as the guest OS in a VM running on OS X as the host OS. In other words you are only allowed to run OS X in a VM that is itself running on OS X. See section 2-B-iii of the most recently published OS X EULA document for the official wording.  http://www.apple.com/legal/sla/docs/OSX1082.pdf


Cannot connect to OS X SMB server from Linux

I had this behaviour with my Mac Mini running MacOs 10.13 after activating File sharing, but NOT authorizing specific users. So my guess is that you simply forgot to enable login for your account.


How can Siri recognize a contact's name, but be unable to call that person?

Believe it or not, this is often a minor activation issue–assuming the iPhone is on Sprint or Verizon. On Verizon, Dial *228 from the Phone app.  On Sprint, dial ##UPDATE# (##873283#). Follow the voice prompts, if any.  The process takes a minute or two.  After you get a pop-up message indicating the update was successful, wait another minute.  You should see your service indicator go away for a moment then come back.

Afterward, try Siri again. This will likely resolve your text message issues too, though a restart of the iPhone (hold sleep/wake button, swipe to shut off, wait, start back up) may be necessary there.


RAID 0 setup does not contain full disk space from slices

You can't fix this. The size of a RAID is always a multiple of the smallest volume used in the setup.

The chunk sizes (stripe sizes, interlace sizes) as well as the number of chunks have to be equal on all used volumes. Usually the chunk size is 64 kb. These requirements are determined by the size of the smallest disk and limit the size of the resulting RAID volume.


What is installer.failurerequests in the root directory?

It's safe to delete this file.

It is a file left behind by the OS X installer in later versions. It seems to always be there after installation, so its existence does not indicate a failure in it self.

What the installer actually uses the file for is not known to me. It might be used if the installer fails/crashes, to indicate what the installer was doing at the time of the crash - but this is guesswork.


The reminders on your iOS 5 device get synced automatically thorugh iCloud with the reminders in iCal.


Make FileVault password different from user login password?

No. However, you can set up a second admin account.
Any admin user/password can be used to authenticate graphically so you could do something insecure like make an account user and password with me/me.

Shift tab, change your name to me, then tab and enter me again for the password and press enter.
What I’m doing is using fingerprint or devices like yubikey or my Apple Watch to unlock but what I have nearby as opposed to what I type.

https://www.yubico.com/us/store


How to stop flood of Non-Local IPv6 events in my Console (system.log)?

Issue resolved by turning off GlimmerBlocker.


Apple File System Developer Documentation

  Apple File System is a new, modern file system for iOS, macOS, tvOS, and watchOS. It is optimized for Flash/SSD storage and features strong encryption, copy-on-write metadata, space sharing, cloning for files and directories, snapshots, fast directory sizing, atomic safe-save primitives, and improved file system fundamentals.

See also Apple's File System Programming Guide.

Additionally, this blog APFS – A Backup Software Developer’s Perspective  makes mention of APFS already being reverse engineered.


iOS iTunes latest podcasts not showing up

I hear this more and more. iTunes on the PC directly uses the RSS feed and can be downloaded immediately. The podcasts in the iTunes store are cached, meaning that a process has to go out and update it. You have no control over this. If you don't want to continuously sync with iTunes, get a podcast app for the iPod Touch. I like Podcaster though there are many others. This app like all of the others uses the direct RSS feed and can pull down the show immediately.


Determining/associating the log subsystem for apps installed via package managers

The subject here are the configuration files for Apple's Unified Logging system - in particular for subsystems.
Yes, the subsystem is something the developer can specify in their code. A developer that uses Unified Logging on macOS commonly do so by calling into the OSLog class on macOS 10.x, or the Logger class on macOS 11.x. When initialising an instance of the class, the developer can provide the subsystem as a string - which is recommended to be in the reverse DNS notation (i.e. com.openssh.sshd for example).
The developer is free to create multiple subsystems for various parts of the program, so you could in theory have "com.openssh.sshd.authentication" and "com.openssh.sshd.network" subsystems.
The developer can also choose not to specify a subsystem at all - and just log something. This is typically what happens with developers that did not take Unified Logging into account. In that case macOS supplies a default subsystem name - in general this is the bundle identifier for the app.


OS X Numbers: How to use a spreadsheet value as a label

As far as I can see, chart titles and labels (and text boxes) can't contain formulae.  So I think this isn't possible in the ways that you suggest.

An alternative is to place a single-cell table on top of the chart, with the cell containing a formula like = "Salaries normalised to " & B1 & " school days".

I'm using Numbers '09... hopefully this still works in later versions...


Can't send or receive MMS on iPhone 8 Plus on Verizon if on WiFi calling

An iPhone 8 Plus can't send / receive MMS messages (i.e. non-iMessage group messages) when on WiFi calling

This is expected.

WiFi calling has no provision for sending either SMS or MMS messages that’s a function of the GSM Network.  Also, MMS is multimedia messaging, not “non-iMessage group messages.”  Now, as long as you’re connected to WiFi, you can receive iMessage messages.

  In case it's relevant, there is extremely marginal cell tower coverage at this location (i.e. ~1 bar).

It is relevant if you have your cellular on, but signal is so low that you’re using WiFi calling instead.  SMS using a very small amount of bandwidth compared to MMS, so it’s entirely possible regular SMS messages go through and MMS messages do not.  Also, unlike SMS, MMS will typically not queue up and continue resending; they usually delete after a period of time, sent or not.


iPhone App for Weather Push Notifications

Yes... WeatherBug.  I don't use it on my iPod but it works great on Android.  Their product description page mentions the same functionality on iOS as on Android, i.e. National Weather Service (NWS) alerts.

On my Droid it pops up with a red triangle in the notification area when there's an alert.


How do I connect an iPad to a projector?

If you use a VGA connection, the Apple iPad Dock Connector to VGA Adapter might be of interest to you.

http://store.apple.com/us/product/MC552ZM/A


What are the dimensions in pixels of a picture taken with iPhone 8 and X?

iPhone X / iPhone 8 Plus / iPhone 8

3088 px x 2320 px (FaceTime Camera)
4032 px x 3024 px (main cameras)

So the cameras have the same resolution on each model. The wide-angle lenses on the back are all stabilized. iPhone 8 Plus features a telephoto camera which is not stabilized. iPhone X has the same telephoto camera but also sports an optical image stabilization.

Source: Apple.com


Change language in OS X El Capitan in login menu

You'll need to enable the ability to change keyboard layouts on the login screen.

You'll need to log in to your account. Open System Preferences -> Users & Groups. Select Login Options on the lefthand side, then check the box labeled "Show Input menu in login window".

Now at the login window, click the Input menu (shows the name of the currently selected input source next to a keyboard icon) in the upper-right corner of the screen, then select the desired input source or keyboard layout.

If you don't see the input source you are looking for, move the pointer over Other Input Sources, then select the input source from the complete list that appears.


Which MacBook Air models use an SSD compatible with my mid-2013 11" A1465?

This web article gives everything you every wanted to know about Apple SSDs.
https://beetstech.com/blog/apple-proprietary-ssd-ultimate-guide-to-specs-and-upgrades
Your model came with an Apple "Generation 3" SSD, used in Mid-2013 to Late 2014 models*, with a 12+16 pin connector; but it can take the faster 'Generation 4' modules found in 2015 Macs. Gen 4 modules are identifiable by the code SSUBX.
( * The Mid-2015 iMac is a Gen 3 outlier.)
Note that there are now third-party modules, made by companies like OWC, which claim to be faster than the OEM parts.


How does an Apple device gets recognized as external storage on PC?

iPhone will present itself as a digital camera to a USB host so you can use camera software to import photos, such as iPhoto.


Can a connected Thunderbolt display be put to sleep while the MacBook Pro remains running?

SwitchResX lets you disable an unused display via a handy menubar item (bottom of page). This should cause your Thunderbolt Display to sleep.


iOS Minecraft app re-installation/re-purchase

The first thing to do is to confirm a couple things. Namely, you need to confirm:

you're logged into the same Apple ID account as you used when originally purchasing Minecraft, and
that you're trying to install the same version of the Minecraft game you previously purchased.

Let me clarify the second point. When I say 'same version' I don't mean the same version number, but the same game within the Minecraft franchise. In your screenshot you're showing Minecraft Pocket Edition. This is not the same as Minecraft.

Once you've confirmed the two points above, then take a look at Redownload apps, music, movies, TV shows, and books from the App Store, iTunes Store, and Apple Books on Apple's website.

If this doesn't help, then use Apple's Get Support option.

Another option is if you’ve got a prior version of it backed up somewhere (eg Time Machine etc), you could then install it via an appropriate version of iTunes or Apple Configurator (see this question). But, I really think Apple can sort it out for you. You’ll probably have to be patient though, it may take a few days especially at this time of year.


I cannot activate Setup Assistant Mac OS Catalina 10.15.1

You can use an exploit in macOS to re-run Setup Assistant. This will allow you to create a new administrator account, which you can then use to repair your real account.

Restart your Mac while holding down Command+ R. Release the keys when the Apple logo and a progress bar appear. This will boot Recovery Mode.
When the macOS Utilities window appears, select Disk Utility and continue.
Select your startup disk in the pane to the left and take note of its name. (It is usually named Macintosh HD).
  If the name is greyed out, or if you see the text "Not Mounted", click the Mount button. If requested, select your username and enter your password. Make sure that the startup disk is mounted before continuing.
Quit Disk Utility. The macOS utility window should appear.
Go to the top menu bar (where the Apple logo resides) and click on Utilities. Select Terminal from the drop-down menu.
Enter the following command, exactly as shown. Substitute "startup disk" with the actual name of your startup disk.

  rm '/Volumes/Macintosh HD/var/db/.AppleSetupDone'

The command line should return with no response. Restart your Mac and it will launch Setup Assistant. If your Mac has FileVault enabled, you'll need to log in after the restart.

You'll be prompted to create a new administrator account. Give it a separate name to easily distinguish it from your real account. When done, complete the rest of the Assistant. I have done this in Catalina and tested. It works perfectly.


Official steps to turn off Find My iPhone Activation Lock are documented by Apple at https://support.apple.com/en-us/HT201441

In a nutshell, the various ways to remove iCloud Activation Lock include:

Apple will remove the lock if they can verify the original purchaser is requesting the action.
Self-service removal if you can authenticate as the iCloud account that placed the lock on that device.
Business using DEP can often use their MDM to remove the lock as a self-service action without needing Apple to be involved.

For consumers, you will likely need to make an appointment at an Apple Store and provide the Genius on-hand proof of purchase (to show you're the authorized owner) along with proof of identity and they will reset Activation Lock, giving you access to the device.

For businesses, it depends if you are enrolled in DEP - Apple's Device Enrollment Program or just want to provide copies of the original purchase listing serial numbers to verify ownership.

If you bought the device second hand, stole it, found it or came to possess the device by some means other than buying it from Apple directly, then you will probably need the original owner to show proof of purchase, etc. They will then transfer the device to your account or simply disable Activation Lock.

The only self-service way to remove the lock if you can't type your password into the device itself is to authenticate at https://icloud.com and remove the activation lock when the device is not connected to the internet.


Super quiet audio recording in Quicktime 10.4 using Soundflower-2 on Yosemite

I'm not sure if you've tried this, but the more important one is the volume you have routed to soundflower. To achieve a similar volume coming out of your speakers and still getting a louder recording, you'll have to lower the output volume and raise soundflower's volume.

Also, I'm not sure about you but soundflowerbed works all right for me.


Big Sur "sleep" does not lock screen (when slept via keyboard shortcut)

Maybe the settings got corrupted when upgrading to Big Sur.

Open System Preferences -> Security & Privacy
In the General tab, disable/untick "Require password after sleep"
Quit System Preferences to have the changed settings written to disk
Open the same panel again and enable the setting
Quit System Preferences (and hope for the best)


Can Siri add some form of timestamp to a Note?

No, this is not currently possible using Siri. If on iOS 12 a Shortcut can be made by downloading the Shortcuts app from the App Store.

You can then make this Shortcut:

You can format the date and time as you wish. You can record a phrase for Siri to copy this to the clipboard. After this you’ll need to manually paste it in the note.

Images from https://discussions.apple.com/thread/250089354


MacOS 10.15.4 automatic eject sdcard when goes to sleep

Finally I found what my problem it is I open console.app and filter with /dev/disk2 and found out transcend helper eject my disk so I uninstall app and delete helper tools and then reboot.

Command to delete transcend helper tools:

sudo rm /Library/LaunchDaemons/com.transcend.TSSleepHandlerHelp.plist
sudo rm /Library/PrivilegedHelperTools/com.transcend.TSSleepHandlerHelp


make "fit to screen" default window size in Quicktime

QuickTime Player doesn't have a Preferences... menu command like other applications do, nor does it have a com.apple.quicktime.plist file to manipulate. Therefore there isn't anything you can do directly, however here is a workaround of sorts.

Note that this workaround requires changing the default application for file types, e.g. .mov, you'd normally open directly with QuickTime Player to the application created herein, called: QTP Fit to Screen.app

Using Automator create a new Application and add a Run Shell Script Action.

Change: Pass input: [to stdin] to [as argument]

Add the following code:

if [[ ! -z $1 ]]; then

    open -a "QuickTime Player" "$1"

    osascript -e 'tell application "QuickTime Player" to activate' \
              -e 'delay 1' \
              -e 'tell application "System Events" to keystroke "3" using command down' \
              -e 'tell application "QuickTime Player" to play front document'
fi

Save it as an Application named: QTP Fit to Screen

In order for QTP Fit to Screen to be the global default app for, e.g. .mov, files you'd open in QuickTime Player you'll have to use the Default Apps Preference Pane, RCDefaultApp by Rubicode to change which application opens a given Extension.

Install RCDefaultApp and then in System Preferences > Default Apps select the Extensions tab and scroll down to mov and then change the Default Application: to: QTP Fit to Screen

Now then you double-click .mov files in Finder or accessing them from Spotlight the QTP Fit to Screen application will open the target file in Quick Time Player, set View to Fit to Screen and start playing the file.

Note: If you do not want it to automatically start playing the file then remove the line of code, the one that has "play front document" in it.

If you need modify other default methods of file types, Apps, URLs, UTIs, etc. the Default Apps Preference Pane, RCDefaultApp by Rubicode, is a great utility for it.

To make the QTP Fit to Screen.app application bundle look better in the Applications folder you can copy and paste the QuickTime Player.app application icon from its Get Info sheet to the icon of the Get Info sheet for QTP Fit to Screen.app.

Note: I added the if statement to the code so the QTP Fit to Screen application doesn't error out when executed by itself.  In other words, double-clicking it will essentially do nothing, whereas without it will throw a couple of error messages.


Can I access my iCloud account even after resetting my phone?

Yes, the content on iCloud is separate from any particular device (except Backup) and can be accessed from a different device regardless of what happened to the original. You won't be able to access all your iCloud data without an iPhone or Mac though (e.g. Safari History and other app data).


How long have you left it at that point?  Another user reports the same issue, but they left it for another 15-20 minutes and then another message appeared highlighting a disk failure.

Try creating a bootable back up on an external drive ASAP and test it.  Then at your leisure investigate further, that is leaving it on the start up verbose message screen.

I personally would recommend using carbon copy cloner as it was quite useful, but super duper has a free mode that should work for you.


View hidden folders on MacOS Mojave? cmd+shift+. does not work

There are two types of hidden items (files or folders) on macOS:

Those which start with . whose hidden bit it set by default.
Those with no starting ., but chflags set to hidden. Run man chflags to see more info.

I clicked it and saw many folders in Library, but still didn't see any folders with . in front

Those folders are of the second type.

However, I cannot show my hidden folders.

Let's see if there's a problem with hidden files itself. In Terminal, run :
cd ~/Downloads
mkdir test_hidden && cd test_hidden
touch empty
touch .empty_h
open .

In this folder that opens, do you see files (dis)appearing if you toggle command+shift+. ?
Update: Restarting and running killall Finder helped.
For the .gitignore file, use ls -a command to list all items in a directory. If there is a .gitignore file there, you can run
open .gitgignore

to open it with default text editor. Or nano .gitignore. Or specify a text editor:

Can I open files in TextEdit from the Terminal in Mac OS X?


"All My Files" in Finder of Lion has stopped working

I suspect you are correct regarding Path Finder being the culprit :). Cocoatech's Path Finder Changelog lists this in it's most recent version (5.8.8):

  Fixed All Files search item in Lion and other saved searches.

Updating Path Finder should resolve this issue.


Download OS X App Store updates to update multiple Macs

There are two types of update.

OS X software updates are updates for the OS and OS components (e.g. iTunes). These used to be delivered through a separate software update app, but since the introduction of the Mac App Store, the OS X updates have been combined with Mac App Store updates in the Updates tab of the Mac App Store. However, the CLI tool remains, giving you more flexibility in Terminal and allow the downloading of updates without installing them, perfect for copying to other machines before the installation takes place.

You can download OS X updates without installing them (which would automatically remove them) so you can copy them, using the following command:

softwareupdate -dav

The 10.9.4 update is distributed externally, outside of the Mac App Store; the Mac App Store just provides the UI for the installation process.

Conversely, for Mac App Store apps, you need OS X Server's Caching service, as the apps are 'non-transferrable' and the app receipt must match the Apple ID that downloaded the app for the app to be updated in the future. However, if you're using the same Apple ID, or don't care about updating the app from the second machine, update the app normally then copy the .app bundle from /Applications to the other Macs as necessary.


This is commonly due to bugs in VirtualBox.

VirtualBox installs itself as a kernel extension directly into the lowest level of kernel software running on your Mac affecting stability of the system as a whole. This is why you need to enter an administrative user’s password in order to install VirtualBox.

To fix this, ensure that you have the latest software versions of VirtualBox, add-on packs and macOS installed. Double-check your virtual machine configuration for configuration errors (especially if you’re using PCIe pass-through or similar).

If this doesn’t solve your problem, I will advise using a different virtualization system such as VMware Fusion or Parallels Desktop.


Forward or redirect email with attachments using Apple Mail to another email address

Why not set up a server side rule using an exchange client? Webmail or outlook might work well and be included.


Can I run Spotify by pressing my F8 button instead of iTunes?

The simplest way to do this, is to set Spotify to Open at Login.
As long as iTunes is not opened, Spotify will get priority when you hit any of the special keys.

Alternatively you can install a little helper tool. Try these instructions from the Spotify Community Forum:

Download Bubo (https://github.com/jguice/mac-bt-headset-fix#beta-version) and move application to the Applications folder

Then go into your Mac System Preferences --> Users and Groups --> Login Items -->

Remove Itunes Helper
Add Bubo

Done!


How do I disable Image Capture (Yosemite) from automatically launching when I plug in my SD card?

First you need to eject your SD card. And then you should plug it back in. Once you do that, the IC will pop up. There is a small icon looks like ejection on the lower left corner (poor design, Apple), click the icon and it will pop out a menu, where you can choose "no application" for your SD card.

Unfortunately you have to do it with every single SD card of yours. Another poor design choice from Apple.


A1208 2006 Intel iMac Power Supply "Power Good" voltage?

Solved this on my own. For reference this is the information needed. The Power Supply is a 12V 15.5A Power Supply, with an Inverted Power Good Signal.
Logic Low (Or Floating) = Good, Logic High = Bad (I don't know what voltage level), tells the computer to shut itself down.

This forum post from 2013 had a similar issue (weak power supply).

Left to Right, when plugged into the DC/DC board (Part 820-1934).

12V (Grey)
12V (Grey)
Gnd (Black)
Gnd (Black)
PG [Power Good] (Gold or Brown, Varies)

The 6x2 connector on the DC/DC board goes out to the Logic Board and SATA Harddrive. All outputs look to be on when the connector is unplugged.

PG (Power Good, Direct from Power Supply Connector)
GND (To LB and HD)
12V (To LB and HD) Switchable with P_ON
GND (To LB and HD)
5V (To LB and HD) Switchable with P_ON
3.3V Switchable with P_ON
?P_ON/Power_ON?
12V Always On
12V Always On
5V Always On
GND
3.3V Always On

Pin 7 on the 6x2 connector that I labeled Power_On, Connects to transistor pair most likely controlling the IRF7424 P-Channel 10A mosfet. Logic Low (Or Floating) turns ON the DC/DC converter's Lower Outputs, Logic High (3.3V) disables it. The Motherboard pulls this High when the computer is OFF. The Harddrive Power is connected to the Lower Outputs.

The setup is fairly common. Some newer iMacs skip the DC/DC board and have that all built into the logic board, but still take 12V input.

I connected an old ATX power supply, with a 12V 7.5A rail, half the current of than the original. It's also out of spec (10V instead of 12V ±5%), so the hard drive wouldn't spin up. I left the Power_Good FLOATING. But the computer booted. Now that I know the majority of the iMac is working, I can order a replacement power supply without worrying about wasting my money.


To see if your Mac Pro4 has a wifi device installed, go to System Preferences > Network and see if Wi-Fi appears in the list of connection types:

If you do have a wifi device installed, you can turn on its menu bar icon by clicking this checkbox:


Migration Assistant move from Yosemite to Sierra: keyboard and trackpad behaviour different when using Microsoft Remote Desktop

It might be worth trying the latest RDC 8.2 beta from Technet :Remote Desktop Client Preview for Mac supports multiple monitors and more

Even though it is still a beta, it offers several significant improvements over the existing release version. I've been using it for months without seeing any real issues.

Key improvements

Multiple monitor support
Copy and Paste files using Cmd or Ctrl C/X/V
Direct connectivity to desktops as well as connectivity through a Remote Desktop Gateway
A new user interface together with a redesigned user accounts experience that includes unified management
High quality video and audio streaming
Import of .rdp files into the app and export of connections as .rdp files
New features like the ability to group desktops and to copy and paste images and files


How can I navigate to individual windows?

To switch between windows of the same application, use ⌘ + ~.

If you need a shortcut like the Windows' Alt+Tab that switches between all open windows, you can set one in your System Preferences -> Keyboard Shortcuts as shown below.

As you can see above, the default is Ctrl+F4, which actually means you need to press Ctrl+Fn+F4 because of the special meaning of the function keys. You could change it to any unused key combination, e.g. Alt+Tab itself.


How can I use Terminal to monitor a network interfaces total traffic in Mb

Sounds like nettop is what you're looking for.  Start it with the help parameter to see the options.

nettop -nc -m route seems to be the best overall traffic gauge but will need additional scripting to parse the output for you


iMac boots to blinking cursor after changing boot partition

It was the keyboard. For some reason using a PC keyboard wouldn't bring up the boot options when pressing the equivalent of the option key.


Although it is not possible to change for ALL documents, you can create a custom template that preserves the shortcuts for future documents based on that template.

Set your shortcuts in a new document, preferably one you already have formatted the way you like it.
Click File > Save as Template...
Save in Template chooser and name the Template.
Use this new template (Found under My Templates whenever you wish to use those particular shortcuts.

Of course, this will only preserve the shortcuts for that particular template and all documents based on it, not universally with other documents.


A feature of OS X Mountain Lion is the ability to run only signed applications - that is, applications from Apple's app store - out of the box.  This is a configurable setting, however, and can be changed in the settings screen you seem to have already uncovered.  If you set the "Allow applications downloaded from" option to "Anywhere", your Mac should run applications downloaded from the internet as well.

Do be aware of the security implications of this, and consider changing it only when necessary (and reverting the setting after you've installed the downloaded application which you trust).

For more information, and screen shots, see:
http://www.maclife.com/article/howtos/how_tweak_settings_gatekeeper_mountain_lion


Access Spotlight - either with cmd + spacebar or by clicking the magnifying icon on the right top corner of your screen
Search for Activity Monitor.
Select the far-right tab titled Network and you will find a description of all the network processes going on on your machine.

If there's a high network consumption process, you'll be able to spot it.


Yes, it also happened on my mac.

The file occurs everytime after I use Tencent Meeting, you can just delete it.


How can I convert video and audio files into iPod/iPad playable formats?

HandBrake used to be my go-to app for this task but lets face it: nightmare UI. Especially if you're a professed "non-technical guy".

The new wonder-in-a-box video convert is Smart Converter. Like HandBrake, it's free. Unlike HandBrake the UI is very non-threatening. Drop file, pick output format, go. Works for video and audio.


iPhone 3GS, ATT MicroCell, iOS 4.0.1, failure to connect

Try resetting your network settings. Many iPhone connectivity issues can be resolved with that.


No, Apple does not support app-dependent window scaling. The screen is scaled as a whole. That's why it works so well, compared to Windows' attempts at HiDPI.

Sadly, Apple does not provide options for setting typefaces and sizes for a considerable part of its UI.

Your best bet is to set the screen scaling to a value where everything is at a suitable size.


To force shutdown the iPhone 7 you need to hold volume down button and the sleep/wake button.


How can I triple boot MacOS Catalina , Ubuntu 18.04, and Windows 10

These instructions are for the latest Intel Macs which boot macOS from an APFS volume and EFI boot both Windows and Ubuntu.
If you need to install Ubuntu on a Mac with an internal PCIe-based SSD and/or T2 chip, then you should read japhwil's answer.

Note the following:

If your wireless mouse or keyboard will not work during the installation process, then I assume you have a wired replacement you can temporarily use.

Apple introduced the T2 Security Chip and Secure Boot starting with certain Macs in 2018. If your Mac includes the Apple T2 Security Chip, then you may have to modify the security settings in order to use the procedures given below. See the Apple website About Secure Boot for more information.

User therobyouknow has pointed out with the MacBook Pro Touch (15-inch, Late 2016), /dev/sda needs to be replaced by /dev/nvme0n1p in the instructions below.

Removing Boot Files from Previous Windows or Ubuntu Installation
If you removed a previous version of Windows or Ubuntu, then you may have files remaining in the EFI partition (disk0s1). The commands given below will remove these files.
sudo diskutil mount disk0s1
cd /Volumes/EFI/EFI
rm -r boot ubuntu windows
cd ~
diskutil unmount disk0s1

Note: If the boot ubuntu or windows directory (folder) does not exist, then expect to get an No such file or directory error message.

Installing Windows without Using the Boot Camp Assistant.

Note: If you can use the Boot Camp Assistant application to install Windows, I would suggest you do so. These instructions are mainly for those who have a special configuration which prohibits the use of the Boot Camp Assistant application to install Windows.

Use the Disk Utility application to erase a 16 GB or larger flash drive. Choose the ExFAT format and the Master Boot Record scheme.

Mount the Windows ISO file, the copy the files to the flash drive. The current Windows 10 ISO can be downloaded from the Microsoft website Download Windows 10 Disc Image (ISO File).

Copy the Windows Support Software designed for your Mac to the flash drive. The Windows Support Software can be downloaded by using the Boot Camp Assistant application. Select Action->Download Window Support Software from menu bar.
Below is the contents of Windows installation flash drive as viewed in the Finder application. The AutoUnattend.xml file and both the $WinPEDriver$ and BootCamp folders came from the Windows Support Software downloaded from Apple for an iMac (21.5-inch, Late 2013). The remaining files and folders were from the Win10_1909_English_x64.iso file downloaded from Microsoft.

Create free space to be used by Windows. In this example, 400 GB will be reserved for Windows on a 1.1 TB drive. Before allocating the free space, the output from the command diskutil list disk0 is shown below.
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.1 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         1.1 TB     disk0s2

To make 300 GB of free space available, the command shown below was used.
sudo diskutil apfs resizeContainer disk0s2 700G

The new output from the command diskutil list disk0 is shown below. Notice, the 300 GB block of free space created directly below disk0s2 is not shown.
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.1 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         700.0 GB   disk0s2

Restart the Mac and immediately hold down the option key until the Startup Manager icons appear. Choose the EFI Boot label below the flash drive icon.

When the image below appears, press the shift+F10 key combination.

The Command Prompt window shown below should appear.

Enter the following command to create the Windows partitions. There commands are based on the instructions found at the Microsoft website UEFI/GPT-based hard drive partitions.
diskpart
select disk 0
create partition msr size=16
create partition primary
shrink desired=800
format quick fs=ntfs label=BOOTCAMP
assign letter=w
create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
format quick fs=ntfs label=Recovery
gpt attributes=0x8000000000000001
list partition
exit

The output from the list partition command for this example is given below.
  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    System             200 MB    20 KB
  Partition 2    Unknown            651 GB   200 MB
  Partition 3    Reserved            16 MB   652 GB
  Partition 4    Primary            371 GB   652 GB
* Partition 5    Recovery           800 MB  1023 GB

Enter the command exit to close the Command Prompt window.

Proceed and finish the installation of Windows.

Note: If the Mac boots back to macOS before the installation of Windows completes, open the Startup Disk pane of the System Preferences application. After unlocking, highlight the icon labeled Windows and then click on the Restart button. The installation of Windows should proceed.

If after Windows finishes installing, the Windows Support Software does not automatically starting installing, run the Setup application in the BootCamp folder on the flash drive.

Installing Ubuntu

Download the latest Ubuntu installation ISO file from the Ubuntu Home Page. The file download and used in this answer was named ubuntu-18.04.3-desktop-amd64.iso.

Create free space to install Ubuntu. In this example, 300 GB of space will be reserved for Ubuntu. The output from diskutil list disk0 after install Windows is shown below.
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.1 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         700.0 GB   disk0s2
   3:         Microsoft Reserved                         16.8 MB    disk0s3
   4:       Microsoft Basic Data BOOTCAMP                398.4 GB   disk0s4
   5:           Windows Recovery                         838.9 MB   disk0s5

Note: In this example, the EFI partition (disk0s1) is 209.7 MB. Remember the size of the EFI partition on your drive. You will need this value in a later step.

The command given below will shrink the APFS by 300 GB.

Note: To be compatible with macOS, the entries in the Guid partition table (GPT) should occur in ascending order. To help insure this happens, dummy partitions need to be created when reserving the free space. Since the Ubuntu installer will be creating two new partitions, the command given below will create two dummy partitions.

sudo diskutil apfs resizeContainer disk0s2 400G exfat DUMMY1 200M exfat DUMMY2 200M

The dummy partition can arbitrary in size, since the partitions will be deleted later. The output from the command diskutil list disk0, after entering the above command, is given below.
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.1 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk2         400.0 GB   disk0s2
   3:       Microsoft Basic Data DUMMY1                  199.2 MB   disk0s8
   4:       Microsoft Basic Data DUMMY2                  199.2 MB   disk0s9
   5:         Microsoft Reserved                         16.8 MB    disk0s3
   6:       Microsoft Basic Data                         398.4 GB   disk0s4
   7:           Windows Recovery                         838.9 MB   disk0s5

Use Etcher to create a bootable Ubuntu flash drive installer, then boot from this flash drive. A tutorial can be found at the Ubuntu website Create a bootable USB stick on macOS.

When the menu below appears, select Try Ubuntu without installing.

When the Ubuntu desktop appears, press the control+option+T key combination to open a terminal window.

Temporarily rename the folders containing the Windows EFI boot files. This is done so certain files will not be overwritten when Ubuntu installs. Also, this will prevent Windows being added to the GRUB boot menu. Enter the following commands to rename the folders
sudo -i
mkdir efi
mount /dev/sda1 efi
mv efi/EFI efi/EFI.win
umount efi
rmdir efi
exit

Enter the command exit to close the terminal window, then double click on the icon labeled Install Ubuntu 18.04.3 LTS shown on the desktop. Proceed with install Ubuntu.

When the screen shown below appears, select "Install third-party software for graphics and Wi-Fi hardware and additional media formats", as shown below.

When the screen shown below appears, select "Something else", as shown below.

Delete the dummy partitions. Since the output from diskutil list disk0 showed the third and fourth partitions to be the dummies, the window below will identify these dummy partitions as devices /dev/sda3 and /dev/sda4. Highlight device /dev/sda3, then click on the - button to delete. Repeat for the /dev/sda4.

Highlight the 300 GB of free space, as shown below, then click on the + button to add a new partition.

In the popup window, select a size and a use as of EFI System Partition, as shown below. Here, 210 MB was used since the size of the original EFI partition was 209.7 MB. You should enter a value equal to the size of the original EFI partition on your drive rounded up to the nearest MB. Next, click on the OK button.

Highlight the remaining free space, as shown below, then click on the + button to add new partition.

In the popup window, select a mount point of /, as shown below. Let use as default to Ext4 journaling file system and do not change the size. Next, click on the OK button.

Since all the new partitions have been created, click on the Install Now button. When the screen show below appears, click on the Continue button. Proceed and install Ubuntu.

When Ubuntu finishes installing, the Mac will need to be restarted. If asked to remove the installation medium, then do so. When the Mac restarts, immediately hold down the option key until the Startup Manager icons appears. Next, hold down the control key while selecting the EFI Boot label under the internal drive icon. The Mac should boot Ubuntu.

From the Ubuntu desktop, press the control+option+T key combination to open a terminal window. Enter the following commands to move the Ubuntu EFI boot files to the new EFI partition and restore the Windows boot folder names.
sudo -i
mkdir efi
mount /dev/sda3 efi
mv /boot/efi/EFI efi
mv /boot/efi/EFI.win /boot/efi/EFI
umount efi
rmdir efi

Use the following command to label sda3 with EFI2.
fatlabel /dev/sda3 EFI2

Use the following command to get the UUID value for the old (sda1) and new (sda3) partitions (to be used in the next step).
blkid /dev/sda1 /dev/sda3

From the output, the UUID value for sda1 and sda3 was determined to be 02E4-255E and 2BCF-0C4E, respectively. In your case, the UUID values themselves will be specific to your machine. The given UUID values are as an example and will likely be different in your case, as would be expected. The next step shows what to do with the UUID values.

Change the UUID in the /etc/fstab file. Use the command nano /etc/fstab or some other command to open the /etc/fstab file in an editor. Replace the UUID for sda1 with the UUID for sda3. For this example, this would mean to replacing 02E4-255E with 2BCF-0C4E. Save the change and close the editor.

Make sure the drive is not using hybrid partitioning. This can be accomplished by entering the command given below.
gdisk /dev/sda

This command is interactive. The interactive commands you will need to enter when prompted by gdisk are given below.
x
n
w
y

Finally, enter the command exit twice to close the terminal window. Restart the Mac.

Adding an Ubuntu Icon and Label to the Startup Manager Menu (Optional)

Boot back to macOS.

Download a collection of icons from the sourceforge web
site Mac icns. Use the Finder application to open the
downloaded file mac-icns.dmg.

Open a Terminal application window and enter the command given below to mount the EFI partition (/dev/disk0s3) containing the Ubuntu boot files.
sudo diskutil mount disk0s3

Under Ubuntu, this is the /dev/sda3 partition. The volume stored in this partition was given the volume label EFI2 during one of the previous Ubuntu installation steps.

Enter the command below to copy the Ubuntu icon file os_ubuntu.icns to the EFI2 volume.
cp /Volumes/mac-icns/OSX10.11.6/os_ubuntu.icns /Volumes/EFI2/.VolumeIcon.icns

This will add the following Ubuntu icon to the Startup Menu.

Note: When finished, you can use the Finder application to eject the mac-icns volume.

Use the command shown below to change the label that will be shown below the Ubuntu icon on the Startup Manager menu.
bless --folder /Volumes/EFI2/EFI/BOOT --label "Ubuntu"

Use the Finder application or enter the command below to unmount
the EFI System partition labeled EFI2.
diskutil unmount disk0s3

References
About Secure Boot
About the Apple T2 Security Chip
Download Windows 10 Disc Image (ISO File)
UEFI/GPT-based hard drive partitions
Ubuntu Home Page
Create a bootable USB stick on macOS
Etcher Home Page
How to move EFI and boot partitions?
Installing Ubuntu on Mac with macOS and Windows already installed
Dual-Booting OS X or macOS with Linux without rEFInd
Mac icons


I solved it using this Docker container:
https://github.com/jpillora/docker-dnsmasq

Simply follow the instructions and add e.g. 127.0.0.1 app.dev and 127.0.0.1 api.dev to your /etc/hosts.

Then change the DNS on the macOS and iOS device to 192.168.178.64 (following the initial question).


Connection to shared network server sometimes stuck connecting, needs restart to fix

I was having the exact same issue. In my case, both my mac and my nas were configured for jumbo frames. My new switch, however, even thought it supports jumbo frames, did not have jumbo frame support turned on. Knocking the MTU on the mac back down to the standard 1500 MTU (under advanced settings, and the advanced tab in network system preferences) got everything working again.


How to stop CorruptPowerlog eating up my disk space?

PowerLog is malware
that displays pop-ups and unwanted advertisements that do not come from the websites you are browsing. These PowerLog ads are displayed as boxes with coupons, underlined keywords (in-text ads), pop-up ads, or advertising banners. Virustotal
PowerLog is usually bundled with other free software that you download from the Internet. Unfortunately, some free downloads do not adequately advertise that other software is being installed, and you may find that you installed PowerLog without your knowledge.
The PowerLog ads may have different text in the popup: "Powered by PowerLog", "Advertisements by PowerLog", "Brought to you by PowerLog", "Ads by PowerLog", or "Ads powered by PowerLog". These ads are designed to encourage the installation of additional questionable content, including web browser toolbars, optimization utilities, and other products, so that the PowerLog publisher can generate pay-per-click revenue.
Note: Once installed, PowerLog installs another app of this type called MacPerformance. This app forces browsers to open websites that offer updates for software with fake tools. You can see the PowerLog process in the Activity Monitor: It is displayed as "PowerLift".
When your device is infected with the PowerLog adware, the following symptoms are common:

Ads appear in places where they shouldn't be.

Your web browser's home page has mysteriously changed without your permission.

Web pages you normally visit do not display properly.

Website links direct you to websites other than those you expected.

Browser pop-ups will appear recommending fake updates or other software.

Other unwanted programs may be installed without your knowledge.

How to remove PowerLog adware
Go to the system settings.
Click Profiles.
The list contains the entry "AdminPrefs". Select this option and click the "-" button in the lower left corner.
Note: If there is no profile icon, no profiles are installed. This is normal.
Open "Finder" an click on "Applications". Find and remove the PowerLog app. Also look for MPlayerX, NicePlayer, or any other suspicious application and drag it to the Trash. After removing the potentially unwanted applications that are causing online ads, scan your Mac for any remaining unwanted components
Avoid launchd trying to start this program again. Delete the associated files from the following paths
/Library/LaunchAgents

~/Library/LaunchAgents

/Library/LaunchDaemons

Look for recently added suspicious files in the LaunchAgents folder and move them to the Trash. Examples of files generated by adware - "installmac.AppRemoval.plist", "myppes.download.plist", "mykotlerino.ltvbit.plist", "kuklorest.update.plist", etc. Adware typically installs multiple files with the same string.
Look for recently added suspicious files in the LaunchDaemons folder. For example "com.aoudad.net-Settings.plist", "com.myppes.net-Settings.plist", "com.kuklorest.net-Settings.plist", "com.avickUpd.plist" and delete it.
Check for adware-generated files in the (~)/Library/Application\ Support folder. Also, look for recently added suspicious folders in the Application Support folder. For example "MplayerX" or "NicePlayer" and move these folders to the trash.
Last uninstall the PowerLog extension from Safari, Chrome, or Firefox.
But you can also use Malwarebytes or Combo Cleaner. They can also remove it.


IPhone 5 enquiry, all help gratefully received!

Rather than provide a link offsite, the short answer is yes.

Turn off find my iPhone and then go to settings > general > reset and tap the one that erases all content and settings. You will then (after a reboot) have an (effectively) factory fresh iPhone suitable for selling to a stranger or giving to a small child.

The SIM is not affected, and it will retain it's phone number and wireless plan if any.


Add shortcut for multiple terminal commands?

The following AppleScript should work, which you can save as an application and put in your Finder toolbar.

tell application "Finder"
    try
        set folderPath to (quoted form of POSIX path of (target of front window as alias))
        tell application "Terminal"
            do script "cd " & folderPath & "; mate .; python -m SimpleHTTPServer"
        end tell
    end try
end tell


External Display Won't stay asleep: stuck in sleep / wake loop

I am having the same problem with this HP monitor connected to a Mac Pro.  My only solution was to connect via HDMI cable instead of the Thunderbolt/DVI cable.  That works.


Keyboard Shortcut For Replacing File Within Finder?

This little AppleScript will take a screen shot and overwrite whatever file you currently have selected in Finder.

    # Check that precisely one file is selected
    set F to the selection of application "Finder" as list
    if (count F) ≠ 1 then return beep

    set F to F's first item as alias

    # Perform a screengrab straight to the clipboard
    # then overwrite the file above with the image
    # data from the clipboard

    do shell script "screencapture -c"
    set screenshot to the clipboard as JPEG picture

    write screenshot to (F as alias)

It doesn't move, copy, or delete; simply overwrites it.  So, bear in mind, this means the created date will remain the same, which potentially could see you generating a new screen shot writing it to an image file created two years ago.  (The modified date gets updated as you would expect.)

As someone suggested, this sort of thing would work well as a service in Finder, to which you could assign a shortcut.

I went about creating one:

The script is very similar to one above (and appended to the bottom of this answer in a code block for you to copy/paste).  It has some error handling and notifications thrown in, given that this is going to be a service and it's good to make it a robust one.  It also doesn't take any screen shot of its own accord, as a screen shot taken when the service is activated would necessarily have Finder in focus, which might not be the screen shot you want.

Therefore, this service assumes that you have taken the screenshot yourself already, and its lying in wait on the clipboard.  Finder already has shortcuts that allow screenshots to be sent straight to the clipboard, so there's no need to do anything extra.

I saved the service as one called Replace Image File, as you'll notice the input is specifically image files in Finder.  Therefore, the service won't be accidentally triggered if, say, an application file were selected.

It now turns up in the pop-up context menu whenever I right-click on an image in Finder:

Next, I went into System Preferences to assign a keyboard shortcut:

This shortcut shows up in the Finder menu under Services:

I chose ⌃⇧⌘R because it's reasonably difficult to press accidentally, but it's pretty adjacent to the default shortcuts for sending a screenshot straight to clipboard, namely ⌃⇧⌘3 and ⌃⇧⌘4, meaning the physical manoeuvre between taking a screenshot and triggering the service a convenient one to make.

Happy to say that, in testing, it worked splendidly, so I may just keep it for myself as I can see it being fairly useful.

Finally, here's the code block for the Automator service workflow:

    on run {input, parameters}

        # Make sure precisely one file is passed to the service
        # Otherwise terminate with a beep
        if (count input) is not 1 then return beep

        # Error catching in the event that the clipboard
        # does not contain image data
        try
            set ImageData to the clipboard as JPEG picture
        on error errMsg number errNo
            # Terminate script with a notification
            return display notification ¬
                "No image content found.  Unable to proceed." with title ¬
                "Replace Image File" subtitle ¬
                "Error: clipboard content is the wrong data type"
        end try

        # If the script reaches this point, all must be
        # well so we can try and overwrite the input file
        try
            write ImageData to input
        on error errMsg number errNo
            return display notification ¬
                "Unsuccessful overwriting." with title ¬
                "Replace Image File" subtitle ¬
                ("Error " & errNo as text) & ": " & errMsg
        end try

    end run


How do I reveal a file that I have the path for in the Terminal in Finder? I don't think that open will work for this.

From man open:
-R  Reveals the file(s) in the Finder instead of opening them.

So, open -R /path/to/a/file.ext will reveal your file in the Finder...

Specifically I want to be able to fzf for a file and then pop it in Finder.

In its most basic usage the following will reveal in Finder the file selected from the execution of "$(fzf)":
open -R "$(fzf)"

The following fzf key bindings will map ctrl-r to reveal the file in the Finder and ctrl-space to a QuickLook of the file:
fzf --bind 'ctrl-r:execute(open -R {}),ctrl-space:execute-silent(qlmanage -p {})'


Getting Automator to work with aliases vs. symbolic links on SMB shares

1) The easy answer is that aliases are symbolic links, but ONLY for the Finder. Other applications don't generally use them as such, whereas symlinks act as aliases for the Finder as well but also act as symlinks for any Application. Aliases are actually MUCH better than symlinks for Finder-type uses as then don't break, and you can do things like, for example make an alias to a file inside of a disk image -- if the disk image isn't mounted when you click the alias, FInder will mount the disk image, then open that file.

2) Here is a video that shows you how to create symlinks with automator.

2a) There are also a number of Automator addons that you can use that are made for creating symlinks/


decrypt external hard drive mac os catalina

What file system is your external drive?
I have an external APFS volume and there is the 'Decrypt' option in finder so I am guessing that feature is fs-dependent.


Backups not available in Time Machine, but visible in disk's backupdb folder

My oh my. I started playing around with tmutil and it looks like somehow, my entire home directory was added to the exclusion list. I have no idea how it happened but glad to have noticed it now rather than later.


I tried many different approaches but none of them worked, had to erase & sync


Defining environment variables with launchd/launchctl

For the sake of clarity, I will refer to this solution as the static solution, the second solution as the dynamic solution,
and finally this one as the launch agent solution. I am going to compare the static and dynamic solution with the launch agent one, respectively.

The static solution involves the editing of /etc/launchd.conf. This has the advantage, as with the launch agent solution, that the variables are set right at the login. Disadvantages are that

the variables are defined for all users. The launch agent solution lets each user decide for himself. If one wants to define variables for all users with the launch agent solution, the shell script can be amended with a loop (and another file),
the definition of the variables in /etc/launchd.conf does not allow for things like variable substitution and such stuff (at least that is my guess, maybe it is feasible),
obviously, you need access to /etc/launchd.conf to pull the static solution off, with the other one you can put all files at accessible places, e.g. the launch agent in ~/Library/LaunchAgents/,
the variables are not available immediately after editing the file, as with the launch agent solution (but see below).

The dynamic solution is similar to the launch agent solution. Its disadvantage is that the variables are not available right after login, you first need to (re-)define them. To combine the dynamic solution with the other, imagine you wanted to set the variable FOO to the content of the variable BAR. You would fire up a shell, say the bash, and type

launchctl setenv FOO "$BAR"
echo 'setenv FOO $BAR' >> ~/.conf.launchd

Then FOO would be available in all applications started after this definition, and would also be defined right after the next login.


How can I disable the "Welcome, Name!" banner notification for Game Center?

That login banner is a provided aspect of the Game Center API in the iOS SDKs,  as far as I'm aware there is no way as a developer to disable it from opening when the Game Center login completes. As a user, there is certainly no way to disable it, because it is part of the application's compiled source code.

However, note that it's not the banner that is causing the delays and skips. It is actually the entire login process to Game Center. My only advice is when you open a game that has Game Center logins, open it up to the first functional screen, and just wait the ~5-10 seconds it takes to reveal the Game Center banner. After the banner has displayed and disappeared, proceed normally and you should not be affected any further.


How to boot into Sierra USB installer without Startup Manager?

I'm assuming that holding down the option key when starting up does not show the boot drive selector displaying at least your internal drive. If this is the case then there is another bootloader getting in the way.

Your next step should be to reset the NVRAM. You can find instructions here.


I have a strange 'binoculars' icon in my menu bar that disappears when I log in

The binoculars icon may be present after ending a screen sharing session using tools like Google Meet or Slack, if those tools do not correctly shut down the screen recording functionality.

To eliminate the binoculars icon, just quit Slack and Google Meet. Restarting the computer should also work to make the icon go away.

Source: Reddit.com


Yes, Apple provides a Software (including the drivers) to install Windows a Macs: Bootcamp

Apple's EULA doesn't allow installing OS X on non Apple hardware. Although, some people have already done this (they call this Hackintosh) but it's tricky and you'll never have a fully functioning system (there are always bugs somewhere).


How can I view the raw XML of an RSS feed in Safari (or Reeder)?

Here’s a Safari extension to view the raw XML data: https://github.com/sergeche/xmlview#readme

There’s an online demo, too: http://media.chikuyonok.ru/xmlview/ This works in Firefox, Chrome, and Safari.

Edit: Sadly, this extension doesn’t work in Safari 5.1. There’s an issue for that here: https://github.com/sergeche/xmlview/issues/16

Alternatively, you could always open Terminal.app and just use curl to view the raw RSS/XML contents:

curl "http://example.org/some-feed.rss"


How can I set oh my zsh to be my default shell?

Oh My Zsh isn’t a shell.  It’s a set of ZSH shell customizations like creating a colorful and grphical prompt or autocompletion and even file selection.
If you have to run zsh to get the cusomizations, then you’re not in the ZSH shell; likely you’re in Bash.  You can check your current shell with the commands
$ echo $SHELL

or

$ echo $0

What you need to do is change your default shell.  You can do this in Terminal; issue the command:
$ chsh -s /bin/zsh

You can also do this via the GUI by going to System Preferences > Users & Groups Then, while holding Control click on the user you want to edit and click on Advanced Options.  In the “Login Shell” field, select the shell you want to use - /bin/zsh for for the ZSH shell.

A piece of friendly advice...  Oh My Zsh is a fun, colorful, and even productive add-on for Zsh that makes lots of changes and adds lots of scripts and functions to your Zsh environment.  I don’t recommend this for novices.  It’s always better to gain some experience in the shell environment and see how things work before installing things like this.


After the iOS 7 update the weather app has changed my suburbs

The effect is in Mac OS X's Dashboard weather widget, and iOS 5 weather app as well. All Australian suburb data appears to have been removed, and redirected to the encompassing city.

Since both are sourcing from Yahoo, it would be safe to assume either Apple is no longer getting the data, or Yahoo has stopped providing it - I'd speculate that perhaps the bureau of meteorology has changed their terms for access to the data.

Kindof makes the iOS "Local weather" option useless.


I've been having this exact problem all day and think I just found the solution too it.

I too thought that the problem was being caused by Terminal but I think it's just Application Manager acting up. For whatever reason Application Manager kept opening along with Terminal, only with no indication that it was open. Try quitting Application Manager and see if that works.

I know most of the people have this same issue also have Pro Tools so it could just be something stupid Application Manager is doing. Hope it works for you or get you on the phone with ProTools support to help fix the cofiguration or bug in that app/suite that is opening the terminal app.


Xcode environment not dark in Mojave beta's dark mode

For Dark Mode to work, I needed Xcode 10 beta. Thanks to user128998 for helping me out!


macOS Utilities doesn't recognize internal ssd (but normal usage is working fine)

If my suspicion is correct, your Mac boots to an older version of macOS Recovery and Disk Utility of that older version doesn't know APFS, so it just hides the partition.
First, make sure that View → Show All Devices is selected in Disk Utility. With this enabled, all drives should be visible – regardless if Disk Utility knows how to handle the filesystem. This should at least allow you to format the drive.
You may also try Internet Recovery. If you're starting your Mac with the keys ⌥⌘R held down until the Apple logo, it should boot into the latest macOS Recovery compatible with your Mac. From there, you should see all partitions and be able to reinstall the most recent compatible version of macOS.


Where is the air inlet on a Mac mini (2018) for the cooling fan?

The air inlet on the Mac Mini (2018) is located on the bottom. If you look closely at the circular plastic disc, you'll see that there's a gap between that and the metal part of the computer. This is the air inlet!

The electromagnetic shielding beneath the plastic disc is perforated, allowing air to move. As shown on iFixit:


How do i get project files back into imovie?

Once you find the specific folder/file location of the project files, use the Import tool to add those files to a new event.