Java - version 1.7.45 - and Mavericks Chrome refused to run a java app unless i upgraded to .45, which I did my dling the installer from oracle.  Java 7 u45.  Installer said it worked.  Chrome still won't start java.

$ which java
/usr/bin/java

$ java -version
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)
~/private/WDI/git

I may be easily fooled, but that doesn't say "45" anywhere.  (Yes, "06", and "24" and "23.2-b09", but nary a 45.  Such numbers!)

Anybody know if this is u45, or where the installer placed it?

UPDATE: there is a Java System Preference Panel that says "Your system has the recommended version of Java: Java 7 Update 45."  Still, Chrome doesn't appear to see it.

The issue is that Oracle is being confusing abut the JRE.

The OSX JRE, which is what you downloaded, does not update /usr/bin/java it just installs itself to /Library/Java/JavaVirtualMachines/

You can either use the path to the java binary beneath that or instead install the JDK from this page which does update /usr/bin/java

@RichTrouton's answer might be correct on what Chrome uses i.e. a 32 bit JRE but this answer explained /usr/bin/java issues. Note that the simple Oracle JRE does not update /usr/bin/java and I think Apple's later installs do not touch this either. Your browser does not use /usr/bin/java but directly looks in /System or /Library


Remove GRUB & Edit Boot Loader Records? I have installed Linux on a second partition on my MacBook, it also installed the GRUB boot loader which is fine however I have the following problems:

When GRUB loads by default there is no entry for booting into OS X, only Linux.

When I hold option on boot to boot from the OS X partition it doesn’t detect that there is an OS on another partition and only gives me the option for my OS X partition or the Recovery partition.

If possible I would like to remove GRUB and add the Linux partition to my OS X Boot Loader so I have to hold option to boot into Linux as I prefer the look of it and will be using OS X more often so would also be more convenient.

However, failing that I would like to edit my GRUB MBR to add the OS X partition and have it set to auto-boot said partition within 3 seconds if no key is pressed.

If anyone can help me with this I would greatly appreciate it, I’ve never ran into similar problems and dug my way out of the hole before but this time I can’t seem to, any and all help will be appreciated!

MacOS Sierra 10.12 (Partition 1)
Linux: Debian Jessie (Partition 3)
MacOS Recovery Partition is Partition 2
GRUB also installed on Partition 3

While it should be possible to either make an EFI/aware GRUB the primary boot loader that chainloads macOS and also the Mac startup manager to recognise Linux, there are some difficulties and downsides to either approach. Both weren't really made for each other and if FileVault2 comes into the picture things leave the pretty phase.

The currently nicest solution for dual booting macOS and Debian would have to be using The rEFInd Boot Manager.

  rEFInd is a boot manager, meaning that it presents a menu of options
  to the user when the computer first starts up, as shown below. rEFInd
  is not a boot loader, which is a program that loads an OS kernel and
  hands off control to it. […] Many popular boot
  managers, such as the Grand Unified Bootloader (GRUB), are also boot
  loaders, which can blur the distinction in many users' minds.


Is there a way to sleep your mac through iPhone/iPad? In the remote that comes with Apple TV, if you pair it with a mac, you'd be able to press and hold the play/pause button and your mac will go to sleep. Is there a way to do the same with iPhone/iPad Remote app?

If you just need the sleep/wake function, you may want to take a look at iNet WOL, which does a great job. It's the little brother of iNet Pro, a much more extensive network tool for the iPhone.


Why do I keep having to reenter the SIM code after each iOS update? With my iPhone 5, I've been finding that I keep having to unlock the SIM code every time I update the iOS from one minor release to the next. While this isn't a problem, as I've memorized the code, it is rather annoying.

Is there any way to change this behavior, so that I don't have to keep worrying about this?

Is this a 'SIM PIN'?  If so, go to settings - phone - SIM PIN and turn it to off.


Reuse Time Machine backup drive after migration to new machine - revisited The answer by tubedogg to question Reuse Time Machine backup drive after migration to new machine described a procedure to do this.  It didn't address this issue:

JT-imac:/Users/jt>> sudo tmutil associatedisk -a "/Volumes/Macintosh HD" "Volumes/IoTMBU/Backups.backupdb/Latest/Macintosh HD"
/Users/jt/Volumes/IoTMBU/Backups.backupdb/Latest/Macintosh HD: Not a snapshot volume.

Stupid typo or fouled up TM BU drive?

You're missing a / from the start of your second path, so it's looking in the current directory for Volumes, as shown by the error "/Users/jt/Volumes/…". Add a / to the start of the second path.


install g77 using fink I am trying to install convex optimization package OBOE:
https://projects.coin-or.org/OBOE/wiki/MacosxOboe

I followed its instruction, but I run into errors in this step:

fink install g77

I think fink is properly install because:

fink install atlas

is run successfully;

while

fink install g77

tells me:

Information about 10346 packages read in 1 seconds.
Failed: no package found for specification 'g77'!

does someone know what happened? Thank you

Check out question 5.8 in http://www.finkproject.org/faq/usage-fink.php?phpLang=en#unstable I got the hint from http://sourceforge.net/p/fink/mailman/message/25799171/

  Q5.8: There's this package in unstable that I want to install, but the
  fink command just says 'no package found'. How can I install it?

  A: First make sure you understand what 'unstable' means. Packages in
  the unstable tree are not in stable for any number of reasons. It
  could be because there are known issues, validation errors, or just
  not enough people giving feedback that the package works for them. For
  that reason, Fink doesn't search the unstable tree by default.

  If you do enable unstable, please remember to e-mail the maintainer if
  something works (or even if it doesn't). Feedback from users like you
  is what we use to determine if something is ready for stable! To find
  out the maintainer of a package, run fink info packagename.

  For fink-0.26 and later: If you run fink configure one of the
  questions will ask whether you want to turn the unstable trees on.

  To configure Fink to use unstable when you have an earlier version of
  the fink tool than 0.26, edit /sw/etc/fink.conf, and add unstable/main
  and unstable/crypto to the Trees: line.

  If you use Fink Commander, then there is a Preference to use unstable
  packages.

  None of these options actually download the unstable tree's package
  descriptions.You'll need to turn on rsync or cvs updating to do this,
  which is not set up by default on a new Fink installation. The
  following command sequence will set you up on a new Fink installation:

fink selfupdate

followed by

fink selfupdate-rsync

or

fink selfupdate-cvs

and then

fink index -f
fink scanpackages

  Note: There are Fink Commander analogs
  for everything except fink index -f. You will have to use the command
  line for that.

  If you're already set up with rsync or cvs updating, then the
  following command sequence (or the Fink Commander analogs) will
  suffice:

  fink selfupdate fink index fink scanpackages   If you're not sure what
  your update method is, check fink --version in at a command line and
  see if that mentions cvs or rsync.

  If you don't want to install any more from unstable than your specific
  package(s) and its (their) dependencies, (and any base packages that
  got updated) don't use the update-all command until you turn the
  unstable tree back off.


Install Windows 7 on macoS High Sierra (MBP Late 2011) Device: MacBook Pro 8,2 (Late 2011)

Operating System: macOS High Sierra

Security Update: 2020-002

Boot Camp: Version 6.1.0 (6067.60.1)

Context:

A couple of weeks ago I decided it was time to do a clean install - from scratch - of my macOS High Sierra and Windows 7 operating systems installed on my MacBook, after a year of use. I used this video as a guide to install macOS High Sierra:

The installation was correct and without errors, after that I installed the updates from the App Store following the steps of the support website for the installation of Windows 7 from macOS High Sierra with Boot Camp: https://support.apple.com/es-es/HT205016

.

Issue:

Following the process above, Boot Camp created the installation drive, the disk was partitioned during the process and when the computer restarted, this error appeared:

  No bootable device -- insert boot disk and press any key

I have been searching for ways to install Windows 7, without success. Among them:

Try 5 different USB 2.0 drives (HP, Sandisk, Kingston): Since in a video they think that the problem with this black screen warning is due to USB.
Install Windows 7 creating the boot from Windows on a PC with the Rufus application and start from the Mac boot screen (without using Boot Camp). It did not work, although if it recognized the usb with Windows 7 it was frozen when clicked, however with the ISO of Windows 10 following the same procedure if it installed correctly, but the version of my MacBook does not have the complete drivers for Windows 10 in addition to which in my opinion is quite slow compared to Windows 7.

I have done the same installation process with BCA to install Windows 8, 8.1 and 10 and have got the same result.

  No bootable device -- insert boot disk and press any key

If you are happy with Windows 10 and want sound then you will have to install to BIOS boot. The instructions for doing so can be found at Installing Windows 10 without DVD or Third Party Tools. I would recommend first uninstalling the UEFI booting Windows 10 you have already installed. This is not covered in the link given in this answer.

Another possibility would be to convert your existing Windows 10 installation from UEFI to BIOS booting. I have never tried this to fix a driver problem, but this might be worth attempting. The steps would be as follows.

From Windows, download gdisk.
Copy gdisk64.exe to the Windows 10 flash drive.
Boot from the Windows 10 flash drive.
Open a Command Prompt window.
Use Windows commands to remove the Windows UEFI boot files from EFI partition.
Use gdisk to convert internal drive to hybrid partitioning.
Use Windows commands to install the BIOS boot data and files.
Boot back to Windows.
Maybe reinstall the Window Support Software.


Is there a way to use Ricoh1200s printer with OSX? The printer only comes with Windows drivers only and is not listed in OSX nor in the Gimp-print list.

I've also tried the generic PCL6 driver (which makes it print black dots to the side of the page but not more.)

any idea?

Ricoh has a page that links to general printer drivers:

http://ricoh-usa.com/downloads/downloads.aspx?utm_id=18&d=ds

That has a link at the bottom to show that they bundle the PPD and Apple provides the actual drivers to end users.

http://support.apple.com/downloads/Ricoh_Printer_Drivers_for_Mac_OS_X_v10_6

Assuming you didn't get prompted to download the drivers when you added the printer using the System Preferences, you can manually download the driver and try configuring the printer again after deleting the faulty definition from your Mac. Unfortunately, the SP 1200 isn't listed as an explicitly supported printer, so hopefully the official drivers still work. If not, you might need a print server to translate or modify the official drivers.


App Store Updates does not renders correctly in High Sierra It has been around a week that my Updates tab in the App Store looks like this:

All the other tabs are looking normal.
The only thing I tried was a restart, the iMac does not have any other weird behaviour.
Here are my details, serial hidden for privacy:

Thank you.

I was getting the incompatible upgrade message for GarageBand until I upgraded to MacOS Big Sur.  After I upgraded to the new  OS that error went away for me.


Why preview.app refuse to open local link in PDFs I'm trying to make a pdf with link in it to open local video files.

I succeeded to do it with Acrobat, and Reader open the files correctly. But Preview.app refuses. Regular http link are correctly open, but not file://

I need only Preview.app to make the finder launch the file, not open it inside preview. Since Reader.app can do this correctly, Does anyone have ideas how to correct this for Preview.app?

I would not expect preview to allow this as a result of conscious design decision by Apple. This is in essence how one design decision of OS X was made different from Windows. One allows core programs that ship with the OS to do all sorts of things and the other attempts to embed security by controlling cross-program interactions.

If Preview.app could open arbitrary, document-specified files (or worse have Finder execute that action on behalf of the user), it opens the door for all sorts of security risks.

Apple's restrictions on permissions is based in part on the difference between local files (being more trusted, and perhaps operating with elevated system privileges) and files from the internet (which are quarantined, subject to less permissions to run locally).

You could file a bug report with Apple to ask how to accomplish a link, but my guess is that this is how preview was designed and not some oversight or bug that prevents this from working on the current build of OS X.


Opening a file with command-line bin through Finder I wish to use mp3blaster (installed through MacPorts) via Finder. I want to double-click an mp3 file and get it opened in mp3blaster. But I haven't been able to do so. I created an app and, in another try, a service in Automator, using the following script:

/opt/local/bin/mp3blaster $1

Any ideas?

You should be able to get info on your .mp3 file and change the associated app.

Go to cmd-i of your app, click the drop-down of "Open with:" .. Select other and navigate to your directory. You will have to select Enable : All Applications to be able to click on the mp3blaster app.


Converting string to int doesn't work properly in terminal Converting string to int doesn't work properly in terminal.

I want to find how much time specific string occur in a big string.

if ((echo "iOS/i" | grep -o iOS/ | wc -l | bc)>2) then echo "ThreeOrMore"; else echo"TwoOrLess"; fi

result

ThreeOrMore

But the result actually should be TwoOrLess

but inner part works well

echo "iOS/i" | grep -o iOS | wc -l | bc

result

1

You can't use > to compare numbers in bash (> is used to redirect output to a file), you need to run the comparison as part of a test/[ command. Also the call to bc doesn't seem to do anything, echo "iOS/i" | grep -o iOS | wc -l already outputs 1.

The updated snippet looks like this (split on several lines for easier readability):

if [ $(echo "iOS/i" | grep -o iOS/ | wc -l) -gt 2 ]; then
    echo "ThreeOrMore"
else
    echo "TwoOrLess"
fi


Why are my Macbook's internal speakers not available? My Macbook (the unibody aluminum version) has lost its internal speakers. When I open System Preferences -> Sound -> Output, all I see is "Digital Out". If I plug in a pair of headphones, this switches to "Headphones". I don't see "Internal Speakers" at all any more. Headphones seem to work fine.

In System Profiler -> Audio -> Available Devices, I do see "Speaker: Connection: Internal".

I just clean-installed Snow Leopard, so it appears to be a hardware problem.

Is there anything I can do to fix this, short of taking it back to Apple? It's out of warranty.

If you look in your headphones jack, is there a red light on?
If yes, then you have Digital Out on, and this messes with the speaker configuration.

There is a thread here, which has some possible fixes.

Update
There is switch inside the jack that is stuck.  Plug the speaker jack in and out several times while watching the Sound-output system preference panel.  The internal speaker option will come on if the switch is unstuck.

Taking a toothpick and fiddling around inside the jack has solved the problem for some, you should try this. (Don't break the toothpick inside :) )

From: http://forums.macrumors.com/showthread.php?t=239287

  The problem is actually caused by a little switch inside the jack that gets stuck. When you stick in an audio cable, it pushes the switch down. If it's an analog cable, the end is made of metal. If it's optical, the end is made of plastic. If the switch is pressed down, the computer checks to see if the plug inside is metal or plastic based on conductivity. When it gets stuck and nothing is in there, it thinks an optical cable is plugged in since the switch is down but nothing conductive is in there. That's why it works with headphones or external analog speakers.


Internal HD not mounted after upgrade: Encrypted: ERROR -69808 I am asking for help on getting back into my MacBook Pro. I finally allowed a software update. I was a bit careless and didn't check what was updating. The account refuses my password, so I hold down command-R to boot in recovery mode.

I open a terminal and if I type:

diskutil APFS list

I get the following output (abbreviated):

Volume disk2s1
---------------------
APFS Volume Disk (Role):   disk2s1 (No specific role)
Name:                      Mackintosh HD (Case-insensitive)
Mount Point:               Not Mounted
Capacity Consumed:         73577095168 B (73.6 GB)
Encrypted:                 ERROR -69808

Attempting to repair fails:

diskutil repairvolume disk2s1
Started file system repair on disk2s1 Macintosh HD
Repairing file system
Volume is already unmounted
Performing fsck_apfs -y -x /dev/rdisk2s1
error: mount_apfs exit status 73
File system check exit code is 78
Restoring the original state found as unmounted
Error: -69845: File system verify or repair failed
Underlying error: 78

Running fsck_apfs -n -d /dev/rdisk2s1 gives
mount_apfs: mount: Input/output error
error: mount_apfs exit status 73

Any ideas how to recover the data?

Even though you have now wiped the drive and are using your MacBook, I would strongly advise that you look at the SMART reports for your drive, especially if it is a traditional spinning HDD — mount: Input/output error suggests that your drive is failing.

For future reference, if your drive is failing, a tool like ddrescue will allow you to create a byte-for-byte copy of the readable data on the drive to another drive. The copy can then be inspected further to attempt data recovery without any risk of complete data loss due to the failing drive becoming completely inoperable.


mutagen uninstallable? I cannot understand this:

pip install mutagen

returns no error, yet as I try to use it I get this:

$ python
Python 2.6.6 (r266:84292, Jun 22 2011, 22:27:57)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mutagen
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named mutagen

what is happening?

On my Macbook Pro running Sierra, it is not installed.  However if it is, you should be able to remove it with pip remove mutagen, and reinstall it with pip install mutagen. It should automatically download, build and install mutagen.  Also, make sure your python is updated to the latest version (i. e. 2.7.10).  If not, you may want to install Homebrew and upgrade it through that.

Homebrew can be installed by /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)", and python can be updated with brew update; brew upgrade.

Link to Homebrew's official website


How to disable spaces? There is only one thing I hate on macOS (Sierra) since this was created.

I open an application and work on it.

I click on another application on the dock and the whole screen slides to the right and I see that app.

I click on the first application on the dock and the whole screen slides to the left.

For heaven's sake. How do I disable this? If I want to slide I go to an ice rink.

I have already typed that on terminal and restarted the machine

defaults write com.apple.dock mcx-expose-disabled -bool true

and this hateful thing continues.

I want to disable spaces, mission control and for that matter launchpad too and all other things like that.

If you have multiple spaces, you can delete them by exposing the Spaces (by default, Control-Up arrow), and then hover over one of the spaces with your mouse pointer. After a moment, you should see a round (X) appear in the upper left corner. Click and it will delete the space, repeat until you have only one left.

If you find that when you launch an app a space comes back, right-click on the App's icon in the dock, and look under the "Options >" menu. There may be a checkmark beside "This desktop." If so, selecting "None" and then closing the Space like before should stop that.

Edited based on comments: Mission Control does need to be re-enabled first. In the terminal, type

defaults delete com.apple.dock mcx-expose-disabled

and then

killall Dock

And wait for the dock to reload. Then, clear the unwanted spaces (or all of them!) and re-disable Mission Control.


ls output does not have color while SSHing to another machine with iTerm2, but does with Terminal Just as the title says, when I ssh to my work Fedora server with iTerm2 I don't get color ls output. When I ssh to the same server with OS X's default Terminal app, ls color output works just fine.

EDIT: All other ls output is colorized properly. Both iTerm2 and Terminal display ls locally as colored, and Terminal works properly when SSH'd over to the work machine.

The only time I'm not getting colorized ls output is when I use iTerm2 to SSH to my work machine. Terminal produces colorized ls output when SSH'd to my work machine and so does PuTTY on Windows.

When SSH'd into my work machine from iTerm2 'ls -G' also makes no difference. Still no coloration on ls output.

Also, when SSH'd to my work machine from iTerm2, the only thing I'm not seeing color on is the output of ls. My prompt is colorized, vim works with color, and if I echo $TERM I see xterm-256color.

Any ideas?

ls output with colors (ls -G) is not the default option. Run the following command in your terminal to enable ls colors by default:

echo "alias ls='ls -G'" >> ~/.bashrc
source ~/.bashrc

This and all future terminal sessions will now display colors correctly.

If you're still not seeing colors on your remote (or local) session follow these steps:

In iTerm verify that you're sending a terminal type that supports colors. Open the preferences window -> Profiles -> Default -> Terminal. I'd recommend putting xterm-256color as the Terminal Type.

While connected to the remote machine, run ls -G and open the iTerm preferences again: preferences window -> profiles -> Default -> Colors. Adjust the ANSI Colors, and turn the minimum contrast down until the colors in the terminal window start to show color.

If the remote system supports ls --color=always, remove any existing aliases in ~/.profile or ~/.bashrc and update as follows:

echo "alias ls='ls --color=always'" >> ~/.bashrc


iPhone 4s volume bar disappearing I have a iPhone 4s 64GB for 3 1/2 years now. A few weeks ago, my volume bar randomly wasn't showing up when I tried pressing the + or - button on the phone itself.

Also, the volume bar was "grey texted" when opening the music app and it was completely gone opening the screen where you swipe from down the screen.

The problem fixed itself when I had the phone charged over 30% battery power and restarted the phone a few times.

When i'm getting a phone call or setting the timer, the speaker just works, no problems.

When I have a headphone plugged in, the sound also works normally.

When setting the option on to that i can set the calling sound with my volume buttons, the volume buttons work fine.

Questions

How does this come and how can i solve this problem??

There might be lint in the headphone jack. The lint is partially blocking the contacts, which is causing intermittent behaviour.

Get a wooden toothpick. Use the toothpick to remove lint. Be gentle.

Some people suggest using a can of compressed air. This is potentially bad because lint can be blown further INTO the device.

If you need more information about cleaning your phone, there are various online sites that can help.


Add additional filetype to a specific "Kind" In Finder one is able to group the files by kind. For example "Movie" kind groups .avi, .mov together. I would like to add additional file extension .mkv to the list of "Movie" kind. Is it possible?

As a bonus, it would also be interesting to know if, similarly, it is possible to add additional "kinds" of files.

The reason this is happening is answered here, https://superuser.com/questions/371892/osx-assign-extension-to-content-kind

Unfortunately, there isn't a really fix for the problem.


ffmpeg capture of 1366 x 768 desktop is skewed but FaceTime cam capture is fine Per the ffmpeg Capture/Desktop instructions using avfoundation to access input devices the FaceTime camera captures look fine:
ffmpeg -f avfoundation -i "0:none" facetime_cam.mov
...but using
ffmpeg -f avfoundation -i "1:none" screen.mov
...the desktop looks like this:

How can I use ffmpeg to capture my desktop?

ffmpeg 3.2.2
macOS 10.12.3

-------------------------UPDATE:
the folks @ ffmpeg suggested I "specify another pixel format" - so, I'll try and figure out how to do that. I am confused as to why the desktop looks terrible and the FaceTime camera looks "normal" without any specific parameters tho?

Per FFmpeg's bug tracker, I was able to ascertain that the source of the problem is specific to the default resolution of the Mac AirBook: 1366 x 768.

  The linesize ... was 1376 ... but
  the buffer size was for a linesize of 1366.

After switching the AirBooks Built-In Display resolution, I am able to successfully capture a recognizable desktop movie:

To resolve this problem requires implementing a patch which I do not know how to do yet.


Two keys on keyboard suddenly switched roles I have a Microsoft sculpt keyboard connect via usb to my Catalina MBP 16,1. Suddenly, the ^ key has traded roles with the < key. The internal keyboard has the same problem. Everything else is the same, but those two have suddenly switched.
This came after an unsuccessful attempt to install Karabiner Elements which seemed super unstable. It did not occur right after that, as I used the keyboard for some time then.
How can I find out what the problem is, and fix it?

Update: After two rounds of reinstalling Karabiner, Uninstalling Karabiner, and Rebooting, the problem now only affects the external keyboard.

When a new keyboard is connected, macOS will show the Change Keyboard Type button in System Preferences > Keyboard. This is used to detect the type of keyboard. For mine, it would have had to be ISO, but it seemingly got wrongly configured in the past, and the button would not show.
Deleting /Library/Preferences/com.apple.keyboardtype.plist and rebooting made the button reappear and I could set up the keyboard correctly again.


Make apps stop showing as mounted partitions I am new to OS X and have been using it for 5 days.

Whenever I launch an application, it shows up as a mounted drive in finder and on the desktop. This looks useless and annoying. Is there a way to prevent apps from showing up as mounted drives?

If you download an app, it comes packed as disc image in most cases (a file with .dmg extension). If you open this file, this drive image is mounted as new drive. You should move the application that is on that newly mounted drive to your application folder. The image file can be unmounted and deleted. Be sure not to copy the dmg file to your application directory (you can check file extensions by selecting the file and press command+i).


macOS/iMac - LG UltraFine controls For seemingly no reason, the macOS hotkey to control the brightness (control + F1/F2) of my LG UltraFine secondary display has stopped working.
Also, the Sound Preferences do not show LG UltraFine speakers anymore, so I cannot set the sound output to that display.
When I try to open LG Screen Manager, it quits immediately.
Can anyone else using LG UltraFine (23.7" 4K, specifically) confirm facing this issue? Any suggestions on how to fix this?

This Apple bug/personal oversight has become a nuisance on my home setup. Not only can I not control the display and sound on my UltraFine monitor through the iMac, I am unable to send the sound output from my iPad to the monitor. All this was earlier working without any problem.
When going to Apple > About This Mac > Displays, the UltraFine display shows up, implying that the monitor is being identified. But the sound and brightness controls are not working.
I have tried three different devices, an iMac, an iPad, a MBP. Neither worked, leading me to believe that the issue is with macOS/iPadOS.

Summary

Shutdown your device and completely take the plug out of the socket, to kill its power supply;
Disconnect the power supply of your LG UltraFine monitor as well, by pulling the plug out of socket;
Reconnect(/Power on) everything after ~15 seconds;
The controls should come back to life.

Fully unplugging resets a few things in the UltraFine monitor as well as in the iMac.

Detailed
I spoke with Apple Support and the representative tried to help me solve this problem, but to no avail.
The only thing that session managed to get done was have my iMac restarted in Safe Mode. It did not solve the problem, but in the process my UltraFine's display's orientation changed. (I use it in portrait; It got reset to landscape.)
Since it changed something, try that first.

Next, while moving my desk I had to disconnect my UltraFine and iMac. When I plugged them back to another place, I started the iMac first without the display connected to it. Then I plugged in the power cord of UltraFine. And then I plugged the display's cable to iMac.
I understood that disconnecting an iMac off its power supply for ~15 seconds is how you reset its SMC. I think when I disconnected my machine to move it, I accidentally reset the SMC and that fixed the problem.


View email source in iOS Gmail app Is there a way to view the email source HTML in the iOS Gmail.app? Show original is available on desktop browsers. I haven't been able to find it on the app.

This isn’t on the app. The app is optimised for better performance and compatibility. The only way to do it is to use show original on the web. And that can be done only on a computer because Google immediately moves to mobile mode when logging in from a phone.


Terminal tab number shortcuts completely messed in High Sierra I use tabs in terminal.app quite a lot, and often close and open new tabs as I run different tasks. I'm very used to switching through tabs using the same shortcut as I use in Chrome and textmate, just hitting cmd + number.

Usually these shortcuts are relative to the tab order. Cmd + 1 is always the first tab, cmd + 2 the second, cmd + 3 the third, etc. For some reason though, recently I've noticed if I open a new tab (e.g 3rd tab) and close the second tab, the shortcut for the 3rd tab remains cmd + 3?

It's even weird if I'm on the first tab and open a new tab. It wedges it between the first and last tab (assuming I had 2 open and opened a 3rd), but the shortcut for the new tab is cmd + 3, even though it's in second place?

Is this new? Can I reset this somehow to be relative to tab order? This is really confusing and unintuitive.

The answer to this is really unintuitive...when you don't have this option selected, the tabs show the shortcuts you want "cmd + number":

However, then you see this annoying issues where the tab shortscuts are based on opening order, even if you rearrange them. After selecting the option to switch tabs, the shortcut shown on each tab is misleading:

But, it now works with cmd + number in the tab order you see (without needing to use the "option" key.


Random patterns all over the place on screen. Activity monitor shows cpu usage is 80% idle... not sure what's going on Does anyone know what's going on here? My screen randomly renders these patterns all over the place at random times. OSX High Sierra. When you resize the window, it's gone but reappears soon after.

This problem only started happening recently (after recent High Sierra update)... screen is fine.

Okay... so I found out what the issue was. If you're using a thunderbolt dock and one display cable is connected via the thunderbolt dock, you cannot then connect the other display directly to the macbook. If you do this, the drivers are not capable enough to prevent the pixel tearing effect due to the pictures being slightly out of sync. Once I connected both displays via the thunderbolt dock, it worked fine.


Is there a way to input GPS co-ordinates into the iOS6 Maps app? In Google Maps and the iOS-5 Maps app you can search for co-ordinates such as "loc: N 42 14.768 W 071 02.156" (note the lowercase loc). In the new Maps app this fails with No Results found. Is there another way to enter GPS co-ordinates or is this another missing 'feature'?

Yes. Omit the "loc:" and just enter the coordinates.

40.748342, -73.984606 will drop a pin right on the Empire State Building.


How can I prevent having to restart Safari when blocking sites via /etc/hosts file? I have modified my /etc/hosts file to block website.com and www.website.com.

I know the formatting of my hosts file is correct because when I restart Safari, the block takes effect. I can also enter into a private window, and the block takes effect. If I do not take any action, Safari will eventually start blocking the sites from my host file after about 5 minutes. Is therany wayay I can expedite this?

When I test in Chrome, there is no need to restart Chrome, my blocks immediately start working.

I've attempted:

sudo killall -HUP mDNSResponder

and

sudo dscacheutil -flushcache

I've also read attempted all of the formatting suggestions on stack exchange for the etc/hosts file, but nothing seems to work. No matter what, Safari needs to be reset for the blocks to take place.

I would like for a solution that can be done programmatically (i.e. through a terminal command or some sort of script - not through some GUI application) so that I can package this in with my application.

I've discovered that if I disconnect from wifi for about 10 seconds and then reconnect, that will force safari to read the hosts file correctly. Anyone know what type of data gets cleared when you disconnect and reconnect to wifi? Maybe that can guide me to a workaround.


Apple magic trackpad 2 not recognized by mac I have tried the following:

Connected to computer with usb-c to usb-a charging cable.

Charged Trackpad overnight while power is on and while power is off.

Reset the bluetooth

Removed all Bluetooth Devices

Reset PRAM

Tried to add to a MacMini

Nothing works.

Make sure the Trackpad is powered on (there is a switch on the back)
Make sure you are using the Trackpad with a Mac that has Bluetooth 4.0 and runs at least OS X v10.11
Connect the Trackpad to your Mac with a USB to Lightning Cable
A message should appear that it is now paired. Do not remove the cable before that.


Photos and iCloud cannot see photos on iCloud safe to delete? I want to delete photos from my Mac to free up space. I've never gone to iCloud before to check on my back ups and just assumed they occurred. However when i go to iCloud it shows nothing but find phone. Is there a way to see photos? The only question i see that actually addresses this is negatively voted on, and the only answer did not address the Question but was geared toward organizing library and space on cloud. I just want to know my stuff is there. How? if I cannot see it??

If you enable iCloud Photo Library on your Mac, and your photos are on the Photos app, you can set it up to save originals on the cloud and automatically save space by keeping a lower resolution copy on your Mac.
To do this, go to Preferences > iCloud, then select "Optimize".

This will also allow you to view your entire collection on iCloud.com if you wish.

Note that you have no saying on when the app starts "saving space" on your behalf, and that if you delete a photo on your Mac it will be deleted on iCloud too; it is more a synchronization service than a storage on the cloud service, with the advantage of the space optimization.

Also, there is no Mac iCloud backup service to my knowledge; you can only backup to Time Machine —or some other backup service of your preference, of course. You may have some of your documents synchronized to iCloud but if you delete them locally they will also be deleted there.
Time Machine erases old backups when it runs out of space, so it won't work as a long term storage solution either, unless you have lots of space available —so it does not need to delete your old backups in order to make space for the new ones.


Trying to turn on localhost on Sierra made my Mac unable to connect to internet Background

I recently upgraded to macOS Sierra, but couldn't see the typical "it works" page on the local host.

I followed some instructions online, first I did the following to my httpd.conf file:

Uncommenting from /etc/apache2/httpd.conf

LoadModule userdir_module libexec/apache2/mod_userdir.so
LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so
Include /private/etc/apache2/extra/httpd-vhosts.conf
Include /private/etc/apache2/extra/httpd-userdir.conf

Uncomment from /etc/apache2/extra/httpd-userdir.conf

Include /private/etc/apache2/users/*.conf

In my /etc/apache2/users/$USERNAME.conf file I had ProxyPass configured as well, and to get it working again I had to re-uncomment the following from my httpd.conf.

LoadModule proxy_module libexec/apache2/mod_proxy.so
LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so

the instructions gave me a 403 error on localhost instead of page not found error.

with more search finally these instructions did it:

sudo mv httpd.conf httpd.conf.sierra
sudo mv httpd.conf~previous httpd.conf
sudo apachectl restart

Problem

Things went fine for half a day but the next time I turned on my mac I got this error: ping works and git pull etc work. But I cannot visit websites on chrome/safari etc. I rebooted my mac on recovery mode and the internet worked fine on chrome so I know it's not a hardware issue or an ISP issue.

Here is the output of ifconfig -a

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
    nd6 options=201<PERFORMNUD,DAD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    ether c4:b3:01:d4:dc:d7
    inet6 fe80::1c4b:b2f5:b346:e9cf%en0 prefixlen 64 secured scopeid 0x4
    inet 192.168.43.145 netmask 0xffffff00 broadcast 192.168.43.255
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active
en1: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500
    options=60<TSO4,TSO6>
    ether 6a:00:02:b2:2f:40
    media: autoselect <full-duplex>
    status: inactive
en2: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500
    options=60<TSO4,TSO6>
    ether 6a:00:02:b2:2f:41
    media: autoselect <full-duplex>
    status: inactive
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=63<RXCSUM,TXCSUM,TSO4,TSO6>
    ether 6a:00:02:b2:2f:40
    Configuration:
        id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
        maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
        root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
        ipfilter disabled flags 0x2
    member: en1 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 5 priority 0 path cost 0
    member: en2 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 6 priority 0 path cost 0
    nd6 options=201<PERFORMNUD,DAD>
    media: <unknown type>
    status: inactive
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
    ether 06:b3:01:d4:dc:d7
    media: autoselect
    status: inactive
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
    ether 3e:43:f9:8e:ae:0d
    inet6 fe80::3c43:f9ff:fe8e:ae0d%awdl0 prefixlen 64 scopeid 0x9
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
    inet6 fe80::f765:ed4f:b226:f379%utun0 prefixlen 64 scopeid 0xa
    nd6 options=201<PERFORMNUD,DAD>

What i have tried

loading chrome shows me this error.

initially both the web proxy (http) and secure web proxy (https) were selected.. deselecting them didn't change much

it works fine now! but the worst part is that I'm not sure why or what fixed it. For reference here is the last two things i did:

I deselected whatever was selected under the proxies tab in network settings
I replaced the contents of my /etc/apache2/httpd.conf with /etc/apache2/httpd.conf.sierra, which for reference can be found here


Turn off internal display without closing lid I learned that a MacBook Air's built-in screen turns off when I close the lid so I can continue working on an external display set to be primary. But the MacBook Air has a heat system that requires it to be open to work properly. Heat accumulates faster when it is in clamshell mode.

Is there any way to turn off just the built-in screen without closing the lid but keep the external display active?

Run sudo nvram boot-args=iog=0x0 and restart. It restores the behavior on 10.6 and earlier where the internal display is not turned back on if the lid is opened in clamshell mode.

You can delete the variable with sudo nvram -d boot-args.

Other related questions here and at Super User.


Is an unlocked phone and a jailbroken phone the same thing? I just read that apple is now selling unlocked phones? I also read somewhere earlier (probably Wikipedia) that jailbreaking was made legal.

Is jailbreaking and unlocking the same in this context?

Addendum:  If they are different, does it also mean that jailbreaking doesn’t unlock the phone? and the steps to unlock are different? I was under the impression that when I jailbroke my phone (using redsn0w), it also became unlocked.

No, they're not the same thing.

Jailbreaking is a process where the iOS software and device firmware that Apple ships is modified to allow unauthorized/unsigned code to run.

Unlocking means that you can use a GSM iPhone with any GSM carrier, not locked to one carrier in exchange for a discount or an exclusive sales agreement.

Jailbreaking is the first step needed to unlock a phone. Jailbreaking allows additional root access to the device and allows for other app store mechanisms to load apps and code onto the phone.

Some utilities, like redsn0w, will automatically unlock certain models of iPhone in addition to jailbreaking.

Apple has sold authorized unlocked phones in several markets worldwide.
As of June 2011, Apple will sell unlocked GSM phones in addition to the locked to Verizon and AT&T models. Some carriers will unlock an iPhone once your contract is up. There is a lot of confusion in the US on this point due to conflicting law of software licenses and Library of Congress exemptions that permit users to modify their phones for the express purpose of unlocking them when not bound by a contract to one carrier.


How do I get the white star back in top site in Safari 6.0 in Mountain Lion? The white does not appear in top sites in safari 6.0 in Mountain Lion.

The Top Sites update indicator (blue curl with white star) used the RSS functionality (which if you remember was removed from Safari v6) to work - this is how it could tell if a website was updated.  This means that since Apple removed RSS for Safari v6, this also removed the Top Sites page site update indicator functionality.

Just like the removal of RSS for v6, this missing Top Sites indicator functionality is a feature of v6.0.


How to make SSD Drive bootable from a disk utilies restore My mid-2009 mac book pro hard drive is dying so I bought an SSD to replace it.  I tried plugging in the ssd drive to the mac via a usb to sata connection and using SuperDuper to copy the contents (saw a video and it looked easy), but it took forever and I got a generic input output error.  Next I tried restoring from a time machine backup to the ssd drive.  picture an external hard drive with the time machine backup connected to my mac book via usb and my ssd drive connected to the mac book pro via usb. I went into Apple Disk Utilities and did a restore from the external hard drive to the ssd drive.  It took about 16 hours, but it completed.  So now I have 2 drives with the same information - at least I think.  I wanted the ssd drive to be bootable, but it's not.  Can someone explain what a restore really does and how I can make the ssd drive bootable so that I can replace the dying, old mac book hd.  Note: I want to make the ssd drive internal and not keep it as a bootable external drive.  Thanks!

Steps I followed to solve:
Downloaded El Capitan to Ssd drive
Removed old drive replaced with SSD drive
Ran migration utility from time machine backup
Rebooted and working great. Thanks for the help!


Hard drive on latest macbook pro 17 accessed too often I have the latest macbook pro 17 and it seems no matter what I do, particularly noticeable when I simply scroll up and down on a window, I hear the hard drive tapping away like it's being accessed or written to repeatedly.  I used to also get frequent pauses with that ever annoying spinning color cursor until I upgraded to 8gbytes ram.  Now the pausing happens a lot less frequently (though it still occurs), but I still get that hard drive craziness for everything I do.

I run intellij, chrome (maybe also firefox), sftp client, tomcat (with low memory limits) and not much else.  Even 4gbytes should've been plenty.

Maybe what I'm hearing is not the hard drive?  I'd be very surprised...  What's going on?  Is there a good tool for diagnosing this?  top tells me I have plenty of memory free.

I have had great luck using the Activity Monitor to find out what's running on my Macs.  It should point you to the app that is accessing the hard drive.  I would start in "My Processes" and look to see which apps are consuming CPUs.  If this view does not help, then try switching to "All processes, Hierarchically" which will include your Apps and core System apps.  The bad guy should be consuming lots of CPUs.

You can also run the Apple hardware test that Apple included on your OS X disks.  This test is explain in Apple Support document HT1509.

Given your past experience with the Apple spinning beach ball, I think there's an app behind this but between Activity Monitor and Hardware test, you'll have a better idea of what's going on.


Disable OS X startup sound How can I permanently disable the startup sound (or chime) in Yosemite?

(I am using a late-2014 13" macbook pro)

I already tried several options found here and there :

installed StartNinja.app => did not work
installed Auto-Mute.app  => did not work
tried to install the old StartupSound prefPane => did not work
tried the command "sudo nvram SystemAudioVolume=%80" => volume does not change (I also tried other values than 80, such as 00, 01, or nothing)

NOTE: I know that it is possible to mute the next startup sound by turning the volume down, but this is not a permanent solution.

I would like to suggest a little script that I wrote to solve this problem without hacking the system.

The idea is that the boot sound is not played if the Mac was muted before shutting it down. So this script basically mutes the Mac right before the shutdown and restore its previous state after login.

It should work on any version of OS X, and I tested it on my MacBooks with Yosemite.

You can find it on GitHub: https://github.com/teored90/nobootsound

The README tells you how to install the script. I hope this works for your system and I'd like to hear your feedback.


How to get iCloud keychain back after update to iOS 8? I have upgraded my devices to iOS 8. All seemed well. However, today I noticed I was mising some password in Safari. Checking my iCloud settings, I noticed that keychain was turned off. This must have happened during the update. Trying to enable it, I had to authorize via a second device. No problem I thought. But no, my iPad also had the same problem.
So now iCloud wants my security code, which I had set more than ayear ago, and cannot remember. What now?

If you have a verified phone number and have set up the ability to verify devices using SMS verification code, you can use this method. Otherwise, you will not be able to recover your keychain yourself. You may find help by contacting Apple: http://www.apple.com/support/icloud/contact/


Delete photos from icloud but keep in macbook and phone I find iCloud really annoying and I want to remove my files (mainly photos) from it but still keep them in my phone and laptop. How should i go about doing that?

For the laptop, move your photos to a separate folder, desktop for easily finding it, then delete them from iCloud. On your phone, just upload the photos to your laptop and delete them from the phone, then turn off photos in iCloud.


New user notifications on Telegram app I keep getting notifications when a new user in my contacts joins telegram. Is there a way to disable this?

There is an option to disable these notifications both on iOS and Android.

What we don't have now is an option to disable new chat creation for every new contact joined Telegram :(

iOS:

Android:


Photos.app is missing the All Photos view / Photos sidebar button This question I think is best served with a screenshot.

In Photos, the sidebar for a new library, basically looks like this:

Well, for one of my macbooks, it just literally doesn't have the "Photos" option, which is surprisingly annoying given that I don't really need it and can still search by date and place anyway.  But it's driving me nuts.  It's not a hidden menu option or account preference.

Other mac just starts at Memories:

I've tried many things, and I've narrowed it down to the machine itself:

I can open a .photoslibrary on one mac, and see Photos.
Copy the exact same .photoslibrary to this other mac, and not see it.
This happens on two completely fresh blank formatted Macs
The .photoslibrary is not tied to any account.
Same version of Photos.app and Mac OSX.

Please someone know this.  This issue does not exist on the web.

As a workaround you can right click on any photo (e.g. in Recents) and select "Show in All Photos".
Photos will then switch to the "All Photos" view and you can use it pretty normally though the entry in the sidebar is still missing.


Unable to send email with Mac Mail via Mailgun Beginning in July of 2015, I've been unable to send mail using the Mailgun SMTP server using Mac Mail. To add a Mailgun account, I go to Mail > Preferences and under Account Information > Outgoing Mail Server (SMTP)

I choose the Edit SMTP Server List option. I select the options shown in the images.

When I hit OK, the account description in the Outgoing Mail Server (SMTP) briefly changes so that the "(Offline)" suffix is removed, but then it is quickly added back and I can't send with that account.

As suggested by Mailgun at https://documentation.mailgun.com/quickstart-sending.html#send-via-smtp,

I tried sending with swaks and was successful, though I had to change the password provided by Mailgun's example.

Go to: Connection Doctor in the Windows menu item...

Then enable the log, or select show details to see if anything in the log helps you to see what the issue is...


How can I batch rename files to copy them from OS X to Windows NTFS? I am trying to copy a large number of files to an NTFS formatted Windows 7 machine from a Mac OS formatted external hard drive.  I am mounting the drive by attaching it to my Airport Extreme Router.  This gives me access to copy files, however, it chokes on thousands of files that have names with various characters that are not supported in filenames on Windows.

There are too many files to fix it manually.  I am looking for an automated way to move the files to the NTFS drive.  I am okay with the files being renamed, but I would prefer to not have to play a guessing game of which characters to rename across a folder with thousands of files.  Any ideas?

You might want to try the application A Better Finder Rename. It has a built-in function to convert Mac file & folder names to legal Windows file & folder names:

Naturally, somebody will come along later and throw a smattering of regex in a bash script for you to puzzle out, but ABFR does this kind of thing so easily. It can even create a droplet app onto which you can 'drop' files & folders to be processed. It is a handy tool to have in your toolbox if you aren't a strong programmer, or don't have the time, or both.


Why Macbook Pro 2016 removes F1-F12 keys but the Fn key still there Anybody know why in the new Macbook Pro 2016, they remove the ESC, F1->F12 keys with the Touch Bar but the Fn key is still there?

Fn still turns Touch Bar into a function key row F1..F12


Why iTunes updates get released so fast and why everytime the entire iTunes has to be updated instead of patched? I use iTunes on my Mac (OS X 10.6) but I wonder what's up with it's update.
I really want know Why iTunes updates get released so fast and why everytime the entire iTunes has to be updated instead of patched.

P.S: I have limited bandwidth with my internet then the size of update was important for me.

The reason why they release patches so often, iTunes is the app where all their management of iPhone and iPad occurs, which means they often need to update it to add support for new iPhone/iPad/iPod touch models, and to support new features in those products. The fact that it is also where they handle a lot of their DRM (which they may have contractual obligations to update in some instances) probably is part of the reason as well.

The fundamental issue with delta patches is that they are more complex, and have higher support costs for the vendor. A full updater can run against any version of the app that is installed, a delta patcher most be made against specific version. A full updater will work regardless of whether the app has been modified (user hacking the binary to do something, tweaking the artwork, etc), a delta updater will fail against a modified app.

Given the extra work involved in preparing a delta patch, and the increased chance that it won't work, they tend to only be used in very specific cases. Apple tends to create delta updates for software updates, but they only create a delta against the most recent released version of the OS, rather than making dozens of versions that work with every release they make the one that will get most people, and then for everyone else they do a combo update that is a full updater that also incorporates every previous software update as well.

For smaller things like iTunes, they don't tend to bother with delta updates at all due to the increased workload, support, the increased number of versions that exist, and the fact that iTunes is fairly small in the scheme of things (it is smaller than an OS update, or an iPhone/iPad firmware).


Delete font library without opening Font Book OR restore Font Book completely This is driving me nuts. I created a Font Library or Font Collection (I don't even remember exactly anymore) in Font Book.
I was silly enough to add a very large amount of non-previously-installed fonts into such Library/Collection (around 1000 of them). It might also be relevant to add that all those fonts are stored in an external hard drive. So when I added all those fonts, my computer just froze.
Now, the problem, is that I cannot even start Font Book anymore. Whenever I try to launch it, my computer would just freeze. My guess is that it is trying to configure all the fonts but is unable to finish. I already tried leaving it on for several hours with the Font Book open, but it did not solve my problem.
I think that I should just delete the Library/Collection without launching the Font Book and restore its default settings during the process.
How can I achieve this? Has anyone encountered such problem before?

You can use Pacifist to reinstall Font Book in your system. It will ask you if you want to replace it. You will need an image of your OS in an accessible pack.

Don't know if you can 'rm' the folder's content. Never tried, but fonts must be installed in the user's location and not in the System folder.

I think with 'setenv' we can link external folders with custom organized fonts to system/paths.

I'm working around because for years I used many fonts and tried to reorganize them with a minimal system set and no third-party apps like FontExplorer or others.


Check if a process is running, if not execute it again in Terminal Is there a way to periodically check if a process is running with (probably with Apple script, or some other shell script) and if not then to execute it in Terminal?

I have a PHP script that is needs to run, but after some time it breaks, so I need to start it again.

Thanks.

In OSX use launchd to to this. launchd will start a command at login or boot and if the process dies it will restart it.

The process is controlled by a .plist file formatted as defined in Apple docs the example in that manual page is for the case you ask for.

  <?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.example.exampled</string>
        <key>ProgramArguments</key>
        <array>
             <string>exampled</string>
        </array>
        <key>KeepAlive</key>
        <true/>
   </dict>
   </plist>

If you want to to start when a user logs in the this file goes in ~/Library/LaunchAgents. If when the machine boots then /Library/LaunchDaemons (which can't have access to the GUI)  but this will run as root unless you add a UserName key. (Thanks to @Gordon Davisson for the correction and a reread of Apple definitions)

For ease of setting the .plist up you can use Lingon.app available from the Mac AppStore


Stopping own iPhone from being erased after being deleted from within Find My iPhone on iCloud.com A friend of mine has very recently deleted her iPhone 6S Plus with iOS 12.4.6 (the "deleted" iPhone) from within Find My iPhone via iCloud.com by clicking on the "Erase iPhone" option thinking that this will only disable tracking of her iPhone. The "deleted" iPhone no longer appears in Find My iPhone menus on iCloud.com. However, because the "deleted" iPhone was turned off at the time the "Erase iPhone" option was selected on iCloud.com, the contents of the "deleted" iPhone were actually not erased.

Before the iPhone is turned on, my friend has noticed that that the action she took through iCloud.com will also erase all the contents of her "deleted" iPhone. She has then decided that she does not want her "deleted" iPhone to be erased for a number of reasons including not all the contacts on the "deleted" iPhone being synced to iCloud (although the contacts option is enabled in the "deleted" iPhone's iCloud settings).

To prevent erasing of the "deleted" iPhone at least for now, she took out the "deleted" iPhone's SIM card and disabled the internet in her home before turning on the "deleted" iPhone. She can currently get into the "deleted" iPhone without any trouble (but of course without any internet connection) and is busy writing down the contacts not synced to iCloud.com!

She also owns a second iPhone that is synced to iCloud via the same Apple ID with the "deleted" iPhone (and the second iPhone, as you might expect, doesn't have the missing contacts from iCloud.)

So here is the question:

Is there any action she can take through the "deleted" iPhone or her 2nd iPhone or a computer that will nullify at least the "erase all content" part of the command to be communicated to this iPhone from iCloud.com once it is connected to the internet?

Thank you.

I am not sure if the same would happen in all similar cases but I just want to tell what happened to my friend's iPhone after posting the above.

For about two weeks she made sure her phone did not connect to the Internet by disabling the Wifi and taking out the SIM card. In the meantime, she wrote down the details of her important contacts missing from the iCloud. Once she wrote down everything she needed, she turned the Wifi on and ... nothing happened. The iPhone connected to the Internet and continued to operate as usual as if the Erase iPhone option was not activated via iCloud.com.

When we checked the iPhone's status on iCloud via Find My iPhone, it only appeared to be offline. Out of an abundance of caution, we disabled the Find My iPhone menu option through the iPhone's settings. This caused the iPhone to be removed from the list of Apple devices listed under the Find My iPhone menu on the iCloud associated with her Apple ID. She has been using her iPhone as usual since then.


Is there an app that will track "Time since last full charge" on OS X? I am trying to troubleshoot battery life issues in OS X Lion on my MBA13. Is there an app (or hidden system information) that can tell me how long my computer has been on since last full charge. I am not looking for uptime, but looking specifically for Time Since Last Full Charge, just as is available in iOS.

Everything you need is provided with OS X.

For graphical details and an overview, open Activity Monitor and the energy tab lists the time you have been on your current power source:

In my case, it was showing 5 hours on AC power, so I disconnected the charger to show that the battery is just starting up. The graph on the right will give you a nice history if you go between multiple charge/drain events over the last 12 hours.

For details, use the pmset command in terminal app:

pmset -g log

Since that log is verbose, you might start with filtering the messages about Using

pmset -g log | grep Using


I cant get texts on my Android phone from messages on my Macbook I cant get texts on my Android phone from messages on my Macbook, but only from a few people. Coincidentally its people I've had facetime conversations with. It seems that the Mac has said to itself "these two people communicated in the Apple universe, lets keep it that way".
Are there settings I need to change?
I can send a text from my phone and they receive it, but when they respond it comes to my Messages app on my Macbook and not my phone.

The problem is likely on the sending side, and you certainly can be sure your accounts are set up correctly before you pester them.
See about removing your SMS from your mporarily while you test.

https://support.apple.com/en-us/HT201349
Contact switched to Android; how to send texts instead of iMessages?

Once you’re sure your account wasn’t told to register messages for you instead of SMS.
Point them to a couple things that can cause their Macs to not send an SMS.
If can send to some SMS but not you, specifically, focus them on your contact card.

Messages.app on macOS won't send/receive/display messages to/from one specific contact

If they can’t send to any SMS/Android it’s their SMSs forwarding that needs a look.

Messages app on my Macbook Pro stopped sending to Android


WiFi problems in windows 7 boot camp I have a mid-2012 retina 15" MBP.  WiFi works fine in OS X, but in boot camp (windows 7 x64):

I can see, but cannot connect to my 5 GHz network (n only, 40 MHz channel)
I can connect to 2.4 GHz (BGN, 20 MHz channel), but the connection has latency spikes and frequently drops.

Wifi chip is Broadcom BCM43xx, router is Linksys E3200 running firmware 1.0.04. Signal strength does not seem to be a factor. I've also tried updating the boot camp drivers, device manager shows "Broadcomm 802.11n Wifi Adapter", driver version 6.30.223.215. Is there something I could tweak to improve compatibility?

I have the same problem too. I've solved this with updating the driver but with an old driver Broadcom version 5.106.199.1 (11/13/2012). Here is the steps :

Left click on your wireless adapter in Device Manager
Choose "Update Driver Software.."
Pick "Browse my computer for driver software"
Pick "Let me pick from a list of device drivers on my computer"
Choose "Broadcom....Version: 5.106.199.1 [11/13/2012]"
Next.. Wait for installing.. Finish (no need for restart)


How to remove keyboard shortcut for app? Specifically, I am used to typing Command-1 in a WordPress admin area to specify some text as a Header 1, (and Command-2 to specify Header 2), but when I do this now in Chrome, that command seems to change the current browser tab.

Is there a way to edit or remove the chrome keyboard commands so those commands will work with WordPress, (I am assuming that the Chrome commands over-ride the WordPress admin ones)?

Using an iMac running OS X Yosemite.

I've used https://pqrs.org/osx/karabiner/ before, but I'm not sure if it will allow you to use it the way you've described. Perhaps reading their docs for re-mapping keys.


Converting an APFS volume (and it's partitions) to HFS+(non-J) without needing to migrate data After moving from macOS to a Linux-based distribution, I benefit from deciding to have most of my backups on HFS+ partitions (with journaling disabled using a program that changes the value of kHFSVolumeJournaledBit later) early on during system configuration.
Unfortunately, I still decided to use some of my back drives as APFS and it contains two volumes. They (as of now) are not manipulable in GParted and I need to shrink the drive as I need to migrate data off a drive. This is all done on a Linux system as I no longer have the privilege of using a macOS system.
My first thought would be to convert it to HFS+, conversion clearly being possible due to the existence of Paragon's APFS to HFS+ Converter (which as of this writing is no longer available for download) and the fact that I don't think deduplication would have affected my files too much so space occupied shouldn't be too different.
I was considering running Paragon's tool within Darling but running alpha-level software to manipulate my (sole) backup is not on the top of my list and as far as I know, the converter does not have a CLI-only interface.
That being said, is there a (better) way to convert an APFS drive to an HFS+ (non Journaled) partition on Linux?

Paragon Software has a product called APFS for Linux. This would allow read/writing to APFS without have to convert to HFS+. Evidently, you have to build and install the driver. So this would in theory work with any current Linux distribution. The only drawback is the APFS container would have to be pre Big Sur. In other words, the APFS container would have to never had Big Sur installed. Currently, Paragon Software is working to overcome this limitation.
Update: In a comment, the OP posted there exists a read-only FUSE driver (apfs-fuse) available that might be Big Sur compatible.


Will a 32 bit intel app run on Mountain Lion? I have Lion, running on a 64 bit kernel

$ uname -a
Darwin dyn1158-144.insecure.ic.ac.uk 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64

but I have a number of 32 bit apps (among which, to my surprise, Google Chrome) that run perfectly fine.

I am not overly concerned about Chrome, but there are a few things I'd loathe to lose, either because they cost me money (Photoshop CS3, which should actually work), or because I like then (Luna menu, RapidoSerial, which are not on RoaringApps).

Is there a final yes/no answer to the question, will a generic 32 bit intel app run on ML?

For a generic 32bit Application the answer is yes, confirmed yourself with Google Chrome. it should run just fine.

Now for Utility programs, and programs that interact directly with OS X specific features, the answer will likely be no, those programs will need updates to run at their best.

Applications interacting with hardware, will also likely need updates or tweeks to their drivers in order to work.

Other than that you should not have to worry about running 32bit programs on Mountain Lion. I would try checking the developer's websites for Mountain lion compatibility to be sure on your expensive mission critical apps before upgrading full time to Mountain Lion.


Why does Numbers hide a huge PNG file in exported Excel sheets? OK, this is a weird one. I take my blank Numbers sheet:

...and export it to Excel:

Whoah, that seems a little large. Let's rename the Excel doc to .zip and have a look inside:

Digging a little deeper:

Well, we just found 99% of the file size. But what is it — some sort of embedded preview image? Let's open it:

Nope, just a 635x635 PNG of random noise. Anyone have any idea what's going on here?

I'm not sure why it's included in the export, but this is one of the default "Image Fills":


How to configure a complex launchd CalendarInterval? I have a job that needs to run every hour between 09:00-15:00 M-F. How do I do that in a launchd plist file?

You'll have to explicitly create a record for every hour from 9 to 15 for every day from Monday to Friday: 35 records. The cron utility has a far more compact format. With it your use case would be written as 0 9-15 * * 1-5. LaunchControl is a utility which creates launchd StartCalendarInterval records from cron time descriptions:


Can I control window size and position when opening files via script? I have a script that opens three shortcuts to VNC locations that open in Screen Sharing.app. I would like to specify where the windows go, and their size, when these screenshares launch - one maximized on my main monitor, and two overlapping on my secondary monitor.

Is there a key I can use with the open command that will allow me to specify this? If not, how else could I accomplish this?

Update: I'm now using AppleScript instead of a shell script, but the purpose is the same.

Having a look at the man page for open, it doesn't seem to allow it, but you can use applescript to resize and position windows:

tell application "Finder" to set the bounds of window 1 to {325, 465, 1095, 926}

The numbers are the coordinates in pixels of the top left and bottom right of the the window:

top left corner x
top left corner y
bottom right corner x
bottom right corner y

If you set the windows as you like them, you can use applescript to tell you the current bounds:

tell application "Finder" to get the bounds of window 1

The window numbers are assigned going from front to back, starting at 1.

If you prefer, you can also refer to windows by name instead of id, though this won't work if the name of the window is different every time:

tell application "Finder" to get the name of window 1
tell application "Finder" to set the bounds of window "name" to {325, 465, 1095, 926}

Update: Coordinates for multiple monitors behave as though a single large display were present.


Apple Mail mixes up sent messages with other sent messages within and across different accounts I'm a Mac newbie using Apple Mail version 8.2 on Yosemite 10.10.3: I have 5 mail accounts and have noticed that mails sent from any account often get mixed up with sent mails from the same or different accounts. It is a complete mess, e.g. a sent mail can be appended to another sent mail's header from a different account, or, a sent mail can appear in the midst of a group of mails sent to an entirely different address. I have searched but not found anyone else who is reporting the same problem. Please help?

Open your Mail app preferences. Make sure you are using following setting.

This way your Sent email is always going to be from the currently selected email account.

Open one of the Sent mail folders. In there add the "From" to double check.


Can I have both a case-insensitive system volume and a case-sensitive volume within an encrypted CoreStorage volume? ( seems possibly related to Is it possible to have multiple filevault2-activated partitions on one disk? )

I have a MBP with a single internal SSD and I'd like:

to have everything on the disk encrypted in case I lose the laptop
to have my home dir be case-sensitive b/c i'm used to Linux
to have personal stuff separate from the OS in order to facilitate future OS updates
to keep the main system volume case-insensitive to avoid possible OSX weirdness

It seems like what I'd like is either:

two partitions, both filevault2 encrypted, one regular HFS+ and one case-sensitive HFS+, or
a filevault2 encrypted CoreStorage container with a regular HFS+ volume and a case-sensitive HFS+ volume in it

Do either of those make sense and, if so, are they possible?

Can I have both a case-insensitive system volume and a case-sensitive volume within an encrypted CoreStorage volume?

Core Storage:

can not create a volume within a volume
can create a logical volume (LV) within a logical volume group (LVG).

  … to keep the main system volume case-insensitive …

That's reasonable.

  … to have my home dir be case-sensitive …

Maybe desirable, but please beware: some software for OS X may not work as expected in that environment. I thought first of Adobe, found examples from 2012 and 2013:

Dear Adobe - Alastair’s Place
Adobe Acrobat XI Pro Installation Failure (Case Sensitive User Directory) | Adobe Community

An example – OS X 10.9.5, Mavericks

I used Disk Utility to create two partitions from a USB flash drive (at /dev/disk12 at the time), then erased each of the unencrypted file systems – and opted to encrypt.

For both encryptions I chose the same passphrase that is used to encrypt the FileVault 2 OS X startup volume.

The relevant part of output from diskutil coreStorage list:

+-- Logical Volume Group 391198AA-F179-466A-BD30-1B9BF02D9CAF
|   =========================================================
|   Name:         journaled, encrypted
|   Status:       Online
|   Size:         2004877312 B (2.0 GB)
|   Free Space:   0 B (0 B)
|   |
|   +-< Physical Volume 0A2101EC-811E-4E12-9CFD-A3CAEE4299D9
|   |   ----------------------------------------------------
|   |   Index:    0
|   |   Disk:     disk12s2
|   |   Status:   Online
|   |   Size:     2004877312 B (2.0 GB)
|   |
|   +-> Logical Volume Family 83E9BA42-4F8D-4AF4-BBEA-F831A4C5E1F5
|       ----------------------------------------------------------
|       Encryption Status:       Unlocked
|       Encryption Type:         AES-XTS
|       Conversion Status:       Complete
|       Conversion Direction:    -none-
|       Has Encrypted Extents:   Yes
|       Fully Secure:            Yes
|       Passphrase Required:     Yes
|       |
|       +-> Logical Volume C098FD1F-49E4-48D7-A3ED-1F8AC38FCA14
|           ---------------------------------------------------
|           Disk:                  disk13
|           Status:                Online
|           Size (Total):          1669324800 B (1.7 GB)
|           Conversion Progress:   -none-
|           Revertible:            No
|           LV Name:               journaled, encrypted
|           Volume Name:           journaled, encrypted
|           Content Hint:          Apple_HFS
|
+-- Logical Volume Group CA81191D-B39E-4B19-B4B6-FEC1FF3D2478
    =========================================================
    Name:         case-sensitive, journaled, encrypted
    Status:       Online
    Size:         1526685696 B (1.5 GB)
    Free Space:   0 B (0 B)
    |
    +-< Physical Volume 4DDC2838-F234-430B-89E5-0C0AF59ECC28
    |   ----------------------------------------------------
    |   Index:    0
    |   Disk:     disk12s3
    |   Status:   Online
    |   Size:     1526685696 B (1.5 GB)
    |
    +-> Logical Volume Family FA8E36E2-724C-44B6-BC74-C7310BAE26D6
        ----------------------------------------------------------
        Encryption Status:       Unlocked
        Encryption Type:         AES-XTS
        Conversion Status:       Complete
        Conversion Direction:    -none-
        Has Encrypted Extents:   Yes
        Fully Secure:            Yes
        Passphrase Required:     Yes
        |
        +-> Logical Volume A4C96B6E-06F4-4E49-B57F-AA5DDC05EF66
            ---------------------------------------------------
            Disk:                  disk14
            Status:                Online
            Size (Total):          1191133184 B (1.2 GB)
            Conversion Progress:   -none-
            Revertible:            No
            LV Name:               case-sensitive, journaled, encrypted
            Volume Name:           case-sensitive, journaled, encrypted
            Content Hint:          Apple_HFSX

Limitations

I rebooted the Mac to check whether either logical volume family (LVF) was automatically unlocked before loginwindow is launched by launchd. As expected, no automation of that sort.

Issues

With Mavericks I can find no way to create more than one LV within an LVF.

The following articles state that it's possible to do so:

Undocumented CoreStorage Commands (2011-08-05)
Carter Allen - Practical Usage of CoreStorage (2011-08-14)
OS X CoreStorage Volume - shrink and create new - Fabian Franke (2013-02-25)

In the Franke article it's remarkable that the same UUID is used to both (a) shrink an existing LV; and (b) create another LV in the same LVF.

Unless I'm missing something, this approach is impossible with Mavericks. For example:

sh-3.2$ diskutil coreStorage resizeVolume DAED4621-90CF-43D1-BC40-F7ACABD7174F 600G
The Core Storage Logical Volume UUID is DAED4621-90CF-43D1-BC40-F7ACABD7174F
Started CoreStorage operation
Checking file system
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 Yosemite appears to be OK
Shrinking file system
Shrinking Logical Volume
Resizing Core Storage Logical Volume structures
Resized Core Storage Logical Volume to 600000000000 bytes
Finished CoreStorage operation
sh-3.2$ diskutil coreStorage createVolume DAED4621-90CF-43D1-BC40-F7ACABD7174F jhfsx case-sensitive 65G
DAED4621-90CF-43D1-BC40-F7ACABD7174F does not appear to be a valid Core Storage Logical Volume Group UUID or name
sh-3.2$ diskutil cs list | grep DAED4621-90CF-43D1-BC40-F7ACABD7174F
        +-> Logical Volume DAED4621-90CF-43D1-BC40-F7ACABD7174F

Assuming a bug in Core Storage in Mavericks

We should review this answer – maybe add another – after Yosemite is released.

(I should not expect a fix in Mavericks.)


Why is emptying the trash so much slower than rm? If there are a lot of files in the trash, sometimes the Finder will display a progress bar saying (for example) "Preparing to delete 62,736 files", then another progress bar for the actual deletion. By comparison, deleting those same files from the command line is nearly instantaneous.

What is the Finder doing that takes so long? Is it detrimental to my system to skip that by deleting files via rm?

This is a case of "destructive" vs "non-destructive" editing of files.
Like in old days of cutting and gluing together audio tape or film, editing then was destructive like RM command is. You type in the command, hit ENTER and RM is immediately executed.

On the other hand, moving files to the TRASH folder is just that, and the system responds, "wait while I figure out how much stuff I need to move". You pay in time for the ability to UNDO a possible accidental erase. In the old days we were usually not so lucky in computers or with film or tape. :-)


Python launcher Icon every time a script runs I've had a MacBook given to me from work for over a year now and recently I got a new mac and every time I launch a python script the python launcher icon appears in the mac dock.
However, in the old MacBook, this behaviour doesn't exist. Both running the exact same script.
I'm not sure if there was a setting I changed or something else on the old one to disable this behaviour.
I've read this question: How to get rid of Python Launcher icon every time a script runs? But I'm mostly confused why my old MacBook doesn't encounter this.
They are both running the exact same version of macOS: 10.15.6 (19G73)
If its important I installed Python on the new one by the installer(provided by python.org) and I used homebrew on the old one.

Well, it sure seems the difference is caused by different methods of installing Python. If your systems are identical then its caused by Python itself. You could try installing python via homebrew on your new machine and see if the behavior changes. You should run python in a virtual environment. If you do that you can have multiple versions of python3 on your machine.
How are you running Python?  If you run it from the command line you may not have this happen. Are you trying to stop this behavior or are you just curious why it happens? If you are trying to stop it then use the file you link to in your question.


Type Lambda λ on a Mac? Is there a way to type lambda λ on a mac without switching the entire keyboard binding to Greek, as described here: How do you type Theta on a Mac?

Press Command ⌘+Control ⌃+Space.
Type lamda into the search bar. Pay attention to type lamda instead of lambda.
Your lamda should be there:

You might ask why it is spelt lamda not lambda.

According to the link provided by MJeffryes:

  The use of the spelling lamda derives from ISO 10646. This does not
  mean that it is more correct than lambda, merely that the spelling
  without the 'b' is the one used in the formal character names.

Here are two more links provided by Itai Ferber:

Proof that lamda is in the standard
Proof that lamda is in the standard since at least 1993

Here is a website about Mac keyboard shortcuts: https://support.apple.com/en-us/HT201236.


No Filter in Pixelmator I have been reading tutorials on Pixelmator where "Filter" is used. On all tutorials I have read there is a "Filter" option in the menu tab, but on mine "Filter" is missing. I tried searching for "Filter" in the help menu but there are no results.

Pixelmator filters can now be found in the Effects browser -- see this thread for more information.


Are scratches on a MacBook covered under warranty? I found this tiny deep scratch on my MBP and I don't know how the heck did it get there. Is there way to fix it or does my warranty cover it?

It is near the ESC also near the charger input.

Warranty generally excludes any scratches to the machine as they are normally cosmetic issue that arise from normal wear and tear as opposed to a functional defect. By extension, Apple Protection Plan will not cover it since it generally follows the warranty guidelines but for a longer time.

You could always ask for service - especially if there is some functional concern like usability or you want a second opinion if the device was made properly. I have had things covered like where a hairline crack could be something that would fail to protect the insides (on an iPhone) so it wouldn't hurt to ask even if you are aware the answer may be no.


Can't access 2560 x 1080 display resolution settings on MBP I've got a mid 2012 15" MBP running 10.10.5.

I've also got access to a mid 2012 13" MBP running 10.12.6.

I'm trying to connect both (separately one at a time for testing) to this LG ultra wide display which is a 21:9, 2560*1080.

I chose this monitor as its the widest these 2 MBPs can support according to their tech docs here:

15": https://support.apple.com/kb/sp694?locale=en_US
13": https://support.apple.com/kb/sp649?locale=en_US

Both of those docs state:

  Dual display and video mirroring: Simultaneously supports full native
  resolution on the built-in display and up to 2560 by 1600 pixels on an
  external display, both at millions of colors

When I connect the 15" MBP to the display it works fine and I can select 2560 x 1080. (see screenshot below)

But when I connect the 13" MBP the biggest size is can set is 1280 x 800, even if I 'option key' click the scaled button. (see screenshot below) Any ideas why I can't access the full set of screen dimensions on the 13" MBP ?

I got this working by using a mini display port (MBP end) to display port (monitor end).

Not sure why it worked on the 15” with the hdmi lead but not on the 13” as it was the same 4K compatible hdmi lead.


Does factory unlock or GSM unlock mean I can put it on any service? I am planning to buy an iphone4 for my son for Christmas and was wondering if GSM unlocked or factory unlocked both mean that I can put the phone on any plan or service I like? Also,what do each specifically mean when buying a used or new phone?

GSM Unlocked

The iPhone comes in two different models: GSM and CDMA. The GSM iPhone supports carriers including Cricket, AT&T, and T-Mobile. The CDMA iPhone supports carriers such as Sprint and Verizon. Buying a GSM Unlocked iPhone means that it is unable to support Sprint and Verizon and would not work with those carriers; a GSM iPhone works only with Cricket, AT&T, and T-Mobile. No single iPhone works with all the major carriers.

  Factory Unlocked

Buying an unlocked iPhone means the contract it originally came with expired; it means you could put in any SIM card from any of the supported carriers on that iPhone. Whereas a locked iPhone is under contract with the carrier whose SIM card is in the phone, an unlocked iPhone is fully out of contract. Make sure it is GSM if you want Cricket, AT&T, or T-Mobile, or CDMA if you want Verizon or Sprint.

Also, a piece of advice: I highly recommend not purchasing an iPhone 4. Though it is definitely inexpensive, it is far out of date (about 5 years old, that's a  long time) and performance will be very poor. It hasn't received a software update in 3 years, and it is stuck on iOS 7 (iOS 10 is about to come out). It is a much better to fork over a bit extra for an iPhone 5C (still slow but not bad) or an iPhone SE (more expensive but definitely top-of-the-line, only $400). If you can't afford the iPhone 5C, I would recommend purchasing your son an inexpensive Android phone like the Blu R1 HD which is much faster than an iPhone 4, runs the latest version of Android, and is only $50.

If you need a phone that works with any carrier Go for the Nexus 5X, Nexus 6, or Nexus 6P. They come with all the bands needed (both GSM and CDMA) for Verizon, AT&T, Sprint, T-Mobile, MetroPCS, US Cellular, Project Fi (a new low-cost carrier by Google), Cricket, and more.


Numeric Keypad on Extended Keyboard Doesn't Work in Terminal and There's No NumLock Key When the Terminal window is in focus, pressing any of the numeric keys (0-9, the . key or the enter key ) generates a beep.

Try pressing the "clear" button on the numeric keypad. If that doesn't work, try SHIFT+Clear.


Will Homebrew installations, root password, hidden users, etc. carry over with Migration Assistant? or with a Time Machine backup? or something else? Here's a similar question: Migrating to new iMac, what does Migration Assistant actually migrate?
The reason I'm asking again now is because this question was asked TEN YEARS AND FIVE MONTHS ago, which was before back when Mac OS X 10.7 Lion was released! Since then, there have been 10 updates to macOS, so I'm pretty sure the information is quite outdated.
I'm using macOS Mojave 10.14.6, and I've made several changes to the operating system such as setting a Root User passcode, creating a hidden super-user account, overriding Gatekeeper to allow installation of all apps, executing countless commands in Terminal, manually deep-cleaning all traces of a bugged antivirus that would never fully uninstall, installing a boatload of Homebrew, and even keeping all remnants of the fabled Macromedia Flash Player. My Early-2015 Macbook Pro 13" with Retina display runs surprisingly fast, but it was a base model with weak hardware. I recently got myself a Mid-2019 Macbook Pro 15" with Touchbar and the best hardware (except the hard drive is 1TB instead of 4TB, but that's way better than the 256GB I've struggled with for the past 6 years– but it runs Mojave, so I'm happy keeping my 32-bit apps that are not longer supported).
I need to migrate everything, but I don't have time to be picky. Would Migration Assistant do everything I need? Should I install from a Time Machine backup? or is there another way that's not tedious but will be effective and not compromise the newer Macbook's performance?

Unfortunately, it does not necessarily not transfer what you tell it not to transfer, nor does it for what you do tell it to transfer for that matter. I told it to exclude one of the users, and that was honored. However, I told it not to transfer certain folders, but it did that anyway. I told it not to import printer settings, but it did that anyway. I told it to import network settings, but it did not regardless. I did have to reconfigure the Root User, but the rest went well… except that a bunch of things went wrong toward the end but I wasn't around to see what they were at the time, so when I noticed the alerts that disappeared the moment I saw them, I became worried. Not a big deal, really. All seems to be operational.
Homebrew transferred just fine, too, btw.
How do I know that all my system tweaks transferred as well? I'm not entirely certain (Gatekeeper will need to be tweaked again, brightness settings are different per the device, and… well, practically everything under the Security & Privacy settings did not transfer [successfully?]), but I had no trouble finding what migrated successfully… at least, I had less trouble when Spotlight finished caching the entire hard drive because apparently it didn't transfer that useful data.
Ironically, it even brought over the broken stuff. Two remnants from my time trying to get Avid Media Composer to work (question mark icons in my Dock, which is still pinned to the right side of the screen like it was on the other device). Probably the most hilarious and frustrating flaw it inherited is my DNS-VPN-Proxy-WiFi-internet-related problem– on which I shall seek answers next.


How do I remove the right side bar on Sublime Text? When I work in documents with long lines, it gets very annoying because I have to very precisely drag my mouse in order not to accidentally touch that sidebar which drags me back to the beginning. (I'm talking about scrolling/marking horizontally).

If you are talking about the document preview it is called the Minimap. It can be hidden from: View > Hide Minimap


Customise drop shadow size (larger) in Preview.app In Preview you can draw shapes.
You can add a drop shadow to these shapes.
However, I can't seem to figure out how to make the drop shadow larger.
On the scale of the image I am annotating, the drop shadow just looks like a tiny black border.

Preview doesn't support this.
I solved it by drawing a square inside of a fully transparent image, adding the drop shadow, saving it, closing it, reopening it, then rotating and resizing the drop shadow until it fit my needs and copy/pasting it into my original document.


What is the benefit of using a PM200 cable to connect an EIZO monitor ta a macbook? My girlfriend bought an EIZO CG223W screen and uses it for now with my apple DVI-MiniDisplay-connector, when i don't need it. She could buy her own connector, but as well could buy a PM200 cable.
Now I'm a bit confused by the info on internet regarding the benefits of the PM200 cable vs. Apples DVI-MiniDisplay-connector:

the speed and color-quality/colordepth of the PM seems to be faster, but in realworld: how much will you notice?
can you use the monitors' USB-ports only with a PM200 cable?
can you daisy-chain a 3rd monitor only when using PM200?

(I have e-mailed Eizo already regarding this question, but didn't find an  answer yet.)

Eizo (Netherlands) kindly and answered by e-mail. In short:
for using this monitor with a macbook, there is no advantage using the PM200-cable compared to an Apple mini-display - DVI connector.

More in detail:
(excuse me for poor english: I used google translate)

The PM200 is a cable DisplayPort cable. By using this cable you can use the EIZO CG223W-BK to give 10 bit per color (1025 tones per Red, Green or Blue). 10 Bit Color depth is as far as we know not possible on a Mac because the graphics cards do not support 10 Bit capability combined with Photoshop.

To make display 10 bit color depth you should use this configuration:

Use OS or Windows 7 (older Windows OS)
Use DisplayPort
Use of good quality DisplayPort cable
Graphics card must support 10 bit
Application (software) must support 10 bit
Application requires graphics card with 10 bit support

The application and the graphics card must therefore communicate in a certain way and we only know this possibility when using windows in combination with Photoshop CS6.

No, the PM200 cable can only be used as a signal cable (like the DVI cable). To use hard drives and printers via the monitor always be a USB cable required. To calibrate you have this USB connection is also required.
No, the monitor can not signal to another spot or third monitor. Serial looping will not go.


Access the iOS camera quickly Are there any tricks to provide quicker access to the camera in iOS on an iPhone?

The drag-up-from-bottom on the lock screen takes multiple attempts. By the time I can access the camera, my photo opportunity moment has passed.

Perhaps some combination of hardware buttons can be set to bring up the camera?

Assuming you're using some version of iOS 11?

If you have raise to wake enabled you can simply raise your iPhone then swipe right on the lock screen.

If you don't have raise to wake enabled or any for any other reason this might be faster - press the power button and immediately swipe right on the lock screen.

The newer iPhones in particular load the camera very quickly so by the time you finish the right swipe the camera is auto-focused and ready to go.

Another tip would be to make sure you have the camera icon docked on your home screen. This would allow you to access it quickly if you're in an app. You could try using control centre too, but you would have to swipe up from the bottom twice in most apps.

Currently there are no hardware shortcuts like this on iOS.


How to switch between fullscreen applications in OSX (Mavericks) I use a lot of different spaces for my fullscreen applications to get me focus on the different tasks I have to do. For example, I have a space with my mail app, subversion app, safari and so on.

To switch between my active apps I use ⌘ + tab all the time. Even though the icon of my fullscreen apps appears when tabbing and the menubar getting active, I don't see the app. Only when I go to Mission Control and click the app it will switch to the fullscreen window.

Is there a setting or a shortcut to achieve this without using the mouse?

This doesn't let you switch straight to a target app, but ctrl + cursor keys will let you move left and right through your spaces to reach the full screen app.

The shortcut can be changed in system preferences -> Keyboard -> Shortcuts -> Mission Control.


Yosemite turns on "reduce transparency" at every login or wake after battery failure Recently, I was using my rMBP on battery power, with about 20%-30% remaining battery, according to the battery indicator. It suddenly shut off, and would not power on (not even showing the "battery low" screen) until I plugged in. After starting back up again, Yosemite now keeps enabling the "reduce transparency" option when I log in or lock the computer.

A SMC and NVRAM reset was done, and I also tried repaired the filesystem and file permissions. Both actions did not help.

are you using Duet? If so, that is the problem.


MacBook Pro stuck on loading screen trying to boot from new SSD So I recently bought a brand new SSD for my Macbook Pro Mid 2009 Unibody. I installed the new El Capitan operating system on the SSD by using a USB-SATA cable. After it finished installing, i replaced the old harddrive with the SSD and booted the mac. However when trying to boot it gets stuck on the apple logo with progress bar underneath. It just sits there at 100% (picture below) and has done so for about 5-6 hours now.

Anybody with some sort of solution or question feel free to write I am almost willing to do anything to get it to work.

Software causes
Possibly OS X might be booting expecting to have to work with the USB bus and getting confused by the fact it's now over SATA?
It in theory should handle that fine, but back in the day that did happen sometimes when making a clean install on a drive over USB and then moving it to SATA.
Never had the problem with Cloning an existing drive since then the OS was still set up like it was on the drive that you replaced, but clean installs sometimes would get set up in such at way that when it was no longer using USB to boot it would just hang.
So if that's it, running the install afresh should fix it up.
Just checking as well, is the SSD formatted as a GUID partition table, with a Mac OS X Extended (Journaled) filesystem?
Hardware Causes
If the above doesn't fit it, but the SSD works fine over the USB to SATA connector, then it might be a problem with the Hard Drive flex cable in your Mac, or possibly (though pretty unlikely, really) the SATA controller on the Logic Board.
Were you replacing the Hard Drive just because you felt like it was a upgrade, or were you having problems with it before. If you were previously having problems, the flex cable could very likely be your culprit.
Other than that, if you accidentally disturbed the Memory modules in your Mac, it is possible it might be hanging just because of that and removing and reinstalling them could get you up and running again. Best to se if you can start the computer from your removed hard drive or the Install CDs that came with the Mac first since if either of those work ok, then it is not the Memory, and you don't really want to handle those modules if you don't have to.
More Troubleshooting
Here is a bit more information you can update your post with that can help the folks here troubleshoot with you

SSD model
How you formatted the SSD
Was the Hard Drive working fine before replacement
Was the computer powered down normally (Apple Menu > Shut Down)
before the SSD was disconnected after you installed it
Can you start the computer by holding the Command and R keys