How to automate Voice Control to manipulate the currently selected text? Because I have limited use of my hands, I use Voice Control to dictate most of my text. (I'm using it to speak this question.) Voice Control offers the ability to add custom commands, including those that will run an Automator workflow. Automator, in turn, can execute arbitrary JavaScript or AppleScript. (I prefer JavaScript). What I want to do is to create a script that takes the currently selected text in whatever application is active, manipulates it, and then replaces the selected text in place. For example, imagine creating a "hyphenate this" command that converts selected text like this—"Mac Voice Control scripting"—and changes it to this—"Mac-Voice-Control-scripting". Writing the JavaScript or AppleScript to transform the string is the easy part. The problem is how to get the currently selected text for the current application, whatever it may be.
In Automator, you can create a "Quick Action" workflow that is supposed to pass the currently selected text and enable you to replace it. In practice, however, in Big Sur (at least) I could not get this workflow to receive text from any application. Given a standard run() function, the input array was always of length 0.
How do I create a workflow that may be executed by a custom command in voice control that receives, processes, and replaces the currently selected text in the current application?

Sorry I have zero knowledge of JavaScript but I do have somewhat of a solution for you using only AppleScript without the need for Automator.
This following AppleScript code will take the selected text in any application, replace the spaces with hyphens then will replace your original selected text with the new hyphenated text.
-- Copies Selected Text To The Clipboard
tell application "System Events" to keystroke "c" using {command down}
delay 0.1

-- Uses The Text From The Clipboard And Replaces Space Characters With A Hyphen
set hyphenatedText to hyphenateText(the clipboard, " ", "-")
delay 0.1

-- Inserts The New Hyphenated Text Replacing The Original Selected Text
tell application "System Events" to keystroke hyphenatedText

(*
someText is the selected text containing the characters to be replaced
replaceTheseListItems are characters from original text which you want replaced
replacementListItems replacement text characters
*)
on hyphenateText(someText, replaceTheseListItems, replacementListItems)
    set originalText to someText
    set AppleScript's text item delimiters to replaceTheseListItems
    set tempText to text items of originalText
    set text item delimiters to replacementListItems
    set cleanedText to tempText as text
end hyphenateText

Save the AppleScript code as a .scpt file (Hyphenate Selected Text.scpt). Then open Finder and select your new script file.  Once the file is selected, and with voice control activated, simply say the command “Make This Speakable”.  When the new dictation command dialog box opens, Assign it a new voice command

For demonstration purposes I added this script file to the script menu and ran it from there


Can my Mac save photos from iCloud Photo Library, but not upload to it? Usually I take photos with my iPhone. On my Mac I have a more extensive photo library, and the masters are referenced from an external hard drive.

iCloud Photo Library is enabled on my iPhone, but not my Mac, because I don't want all of the full-resolution DSLR photos on my Mac to fill up my iCloud space. However, now when I take photos with my iPhone, it seems the Mac doesn't download them because iCloud Photo Library is off.

Can I somehow instruct my Mac to download photos & videos from iCloud, but not upload to it? (I see that Photo Stream is a separate option, but I believe it doesn't support videos. It might work to simply not open Photos while my external drive with the large library is connected, so it doesn't upload them, but continues to download in the background — but I'm not really sure that will work.)

Photos on the Mac can have two libraries. You could declare a new library as the "system" library that syncs with iCloud to get a downloaded copy of those images. That is the best you can do if you don't want all the Mac photos to upload to iCloud (short of using another program than Photos app).

If that meets your needs, you could hold option (alt) when you start the app to create a new library and/or switch between libraries. As you correctly observe, everything in the system identified library syncs up to iCloud. This syncing happens both ways in the background whether photos app is running or not.

I don't recommend two libraries in Photos for most people - multiple libraries sounds good to many, many people and after a while, the majority of them regret making two (or more) libraries. You could be the exception, but I'd consider trying to make one library work for you if at all possible. I'm quite pleased with letting iOS and my MacBook compress images as needed and my Mac Pro keep full size versions of everything. A 150 GB library takes about half that space on my devices that have less than 300 GB of storage and I've never once missed the quality of an image.


Timemachine - Turn off "No Backup for X Days" for secondary Disk On my MacBook Air I use TimeMachine with two USB-Disks. (Latest El Capitan)

My primary disk is located at my house, the secondary at my parent's house.

As I am not always at my parents, this "No Backup for X Days" pops up daily:

Does anybody know a way, how I can disable the notification for the secondary disk while leaving the notification for the primary disk?

Thanks

Since the backup volume is offsite, you can simply remove it from the list in Time Machine settings whilst it's away from home. When you add it back, Time Machine will pick up the existing backup. That's what I always do myself.

As for performance, the first backup after adding the volume back has a longer preparation step (presumably for computing the diffs) but that also happens anyway after a few weeks when Time Machine stops maintaining the diffs as changes on the file system occur in real time.


Can't pair JBL Flip 3 to MacBook Pro 13" running macOS 10.12.5 My JBL Flip 3 won't connect to my 13" MacBook Pro running macOS Sierra 10.12.5.

Here's what I do:

I open my Bluetooth preferences on my MBP and power up the Flip 3 into pairing mode (power light changes to flashing blue). My MBP sees the "JBL Flip 3" and displays a Pair button. I click on this and "connecting..." displays.

However, a spinning wheel appears to the right and spins forever and the Flip 3 power light continues to flash.

Nothing else is listed in the MBP Bluetooth list. Nothing else is paired to the Flip 3. I've tried all kinds of combinations with no success.

What else can I try?

First of all I would check with JBL Support for any known issues, updates, compatibility, etc.

On the MBP side of things you could try resetting both the macOS Bluetooth Device List and Bluetooth Controller and pairing your JBL Flip 3 first. However, this will reset all connected Bluetooth devices, including a keyboard and mouse.

In other words, this will remove all existing pairing information for Bluetooth devices, so each will need to be reconnected.

I have some steps you can follow, but I strongly suggest you read all of the steps first before commencing (or perhaps print out the instructions / view them on another device).

Before starting, ensure you have the Bluetooth icon showing in the menu bar. If it is not there, open System Preferences > Bluetooth and enable the option Show Bluetooth in Menu Bar.

Once done, follow these steps:

Hold down both the Shift and Option keys and at the same time click on the Bluetooth icon in the menu bar. Once the menu is showing, release the keys.
From the Bluetooth menu, choose Debug > Remove All Devices
Hold down both the Shift and Option keys again and at the same time click on the Bluetooth icon in the menu bar.
From the Bluetooth menu,  choose Debug > Reset the Bluetooth Module
Shutdown your Mac
Ensure your JBL Flip 3 is fully powered off
Restart your Mac
On your Mac, click on the Bluetooth icon in the menu bar
Select the Set Up Bluetooth Device option
Now ensure your JBL Flip 3 is in pairing mode (i.e. press the power button for at least 3 seconds until you see the blue flashing light)
Once the Setup Assistant finds the Flip 3, select it from the list and click on “Continue”.
Now pair your speaker
If you have any other Bluetooth devices, you can go ahead and pair them now (or you can do it later). However, the point is to pair the JBL Flip 3 first before any other Bluetooth devices!


Is there a way to spellcheck the word under the cursor with a keyboard shortcut? Basically, is there any way to trigger the native OS X spellcheck context menu using a keyboard shortcut. I know the command keys ⌘+: activates spellcheck, but what I'm trying to do is get the result of a right-click without taking my hands off the keyboard. Is there an OS X equivalent to emacs' flyspell-correct-word-before-point command.

If you're on Lion, you can turn on iOS-style spelling corrections in System Preferences under Language and Text. I don't always have luck noticing or reacting to these corrections while typing, but moving back over the misspelled word with your cursor will bring up the iOS-style popup and you can select the correct spelling with the down arrow and Return.

A similar question was asked on superuser, see Keyboard Shortcut to Right Click. To paraphrase that answer here:

Use Cmd : to activate spellcheck
Focus the floating window with Ctrl F6. (You need "Full Keyboard Access" shortcuts enabled in System Preferences. And unfortunately for me while typing this, Ctrl F6 is already used by the Stack Exchange editor.)
Use Tab and Arrows to navigate and select the right spelling
Use Escape to dismiss the floating window

You can also "Activate Mouse Keys", but I find that solution unsatisfying.


Mail won't let me turn off SSL for SMTP I just upgraded from Lion to Mountain Lion. I have eight email accounts set up in Mail.app. Some of my SMTP servers support SSL and some don't. But now Mail.app turned SSL on for every server (except the one using a custom port) and it won't let me turn it off. When I uncheck "Use Secure Sockets Layer" in the Advanced settings, it just automatically rechecks itself. How can I get it to go off and stay off?

I figured out a workaround. I took the clue from my account that uses a custom port. For the accounts in which SSL doesn't work, I checked "Use custom port" and tried each of the standard port numbers until I found one that worked. With the custom port selected I can successfully disable SSL.


Clicking on an app icon in dock opens the oldest instance (window) rather than the latest I have a few pdf viewer windows (instances) minimized in the dock. When I click on the viewer icon I want to open the one I used last. (Sometimes I minimize a window just for a second to do some quick action on some other app). However, clicking on a deck icon never opens the latest instance. Instead it always opens the first instance, (something which I didn't look at in hours), which just doesn't make sense. How can I change that?

The same problem appears to multiple instances in other apps.

If you minimise a window but have another window from the app still open, clicking on the Dock icon brings the older window to the front because that's the one that's open. If you want the minimised window, click the minimised window in the Dock, not the app icon.


Display IP address in an Automator alert I am running an Automator script to launch SFTP on my Mac when double-clicked. Here’s the script:

do shell script "sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist" with administrator privileges
tell app "Finder" to display alert "SFTP Opened and your IP address is"

The alert displayed is:

  SFTP Opened and your IP address is

As you can see, the alert message is incomplete because I don’t know how to retrieve the IP address of my system to pass through as a variable in the second line of my code. Any workaround? Please don’t suggest any external tools. And please don’t suggest using Automator’s System variable “IP address” with a separate “Ask for Confirmation” box because I want the IP to be displayed as a part of my existing message in the alert that I am already showing.

You can set a variable containing your IPv4, then append the contents of the variable to the contents of the alert message:

set ipaddress to IPv4 address of (get system info)
tell app "Finder" to display alert "SFTP opened and your IP address is " & ipaddress


Do root actions as non root in Mavericks? Why does this work as (not) expected?

touch filename
chown root filename
sudo chmod 700 filename
rm filename

I get asked if I want to delete the file an then!?!? The file gets really deleted! How on earth? Everybody that sits in front of my pc could easily mess up my system. I know it will rarely happen but, this is a nightmare.

rm -rf /

Permissions to remove a file from a directory are not related to the file, but to the directory the file is in.  Your group, or everyone, has write permissions on the directory where you are able to delete the file.

In the example below, there is a file which only root can read/write; but, user "administrator" owns the directory, and has rwx permissions.  Another user ("my_user") is unable to remove the file, but "administrator" can.

sh-3.2# ls -lFa
total 0
drwxr-xr-x   3 administrator  wheel  102 Jan 28 11:12 ./
drwxrwxrwt  18 root           wheel  612 Jan 28 11:12 ../
-rw-------   1 root           wheel    0 Jan 28 11:12 a.txt
sh-3.2# su my_user
bash-3.2$ rm a.txt
override rw-------  root/wheel for a.txt? y
rm: a.txt: Permission denied
bash-3.2$ exit
exit
sh-3.2# su administrator
bash-3.2$ rm a.txt
override rw-------  root/wheel for a.txt? y
bash-3.2$


How to Remove iOS dev/IDE/... from Xcode? I need space in my SSD. I just need terminal tools in OS X El-capitan, not the Xcode IDE, not iOS, ... The space 10.49 Gb is just too much in my 60 GB disk partition. These PATHs do not work anymore so I cannot delete them

~/Library/Developer/Xcode/iOS DeviceSupport/
~/Library/Application Support/iPhone Simulator
...

How can you remove iOS/IDE/... from Xcode?

Delete the Xcode app from /Applications, then delete ~/Library/Developer/Xcode.

You can then install the command line tools separately, by downloading them from Apple's Developer Downloads page (you'll need to log in with your Apple ID). The proper package is listed as "Command Line Tools (OS X version) for Xcode version". Obviously grab the one that applies to your current version of OS X.


Major difference between High Sierra and Mojave I have a MacBook Pro (2017) that have macOS High Sierra installed. Since Apple is going to release macOS Big Sur soon, the support (updates) for macOS High Sierra will end soon. What are the major difference between macOS High Sierra and macOS Mojave?
More specifically, what (major) bugs are introduced? What (major) bugs are fixed?

Some of the major news in Mojave are:

Dark mode
Home app
News app
Stocks app
Voice Memo app
New screenshot utility
Group FaceTime
Desktop stacks
Finder Quick Actions
Continuity Camera
Privacy enhancements
Warnings when running 32-bit apps

It is not my impression that macOS Mojave brings along major bugs that haunt most of its users.


Is there a script for downloading videos from YouTube utilising only Wget or curl on iPhone? I'm looking for a script that does not utilise youtube-dl and instead Wget or curl (coupled with things like sed and other base UNIX utilities that I wouldn't need to install, like no perl).

I'm asking for such a hassle of a job, as my iPhone running iOS 9 can't run utilities like Python or youtube-dl because of architecture issues.

No, there is not, because YouTube is desperate to prevent people from downloading their videos, and if it was that easy, too many people would do it.

youtube-dl has to be regularly updated to deal with the changes that YouTube and other sites implement to keep people from downloading videos.


Trying to boot El Capitan, High Sierra, and Win7 UPDATE:
Thank you for your responses and helpful ideas! I was able to fix the Mac-related issues by upgrading to Sierra - not High Sierra - which can support both Logic Pro 9 and Logic Pro X 10.4 concurrently. This is not stated at all on Apple's site.
At any rate, I was able to now only need a Mac partition and a Windows partition. I have had some other catastrophes to deal with in the meantime, so I have not had the time to fix the Windows side of things yet. I will report back when I do!

I'm going to try to run down this issue as succinctly as possible, but bear with me; it's convoluted.

Last year my main 1TB HDD in my mid-2010 Mac Pro showed signs of failure. I proactively bought a new 2TB SSHD, made an image of my El Capitan Mac partition, and did the same with my Boot Camp Windows 7 partition. I formatted and partitioned the new drive appropriately and restored those images onto the new drive.
MacOS worked great, but the Bootcamp partition refused to boot, no matter what I tried. However, I could still boot into Windows from the old drive just fine, so I left it in the machine. I ended up using a Windows program to repartition that drive into its own Windows drive, using the entire 1TB.
I left the Bootcamp partition intact on my new drive in case I figured out how to fix it.

Another weird quirk of this configuration is that when I am booted into OS X, I can't see my Windows drive at all. It shows up in Disk Utility but is completely unreadable. However, when I am in Windows, I can see all my Mac drives as normal.

Fast forward to yesterday. I am a music producer and game composer, and the project that I'm working on would really benefit from me upgrading to the latest Logic Pro X from my current Logic Pro 9.
Logic Pro X 10.4 requires High Sierra.
Logic Pro 9 does not work in High Sierra.
I need both for backwards compatibility reasons; Logic Pro X ditched the 32-bit bridge, and I still have many projects in progress that use 32-bit plugins.
I need both. So I just finally ditched that Bootcamp partition that didn't work, cloned my MacOS partition, booted into the cloned partition, upgraded to High Sierra there, got the new Logic working.......

And now I can't boot into Windows.
It's on a separate hard drive! I thought this would circumvent the 4 partition limit.

To clarify and summarize this issue, my main hard drive now contains two partitions; one for El Capitan, and one for High Sierra. I have a separate HDD that contains Windows 7 which was originally set up via Boot Camp Assistant, but went through the aforementioned changes.
I need to be able to boot my Mac Pro into any of these three OS'es at any given time.

What in the world can I do? Can I finally have some peace and harmony in my computing life for once? Has anyone encountered anything quite like this? I'm pretty frustrated.

Generally, when you move Windows, you have to rebuild the BCD file.

Windows generally looks at the contents of a partition in order to determine the partition type. The macOS operating system relies on the type information stored in  the respective partition table. So it is possible Windows could boot even though the partition types are wrong. On the other hand, macOS would not not be able to read the same incorrectly typed partitions.

Each of your drives have two types of partition tables. Windows 7 uses the legacy MBR partition table and macOS uses the Guid Partition Table (GPT). So it is possible for one operating system to see the partitioning differently than the other operating system.

Fast forward to yesterday. High Sierra has a tendency to reset MBR partition tables to what is referred to as a full protective MBR (PMBR). I layman terms, High Sierra may have erased Windows 7. Normally, this is an easily recoverable event, but I this many not be true in your case. To determine the damage, one would first have some detailed information about your current partitioning.

I am not familiar the Mac Pro model, so I may get some of these commands wrong. None of the commands alter your Mac. The commands just provide information about the partitioning and volume formats. Edit your question and add the output from these commands. If necessary precede a command with sudo.

diskutil  list
sudo  gpt  -r  show  /dev/disk1
sudo  fdisk  /dev/disk1

I believe you have to boot to macOS Recovery to execute these next commands.

gpt  -r  show  /dev/disk0
fdisk  /dev/disk0


How to choose a application without using the mouse in Lion Mission Control? While using Mission Control and pressing Control ⌃+↑, I get the tiled view of all the applications in that particular desktop. Is there a keyboard shortcut to choose an application in this view?

No.  I haven't found any, but that's not surprising.  Mission Control was provided for mouse / touch interaction.  Have you tried using Command ⌘+Tab for app switching and Command ⌘+`for window switching?

They are much more efficient if you're interested in keeping your hands on the keys.


iPhone asks for iCloud password on power charge Whenever I plug my iPhone to charge it, iCloud asks me to re-enter my password. How can I fix this?

I'm using iOS 11.4.

Resetting the settings has solved the problem.


iPhone 6 iOS 9 how to fix blank screen - no apps visible I'm running into a weird issue over the last couple days where I can't see any content on the iOS "App Store" when viewed on the device. Blank screen is visible. It seems that I can still update apps, and the updates screen has updates available.

How can I fix the "blank screen" problem with the Apple iOS App store?

THere's no spinner visible and the app can just sit there with no content refreshing.

See screenshot:

Tap on any one of the toolbar buttons (Featured, Search, Updates, etc.) on the bottom of the screen rapidly 10 times. It sounds counter-intuitive, but it will refresh the App Store and should solve your problem.


Block Specific Apps on macOS Is there a way to block a list of specific apps on macOS?

I have looked up solutions such as Cisdem, but there are some holes in the way it works that I don't like.

Unless you also block Activity Monitor, Terminal, and System Preferences, you can simply quit the Cisdem process or create a new user to get around it.
You have to block Activity Monitor, Terminal, and System Preferences to make it work well.

I want to block an app from running or even being installed on my Mac. The app can be installed via the App Store and the web. Not sure how to go about this. Enabling Parental Controls won't work as Administrator privileges are needed.

The specific app I want to block is Apple Configurator.

Any ideas?

Use Gatekeeper to control access to Applications

You can use spctl (Gatekeeper) to create lists of approved and unapproved apps.

For example, suppose you want to allow Mail but block Chrome.

sudo spctl --add --label "ApprovedApps" /Applications/Mail.app
sudo spctl --add --label "DeniedApps" /Applications/Chrome.app

The above command will will "label" Mail and Chrome as "Approved" and "Denied" respectively (you can use your own descriptors).

Now, to enable/disable apps, you issue the commands:

sudo spctl --enable --label "ApprovedApps"
sudo spctl --disable --label "DeniedApps"

The advantage this has is that to add another app to either list, you just have to add the appropriate label:

sudo spctl --add --label "ApprovedApps" /Applications/Another.app

Additionally, you can forbid code from the Mac App Store from running (found in the spctl man page - man spctl).

spctl --disable --label "Mac App Store"

This will prevent anyone from downloading an App from the App store and installing/running it.

Dealing with Admins/sudoers

As stated in the comments, anything an Admin can do, another Admin can undo.  Using spctl requires root, but editing the sudoers file to restict access to a particular command can prevent other users/admins from undoing your changes.

See How to prevent sudo users from running specific commands? for details on how to configure a "whitelist with exception" in your sudoers file.

For example, to allow user Sam access to all commands except spctl, you would put in the sudoers file:

sam ALL = ALL, !/usr/sbin/spctl

Now, this a "quick and dirty" way of preventing access to spctl but ultimately, it's not effective because if the other admin gets wise to your strategy, all he/she has to do is rename the command and they have access.

From the sudoers man page:

  In general, if a user has sudo ALL there is nothing to prevent them from creating their own program that gives
         them a root shell (or making their own copy of a shell) regardless of any `!' elements in the user
         specification.

To really lock it down, you would need to either force the other user to su as a different user (i.e. operator) or create a whitelist of allowed commands defaulting to blocking everything else.  However, that is time consuming and quite dangerous as you can lock people out of critical functions.


Lion - Macbook randomly wakes up from sleep when lid is closed I have aluminium macbook (not pro). I have recently updated to Lion. So far so good - had some minor issues with printer, sshfs, mac fuse. Managed to resolve almost all of them.

There is one issue though i keep on having which almost destroyed my laptop. In SL when i closed the lid there would be no way laptop would wake up itself from that state (unless i connected keyboard, mouse, screen and used in clam mode).

However now every so often i close the lid and mac goes to sleep and then it just randomly wakes up and stays awake. I didn't realized once and my mac spend few hours in its thick sleeve while running. I came home and I could smell burning plastic - aka. my mac melting itself. Luckily didn't catch fire.

So far i tried following:

reinstall lion - fully wiped and started from scratch
pulled
battery out and disconnected power supply and pressed power button
for 10 sec (resets power management apparently?)

Is anyone else experiencing same behavior?

It is possible to determine what caused the system to wake

Open Console (/Applications/Utilities/Console)
Set the search filter to 'wake'

You're looking for the latest entry that has something like this:

Wake reason = EC LID0

(In the example above, opening the display clamshell caused the machine to be woken)

Here's a list of wake 'reasons' from OSXDaily

This should shed some light on what is waking the machine, then you can go from there.


'the 'grub-efi-amd64-signed' package failed to install into /target/' during Linux Mint installation on an iMac I have a Mid 2007 iMac, I've installed rEfind on the mac and the Linux Mint (Cinnamon 17.3) installer on an USB thumb drive .

rEfind sees the USB thumb drive, sees grub installed on the key, I boot from it and start to install Linux Mint, at a certain point I get this error: 'the 'grub-efi-amd64-signed' package failed to install into /target/'.

I manually set the partition table:
sda4 / k gb
sda5 swap 4096 mb

The iMac has a Core 2 Duo 2.0 Ghz, 3 GB RAM, and a NVDIA card.

I'll try again using the last UNebootin version, ad some different Linux distro (Xubuntu, Ubuntu, Lubuntu), but I'd like to know what issue could I have.

Took me weeks, but finally solved it for my case.

My install would go well, but the installation of grub would fail with the same message because of corrupted data in the EFI partition.

Fastest fix was to run a windows chkdsk to fix the partition, then the next install went fine.


Addressing Console.app messages on badly installed and removed software Ever since I upgraded to 10.7, my computer has been acting funny, I lost my PostgreSQL installation so tried to install it again using the postgres 9.1 dmg from the postgres website. The installation halted. I've also removed all postgres installations from the computer in the hope of doing a "clean" install; but still I can't get it to install.
About Akamai, it's a license/download tool that is shipped with AutoDesk (autoCAD) products. I've had AutoCAD trial installed but have since uninstalled it but still get the console error message.

I used AppCleaner I think to remove the apps.

The console.app messages that appear every 10 seconds or so:

11-10-01 11:37:02.534 AM com.edb.launchd.postgresql-9.0: 2011-10-01 14:37:02 GMT FATAL:  could not open lock file "postmaster.pid": Permission denied
11-10-01 11:37:02.535 AM com.apple.launchd: (com.edb.launchd.postgresql-9.0[2248]) Exited with code: 1
11-10-01 11:37:02.535 AM com.apple.launchd: (com.edb.launchd.postgresql-9.0) Throttling respawn: Will start in 10 seconds
11-10-01 11:37:06.645 AM com.apple.launchd.peruser.502: (com.akamai.client.plist[2252]) Bug: launchd_core_logic.c:4655 (24984):13

EDIT

I've managed to remove the akamai process using Lignon, but still have the issue with postgres

You should be able to get rid of the Console.app message by entering the following command in Terminal:

sudo launchctl unload /Library/LaunchDaemons/com.edb.launchd.postgresql-9.0

That should unload the postgresql daemon.


Most program icons look the same after high sierra update After an update to high sierra most program icons look the same.

Any ideas how to fix that?

Do you have League of Legends installed on your Mac ?
It seems to be the cause of the issue for many other mac players.

https://boards.na.leagueoflegends.com/en/c/bug-report/rA0p1rYx-client-updating-on-mac-high-sierra-messes-up-other-application-icons

Unfortunately there is nothing you can do until Riot acknowledged the problem and deploy a fix.


How to eject a drive automatically after pen drive is plugged in? I have set up a .plist file which would automatically backup my files whenever I plug in my pen drive but I would like to eject it after the process is complete. How do I accomplish this?

Here is my job definition - how do I modify it to eject my drive after backup is complete:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd >
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.company.popup</string>
    <key>ProgramArguments</key>
    <array>
        <string>sh</string>
        <string>-c</string>
        <string>/usr/local/bin/backup</string>
    </array>
    <key>StartOnMount</key>
    <true/>
</dict>
</plist>

PS. I have put thus file under ~/Library/LaunchAgents

You just have change the UNIX executable file.Modify it like  rsync -aH source destination && diskutil eject /Volumes/BACKUP >> desktop/log.txt


FileVault on a 128GB SSD 80% full, it will be safe to do? I need to encrypt my disk with FileVault. It's a MacBookPo (2014), 8GB with 128GB SSD, 80% full.

I would like to understand if I could run into trouble because of low space available, if after encryption I will have less space and if my Mac will run slower...

Also how long will it take to encrypt? can I use it while encrypting?

There's no extra risk associated with converting a 80% full disk. That should work fine without any problems.

After encryption you'll have about the same amount of disk space available. It is not going to result in any kind of noticeable drop in available disk space.

The Mac will run a tiny bit slower compared to before. I doubt that you will be able to notice it at all.

You can keep using the computer while it encrypts. It is impossible for us to predict how long the encryption process will take - but expect a considerably number of hours, perhaps a full day. It runs in the background allowing you to keep using the computer - and it supports you putting the laptop to sleep or even turning the power fully off. It wil resume where it left off when it is powered on again.


iCloud and Comcast Email I have been using MobileMe to sync emails from my two comcast email addresses from Outlook on my PC to my iPhone and iPad.  With MobileMe being turned off at the end of this month it will be necessary to migrate to iCloud.  It was my understanding that I would no longer be able to get email from my two Comcast email addresses synced to my iPhone and iPad after moving to iCloud, rather, only email send to me at my me.com email address would only be synced.

Am I correct in assuming that email from my two Comcast email addresses will no longer be synced after MobileMe is gone?

Depends on what you mean by sync. Yes your comcast mail will not be synced to iCloud.
However you can read the comcast email on the IPad etc (assuming hat comcast is IMAP).

To set up the Comcast mail go to Settings->Mail then add accounts. Googolling for Comcast iphone email provides more help including this video.


Why is third monitor always mirroring one of my other two? I have a 2017 Macbook Pro connected to an HP Thunderbolt hub. From that hub, I have two USB-C -> DVI cables going into two monitors. For my third monitor, I have a DisplayPort cable from the hub to the monitor.

The two DVI monitors work correctly and show up in System Preferences > Displays > Arrangement. The third monitor (the DisplayPort one) does not show up in the displays. Additionally, it is always mirroring one of my DVI monitors.

What's interesting is that if I unplug one of the DVI monitors, the third monitor starts working correctly and shows up in the Arrangement tab.

Is it not possible to have 3 monitors running where two are DVI and one is DP?

Edit: The resolutions of the two monitors using DVI are 1920 x 1080 and the resolution of the monitor using DP is 2560 x 1440.

The problem with your setup does not have to do with the resolution, as others have hypothesized. The problem is that the dock you're using is not supported on macOS for a 3-display configuration.

In practice, the HP Thunderbolt docks require MST-support for multiple displays from the system before they can enable 3 separate displays connected to the dock. MST is not supported on macOS for this purpose(in contrast to Windows), as thus it simply won't work.

You can connect two of the displays to the dock (as you have already figured out). The third display you'll need to connect directly to the MacBook Pro in order to get it as a separate display.


External hard drive knocks out wifi Internet I have two external hard drives attached to my 2012 Mac Mini running El Capitan. All has been OK for around 2 months. Now, when one drive powers up, it forces my Sky WiFi Internet connection to drop, which you can't get back until the drive is powered down again, after which the `internet connects straight away. Any ideas (anyone)?

If one of your external drives is connected using USB 3, then this is most likely the culprit. If the shielding has degraded on the USB 3 cable then it can interfere with your wi-fi. If you external has any other type of connectors, i.e., USB 2 or FW800, switching to that will solve your problem.

This excerpt from this PCMag article explains why this can happen...

  USB 3.0 has a 5Gbps signaling rate. The USB 3.0 specification requires
  USB 3.0 data to be scrambled and it requires spread-spectrum. The
  noise from USB 3.0 data spectrum can be high (in the 2.4-2.5GHz
  range). This noise can radiate from the USB 3.0 connector on a device
  (such as a PC or Router), the USB 3.0 connector on the peripheral
  device or the USB 3.0 [port]. If the antenna of a wireless device
  operating in this band is placed close to any of the USB 3.0 radiation
  channels, it can pick up the broadband noise. The broadband noise
  emitted from a USB 3.0 device can affect the SNR (signal-to-noise
  ratio) and limit the sensitivity of any wireless receiver whose
  antenna is physically located close to the USB 3.0 device. This may
  result in a drop in throughput on the wireless link.


scanner driver Samsung Xpress M267X/287X I don’t get the Samsung Xpress M267X/287X scanner to work with 10.8. The scanner shows up in Image Capture but it need additional software, which it can’t find.

Does someone has a link to the right drivers?

You should be able to download this from Samsung's support center. There were new scan drivers released 9th of April this year and they can be found here:
http://www.samsung.com/us/support/owners/product/SL-M2875FD/XAA

Remember to follow the instructions supported by Samsung:

    Security setting should be changed in order to install drivers in Mac OS X 10.8:

    Run [System Preferences] under [Application] folder

    Select [Security & Privacy]

    Select [Anywhere] under [Allow applications downloaded from]


Where can I find "Install Mac OS X Lion" in the App Store? I'm trying to follow the directions on the Apple Support Page regarding Mass Deployment

Step 2 of the process says

  On the server, install the app named "Install Mac OS X Lion" from the Mac App Store (a network connection is required for this process).

The problem here is that when I do a search for Install Mac OS X Lion in the App Store, I get no results found.

Where can I find this app in order to enable me to do mass deployment of OS X Lion across my network?

What you're probably looking for is a copy of the OS X Lion installer. If you saved a copy when you first installed Lion, great. If not, you'll need to re-download it from the Mac App Store.

Launch the App Store and ⌥-click the Purchases tab. An "Install" button should appear next to Lion. Click it to re-download the installer.
Once the installer finishes downloading, go to your Applications folder to find the installer itself. It is called Install Mac OS X Lion.

Further steps to get the DMG image:

Right-click the installer and choose Show Package Contents from the contextual pop-up.
Navigate to .../Contents/SharedSupport. There you'll find a disk image called InstallESD.dmg.


Playlist of favorites songs Is it possible to create a playlist on a iPhone with iOS 9 of all the favorite songs (by marking favorite with the heart icon)

Create in iTunes a smart playlists of loved songs, and the playlist will be updated on the iPhone. If you mark a song as loved it will be added to the playlist without syncing.


Screen sharing in OSX El Capitan I have a 2012 Macbook Pro and a 2013 Mac Mini, both running El Capitan with all latest updates.  The Mac Mini is "headless" as I use it as a media server.  I connect to the Mini from the MBP using the screen share facility from within Finder in Mac OSX.

However I find the screen sharing option to be very unreliable.  I would say there is a 50/50 chance that the "Screen Share" button will be missing in Finder when I go to use it.  Sometimes it reappears after a minute or two.  Sometimes not at all - in these cases I have to plug in a monitor, mouse and keyboard to reboot the Mini.

Does anyone know how to make it work reliably or can suggest a better and more stable alternative.

I use a standard VNC client. Once you have Screen Sharing enabled on the System Preferences you can access your remote Mac with any VNC viewer/client application.

More precisely, on my Mac I use the outdated Chicken (still working fine on El Capitan, though) and for the iPhone/iPad there are also plenty of choices on the App Store.

NOTE: Make sure that you set a password on the Screen Sharing preferences.


Is it possible to localize the Mac Welcome Assistant Language to be non English? I bought new but used Macbook Pro for my mother, and she doesn’t speak English.
But „welcome assistant” screen (which shows first time you open new Mac) is in English. It leads you through region, language, account options, etc.
But when I pick my region and language the assistant itself language still appears in English.
It’s first Macbook in my mothers life. So I would like her to have nice first experience with it. So I want „Welcome assistant” guide her through each step in her native language.
So I want the first thing she will see would be big banner with word „BENVENUTO” instead „WELCOME”.
Can I somehow Pre-select. Localization and then get the new account setup to run in a non-default language?

Ok, I found the solution.
it looks like there was some problem with preinstalled system.
I just pass through whole assistant in english. And after choosing desired language, the system still was launched still in English. So I ser the desired language in System Preferences, and removed English language.
Then I launched again with Command-R, and reinstalled system.
Now „Welcome assistant” on the begining has language to choose and imidiately changes it to desired language. Perfect.
By the way, sorry for my English ;)


How do I get rid of Google Duo icon in Menu bar? I just tried to download a bunch of different video apps to see which works best in my country and now I'm stuck with this one at the top. When I click on it, the screen shot shows what comes up. How do I remove it?

Install Google Duo, go to its settings, disable menu item, uninstall.

Hold command while dragging out the icon from the Menu bar.


Is there a keyboard shortcut to change tabs in Notification Center? Is there a keyboard shortcut to switch between the "Today" and "Notifications" tabs in Notification Center in OS X Yosemite?

I'm looking for something equivalent to the cmd-shift-[/] shortcuts in Safari.

I hate these kinds of answers, but there doesn't appear to be one.

Another question points out that you can use some kinda-hacky Applescripts to work around the limitation: Does Notification Center have keyboard shortcuts?

I was toying around this, and it seems the key combos that notification center responds to depends on the active widgets. If you're in notification mode, you can reliably jump back to widgets by hitting TabTabEnter, but on Widgets, I find that the calculator tends to monopolize all keyboard input and prevent any tab jumping from working.


How to automatically add file location while printing I'd like to print a lot of text documents and I'd like to have a file location on the footer of each page of all documents. Of course I don't want to add them manually, but I'd like to set have them there automatically added just for printing. Is there a way how to achieve this in TextEdit or Pages?

As automagic as it gets:

Using the add on service from http://www.devontechnologies.com/download/products.html

Example -total of 37 choices)

WordService provides a large number of commands for working with selected text:

Reformat text paragraphs
Clean up tabs, quotes, line endings
Remove unwanted text parts
Sort lines or paragraphs
Change case
Shift paragraphs right or left
Obscure using Rotate 13
Insert date, time, or file path
Get text statistics

Download from App Store for free.

https://itunes.apple.com/us/app/wordservice/id899972312?mt=12

you select Insert File path and voila.


iCloud folders not appearing in the Mac Finder Really frustrating problem where files and folders in a folder synced to my iCloud were not appearing in Finder. They were still on my iCloud and when I looked into my iPad which synced these files and folders, they were all there. When I went to the terminal and entered one of the iCloud synced folders (e.g. Desktop) and did ls -a, the files and folders were not there.
Have restarted Mac several times, restarted finder, still no luck. How to make those files and folders synced to iCloud reappear?

In the end, after a couple of hours of frustration, I solved my problem by: Opening Finder > Finder Preferences > iCloud and uncheck all the options (on my Mac these were iCloud Drive, Desktop and Documents). Close preferences, reopen and recheck the same boxes. The files and folders reappeared in my finder.


Lowering keyboard latency I'm on Catalina 10.15.2 on a MacBook Pro 16-inch from '19. I don't have slow keys activated. Is there any way to measure and most importantly lower the latency of keystrokes in the laptop keyboard itself?

I suspect the default latency is in the order of ms, but still somewhat noticeable if you type fast.

The easy way to measure latency is with video and even iPhone 11 can capture 240 frames per second, so you’ll be within 5ms of measurement error.

https://danluu.com/input-lag/

If you have noticeable lag, it’s going to be likely you can use activity monitor to see what is slowing the processor or perhaps detect you have an issue on the USB bus resetting if there’s no obvious reason why keys are buffering and not going directly to the screen.


After using AirDrop to get a photo from iPhone to Macbook, the file format is HEIC and can I choose "one of" the sequences of photos? The HEIC format (and file extension such as IMG_1201.HEIC) is probably what the format is when the iPhone takes the photo that is "live" -- that a user can choose one frame out of the many frames for a duration of something like 0.5 seconds.

If viewed on iPhone I can choose one of the split second photo -- such as if somebody blinked the eye, I can choose another one that is 0.2 seconds later right on iPhone.  After "AirDrop" to Macbook Pro (using OS X Mojave), can the default Preview app let the user choose the 0.2 seconds one as on the iPhone?

No, you can't do that in Preview.

To make edits to a Live Photo, or to even view the 'live' part of the photo, you need to use a different application.  On the Mac, you can use Photos to view and edit live photos.


Optimal keyboard shortcut for keyboard layout switching on OS X? Considering that Spotlight is already using ⌘+space and that you cannot use combination of modifiers alone, I would like to see an ergonimic alternative.

I can't use the following combinations due to conflicts with other software

ctrl+space - auto-complete in IDEA

I use ctrl + ⌥ + space. It's typeable via left hand, doesn't collide with the search window shortcut (as ⌥ + ⌘ + space does) and I haven't found any other overlap yet.


macOS Catalina: Whenever I attempt to take screen-capture via Terminal, I only get image of naked desktop background Whenever I attempt to take a screenshot using Terminal (command: screencapture -is ~/Desktop/insertimagename.jpg), I receive an image of the desktop background. Despite taking a screenshot of programs in fullscreen mode, I still receive images of my naked desktop background.

I used to be able to take screen-capture of images with the aforementioned command with no problem. I suspect that I may have accidentally altered a setting or two in Systems Preference a few days ago.

I am still able to take screenshots successfully with the shortcut "command + control + shift + 4" and "command + shift + 3," however I am not able to do so with Terminal.

Is there a way I can return to taking screenshots with Terminal? I've attempted other command lines in Terminal (e.g., "screencapture ~/Desktop/screenshot.jpg"), however I still receive images of the naked desktop background.

Your terminal needs access to record the screen. Namely, System Preferences -> Security and Privacy -> Privacy -> Screen Recording and check the box for your terminal. This fix worked for me on 10.15.7.


Use AppleScript to play an iTunes Radio station vs. an iTunes Internet Radio station? Looking for hints or a code snippet that will show me how to use AppleScript to play an iTunes Radio Station (with cover art, add to iTunes wish list, play more like) vs. playing an iTunes Internet Radio Station. I know how to do the latter.

Using Apple Script Editor located in your Utility folder you can do that with this command.

Change the station URL to the one you want.

  tell application "iTunes" to open location
  "radio2.digitalgunfire.com:8000"


Is there a way to have two keyboard shortcuts for the same function? I saw these instructions to replace a shortcut

On your Mac, choose Apple menu > System Preferences, click Keyboard, then click Shortcuts. Select App Shortcuts on the left, click the Add button , click the Application pop-up menu, then choose a specific app or All Applications.

So I can add a shortcut named 'Copy' under all applications, and insert ctrl+C as the keystroke. But then cmd+C won't work as the Copy shortcut anymore.
Is there a way to have both?

The Shortcuts Prefs won't allow you to add the same Menu item twice, so no, this cannot be done.
Additionally, in Finder, the Copy menu item is a 'smart' structure, meaning it always contains the name or count of what would be copied by the key command. You cannot use the shortcut replacer at all on a smart menu.
Examples…

Furthermore, attempting to override a system-wide command like Copy is bound to fail somewhere. It's definitely best to stick to the system defaults for such as those.


Adding email from gmail iPhone app as calendar entry in google calendar on iPhone For a given google account, I'd like to be able to do the following on my iPhone:

Open email in gmail iPhone app.
Add the email as a calendar event or appointment on google calendar.

I know I can do this from the web browser. But I have been unable to figure out a way to do this in gmail app on iPhone.

Does anyone know how can I do this ?


Cannot copy and paste in Chrome with macOS Mojave I just upgraded to macOS Mojave and noticed something weird. When using Google Chrome, I cannot copy and paste with keyboard shortcuts. I thought maybe the keyboard was broken, but it works in other apps. I can copy and paste using the Edit menu or by right-clicking, so the contents are definitely getting copied.

Chrome is up to date. I assume if this was a widespread issue, they would've fixed it by now.

Any idea of how to fix this or what might be happening?

Just for fun while we are waiting for Google - Chrome to fix it.

Try following..

Add Apple Keyboard shortcuts for Chrome

If you do not know how to do that let me know.


How to transfer a purchased app from iPhone to iPad? I have bought Talking Ben app on my iPhone. I also have an iPad, how can I transfer this purchase onto my iPad?

I already tried using my iTunes. But i dont know how to do it. Also both my iPad and and iPhone use the same Apple ID.

There are (at least) two ways to accomplish that

via iTunes

sync your iPhone with iTunes. This will copy Talking Ben to iTunes
connect your iPad to the same computer
click on the iPad name in in the sidebar and go to the the Apps section
check the mark in front of Talking Ben
sync the iPad -> Talking Ben gets copied to the iPad

directly on the iPad

open the App Store app
tap on Purchases (or just search for Talking Ben again)
install

The iPad option only works if you are logged into the App Store with the same Apple ID on both devices, the iTunes option also works with different IDs.

As pointed out in the comment certain applications provide a specific iPad version which must be bought separately. You can still install the iPhone version in the iPad as well but will have to accept the usual restrictions concerning screen size unless the app was specifically coded to work both on iPad and iPhone.


Disable notification center in Yosemite I tried several solutions to disable completely the notification center in Yosemite.
For example, see https://apple.stackexchange.com/a/57477/104881 or https://apple.stackexchange.com/a/139171/104881.

These solutions disable the notification panel, but, in Yosemite, the notification icon of the menu bar is still there.

How can I remove the menu bar icon ?

I know the bartender software can do that but I am looking for a solution which does not require addind another app.

EDIT:

I have already tried to remove NotificationCenter.app in /System/Library/CoreServices.
I also tried the following command:

launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist; killall NotificationCenter

These two techniques remove the notifications but do not remove the icon.

Like the spotlight search icon, the notification centre icon cannot be removed from the status bar using OS X. You should use the bartender program to hide that icon.

It works with Yosemite and has the feature you seek:

  With Bartender you can hide or move the Notification Center menu bar item, but still use Notification Center.


How to add google drive in your finder like dropbox and iCloud drive How can I add google drive in my finder menu so that I can directly share data to cloud like we do in Dropbox or iCloud ?

Download & Install from here: https://www.google.com/drive/download/

Your sync folder will be located at ~/Google Drive and will be automatically put in the side par of Finder.


OS X El Capitan: Connected to Wi-Fi / Personal Hotspot network but not connected to Internet I recently updated to El Capitan.

But now when connection is established with my college's Wi-Fi network I am unable to use internet. Same goes for Personal Hotspots.

Everything was working fine in Yosemite.

How can I fix this?

Try setting a new network location. Network Preferences/edit top drop down/new location/apply If that doesn't work you may need to reinstall OS to resolve software issue.


How do I rename a file in git that differs by case only? In my git (Xcode) project, I committed a filename with improper case.  Now I went to try to rename it, but when I commit, I get:

  fatal: Will not add file alias 'MyProject/MyFile.h' ('MyProject/MyFilE.h' already exists in index)

I'm sure this is because git isn't used to be running on a case-preserving, case-insensitive filesystem like HFS+.  But how do I get around it?

I tried renaming both files to something else, and committed that, and then renaming them back to what I want, but it still fails (with the same error message).

As asked and answered on stackoverflow, there's an easier way to do this that doesn't involve making a new file system in a disk image file:

Move your existing file aside, commit that move, then move it back using the case you'd like it to maintain and commit. Done.

Example:

mv foo foo2
git add -A
git commit -m "renaming"
mv foo2 FOO
git add -A
git commit --amend -m "renamed foo to FOO"


Hard Drive Formatting Error in Terminal I have tried formatting and partitioning this brand new hard drive and it has failed on multiple computers using multiple methods. It is a LaCie Porsche Design 4TB hard drive.

Here is the commands I have been running:

$ diskutil list disk4
/dev/disk4
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.0 TB     disk4
   1:                        EFI EFI                     314.6 MB   disk4s1

$ sudo gpt -r show disk4
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2          4         Pri GPT table
          6      76800      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
      76806  976677835
  976754641          4         Sec GPT table
  976754645          1         Sec GPT header
$ sudo fdisk /dev/disk4
Disk: /dev/disk4    geometry: 60800/255/63 [976754646 sectors]
Sector size: 4096 bytes
Signature: 0xAA55
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: EE 1023 254  63 - 1023 254  63 [         1 -  976754645] <Unknown ID>
 2: 00    0   0   0 -    0   0   0 [         0 -          0] unused
 3: 00    0   0   0 -    0   0   0 [         0 -          0] unused
 4: 00    0   0   0 -    0   0   0 [         0 -          0] unused
$ diskutil unmountDisk disk4
Unmount of all volumes on disk4 was successful
sudo gpt add -b 76806 -s 976415691 -t hfs disk4
disk4s2 added
$ diskutil list disk4
/dev/disk4
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.0 TB     disk4
   1:                        EFI EFI                     314.6 MB   disk4s1
   2:                  Apple_HFS                         4.0 TB     disk4s2
$ diskutil list
/dev/disk4
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.0 TB     disk4
   1:                        EFI EFI                     314.6 MB   disk4s1
   2:                  Apple_HFS                         4.0 TB     disk4s2

Then here is where it appears I have ran into trouble:

$ sudo newfs_hfs -v "4TB" -J /dev/rdisk4s2
newfs_hfs: WriteBuffer:  pwrite(3, 0x10dfba000, 131072, 450764800): Resource busy
newfs_hfs: write (sector 110050): Invalid argument

Any ideas of what I might be doing wrong or what I can do to fix it?

Many thanks!

Try to verify the HDD from disk utility and repair permission if this is doesn't work, try to format it using windows machine.


Is there a software that tells for how long the computer has been running on battery? There are many apps in store that will tell you how much your battery will last before the computer turns off.

I need something that tells me something like : "You unplugged at 95% and have been running for 2 hours and now have 55% "..

So like a graph in Android phones maybe?

I am using a Mac Book Pro 15 with latest Mac OS 10.9.

In OSX 10.9 and above this is all in Activity Monitor app under the Energy tab.
It shows your battery life over the last 12 hours, and while it was plugged in is highlighted in green. It also shows you what apps are sucking on your battery and how much they are draining at the moment, and on average.


MacOS highlight individual words as they are spoken, as iOS In iOS, it is possible to have the text read out loud using the built-in text-to-speech (TTS) while the individual words highlight as they are spoken.

Like in this gif:

(taken from this you video).

I am looking for a way to get MacOS's (10.11) built-in TTS to highlight individual words as they are spoken, as in iOS. This is extremely helpful for me when reading.

This Ask Different question get at the same issue, but it's slightly different as it's asking for a browser-based solution and I am primarily looking for native MacOS solution. Thanks.

VoiceOver on macOS can do this.

Use VoiceOver Utility.app to activate move highlight cursor by word
Activate VoiceOver with Cmd+F5
Click on the text you want to read
Press Control+Alt+A to "read all"

How well it works will vary by application and how well they support VoiceOver.

  These animations were recorded on 10.13.6 High Sierra, but VoiceOver has been around since 10.4 Tiger - so you should be OK in 10.11 El Capitan.

Pages - works well

FSNotes - works well

Safari - depends on how the page is built


Can I launch an iPad application in a different locale than what iOS uses? My iPad 3 is configured in French for the family but I prefer my apps un-translated. Is it possible to force an application to launch in a specific locale? Is it feasible without a third-party tool?

The short answer is that this is, unfortunately, not possible with the default install of iOS.

It is always possible that there is a jailbreak hack that allows this, but that would probably fall under the "third-party tool" category.


Unable to boot into ElementaryOS on MacBook after PRAM reset I installed ElementaryOS on a separate partition of my HDD.

Not sure what happened but the audio in OSX stopped working after the installation. After trying everything else, I found resetting the PRAM resolved the problem.

However, the boot menu no longer shows on startup. The Linux volume won't even show after holding the option key -- only the Mac volume.

I can see the volume in disk utility but it won't mount.

I've tried:

sudo bless -mount /Volumes/disk0s5

But I get:

No mount point for /Volumes/disk0s5
Can't determine mount point of '/Volumes/disk0s5'
Could not statfs() /Volumes/disk0s5
Could not determine filesystem of /Volumes/disk0s5

So, ermm…, I'm stuck.

How do I get my boot options back?

Just reinstall rEFInd http://sourceforge.net/projects/refind/

This way this runs before Grub which seems to not work very well to boot the Mac OS side of the system


If I upgrade to OS X 10.7 (Lion), will Intuit Quicken still work? I heard that my Intuit Quicken 2007 which I use for balancing my checkbook and other business accounts won't work on Lion. Is that true?  I am so dependant on it that I have postponed my Mac's OS upgrade to Lion.  What can i do to work around this issue?

Unfortunately, no.  Quicken 2007 requires Rosetta which Apple has decided to leave behind in their OS.  MacWorld.com has a great article here with some great alternatives, but right now, you need to either give up Quicken 2007, or wait on Lion until you are ready to do so.

Dual booting is also possible, but it's not a convenient solution to just run banking software.


Where are folders created by "sudo mkdir" stored? I am new to mac terminal and I have made some folder using command "sudo mkdir". Some of this folders are hidden :/, in other words I have put a period before their names when using command mkdir. Now, I want to delete those folders. How can I find those folders?

mkdir, in the form of mkdir directory_name without a pathname, creates a directory in the current working directory, which is by default your home directory (often represented as ~). You can check you current working directory by running pwd.

If you were not in your home directory (either by having cd-ed to a different directory or having used the New Terminal at Folder Service) you will have to navigate to the directory you were in first.

You can show all files (including hidden ones) in a directory by running ls -a in it. Once you have found the directories you want to delete, you can permanently (!) remove them using rm -R directoryNameHere (including the . in the name) from their parent directory.

If you don't feel confident deleting files in the Terminal, you can simply show hidden file in Finder, in macOS Sierra and later, by using Shift+⌘+. and then deleting them like you would any other directory.


(Mistakenly) Deleted all partitions except for disk0s2, can't mount or repartition First of all, I apologize that I cannot remember exactly what version of Mac OS I am running, but I am 99% sure it's Yosemite.

I recently tried to delete a second partition I had been using for a Ubuntu distro. While I was trying to erase the partition, the minus button was grayed out, but I found that if I clicked the minus on the other small partitions (I'm assuming retrospectively that it was the disk utility partition and something else) then I was able to delete the Ubuntu partition, so that's what I did.

So now my hard drive has one partition, disk0s2 with about 900gb and then an extra free space of 99.8gb. The free space can't be partitioned or reconfigured in any way, attempting to do so starts up a progress bar that never gets beyond 'preparing'. disk0s2 is unmounted, the mount button is blue and not grayed out, but clicking it does nothing.

Restarting and running in disk utility mode (I believe that's what it's called, CMD+R), does work, restarting holding OPT shows only the EFI boot, which takes me to GNU Grub version 2.02, which is also what happens when restarting normally. I thought that maybe inserting a USB and downloading Mac OS onto that from the disk utility start up might be a way of solving this problem, but my computer won't mount the USB (the mount button is not grayed out but clicking it does nothing) so it doesn't show up when trying to reinstall the OS.

What should I do? I have access to an external hard drive with enough space to put what was on my hard drive if that is possible, but obviously I would prefer to be able to recreate the disk utility partition (?) and remount disk0s2.

Here is the result of running diskutil in terminal:

You should be able to repair you existing partition so you can boot to OS X. The steps are given below. Here, I assume you were using Yosemite or some other version of OS X that installs to a "Mac OS Extended (Journaled)" formatted volume. Also, I assume encryption was not being used.

  Note: The examples were made using a disk image while booted to High Sierra. So, your output may vary from what is shown.

Start up the Mac from macOS Recovery over the Internet by restarting and immediately pressing and holding the the key combination ⌘-R.
From the menu bar, select to open a Terminal application window.
Enter the following command to get the GUID Partition Table (GPT) entries.

gpt -r show /dev/disk0

An example output is shown below.

$ gpt -r show /dev/disk0
       start        size  index  contents
           0           1         PMBR
           1           1         Pri GPT header
           2          32         Pri GPT table
          34           6
          40      409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
      409640  1757812496      2  GPT part - FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF
  1758222136   194902871
  1953125007          32         Sec GPT table
  1953125039           1         Sec GPT header

Enter the commands given below to change the GPT.

diskutil unmountdisk /dev/disk0
gpt remove -i 2 /dev/disk0
diskutil unmountdisk /dev/disk0
gpt add -i 2 -b <start> -s <size> -t 48465300-0000-11AA-AA11-00306543ECAC /dev/disk0

Where <start> and <size> are integers taken from the row with index equal to 2 in the table shown in step 2. An example is shown below.

$ diskutil unmountdisk /dev/disk0
Unmount of all volumes on disk0 was successful
$ gpt remove -i 2 /dev/disk0
/dev/disk0s2 removed
$ diskutil unmountdisk /dev/disk0
Unmount of all volumes on disk0 was successful
$ gpt add -i 2 -b 409640 -s 1757812496 -t 48465300-0000-11AA-AA11-00306543ECAC /dev/disk0
/dev/disk0s2 added

You will need to replace 409640 and 1757812496 with the values shown in your GPT table.
Restart the Mac back to OS X.
Enter the command given below in a Terminal application window to reclaim the free space.

sudo diskutil resizevolume /dev/disk0s2 R

An example is shown below.

$ sudo diskutil resizevolume /dev/disk0s2 R
Resizing to full size (fit to fill)
Started partitioning on disk0s2 Macintosh HD
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk0s2
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Macintosh HD appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Resizing
Modifying partition map
Growing file system
Finished partitioning on disk0s2 Macintosh HD
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            999.7 GB   disk0s2

Addition Comments

Your internal recovery partition no longer exists. When you reinstall OS X or upgrade to a newer OS X or macOS, a new recovery volume will be created.
Grub still exists in your EFI partition (disk0s1). You should consider removing Grub.


How can I upload my camera roll to my Photo Stream retroactively? I have a iPhone 4 and set up iCloud on my device, including the Photo Stream service. Everything seems to be set up fine and I have the option to select Photo Stream in Photos.app.

However, the message I get when tapping Photo Stream is that all new photos will be transferred into the Photo Stream.

How do I get the current photos in my phone to show up in my Photo Stream?

Given that this question is a few months old, you may have already found an answer, but I figured I'd provide one in case anyone else comes to this post looking for an answer to the same question.

While I don't know of a way to add photos from the Camera Roll to the "main" photo stream retroactively, you can add pictures to shared photo streams.  Those will sync up with iCloud and any iCloud-connected devices, just like the "main" photo stream.

To add pictures to a shared photo stream:

Create a shared photo stream. On your iPhone, open the Photos app, go to the Shared tab (bottom center of the screen), and tap on "New Shared Stream". Give the new stream a name.
Go to your Camera Roll, tap on Select (top right of the screen), and select (tap) each picture that you want to add to the new shared stream.
Once all of the pictures you want to add to the stream are selected, tap the share button (bottom left of the screen), choose iCloud on the menu that pops up, and choose the newly created shared photo stream.


macOS 10.15.5 update not installed despite 30gb disk space I have 30gb of free disk space on 250gb disk which should be more than enough

I cannot install 10.15.5 it just restart and still says I haven’t installed

Update

Just now it wasn't showing the purgeable but now it is after my successful update.

Update the xcode to the latest version (I had to try this twice)
Restart
Try again to update to 10.15.5

This time it worked


Can Super Duper perform "smart update" from SSD to HDD? My goal is to create a bootable backup of my SSD boot drive on an external HDD. I'm using a Mac Pro mid-2010, so I can swap out the boot drive should my SSD ever get corrupted. Is there any reason Super Duper wouldn't be able to "smart update" a clone of the SSD onto an HDD? (And should I consider alternatives to Super Duper?)

SuperDuper can do this. I've done it with a MacBook before. As far as SuperDuper is concerned, it's just two drives.


Possible to change Quick-Reply buttons in Mail Notifications? Yosemite introduced a new feature to quick reply within a notification.

Mail offers the options to trash a new E-Mail or reply to it. But, instead of trash, I want to archive it.

Can I change somewhere the buttons/behaviour within notifications?

It looks like it is impossible for now, but will hopefully be in next year's release. All that I've seen that you can do to is to style notifications by changing button names and menu title and with Mjolnir. Beyond that isn't built in to the API yet.

Similar question here


Location Services not working on Mac Book I am using a Mac Book Pro 13" 2020 Model with Mac OS Big Sur 11.1 Running. Recently i have noticed that no any location services based apps such as Find My, Siri, Maps can not be able to locate me. All the setting are correct and have tried resetting the NVRAM too. Had a conversation with apple and they requested my to do Mac OS Clean Installation. So before i do the Clean Installation i have tried with another WiFi Router and all my location services working fine.
And Location services working for my router too if the new wifi router is nearby and switched on.
So where is the actual problem ? I thought to replace my router but is also working fine if the new router is just nearby and turned on. I no need to connect it though.

I have nearly the same issue!
The Longitude/Latitude is correct, but the Background Picture/Maps/Satellite isn't loaded?
On my iPhone & iPad, in the same WLAN, it works correct, so it can't be an issue of the Router/AccessPoint, it must something wrong in the MacBook
I refused to do an CleanInstall only for this "one" issue. A CleanInstall gives me Dozens of new and other issues!


How can I restore my iCloud deleted e-mails? I have a mail account like xx@me.com. Due to slow working and non-responding computer, I accidentally erased my inbox and trash on iCloud.

Is there any option that I can recover them?

You say "computer" but don't specify what, I will assume that you mean you have a Mac also, in which case, on the assumption that you run Time Machine (please, everyone, make backups!) then offline copies should be in your backups.


How do I change the phone number ID on iMessage on iPad? I get messages on my iPad from my wife's iPhone but not mine.
On messages, her number is listed as an ID but I can't change it to mine. How do I change it?

The only way to register a phone number as a Receiving/Sending id on iMessage, is via an iPhone.

Meaning: you can only register an iMessage phone number as an id if you have access to that phone number and you activate your iMessage account with it on an iPhone.

If you want your iPad to receive your iMessages (sent to your phone number) you have to:

Activate iMessage on your iPhone with your phone number and Apple ID (your carrier might charge you for this process);
[On your iPad] Go to Settings -> Messages -> Enable iMessage.
Then, on Send & Receive make sure the Apple ID is the same as in your iPhone and your Phone Number should be listed.

If you have already activated iMessage on your iPhone, on your iPad under Send & Receive you just have to log in with the same Apple ID as in your iPhone.

I also advise you to set the same id for Start New Conversations From on all your devices.


Can't uninstall Java under El Capitan Since installing El Capitan, I am not able to run Adobe Photoshop or Dreamweaver (old versions).

I get the message "You need to install the legacy Java SE runtime"

I am trying to uninstall Java and reinstall the Java SE 6 runtime I downloaded from Apple, but even though I am sure all traces of Java are gone, I am still not able to install. Every time I try to install the runtime, I get a message that says: "Java for OS X 2014-001 can't be installed on this disk. A newer version of this package is already installed."

I already removed /Library/Java and everything under it. I also checked /etc/paths and Java is removed.

Not sure whatever vestiges of Java remain, but I am still getting the message.

This link solved the problem for me:
Java for OS X 2014-001: How to re-enable the Apple-provided Java SE 6 web plug-in and Web Start features

Learn how to re-enable the Apple-provided Java SE 6 Java SE 6 web plug-in and Web Start features in OS X Lion and later.

If, after installing Java for OS X 2014-001 and the latest version of Java 7 from Oracle, you want to disable Java 7 and re-enable the Apple-provided Java SE 6 web plug-in and Web Start functionality, follow these steps.

Note: You must be logged in as an administrator. If prompted for your administrator password after a command, enter it and then press the Return or Enter key.

Open Terminal, located in the Utilities folder.
Enter this command, then press the Return or Enter key:

sudo mkdir -p /Library/Internet\ Plug-Ins/disabled

Enter this command, then press the Return or Enter key:

sudo mv /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/disabled

Enter this command, then press the Return or Enter key:

sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI.plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

To re-enable Java SE 6 Web Start, enter this command, then press the Return or Enter key:

sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws

Learn more

The following steps will undo the above commands and restore Java 7 in OS X Lion and later.

Disable Java SE 6 Web Start opening:

Enter this command, then press the Return or Enter key:

sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javaws /usr/bin/javaws

When prompted, enter your administrator password, then press the Return or Enter key.

Re-enable the Java 7 applet plug-in by downloading and reinstalling the latest version of Oracle Java 7 JRE.


How can I do an unthethered jailbreak for iPad Wifi running iOS 4.2.1 if you do not have older SHSH? How can I jailbreak iOS 4.2.1 (unthethered) if you do not have older SHSH?

Currently I'm looking for this only for my iPad WiFi, so no baseband.

If there are not solutions yet, do not post anything.

Greenpois0n rc5 Has been released and can do an untethered jailbreak on 4.2.1 without older SHSH blobs.

http://www.greenpois0n.com


MacBook Pro crash after sleeping for a long time I have a MacBook Pro (15-inch, Late 2016) running macOS Sierra 10.12.1 (16B2659). Recently I found out that if I left my machine sleeping for a long amount of time (about 15+ hours), it will cause a kernel panic and restart itself so when I open my computer the next time it will tell me the computer have shutdown unexpectedly. Is this a software bug or my computer have problem?

EDIT:

I got this problem today. The shutdown cause is -128. Maybe a hardware failure? Also sometimes instead of a crash, I also have this problem. (I posted that as a separate question since it's not a crash). Here is the crash report.

Occasional kernel panics are more nanannoyance than something to be fixed.

How serious are occasional kernel panics?

However, if you can make them happen, there is a process to resolve them:

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


Lion Mail 5.0 rejects a POP server. Looking for confirmation and/or workarounds Has anyone else experienced problems logging into POP servers that require plain text password login? Or more importantly found a work around?

(I know that in this day and age a plain text password long for POP is bad, but I have no control over this server)

Based on a packet trace it looks like Mail 5.0 doesn't even try to login based on the settings in the preferences, it just connects queries capability and quits reporting that the server doesn't support "Password" the thing is, there is no required capability for plain Password method, it is a base POP command.

A bug has been filed as this appears to be a software issue.

Radar #9813866
The issue in this case seems to be that the Mail app takes a stricter view of the CAPA response which older POP deployments may not match. The server isn't reporting the USER command as available, even though it is a basic command.


Where do the Notes associated with Gmail accounts get synced to on iPod touch? I noticed that notes, like Calendars, get synced with a Gmail account on the iPod touch.

But where do they get synced to? Where can I access them online?

There's a difference between syncing with iTunes and over the air sync.

If you set up your Gmail account to use over the air sync then when you open up the Notes app (on the iPod), you should notice a back button on the top left that allows you to change which account you use for notes. If you choose your Gmail account and start creating notes, you will start seeing them appear in your Gmail account, under the "Notes" label. This sync happens automatically once you press the "done" button on each note (as long as you have an internet connection).

This has nothing to do with iTunes sync.

You will only see notes that you create under this account in Gmail. You will not see all of your old notes. For that, see this question.


WhatsApp calls on an iPhone and "data" and "minutes" Am I right that if I use my iPhone (which I have not yet bought) to make a WhatsApp to WhatsApp call then the position is as follows?

If I am using wifi, this activity does not incur charges (because whatever is done through wifi does not count as either "data" or "minutes"?), but
if I am using the cellphone network, this activity will count under "mobile data" or "data allowance" (or perhaps "minutes"?), and therefore it will incur charges, being paid for out of either "data" or "minutes" or perhaps both?

Please assume that I have a PAYG arrangement that allows a specified amount of "data" and number of "minutes".

I have not used a smartphone before, and although I have read a few pages the exact meaning of "data" and "minutes" as these terms are currently used remains somewhat opaque to me. Thus "minutes" seems to refer only to voice calls placed to a phone number through the cellphone network.  But if the call is made from WhatsApp to WhatsApp then it is still a voice call (and also a video call) made to a phone number, even it obviously goes through the internet (and requires a continuing transfer of digital data). As for the actual connection required for a WhatsApp call, it may be made through wifi or it may be made through the cellphone network. If it goes through the cellphone network, does that make it count as "data" rather than "minutes". As I understand it, even a short video can amount to a lot of data.

Where is it documented what is considered data on iPhone for cellular carriers?

Usually carriers distinguish

minutes: for voice calls using the standard phone app, to either other phones or landlines (which can be confusing since FaceTime calls and audio use data and not voice minutes)
sms (which can be confusing since the the message app uses data for iMessage and SMS for MMS and SMS)
data: for all other internet traffic generated by any app that doesn’t hand off to SMS or the phone app.

WhatsApp uses data for both messages and calls. If you are in a mobile network, any activity you do in that app counts towards your data usage. If you are logged in to a WiFi network, data will be send/received over WiFi.

Contact your carrier for details how you ar set up so you can reconcile your bill and plan with how data usage on iOS records usage.


Why does my MacBook Air produce so much noise My MacBook Air's fan is spinning rapidly even though there are hardly any programs running. This normally only occurs when I am using the MacBook at a high intensity. However, the fan stops only when the MacBook shuts down. However, when I turn it back on again, it starts spinning at maximum speed again. Why is this so and how can I solve this problem? I need to use my MacBook urgently without it producing any noise from the fans.

Update:
I have included some screenshots from Activity Monitor. However, I am not sure which of them are applicable at this point in time. Sorry.

OK, the Activity monitor does no show anything unusual.

You are a candidate for the SMC reset. SMC (system management controller) is responsible for fan control, the battery charging ect..

Follow the instructions here for how to.

Apple kb HT3964


Truly Minimize All Windows Possible Duplicate:
  How to minimize all windows/applications to the dock?

I am aware of the F11 shortcut, but that doesn't really minimize all windows - it moves them to different corners and then when I open something up they ALL come back. The closest thing I have to making this work is by pressing F11, then Command + Option + Desktop click.

Are there any easier ways?

Try the Finder keyboard shortcut Option-Command-M. Other very handy shortcuts are available on this article at the Apple Support site. Hope this helps.


Can I install Mavericks side by side with an existing installation? My current installation of Mavericks has some issues that can only be fixed with a clean install (no Time Machine restore).

However I don't find time to do the complete reinstall in one session and I still have to work with the current installation.

Now my idea was to install the OS just parallel to the existing Mavericks once more. I have already shrunk my partition (see image). But I fear the second installation will kill my current one if I now just reboot and select to install Mavericks.

Any comments/solutions?

Yes, you can install OSX onto any eligible partition or external drive and are not constrained to simply apply it on the running OS.

Download the installer and choose any destination when it prompts you to install over the running OS.

I prefer this in almost all instances since I can run the migration to my new OS without ever losing my current setup or wiping a system that is currently in use. It only costs disk space and one extra step when installing.


Delete broken unrecognised external partition So the situation is as follows, I have a 2TB external USB drive partitioned into 2 halves, 1TB each. The first half was used for Time Machine, and the 2nd half a generic ext. USB HD.

Midway through a Time Machine backup the drive ejected itself and I got the "Disk was not ejected correctly" message. This seems to have broken the TM partition as it doesn't appear in Disk Utility, or System Info, or the Desktop.

The 2nd half however does appear on the desktop, and I can check the info and see I have used 250GB etc, but it can't be opened, and won't appear in Disk Utility, or under the USB section of sys info.

It seems then that the 2nd partition is fine (of sorts), however the first half is broken, and stopping the 2nd being read/written etc. I don't mind loosing the Time Machine backups as I have taken a spare on another drive, but I do need the data from the 2nd half.

Does anyone know how I might go about deleting just the broken partition, not using Disk Utility (as its not visible)?

EDIT
This is the results of diskutil list, and its disk1s2 that I think is causing the issue.

Timothys-Mini-2:~ timothywilkinson$ diskutil list
/dev/disk0 (internal, physical):
#:                       TYPE NAME                    SIZE      IDENTIFIER
0:      GUID_partition_scheme                        *500.1 GB   disk0
1:                        EFI EFI                     209.7 MB   disk0s1
2:                  Apple_HFS Macintosh HD            428.6 GB   disk0s2
3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
4:                  Apple_HFS Recovery HD             70.5 GB    disk0s4

/dev/disk1 (external, physical):
#:                       TYPE NAME                    SIZE       IDENTIFIER
0:      GUID_partition_scheme                        *2.0 TB     disk1
1:                        EFI EFI                     209.7 MB   disk1s1
2:                  Apple_HFS                         1.0 TB     disk1s2
3:                  Apple_HFS External HD             999.9 GB   disk1s3

I know this sounds insultingly simple, but have you completely unplugged and powered down the external drive and plugged it back in?

At the office, TM would periodically decide that the time machine disk was damaged and could not be written to. Restarting didn't fix it, even though it was mountable. Removing power to the device and plugging it back in fixed it and allowed it to be written to again. In both of the cases, they were LaCie drives. Give it time after plugging in, it could be doing a disk repair in the background before it shows on the desktop (can be verified by looking in activity monitor.)


`sudoers` file resets with every macOS update I had updated my sudoers file to make some command run with root privileges by default without the need to use sudo and entering my password. I used the command sudo visudo and added this line to it:
<my_username> ALL=(ALL) NOPASSWD: <path/to/command --arguments>

But whenever I update macOS, my sudoers file is reset to its defaults. A folder named Relocated Items appears on my Desktop and it always includes the following file: /Users/Shared/Relocated Items/Configuration/private/etc/sudoers. This happens on macOS Catalina, and also on macOS Big Sur.

How can I prevent the sudoers file resetting to its defaults with every macOS update?

Modifying most of the files in /etc leaves you open to them being replaced during OS updates. That's why most of the ones you usually need to change have the facility to add files to a directory instead.
If you look in /etc you will see a directory called sudoers.d and the last line of the sudoers file is #includedir /private/etc/sudoers.d so any file of commands you put into the directory will be read. Files in the directory will not be overwritten when you update.
You may notice directories with similar names in /etc that fill the same function for other parts of the system.


Macbook Pro Power Consumption I was wondering if it is possible first of all to get the overall power consumption for my MacBook?

And if it is possible can I get this power consumption for each peripheral running (like consumption CPU, GPU, Wifi,...)?

Have checked the activity monitor, but nothing really interesting there, except for a very vague energy impact number.

You can use iStat Menus to read the sensor values, which include voltage, amperage and wattage of various components in the system.


How can I send a set of photos from iPhoto using my gmail address? I can email photos from iPhoto as follows:

Click on an event to open the folder.
Select photos (with shift and command).
Choose Email... from the Share menu.

This will send an email from my @me.com address.

How do I send photos from another email address (such as gmail)?

Of course I understand that I can Reveal in Finder... each photo individually and attach it to an email message. I can also run ImageMagick mogrify on the images and then send the result. I am looking instead for a quick method that lets me just click to select the photos and also gives me the option of sending down-sampled versions of the photos.

When you do this, you should get a dropdown selection box that has your various email addresses in it.  You can choose in there.  If your gmail doesn't show up there, then go to iPhoto in the menu, click Preferences, click Accounts, click the plus, click Email, click Add, click Gmail, and provide the relevant info.


Apps open outside displays on external monitors (Yosemite iMac 27" 3.4ghz i7) I have two external monitors from my iMac, both are rotated in portrait mode. I assign apps to the outside displays via the dock so they open in a particular display.

When I open an App that is assigned to an external monitor, they will often open with their window either partially or completely outside of the display.  The only way to 'grab' them is via spaces.

Does anyone have a solution for this issue?

i have the same problem, i noticed that it happen if i start or resume my mac with the external display connected, if i connect it after the mac is wake up it behave normally.

Probably it fail to detect the correct setting for monitor during startup (or something messed it up as wake up)

So not a fix but at least you can work..


Recreate iPhoto library package from contents Yesterday I needed to copy an iPhoto library through the CLI. I forgot a slash and accidentally copied the contents of the library package instead of the whole package.

Is there anyway to recreate the library package from the contents? The copy operation took 22 hours, so would be really great if I didn't have to start  the file copy all over again.

It might be a simple extension problem:

Try adding .photoslibrary to the Photos Library folder name - basically try turning the folder into a type Photos will accept.

Interestingly, after having done something similar myself, after recovering my data from Backblaze, adding the extension switched the folder to a 'library' icon, but did not auto-hide the extension itself.
Applying similar logic to a folder by adding .app to its name auto-magically changes it into an 'app' [non-functioning] & hides the extension.

You can fix this, if you see a similar result, by getting info on the Photos Library.photoslibrary file & checking 'Hide extension'


DLNA via bridged interfaces - OS X Setup is as follows:

Primary network is via en0 (192.168.1.0/24)
Secondary network is via en1 and contains a DLNA server (192.168.2.0/24). This is 'private' network containing only en1 and the DLNA device, with no router etc.

I'd like for devices on the primary network to be able to communicate with/stream from the device on en1. Both networks are connected to a machine running OS X 10.8.

I've tried various combinations of bridge ('ipconfig bridge create' etc), natd, and sysctl in an attempt to arrive at some kind of functional solution and have consistently failed.

Can this be done, and if so, what is my target configuration?

Thanks in advance.

I'm assuming that these are separate networks with their own gateway to the Internet and that the OSX box is just a computer on both LANs (It's not their gateway)?

Bridging the networks has just effectively put a link cable between the two networks. Hosts on 1.x trying to send data to 2.x will just forward the packets to their default gateway which won't know what to do with them.

You could add a 1.x alias to the media server and keep the bridge but that's quite ugly and running two LANs on top of each other is generally discouraged. In addition, if you really wanted to do this it'd make more sense to just link the two networks with a cable rather than bridge them on a host.

The ideal solution is to probably have the default gateway on each network a router capable of routing between the two. However the routers would both need an interface on their respective LAN and an interface to connect the two routers together, plus relevant routes (at the simplest a static route on each) which probably won't be possible with the equipment you have.

By far the easiest solution is to merge the networks and move 2.x stuff onto 1.x or visa-versa, which ever is the least problematic.


Restore Macbook 2009 backup from Timemachine How do I restore the latest backup from the Time Machine and get all the data/desktop - in fact all the files including the OS Yosemite?

Genius support installed a new battery so working off a clean install. The automated Restore from Time Machine / Macbook only installed basic version and not the applications such as MS office or any document files.

Standard method for recovery from Time Machine

Power up your Mac and hold down the command and R keys to enter the Recovery Partition. Your Mac should boot to a screen that says OS X Utilities.
Select Restore from Time Machine Backup and click Continue.
Read the info on the Restore Your System page and click Continue.
Select your Time Machine backup and click Continue.
Select the most recent backup of your hard disk and click Continue. Your Mac will then restore the Time Machine backup; once it's done it will restart.

If you've had to replace your Mac's hard drive with a raw drive fresh out of the box, there's no recovery partition to restore from. But fear not, you can get the recovery rolling from the Time Machine backup disk itself. Just hold down the Option key when you start your Mac; you'll be able to select the Time Machine backup disk as your startup, instead.

Source : http://www.imore.com/how-set-and-restore-time-machine-backup


How do I get rid of my encrypted iPhone backups to start from scratch? Is there a way I can delete all my encrypted iPhone backups for which I forgot the password, so that I can start backing up from fresh?

At the moment I'm stuck in this loop (below) which I can't seem to exit

To delete the backups, go to iTunes>Preferences>Devices. All iPhone backups will be listed here. Highlight them, then hit Delete.

But if you're using a Mac, I would first try to see if you can find the password in your Keychain (from discussions.apple.com):

  Go to the "keychain access " app.
  Under "Keychains" select "Login"
  Under "Category" select "Passwords"
  Scroll down and look for "iPhone Backup"
  Double click and a window opens
  Check the box that says "Show Password"
  A window pops up asking for your OS X account password
  Type in that password and voila!


mds processes are constantly crashing Mojave 10.14.4 here -- mds_worker processes constantly crashing and re-spawning as per the logs.  The 'indexing' spotlight bar stops at various different points, always getting stuck, though in different places apparently.  I've rebuilt the database many times (using mdutil -i on/off, -a -E, etc., as well as the GUI method).  The database is clearly not complete - searching filenames that I can literally see turns up nothing in some cases and finds it in others.  Mail isn't returning good search results either.

In-place OS reinstall has been done; didn't clear up the issue.

Apple is now recommending I install Mojave on a separate partition, boot into it and see if it has the same issue - don't see how that's going to help (yet), but I have to do it in order to move the process forward.  I'll update with any findings once I've done that.

It seems like it's choking on some piece of data I have, and I need to figure out what that is so I can remove it.

It seems like many md_worker processes get spawned from a parent -- and the process that crashes does so, so quickly that I can't don't have time to do an lsof -p on it.

Is there another way to do this, or to get more information about the file(s) it's choking on from log?

Edit1: Ok, I figured out that I can get significantly more information about what mds* is doing with the following commands.  I have yet to run this on the affected machine.

sudo log config --mode "private_data:on"

log stream --style compact --predicate '(process contains[c] "mdworker") && (subsystem == [c] "com.apple.spotlightserver")' --info --debug

The first command turns off obfuscation, otherwise file paths are obscured (and replaced with "<private>") - I suppose to make it safe to share logs.  See here: https://superuser.com/questions/1311578/in-console-app-how-can-i-reveal-to-what-private-tags-are-actually-referring

Okay, I think the issue is resolved.

The culprit turned out to be an old piece of software from 2011 - Tags, for Mail (http://www.caseapps.com/tags/).

It installed an mdimporter into /Library/Spotlight/.

After reading up on the new logging system and figuring out how to disable obfuscation in order to not get those <private> entries in the logs since those don't help me see which files are being accessed by the md processes,

I ran log stream --style compact --predicate '(process contains[c] "mdworker") && (subsystem ==[c] "com.apple.spotlightserver")' --info --debug and watched it.

It kept hanging up in a particular directory, in ~/Mail/V6.  I went looking through the directory tree looking for permissions/uid issues -- nothing.

I re-ran the command with tee, so that I could tail it and grep out interesting parts to investigate.

Then I noticed that it seemed like _TagsMail.mdimporter was being mentioned in each line where mdworker was being called to import an email.

An excerpt:
2019-05-08 21:36:07.002 Db mdworker[53808:1463e7e] [com.apple.spotlightserver:Server] sandbox profile activated time:0.01667 uid:501 profile:mdworker cache:/var/folders/xb/25w333f48xl1ns0059bd0kxh0000gn/C/ temp:/var/folders/xb/25w333f48xl1ns0059bd0kxh0000gn/T/ home:/Users/B**** lib:/Users/B****/Library M:(null) MV2:(null) typeExtension:0 bundleId:com.gravityapps.TagsMail

I looked up tagsmail.mdimporter and the first web page hit is "_TagsMail.mdimporter prevents Spotlight in Mojave to finish": http://www.mnott.de/_tagsmail-mdimporter-prevents-spotlight-in-mojave-to-finish/

Interesting.  I moved the mdimporter plugin out and immediately saw progress being made, rather than the same roughly 10x files being attempted to index continually.

Rebooted the machine, created a test file on the desktop, searched for it and saw it pop up almost immediately.  Good sign that the indexer is working properly.


Is there a way to make QuickLook display a hex dump preview of files for which no other preview is defined? This question has two parts, I suppose.

Is there a way to assign a default case to QuickLook (if no other preview applies, use this one) and
is there a good hex-dump QuickLook preview?

I think you would need two things in order to make this work.
 1.  You would need a hex editor that was tied into whatever black magic Apple is using to provide QuickLook.
 2.  You would probably need to set hex editor as the default application for handling the specific file type...

In short... no, I don't think you can do it out of the box.