Network connection timeouts on MacBook Pro I have an Apple MacBook Pro with Mac OS Mojave 10.14.4 running.
Since 10.14.2 or 10.14.3 (I can't remember) the internet connection
times out every 2 minutes or so. It takes then from 20 sec to 1 min to load a web page. This happens for Chrome, Firefox and Safari-Browser, which I tested. This happens whether I use WiFi-connection or Ethernet-cable.
A typical ping for my WiFi-connection looks as follows:

MacBook-Pro:~$ ping 8.8.8.8

64 bytes from 8.8.8.8: icmp_seq=56 ttl=120 time=15.381 ms
64 bytes from 8.8.8.8: icmp_seq=57 ttl=120 time=18.708 ms
64 bytes from 8.8.8.8: icmp_seq=58 ttl=120 time=13.254 ms
64 bytes from 8.8.8.8: icmp_seq=59 ttl=120 time=937.689 ms
64 bytes from 8.8.8.8: icmp_seq=60 ttl=120 time=1901.038 ms
64 bytes from 8.8.8.8: icmp_seq=61 ttl=120 time=2934.408 ms
64 bytes from 8.8.8.8: icmp_seq=62 ttl=120 time=3958.543 ms
64 bytes from 8.8.8.8: icmp_seq=63 ttl=120 time=4908.217 ms
64 bytes from 8.8.8.8: icmp_seq=64 ttl=120 time=5905.401 ms
64 bytes from 8.8.8.8: icmp_seq=65 ttl=120 time=6842.036 ms
Request timeout for icmp_seq 72
64 bytes from 8.8.8.8: icmp_seq=66 ttl=120 time=7862.743 ms
Request timeout for icmp_seq 74
64 bytes from 8.8.8.8: icmp_seq=67 ttl=120 time=8889.559 ms
Request timeout for icmp_seq 76
64 bytes from 8.8.8.8: icmp_seq=68 ttl=120 time=9843.350 ms
Request timeout for icmp_seq 78
64 bytes from 8.8.8.8: icmp_seq=69 ttl=120 time=10892.615 ms
Request timeout for icmp_seq 80
64 bytes from 8.8.8.8: icmp_seq=70 ttl=120 time=11936.543 ms
Request timeout for icmp_seq 82
64 bytes from 8.8.8.8: icmp_seq=71 ttl=120 time=12980.791 ms
Request timeout for icmp_seq 84
64 bytes from 8.8.8.8: icmp_seq=72 ttl=120 time=13820.231 ms
Request timeout for icmp_seq 86
64 bytes from 8.8.8.8: icmp_seq=73 ttl=120 time=14764.972 ms
Request timeout for icmp_seq 88
64 bytes from 8.8.8.8: icmp_seq=74 ttl=120 time=15707.589 ms
Request timeout for icmp_seq 90
64 bytes from 8.8.8.8: icmp_seq=76 ttl=120 time=15748.127 ms
Request timeout for icmp_seq 92
64 bytes from 8.8.8.8: icmp_seq=78 ttl=120 time=15691.715 ms
64 bytes from 8.8.8.8: icmp_seq=79 ttl=120 time=14686.667 ms
64 bytes from 8.8.8.8: icmp_seq=80 ttl=120 time=13683.104 ms
64 bytes from 8.8.8.8: icmp_seq=81 ttl=120 time=12678.182 ms
64 bytes from 8.8.8.8: icmp_seq=82 ttl=120 time=11673.334 ms
64 bytes from 8.8.8.8: icmp_seq=83 ttl=120 time=10668.399 ms
64 bytes from 8.8.8.8: icmp_seq=84 ttl=120 time=9664.758 ms
64 bytes from 8.8.8.8: icmp_seq=85 ttl=120 time=8661.137 ms
64 bytes from 8.8.8.8: icmp_seq=94 ttl=120 time=28.665 ms
64 bytes from 8.8.8.8: icmp_seq=95 ttl=120 time=15.928 ms
64 bytes from 8.8.8.8: icmp_seq=96 ttl=120 time=15.640 ms

This repeats periodically. The same behaviour, when I switch off WiFi and put an Ethernet cable onto the computer. As I have another computer in my home network having no network problems this seems to be a problem of this machine, but I have no idea what might cause it.

Any help is greatly welcome!
Wolfgang

This question has been asked previously in this site (1, 2), and in many other forums, but not answered particularly well. I have, on a couple of occasions, experienced bouts of chronic network timeouts, but they have "cured themselves" after a restart. Your problem sounds persistent, and my curiosity was piqued. So here's what I found:

From OSX Daily is an approach that requires you delete a set of files in /Library/Preferences/SystemConfiguration/. Apparently these are files the system generates, but it sounds like you'll need to re-enter the settings, and that could be an effort if you've made a lot of WiFi connections. The procedure is basically as follows:

Turn off Wi-Fi in System Preferences or menu bar.
Remove aall Thunderbolt or USB devoces connected
Create a backup folder & copy the files you will delete below into it

Here's the list of files to be copied to a backup folder, and then deleted from: /Library/Preferences/SystemConfiguration/:

- com.apple.airport.preferences.plist
- com.apple.airport.preferences.plist-new

- com.apple.network.identification.plist

- NetworkInterfaces.plist
-
preferences.plist

There is also this article from OSX Tips that, essentially, prescribes the same approach. It's recent vintage (March, 2019), and that could be taken as some sort of affirmation that it still works?

So, if you're in the mood to be a guinea pig, try this, and let us know if it worked!


Selecting a minimized window in Expose via the trackpad two finger swipe gesture Normally when you invoke expose, you can use the trackpad's two finger swipe gestures (up, down, left, and right) to highlight a window so that it has a blue border around it. You can then select the window by tapping your third finger down. I really like this method, since it is much quicker than moving the cursor over the window you want and tapping it.

The problem I have noticed is that when you have a minimized window, it will appear below all the other non-minimized windows, separated by a horizontal line. Depending on where the cursor is located (above or below this line) the two finger swipe gesture will only highlight windows within that section (e.g. if you are below the line, you can only highlight minimized windows). Moving the mouse above or below the line will allow you to highlight the corresponding windows.

Is there any way to highlight a window in the opposite section the cursor is located in, without needing to move the cursor?

For example, I want to be able to invoke expose and no matter where my cursor is, I want to be able to select any window I want, using only the two finger swipe gesture.

Not possible via the trackpad as far as I can tell.  You can use the arrow keys though.


Why are ssh and git push not working? So recently, I have noticed that commands like ssh, git push, and git pull sometimes stop working. They only start working after I restart my computer. The interesting thing is that I can still browse the web, use other apps that require internet access perfectly fine.

I cannot SSH or make a VNC connection to a computer at my home, or pull/push on repos. Anybody have any idea what seems to be the issue? I am on macOS Siera 10.12.5 on an Apple MacBook Pro 2015.

I used to have a similar issue back in Yosemite. Here is how I fixed it:

System Preferences -> Security or Security & Privacy. -> Firewall Tab -> Click the Lock and enter your password -> Toggle Firewall on and off -> Restart your computer


Mount and repair external hard drive with command line tools Is it possible to force-mount an external Fujitsu hard drive with command line tools, if it can't be mounted using Disk Utility? Whether it doesn't matter? I ask because this is not my Mac and at the moment I don't have it

I have an error message the disk 'name of the disk' could not be mounted

Info: MacBook Pro/OS X Yosemite

Another question: Can I repair this disk through command line tools?

I have an error like this exit code 8 something with filesystem and error using Disk Utility:

  Error: Disk utility can’t repair this disk. backup as many of your files as possible

Yeah, if Disk Utility is telling you it's time to backup and erase then it's not looking good. Perhaps other disk repair utilities can help? But you might just want to heed the warning and backup and erase.  :)

You can force unmount volumes but you can't force mount them. Using the command line, get the device name:

diskutil list

In my case, it's disk2:

diskutil mountDisk /dev/disk2

Or:

diskutil mount /dev/disk2s2

You can run a repair like in Disk Utility, in this case you'll want to include the slice number (disk2s2):

diskutil repairVolume /dev/disk2s2


missing Login Items for managed account MacBook Air running 10..8.1.

I have a script that I'd like to add to the Login Items for a managed account.  When logged in as the Administrator, the Login Items button is present.  When I select the managed account, the Login Items is missing.

Parental Controls are enabled for the managed account.

How can I access the Login Items for a managed account?

A managed account (despite being named managed) can only have Login Items set when logged in. It cannot be managed from a separate Admin account.
I had to promote the account to Admin, log in as that account and add the items to the Login Items, then demote the account back to manage.


Is it possible to restore OS X .dmg file to External Drive? I recently traded in my iMac with 1TB HDD for a MacBook Pro with a 256 GB flash drive.

I want to restore my previous hard drive but obviously it won't fit on the new hard drive.

Is it possible to restore the .dmg to the external hard drive where the .dmg file resides? If not, how do I restore these files?

I have some very important files on there so I don't want to go testing something and then accidentally wiping that backup.

I think the attached image will do what I want but I would like to make 100% sure.

No,You can NOT restore .dmg to the partition where the .dmg file resides.
However you can restore to another disk, or another partition in the same disk.


macOS High Sierra how to remove Bootcamp? Bootcamp Assistant and Disk Utility have changed, I've realised.

Bootcamp Assistant gives me:

  The startup disk cannot be partitioned or restored to a single
  partition

When I click "Continue"

Disk Utility only show "Macintosh HD" and "BOOTCAMP". I don't see "disk03" or "disk05" anymore.

How am I supposed to remove BOOTCAMP (and reinstall Windows ultimately)?

You can manually remove Bootcamp partition using Disk Utility. This answer assumes you only have two partitions, one macOS and one Bootcamp.

Step 1: Open Disk Utility. You can find it with a spotlight search.

Step 2: If you are using macOS High Sierra, choose one of the internal partitions (such as Macintosh HD) from the list at the left. If you are using macOS Sierra or earlier, choose your internal disk (such as APPLE SSD).

Step 3: Click "Partition" button located at the top of the window.

Step 3.1: If Disk Utility tells you something about APFS, select the first option, which is "Partition".

Step 4: A pie of your disk should have appeared now. From there, select Bootcamp, then press "-", located below the pie.

Step 5: Press apply and wait for it to finish. If it fails, just retry.

After this is done, you can use Bootcamp Assistant to reinstall Windows.


Macbook Air SMC reset I am trying to reset SMC, but I am not sure whether could I manage or not.

I pressed shift + option + control (left side) and power button at the same time but the indicator light didn't change and computer opened without pressing power button at second time.

Therefore, if I couldn't succeed, how can I do that ?

Macbook air 2015 early , OS X El Capitan

It needs to be plugged into the mains to do it.

  To reset the SMC:

  Shut down the computer.
  Plug in the MagSafe or USB-C power adapter to a power source and to your computer.
  On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
  Release all the keys and the power button at the same time.
  Press the power button to turn on the computer.

Source : Apple KB - Resetting the System Management Controller (SMC) on your Mac


Cleaned hard drive, reinstalled OSX- now all my iTunes purchased music is gone When I try to download already purchased songs I get this message:

Will I be charged once more if I click "Buy"?

Ps. When I click "Check for available downloads" I just get the message

Psps. It might just be that the new Itunes is buggy. I get this startup-screen, but when I click "scan for music", nothing happens.

Sign in to itunes, click iTunes Store. In the right hand column there is a link to "purchased"

This opens to a screen that looks like this:

You can re-download everything from there as long as its all on the single apple ID.

Good Luck!


How do I temporarily disable or mute Messages (iMessage) on OS X? I use Apple's iMessage across several devices, including my (OS X Lion) Mac, using the recent Messages beta.

However, the application has some undesired behaviour.

When I quit Messages, it will relaunch itself when I receive new messages. This is incredibly distracting.

Is there a way to temporarily disable or mute iMessage (including the badge on the Dock) from just my Mac? I'd still like to receive messages on my other iOS devices.

An update for Mac OS X 10.9 (Mavericks). You can turn on Do Not Disturb in Notification Centre to mute notifications:

You can show Notification Centre by clicking on the three-horizontal-lines icon on the far-right of the menubar, or perhaps by doing a two-finger swipe from the right edge of your trackpad (if this gesture is enabled in System Preferences -> Trackpad -> More Gestures). Then swipe up to reveal the 'Do Not Disturb' toggle (which is hidden at the top of the notification centre panel).

Update: I've also just discovered that you can option-click on the Notification centre menubar icon to toggle Do Not Disturb mode on and off.


How can I view an App's full name? On my iPhone's home screen, I have two versions of Cut The Rope 2 which have identical icons and display names.

One version is the full version of Cut The Rope 2, while the other is the F2P Cut The Rope 2: Om Nom's Adventure.

Because the display names are identical, I'm not sure which version I should delete.

Is there a way to view an App's full name?

No, there's no way you can tell from the Home screen.

One way to ensure you delete the correct one is to start the app and look at the title.

Another way is to move one of them to a folder and then do a Spotlight search. Spotlight will show you the full name (up to the 30 or 50 character limit, I don't recall the actual number right now) as well as the folder name if it's in a folder.


Erase iOS device with recovery mode without updating to latest iOS version? I have an iPad 3 (A1430, on iOS 9.0.2) that I lost the passcode for. I know the iCloud/Apple ID account that iPad has and I can see an iCloud backup of it online (on the iCloud website). I tried following the recommended recovery options for a lost passcode but it seems my computer was never used to backup this iPad. Find My iPhone also doesn't work because the iPad doesn't seem to be connected to the WiFi network.

From instructions, my option is to use Recovery Mode to reset everything.

My problem is that it seems it will also update to the latest iOS version which I don't want do to.

Is there any way to unlock this device or do the recovery mode reset without updating the iOS version?

You can try to download the IPSW file and hold down Option key on your Mac (for Windows its Alt) on restore to open the link to restore from downloaded IPSW file.

I know it can be done with update but I'm not sure it can with restore.

You can get the IPSW file for your iPad on IPSW Homepage.


Constantly ejecting OS X install disc when trying to boot When trying to boot from the OS X install disc (Snow Leopard) my Macbook will just eject the disc and boot normally from the installed system on the hard drive.

Once booted, the disc can be read fine by the computer, but when trying to restart in order to make a fresh install of the operating system, the computer will just again eject the CD and boot from the hard drive.

Holding the C key when during startup to force booting from the CD drive wont work, and the CD is ejected again. Even holding the ⌥ (alt or option) symbol during startup will cause the CD to be ejected, and the only boot option shown is the hard drive.

(Note, as I've found threads with similar questions elsewhere on the internet, all with long discussions but none with an answer, I'm documenting here the solution that worked for me.)

Restart the computer, then press and hold the ⌥ key just after you hear the startup chime. Even if the install disc is ejected, and you are only shown the hard drive as your unique boot option, at this moment you can again insert the disc, and wait for the computer to read it. If everything goes fine, you will now see the option to boot from the CD.


MS RDP client minimum iOS version on Apple iPad Kinda new to Apple world so need some clarification here: does official MS RDP client support older iPads or no?

On the official app page they say that minimum required iOS version is 8.0, but in these Getting Started docs they state that iOS 6 is supported too. So I'm a bit confused with what to believe?

Will I be able to use RDP client on older iPads with iOS 4 or iOS 5?

I would trust the Apple reviewers that iOS 8.0 is the minimum required.

Also, I would also plan on not buying any hardware that is 32 bit since we’re so close to iOS 11 and no more 32 bit apps.

Microsoft’s support is actually pretty amazing for iOS - so you could ask them if they plan on leaving older versions of the app available. Developers don’t have to take down all downloads when they remove an app version from sale. So you could buy the app “for free” now and then ride an iOS 8 or iOS 6 device for years by backing up the older app version to iTunes and/or counting on it being available for “legacy download”.

There’s no guarantee they keep the old version up, so you should plan on iTunes and buying new hardware if you are riding the “about to be obsoleted” line for used / older iOS hardware and versions.


Cannot sync Google Drive between MacBook and iPhone app On my iPhone I installed GoogleDrive 'Drive' app.

On my MacBook I installed Backup and sync from Google.app, which has created a ~/google-drive/ folder.

I have set the account to my@gmail.com and put some files and folders in it.

On my iPhone app I also set the account to my@gmail.com. I can see some of the older folders. These appear to match that on my MacBook, although the contained files are out of date. I can also see a file dated about a week ago which I have since deleted on my MacBook.

Files I have added/removed within the last 24 hours on my MacBook simply don't register on the iPhone.

It seems clear that the devices are out of sync. But they're both connected to my apartment's Wi-Fi.

I can't find any sync button / menuitem.

This is very frustrating.

What is going on? I was hoping that Google Drive would be my solution for distributed storage.

EDIT:  The Google Drive web-app (Chrome -> drive.google.com/drive/u/1/my-drive) does sync ok with my macbook. Which suggests an issue with the iPhone Drive app, maybe?

Just clicking on Search drive in the app was sufficient to jiggle something loose and sync cloud -> iphone.

I noticed one glitch. The iPhone Drive app was failing to display bar.txt which IS on cloud (I added it yesterday), but instead was still displaying a foo.pdf file that longer exists on the cloud (which was showing up even before I asked the question), and bizarrely clicking on foo.pdf actually shows the contents of bar.txt.

Reinstalling the Drive App resolves this.

EDIT: I can recreate the problem as follows:
 - On my MacBook I copy X.txt to ~/google-drive
 - Observe that the cloud icon in the tray does sync animation
 - Observe that X.txt does not appear on Drive app
 - Drive App -> Search drive for X.txt
 - Now it is visible


How Do I Type with IPA (International Phonetic Alphabet)? How Do I Type with IPA (International Phonetic Alphabet)? I need to type in Phonetics, but I cannot find a keyboard. I tried the IPA Unicode 6.2 keyboard, but it did not work. It installed, but when I selected it, I could only type the normal english-latin characters. I cannot use copy/paste sites like This, as I need to type a lot.

I am using a MacBook Pro, With Sierra

You should normally not have a problem making the IPA keyboard work. It uses "dead keys" to create the IPA characters. A “dead key” is a key that does not generate a character, but rather changes the character generated by a following keystroke. For example, in the IPA keyboard, to get the “ə”,you would type the dead key “=” followed by the “e” (=e).  Charts showing the how all the IPA characters are made this way can be found in this PDF.


Remove Passbook's "Add credit or debit card" without adding one I don't want to use Passbook to pay for anything.  However, I bought a concert ticket online with a credit card, and I was given the option of downloading the ticket to Passbook.  I can see the ticket in Passbook, but I have to pull it up with my finger in order to display the barcode-ey thing that will allow me to get into the show--because the white "Pay with Touch ID using Apple Pay" message fills up the first 2/5 of the screen on my phone.

Is there any way to get rid of the message box without adding a credit/debit card?

I can use the ticket, I guess, but the message box is annoying.

(In case it matters: iPhone 6, iOS 8.4)

Just tap on the pass, and the "Pay with Touch ID using Apple Pay" message will go away temporarily to give way to fully displaying the pass, card, coupon, or ticket.


How do I join a Microsoft Active Directory Domain in OS X? I'm having some problems trying to join our university's Active Directory.

Some of the errors I'm receiving are:

  The plugin encountered an error processing request.

  Authentication server encountered an error while attempting the requested operation.

  Unable to add server.

  Authentication server encountered an error while attempting the requested operation.

  (5202)

  Unable to add server.

  The plugin encountered an error processing request.

  (10001)

Any ideas?

Well, I figured it out!
Our Active Directory is very large.  I'm actually only technically a container admin deep within a large tree of Colleges within the University so I believe that had something to do with it.

Instead of using the easy quick Join interface I had to open up Directory Utility and join this way.

When I pressed 'Bind' I typed in the direct OU path for my particular Container that my machine should be placed in and it let me bind.

I don't have this issue on Windows but Mac is needing it to be specifically assigned to that OU before my level of authority will allow me to add the Mac.

I hope this helps someone!


Transfer Word and pdf files between PC and iPhone How can I transfer Word and pdf files from iPhone to PC and PC to iPhone without using iTunes?

Also, when no internet access is available, how smart and slick is iPhone in reality?  Android phones can do this in a flick and no expertise is required.

You have various options. You can use a cloud service like Google Drive or Dropbox or Microsoft OneDrive and that will let you access files there or save files to there on either device.

I'm not very familiar with Windows, but depending on the version of iOS you're running you may be able to plug it in over USB to your PC and use some program to browse the file system on the phone (on Mac I can use iFunBox or something like that, but I only resort to that in special cases). That would work if you don't have Internet access but you do have USB access.

I don't quite understand the other part of your question. Like any smartphone, an iPhone works best if it is online (cellular or WiFi). What you can do will depend on the app. You will be able to record notes and take photos and listen to music and whatever else depending on the app. You can't check new mail or browse the web of course though without Internet.


Installing TextWrangler command line tools into /usr/bin I just installed the text wrangler command line tools and they are placed into /usr/local/bin by default.  On Lion this directory appears to be a root only directory, and I don't want to have to run the edit command as root.

However if I copy the edit command into /usr/local it won't launch textwrangler. I can see the "edit" process running but text wranger isn't launched.

Is there a trick to getting edit working in /usr/bin? The other command line tools from textwrangler work fine from there.

Sorry, but /usr/bin is still a root/wheel directory, so it is actually going to be worse to install the textwrangler stuff there.

In any case, in your terminal type

echo $PATH and see if /usr/local/bin is in the path.  If /usr/local/bin is in your path all the stuff you install there will NOT need root permissions to be run.  If it is not, you can add it as such:

go to /etc/paths.d/

create a text file that you can call localstuff (or whatever)

edit localstuff putting /usr/local/bin in it.

Example:

$ ls /etc/paths.d/
50-X11   MacGPG2  TeX      TeXbin   git      julia

$ cat /etc/paths.d/julia
/usr/local/julia

$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/julia:/usr/local/MacGPG2/bin:/usr/texbin:/opt/local/bin:/opt/local/sbin

make sure that your shell is a login shell in whatever terminal you are using, the OSX predicated way of adding stuff to $PATH seems to break if you do not use a login shell.

As I said though, chances are that /usr/local/bin is in your user's $PATH anyway, so no need to worry.  I'd also move all the textwrangler files you put in /usr/bin in /usr/local/bin to avoid future problems.


Is there a way to use Skype on iPad with audio chat only? I'm having first version of iPad and a USB headphone. is it possible to use skype on iPad? I'm on Wi-Fi.

I was using Skype on my 3rd gen iPod for audio calls, so I wont think you'll have have any problems using it on a 1st gen iPad.


Volume control (sliders or keys) stops working after plugging into/out of headphone jack I plug my machine into a projector/sound amplification setup regularly for teaching.  Often, when I get back home afterwards, the sound volume controls no longer work.  Neither the dedicated volume keys in the function key row, nor the volume slider in the menu bar have any affect on output volume.  Also, the keys changes don't affect the slider position, or vice versa.

I've done some searching and testing and the only working solution I've found is to reboot. Not a great solution. I've tried switching output devices (no change) and restarting coreaudio (no change). I'm on 10.6.8.

Any non-reboot suggestions?

According to this thread, holding down any of the volume keys as you plug or unplug the audio jack will solve this problem. It's a known issue.

See this thread: http://forums.macrumors.com/showthread.php?t=1254855


how to view raw images on iMac or iphone I take a photograph with my iPhone were does the image go, both the RAW image and the jpeg. Seems like I have to use the Photo app to see these images but i don't know if they are jpegs or raw. They seem to transfer automatically to Photos. Is there a folder on my iMac or my iPhone where these images are stored?

When you import photos into the Photos library on macOS, the images are stored in ~/Pictures/Photos Library.photoslibrary/Masters/ (~ = user directory)

To access the photos library, navigate to the Pictures folder using Finder and right-click (control + click) the photo library and select Show Package Contents. After that, open the Masters folder, and you will see your photos organized in folders by dates.

As far as I know, iPhones support shooting in RAW but not natively through the camera app. Please correct me if I'm wrong in the comments. Always delete photos from the Photos app to avoid corrupting your local photo library.

Source: OSXDaily


How can I view locations of layers in PSD files without photoshop on osx? I have some PSD files I had produced, but I don't have the positions of the layers aka images that were produced aka buttons etc.

I don't have photoshop.

I have tried gimp and pixelmator, but they don't show the coordinates of layers.

I have google how to do this for both of these packages, I can find the cursor position if I hover over the layers, but this isn't exact.

I have no experience with this, but I found a script that may help you.


Mac Mail forgets my email password every few days. How to fix it? I'm running Mac OS 10.8.1 and have a (personal) Gmail and a (work) Google mail account setup inside Mail client. Every few days (weekly?) Mail seems to forget my personal gmail password and I have to re-enter it again.

This bug seems minor except that with Google 2 Factor authentication, this involves a trip to Google accounts and setting up another password etc. So this bug is hugely annoying when it manifests itself. I don't see this issue on iOS Mail (iPad as well as iPhone) nor on Outlook 2010.

I tried a solution at http://805creative.com/blog/what-to-do-when-apple-mail-keeps-forgetting-your-passwords.html but the plist in question doesn't exist on OS 10.8.1 ..

[UPDATE:] This can happen on either the IMAP (incoming) or SMTP (outgoing) servers. I just saw it happen on the incoming and then 5 mins later on the outgoing. Thankfully I misspelt the label of the outgoing server ('GMial') to notice it was complaining about a different server!

For years, and it still is true, I've had the pattern that Mail claims to have forgot the password but it's actually reacting to some other problem. If you hit the (Cancel) button on the "enter new password" dialog, you should find that it continues to work just fine.

At one time, this syndrome was clearly associated with network problems talking to the mail server (Microsoft Exchange, as it happened); I could tell this by correlating messages in the Console log. More recently, I haven't always been able to identify the underlying problem, but the trick of canceling the password prompt still seems to work all the time, for me.


What port is used in OS X for remote desktop? I want to set forwarding IP address on a router.
What port is used in OS X for remote desktop?

Maybe it could be the same port than VNC server, 5900.


Gyroscope in iPhone 4S doesn't work Possible Duplicate:
  iPad doesn’t rotate anymore

I have a problem with my iPhone 4S. Its gyroscope doesn't work. But not at all. Sometimes it sets in vertical position and sometimes in horizontal. I read about it on the Apple's website and they suggest to make a back up and restore the initial settings. I've done this. At first everything was OK, gyroscope used to work. But then I started to restore all programs and at some moment I noticed that the gyroscope doesn't work again.

Maybe some app is the reason but I don't know which one. I hope the problem is in the software not in the hardware but...What I need to do? Maybe you faced the same problem?

Problems with the acceleration input can be faulty software (and usually it's some process going out of control and taking time away from the other tasks - not that it calculates up incorrectly), so that was a good first step to avoid telling you to seek hardware service.

At this point, unless you think the restore process was bad, it's almost entirely probable that the hardware is at fault and you'll need to take it in for repair.


iMac 2009 works slow iMac (model 2009, purchased in late 2012) sometimes becomes extremely slow. I've opened the "System monitor" and discovered that there is a huge lack of RAM.

But as you can see there is no app occupying all the memory (except the kernel_task, i've got no idea what it is). The 2nd pic show that CPU is alright.

I've tried to make "sudo purge" and it helps a little, but a few minutes later lags come back. I don't want just to get more memory, coz I don't understand why 4 GB isn't enough when the largest app - Photoshop - uses only 179 MB. If you got any idea what can be the reason you're welcome.

p.s. Sorry for the pictures are on Russian, but I'm sure it won't be a big trouble). If necessary, i can give any screenshots.

The memory pressure (yellow part at the bottom of the first screenshot) so I recommend upping your ram to at least 8 gigs of RAM (or even 16 if you can afford it). To see what kind of RAM you need, see HT1423 .


Concerns re: upgrading to an OWC Aura Pro SSD on my 2015 Macbook Pro 15" retina Looking to upgrade HD space on my 2015 MBP 15" — considering purchasing the OWC Aura Pro 1TB drive, but am quite wary of the many negative reviews I've seen surrounding it (overheating, battery issues, trouble booting)..

Does anyone have any real positive experience with this drive upgrade, or any other recommendations?

I'm honestly feeling most confident about purchasing a Samsung external SSD and velcroing it to the front of my machine.

Any thoughts greatly appreciated :^)

You can pick up secondhand Apple OEM cards on sites like eBay very reasonably. I bought a 512Gb Apple card for my 2014 MBP, which has doubled both the original capacity and speed, (as it's a newer 4x PCI lane model).

Alternatively, there are adaptors that allow more generic M2 cards to be used.


I think an iPhone 6 is causing connection issues with other devices connected to my router (with Ethernet), how can I avoid it? I have a MacBoook Pro with OS X 10.9.5 connected to my router with a Power Line Connection and Ethernet, which I did because I use the laptop to play an real time online game which needs mostly a stable ping and no ping spikes, and using WiFi at a distance was deteriorating the gaming experience.

The problem is, someone in my house has bought an iPhone 6 (after I installed the PLC, so I'm not quite sure if the problem arises all the same if the MacBook is connected by wifi), and by trial and error I highly suspect that it interacts with the internet connection to other devices. Whenever the phone came home, if I was playing, the connection went nuts. Not that ping went high, but overboard. To the point of not being able to navigate normally either: websites, youtube videos, etc. I mean, charging any light website shouldn't need that much speed, and still it doesn't work.

I would think that it's not possible that an iPhone 6 with a few apps, which sometimes isn't even transmitting any significant data, could take up that much bandwidth (the local connection is supposed to be around 10Mb/s, and I've been able to enjoy 1,5Mb/s download speeds with torrent).

So I don't really know what the cause is, or how to solve it. Is it truly a bandwidth problem? How does the router determine how much bandwidth is allotted to each device/output (wifi/ethernet)? Could I change the router settings (it's a normal low-end router given by my internet provider) to make the computer a priority, so that the iphone only takes reasonable/excess bandwidth?

Troubleshooting is basically a process of elimination, but this one may be a little hard to do through the comments, so here we go.

TEST 1

Let's start by doing this test:

Switch Wi-Fi off in your iPhone settings (not just disconnect).
Totally shut down the iPhone.
Use your Wi-Fi as usual to play your real-time game for about a half hour and make a note of the results.
Switch the iPhone back on but do not switch Wi-Fi back on.
Use your Wi-Fi as usual to play your real-time game for about a half hour and make a note of the results.
Switch Wi-Fi back on in the iPhone and connect it to your Wi-Fi.
Use your Wi-Fi as usual to play your real-time game for about a half hour and make a note of the results.

After following the steps of test 1 you should have three sets of results to share back. This will greatly help you and the community to narrow down your problem, one way or other.

TEST 2

Okay, Power Line adapters are notoriously 'fussy' and it doesn't take much for something to interfere with the quality of their connection. Let's do this test:

Disconnect both ends of the Power Line connection, totally removing them from power etc.
Connect your MacBook Pro directly to the router via ethernet.
Ensure the iPhone is not connected to your Wi-Fi and play your real-time game for about a half hour and make a note of the results.
Now make sure the iPhone is connected to your Wi-Fi network and play your real-time game for about a half hour and make a note of the results.

Let us know the results.


Why am I having this problem importing photos from iPhone to iPhoto? I'm getting the error

Error downloading image.
iPhoto cannot import your photos because there was a problem downloading an image.

when I "Import All..." from my iPhone. Trying to import individual images I get

The following file cannot be imported. (The file is in an unrecognized format.)
IMG_0301.JPG

In the past I've been able to do this, so I don't know why I'm getting grief now. Anyone have any suggestions?

To help describe the problem I've created a screencast: http://screenr.com/CLr

I seem to have resolved the issue by connecting my iPhone 4 directly into my MacBook as opposed to using a USB hub which I connect everything to.

edit: I also found this to be the case after a long term problem with importing photos/films from my iPhone 5; it was intermittent and buggy, but I was using a simple USB extension cord from behind my computer and eventually removing; because of this, this answer solved the entire issue.


How to add a website to Safari Top Sites manually? How to add a website to Safari Top Sites manually instead of viewing it so many times that Safari chose it for you?

You can add it by dragging URL to top sites window.


Keyboard shortcut for Safari stop loading webpage button While a page is loading, I somewant to stop it midway once the important bits have been loaded, and I don't want to continue loading the other unnecessary stuff on the page. This is especially the case with pages which are full of sidebars, images, scripts, etc.

I can click the little cross button in the address bar, but is there a keyboard shortcut for it also?

Holding esc can stop many pages from loading/ progressing.

You can also disable JavaScript in Develop menu (safari preferences → advanced, enable it) if such popups are asking for login etc. This works only if the content loads without JS, or before banner is added.

You can install content blockers, ad blockers which can zap the troubling elements from webpages.


How to move text up/down in Notes using keyboard shortcut? I want to move text up/down in Notes via the keyboard. I know it is possible in xcode with ⌘ + ⌥ + [ or ⌘ + ⌥ + ]. But it doesn't work in Notes. Any ideas?

This should be possible using Cocoa bindings - see this answer:

https://superuser.com/a/283948/659069

--

The example below (taken from the link above) binds a 'move line down' shortcut to Opt-DownArrow - you should be able to modify this to meet your needs.

Create the file ~/Library/Keybindings/DefaultKeyBinding.dict and enter the following:

{
    "~\UF701" = (
        "moveToBeginningOfLine:",
        "deleteToEndOfLine:",
        "deleteForward:",
        "moveDown:",
        "yank:",
        "insertNewline:",
        "moveUp:"
    );
}

This will add the shortcut Opt-DownArrow for a line-swap command (with the line below) to every application supporting the Cocoa text system.


What is causing my application crashes? Borderlands 2, Adium, more Borderlands 2 (purchased, downloaded, run via Steam) crashes on launch for me. This is the first time I've ever really had application crashes, other than the typical "Application has quit unexpectedly" line. I do get a crashlog, which I've put into pastebin here:

http://pastebin.com/bKgKLJv0

I have no idea where to start. help?

With regards to Borderlands 2, there is a thread on the Steam Community with a similar crash log, and the solution appears to be updating to Mavericks, with a few people confirming it worked for them.


Get data from iPhone in DFU mode, by having all the passwords I have and iPhone 7 in DFU mode, It is blocked during normal use.

The iPhone had iOS 11.4, after it crashed following the instructions I tried to update it to iOS 13, but the update didn't go well.

It is now completely locked in DFU mode

Having all the passwords and a one year old backup, I don't want to lose the data from recent changes.

Can I recover the data from a device in this state?

In a word, no. The data on your device is, as you know, permanently encrypted. And is decrypted, when in use, partially by using your lock code. As far as I know, and I am fairly certain of this, there is no known mechanism for decrypting the data off-device, and you cannot move the data off device either because there is no way to move the data off while in DFU mode. And they do not provide any way to decrypt the data using the lock code in any other cicumstances than what happens in a full normal boot.

So, in DFU mode, there is no way to decrypt the data on-device, and no mechanism for moving the data off-device.


Can you place a shortcut or a link to a website in the dock in osx? Is there a way you can place a shortcut or a link to a website in the dock in osx ? Similar to how you can save a website to the homescreen of ios.

Id like to do this on 2 machines - one is on osx 10.9 and one is on 10.8.

Select URL and drag it to your desktop.
Drag the newly created shortcut to your Dock*.

Optional:

If you want to add a custom image, there are instructions in this Ask Different thread.

* In Yosemite, at least, it can only be placed on the right pane of the Dock.


New uninitialised SSD not showing in Disk Utility I have bought a new Samsung EVO 850 SSD, it is yet unformatted. I have a SATAI/II to USB3.0 dock which I want to use to get the drive formatted, but it is just not showing up in Disk Utility (Recovery mode or plain) or even Disk Management on Windows. I have a Macbook Pro 17" Early-2011 [El Capitan 10.11.5] and want to clone my current HDD to this SSD using Carbon Copy Cloner.

The dock I am using is this exact one: https://www.amazon.com/Vantec-3-5-Inch-Drive-Black-NST-D300S3-BK/dp/B007B5PQW4

The SSD is this one: http://www.samsung.com/za/consumer/memory-storage/memory-storage/ssd/MZ-75E250BW

I have read of a few people successfully installing this drive into their Macbook Pro, but success eludes me.

Is the drive maybe broken? Or is the dock preventing the drive from showing up? Or am I doing something wrong.

Old thread, but just run to similar problem myself. My old HDD broke up, and had no chance to format my new SSD anywhere.

New disk was not listed on Disk Utility, when booted the machine with USB-installer and so that I was not able to format the disk and I was not getting nowhere.

I noticed that I was able to run Terminal during installer (Top ribbon)

I checked all devices with command-line Disk Utility:

diskutil list

And the new Disk was listed there.

Then format using diskutil:

diskutil eraseDisk JHFS+ NewDisk /dev/<disk id>

The new disk was formatted and reboot. Disk was now listed on Disk Utility and I was able to install the macOS without issues.


logging out of old Apple ID into new one I know that if I log out of my old apple id and sign into my new one that I will still keep my apps, but i'll need the password to update each app belonging to my old Apple ID.

but i'm just wondering if i don't want to do that, should i delete all of the apps of my phone and re-download using my new Apple ID to save the hastle?

also, i don't want to re-buy all of my music—will that remain on my device?  I do not want to waste unnessisary money.

thanks!!

Anything purchased under the existing ID will remain on the device but as you note, you will have to switch logins to update those apps. Whether the hassle is worth it is something only you can answer. Obviously for free apps, you probably want to download them with the new ID.

Music will remain and since there are no updates, you don't need to remain logged in to that account.

When/if you upgrade to a new device, you will be prompted for the username and password that was used to purchase songs (videos, books, apps) in order to authorize the new device to play/use them.

As a side note, if you set up a new Apple ID because your email address changed, in the future, don't do that. Simply login at appleid.apple.com and you can change the email address associated with your account, which also changes the username. For the vast majority of people, one Apple ID is all you will ever need.


Autocorrect for specific people and the language they use I don't think this option exists, but doesn't hurt to ask. And it would be amazing if Apple could implement this option in case it doesn't exist.

I have people that I correspond that speak different languages. It would simply amazing if my devices and apps (Mail, Messages, Skype, etc) would recognize who I am writing to and remember what autocorrect language I had set up for them.

That way, it would always autocorrect the appropriate language without me having to switch it. (On the actual Mac, switching the languages is not even an easy step).

I hope there is some solution in the meantime other than just turning autocorrect off.. :)

When editing text, right click and choose "Show Spelling and Grammar":

Select Automatic by Language:

This works for me, I use two languages (English and Italian).

Edit: This is for Spelling and Grammar, the setting for autocorrect is in Keyboard->Text:

You'll also have to add the languages you will use in the Languge & Region panel of System Preferences.


restarting a airport from the commandline - of a non-mac We have a few airport's and an airport express here at my work, and I would like to bring them into my Nagios monitoring more closely. Right now they are only being monitored by ping. I would very much love to be able to ssh to it as we do to the other WAP's, so that I could monitor the users connected and maybe even some basic signal quality stuff, but other answers are getting me thinking that ssh just isn't an option for the Airports.

One thing I have found is a couple of posts referencing networksetup. From what I can tell it seems to give some degree of function not only for getting information out of the router, but also performing actions such as a restart. The one problem is - it's obviously a binary only available on the mac terminal.

I can't co-opt one of the few macbook pro's we have just to proxy requests to the Airports, and I'm not aware of a way to virtualize OSX. Does anyone know of a port of the networksetup command for some other distribution (if it was ubuntu it would be ++good)? Or perhaps an alternative solution to be able to get basic information from and perform basic actions on an airport (I really can't think of any actions needed other than the restart).

Edit: I just got momentarily excited when I saw that there was a airport-utils package - sadly it would appear that this does not support any command line options, it's GUI only.

You're asking a lot of different stuff here.

Here's the question I am going to try to answer:

"How can I bring my Airport devices into my Nagios monitoring more closely?"

OK so first of all, Nagios supports SNMP and (most?) Airport devices support SNMP.  So "all" you have to do is configure the Airport SNMP settings and then set up Nagios to ingest the data.

Unfortunately the current version of the Apple's Airport Utility (6.3.1) removed the interfaces to the SNMP settings in the Airport.  You can still download the old version (5.6.1) from Apple but the installer for the old version of the Airport Utility refuses to run on Mountain Lion! However it turns out that it is only the installer that is broken in ML!

Some crazy genius has written and made available an Automator workflow that works around this and allows you to install the old version of Airport Utility.  I just tried it and it worked.  Was then able to use it to set the SNMP settings of my Airport devices.

If this ends up working for you and you accept my answer, you should consider rewriting the question so that the question and the answer match.


Open Facebook URL in Facebook App I know using the fb://URL scheme I can open certain links in the Native Facebook App,

e.g. fb://page/137947732957611 will open the Apple Facebook page.

Is there anyway I can open pages without knowing the pageid though, eg so I can just open https://www.facebook.com/Google but within the Facebook App?

No it's not possible!

The reason is that the Facebook url scheme needs a unique ID for open a certain page and if you look the screenshot below you can see that the "Google" is Name and Username.


Which font extension is used on both PC and Mac? At the office I use a Windows running PC, in which tons of fonts are installed in .TTF, .OTF and .FON formats.

I am using an iMac at home and sometimes I have to finalize my designs at home.

So, may  I use these fonts on my PC as far as I copy them on Mac? Or should I look for their Mac versions?

Mac OS X recognizes TrueType and OpenType fonts (.ttf and .otf) but not the PC bitmap fonts (.fon).

So depending on the copyrights of the fonts you may transfer the .ttf and .otf font files.

To install the fonts:

Under Mac OS X 10.3 or above (including the FontBook)
Double-click the font file > "Install font" button at the bottom of the preview.
Under any version of Mac OS X:
Put the files into /Library/Fonts (for all users),
or into /Users/Your_username/Library/Fonts (for you only).


Go to the Running Safari And Press Enter Using AppleScript I'm very new to AppleScript and I'm trying to do this. I have an Safari process running on my machine. I wish I could go to the running safari and stimulate an enter key event.

Is it possible to do so?

The code I'm trying is:

on is_running(appName)
    tell application "System Events" to (name of processes) contains appName
end is_running

set safRunning to is_running("Safari")
if safRunning then
    run script "tell application \"Safari\"
         key code 36
    end tell"
    return "Running"
else
    return "Not running"
end if

Inside the run script the key code 36 (for stimulating enter) is giving me error:

error "Expected end of line but found identifier." number -2741

Any guesses where I'm making mistake?

The "System Events" must to the key pressing.

for example:

tell application "Safari"
    activate
    tell application "System Events" to key code 36 #return
end tell

I don't know, what the key pressing is for, so now has no effect.

A working example, where the download list is shown and then by pressing "space" the list is cleared:

tell application "Safari"
    activate
    tell application "System Events" to keystroke "l" using {command down, option down} # cmd-opt-l
    delay 1
    tell application "System Events" to key code 49 #space
end tell


Restricting a user to a specific source network IP address Assume my Mac Mini (Sierra/High Sierra, doesn't matter) has two defined users: user1 and user2.

The machine has two IPs assigned via Ethernet:

en7: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=4<VLAN_MTU>
...
inet 192.168.1.24 netmask 0xffffff00 broadcast 192.168.1.255
inet 192.168.1.25 netmask 0xffffff00 broadcast 192.168.1.255
...
status: active

Is it possible restricting user1 to 192.168.1.24 and user2 to 192.168.1.25?

i.e, when user1 performs any network actions on the machine, the source IP would be 192.168.1.24.

Both users can be logged in to the machine at the same time via SSH.

UPDATE

So it's possible to perform source IP NAT translation by adding the following rule to pfctl

nat on en0 inet from any to any -> 192.168.1.24

But nat-rules do not support filtering (by specific user) - in contrary to block/pass rules, so I need to keep digging

The solution was to implement a Network Kernel Extension that changes the source IP of the socket based on the user ID.

More on NKEs can be found here


Missing Photos after airdropped from Mac to iPhone I airdropped a folder of photos from my Macbook to iPhone. The photos are occupying the space (I confirmed from storage info) but they aren't showing up in Photos or in any other application. How can I retrieve them?

Regards

There are two likely culprits:

The transfer didn’t complete and then the clean up didn’t happen.
The transfer did complete, but the library catalog to show photos is corrupt or was interrupted.

Both cases, the primary way you can clean up is to power down the iPhone - slide to turn it off and let the cleanup / shutdown process run. Then at start, the library often will run a sanity check on next launch and show you what the library has received.

If you were sending hundreds of photos, it’s quite likely the transfer started and once you saw the visual indication that the transfer started, you closed the sending window before the send was complete. When training people to AirDrop, most seem to think they are done when the transfer is just getting started.


How to prevent Safari Technology Preview opening default Safari on launch? After selecting Safari Technology Preview as default browser it now also launches macOS's default version of Safari at the same time on launch. Is there a way to prevent this?

I believe this is something to do with 1Password. It's been reported on their forums and replicated by the support team.


Is there a one-time physical damage policy for cracked ipad2 a week after warrenty ends? My 1 year warranty has just ended within the last week and my daughter dropped my iPad 2 which has resulted in a cracked screen.

Is there a one-time physical damage replacement policy in Washington state, as there is in others?

I can't comment on consumer law but I am familiar with Apple's warranty agreement in the US.

AppleCare plus would cover physical damage by extending the normal one year manufacturer's warranty both in time to two years and in scope to actually cover physical damage.

The normal consumer warranty runs one year from purchase and does not cover accidental damage such as a drop. That being said, you could visit a store (or call AppleCare on the phone) and ask them if it could be covered, but I wouldn't expect coverage due to a drop one week from purchase or one week past one year under the normal manufacturer warranty. Be nice if you ask, they could say yes or they could say no but at least you tried.

You also could get a quote to repair and decide what makes the most sense for a repair / sell / replace decision on your part.


Open a terminal on a remote computer? I want to open a terminal and run a command on a remote computer through SSH. I don’t need to see what is happening in that terminal, but I cannot make it work.

I know to open a browser, for example Chrome, and open to a website it would be:

ssh ssh@login -a “http://www.websitehere.com”

Is there an equivalent for Terminal?

I think you're just confusing some of the concepts here. When you SSH to another computer you're connecting to it in an interactive terminal. You can run commands logged into another computer through this SSH connection.

Example

Here I'm logged into my Macbook (unagi) as myself (smingolelli).

$ hostname
unagi

$ whoami
smingolelli

Now we SSH to another computer on my LAN (mulder) as another user that's local to that system (root).

$ ssh mulder.bub.lan -l root
Last login: Sun Apr 21 23:05:32 2019 from 192.168.1.95

$ hostname
mulder.bub.lan

When I'm done I simply exit this interactive SSH connection to another host and I'm back on my original Macbook host.

$ exit


Logical Volume Group "Available Space" Can anyone help explain why there is 17gb worth of free space on my LVG I can't seem to do anything with this space. Is there anyway to fix this? I have already reformatted the disk then cloned the contents back with CCC. I also have FileVault enabled.

Whenever I see this on others setups it is usually a few KB not 17gb!

You may be [not] seeing the other partitions on the drive, Recovery & EFI, which will be contributing to that 'extra' space.

Try enabling the debug menu in Disk Utility, then enabling all partition view…

Quit Disk Utility
Open the Terminal utility
Run the following Command:
defaults write com.apple.DiskUtility DUDebugMenuEnabled 1
Relaunch Disk Utility
In the new Debug menu, enable 'Show every partition'
check if EFI & Recovery add up to the 'missing' space
For me, EFI is tiny, approx 200MB, but Recovery is approx 1.2GB
I don't have an LVG, so there may be a 4th partition governing that.


Why would dsenableroot NOT work on a 10.7.5 OSX Server? So i want to enable root...
I've tried under /System/Library/Core Services/Directory Utility (ie., "enable root)....

The problem is that root (or "other") never becomes a login option.. nor does it allow me to ssh into the box as root...

In Terminal, when I try dsenableroot, I get:

'dsenableroot:: ***Failed to enable root user.'

If I try to DISABLE (dseneable -d).. I get:

'dsenableroot:: ***Failed to disable root user.'

Any thoughts?

I should mention that this server HAS been used with ssh "as root" previously - it seems to have mysteriously lost the ability for other systems on the network to see it or ssh in as root.

Edit:  Please don't waste bandwidth trying to convince me of a client/user level work-around.  I'm a senior netadmin, and am able to wear my big-boy pants. I've successfully NOT f'd up my dozen-ish servers over the past 2 decades operating as root.

This is a back-end support server sitting inside a DMZ, running a specific appliance package - it will not be upgraded, will not be exposed, and no, i have no intention of upgrading to a newer OS in the next decade. in fact I've got 2 spare servers sitting beside it if/when this server dies, to replace it immediately..

I'd prefer to just know how to fix the issue at hand, which is that this 10.7.5 server is failing to enable root...

Try: sudo dscl . -passwd /Users/root PASSWORD. Else: a bit-flip hit your disk and corrupted your Directory Services "database" exactly there where the root user's data usually resides. Check this with the usual tools like dscl or even copying the root.plist:

sudo cat /private/var/db/dslocal/nodes/Default/users/root.plist >  ~/Desktop/root.plist

The default root.plist with root disabled looks like this:

The root.plist with root enabled (redacted all hashes etc.):


Apple Mail: Mailboxes with different IMAP path prefixes For the Apple Mail client (this problem does not appear for Thunderbird Mail), I struggle with the following problem: I seem to have Mailboxes with different IMAP prefix paths. If the IMAP path prefix is empty, I see a bunch of Mailboxes (not under the label "Mailboxes", which has the default ones, like "Inbox", "Drafts", "Sent" and "Trash"). If I change this prefix to INBOX, I see a different set of Mailboxes (again, the standard Mailboxes ("Inbox", etc) are available here, too). I would like to have all Mailboxes show up at the same time (using a unified path prefix). Any help is greatly appreciated!

Yes, the IMAP prefix can be set in Mail Preferences > Accounts > mail@example.com > Server Settings > Choose Advanced IMAP settings. Type in your "IMAP Path prefix" e.g. INBOX

Note: In previous macOS versions (e.g. El Capitan, Yosemite) you will find "IMAP Path prefix" setting below the Mail Preferences > Accounts > mail@example.com >  Advanced tab instead.


Mojave Photos - Space Bar to Preview fix not working In macOS Mojave, tapping the space bar to open a picture in Viewer does not work.  I have tried the  fix in this thread: Keyboard shortcuts (spacebar) no longer works in Photos on Mojave

However it only works to open, not close.  I can not comment or post on that thread so I'm forced to open a new one.

Has anyone found a fix that gets close to work using the Space key?

As of Mojave 10.14.4 - Photos has changed back to the normal use of the space bar to preview an image. So if your have not upgraded yet, do that :)


Have iOS apps. Can I use them on my Mac Mini? I bought many iOS Apps on various iPads and iPod touchs. This Wednesday I will have my first Mac, a Mac Mini, so my question is: Will I be able to download these Apps without any charge, if they are available on Mac Store?

I ask this because I have been watching some videos and have seen GarageBand on the Mac but I don't know if it's the same App. I know that the App Store and Mac Store are different, but, like some Apps on AppStore have a plus symbol on their icons corners saying these Apps can be run on iPad, iPod touch and iPhone I wonder whether there will be some Apps for both iOS and the Mac.

Also, I don't know if GarageBand was released on Mac before iOS devices.

At the moment, you can't really do this. Although I suspect that Apple is looking to integrate iOS and macOS in the future so that this sort of thing can be done (purely speculation).

GarageBand on the Mac is different from the iPad version (it's more comprehensive) and it has been available on macOS for far longer than on iOS.

It is possible to run iOS apps in the Simulator app that comes with Xcode. However, it's not as simple as downloading an app from the App Store. You'd have to get the source code for the app, compile it in Xcode and run in the Simulator. Most apps being closed source, this won’t be possible!


rpcbind tries to contact scan-06d.shadowserver.org - is my laptop compromised? Little Snitch on my laptop just caught an unusual connection attempt - /usr/sbin/rpcbind tries to connect to 216.218.206.83 (scan-06d.shadowserver.org). This looks suspicious to me as it has never happened before. How can I check why this happened? Are there any logs or command line utilities that can point me to the origin of this request?

macOS Sierra 10.12.1 (16B2555)

So the answer is - no, my laptop wasn't compromised. Little Snitch blocked a scan attempt from Open Portmapper Scanning Project - it appeared that that rpcbind (a.k.a portmapper service) on my laptop is openly accessible from the Internet. I solved this issue by blocking all incoming connections for /usr/sbin/rpcbind (System Preferences > Security & Privacy > Firewall > Firewall Options, press +, find /usr/sbin/rpcbind, select "Block incoming connections").

Thanks @Tetsujin for pointing me into the right direction.


Pangu/PP Jailbreak Application Not Re-tethering my Phone So two weeks ago, I got the PP Jailbreak on my iOS 9.3.2 device. I installed it without the PP Helper software for Windows. I did it straight from iOS safari. It installed the PP Jailbreak application on my phone, and everytime I restart my phone, I have to retether (meaning that I need to use the app again to get my jailbreak back). Before, it was only a 20 second process, but now it takes me about 20 tries  before my phone is re-jailbroken. I install Apple Conduit 2, but I still do not understand why PP Jailbreak app doesn't work for me anymore. It just restarts my phone without doing anything. Any help would be much appreciated.

*Note: my Enterprise Certificate is still active, so everything should still be working fine.

Reset Network Settings to Factory Default.

Settings > General > Reset > Reset Network Settings > Click "Yes".


What does the Finder or browser icon marked "From Mac" in my Dock mean? Sometimes this appears in my Dock:

I've seen it with Finder and Chrome icons as well. When I click on it, it brings the app to the foreground. Sometimes, it says "Handover failed" or something similar. What does this icon represent and what is supposed to happen when I click it? This is on macOS 10.14.6.

That is telling you there is a webpage (most likely) that was sent from another iDevice to this one.

When you click on it, it will open Firefox with the shared item.


Make Safari load background tabs I think this is new behaviour since Safari 11, but I'm not absolutely certain.

I tend to leave Safari open all the time, with several pages of tabs, each for a different 'subject'.
On relaunch - if I've been cleaning less savoury cookies etc, or even that rare occasion I reboot - it used to reload all the tabs, whether currently visible or not.

This behaviour has changed & now each tab I go to will be blank & not load until I actually switch to it. I understand the philosophy might be to save resources until you 'prove' you actually need them, but honestly, if I didn't need them they wouldn't be open in the first place.
I've actually developed the habit of quickly flicking through all the tabs just after launch so I'm only seeing the irritating delay once.

Further irritation - the version it loads after the 2 second pause is still the cached version, so you have to immediately refresh it anyway:/

So I'd like to eliminate this behaviour.

I want, if possible, that each tab is already loaded with the current, not cached, version of the page at the time Safari was launched. I can handle my own refreshing after that, I just want to not have to wait that extra 2 seconds for each & every tab at first-use.

I have the Develop & Debug menus already visible, in case the 'fix' is in there, but frankly my comprehension of those menus is sub-optimal. I think in all honesty I have them visible to make me feel cool, rather than because I actually know what they're for ;)

This is currently Safari 11.0.2 on El Capitan.

I'm not aware of any way to alter Safari's default behavior, but this task can be automated easily enough if you have a means to run an AppleScript.

I use FastScripts and Keyboard Maestro myself, so I can assign global or app-specific keyboard shortcuts to my many scripts.

This AppleScript will reload every tab in Safari's front window.

----------------------------------------------------------------
# Auth: Christopher Stone
# dCre: 2011/08/09 20:33
# dMod: 2015/11/14 16:46
# Appl: Safari
# Task: Reload Every Tab in front window.
# Libs: ELb
# Osax: None
# Tags: @Applescript, @Safari, @Reload, @Tabs, @Front, @Window
----------------------------------------------------------------

try

   tell application "Safari"

      set tabList to tabs of front window

      repeat with theTab in tabList
         tell theTab to do JavaScript "location.reload(true)"
      end repeat

   end tell

on error e number n
   stdErr(e, n, true, true) of me
end try

----------------------------------------------------------------
--» HANDLERS
----------------------------------------------------------------
on stdErr(e, n, beepFlag, ddFlag)
   set e to e & return & return & "Num: " & n
   if beepFlag = true then
      beep
   end if
   if ddFlag = true then
      if n ≠ -128 then
         try
            tell application (path to frontmost application as text) to set ddButton to button returned of ¬
               (display dialog e with title "ERROR!" buttons {"Copy Error Message", "Cancel", "OK"} ¬
                  default button "OK" giving up after 30)
            if ddButton = "Copy Error Message" then set the clipboard to e
         end try
      end if
   else
      return e
   end if
end stdErr
----------------------------------------------------------------

On my system I've given it a keyboard shortcut of ⌃⇧⌘R, which is a good mnemonic for me.

It's easy enough to alter the script to reload every tab in every window.

----------------------------------------------------------------------------
# Auth: Christopher Stone
# dCre: 2011/08/09 20:33
# dMod: 2011/08/09 20:57
# Appl: Safari
# Task: Reload Every Tab in Every Window.
# Libs: None
# Osax: None
# Tags: @Applescript, @Reload, @Tabs, @Every, @Window
----------------------------------------------------------------------------

tell application "Safari"

    set tabList to tabs of windows

    repeat with theWindow in tabList
        repeat with theTab in theWindow
            tell (theTab's contents)
                do JavaScript "location.reload(true)"
            end tell
        end repeat
    end repeat

end tell

----------------------------------------------------------------------------

I use this one so rarely I haven't given it a keyboard shortcut and have to manually activate it from the FastScripts menu.  (This is also a safeguard to keep me from hitting a hotkey by accident and having to wait for every tab to reload.)

-ccs


Open new folder window in Finder El Capitan - instead of same window I have different Finder window sizes for almost each folder and just updated to El Capitan.

Now sometimes it opens in the same folder and sometimes it even uses the last open folder like when I chose "Applications" from the menu.
I can use cmd-double click and this usually helps. But sometimes I forget and thus half of the day I spend resizing my windows to the old size.
Is there a Terminal code I can use to always use a new window when opening a folder?

even a call with apple did not bring a new idea. So I will close this question. Thanks everybody!

Without installing additional software you get the wanted Finder behavior by hiding the toolbar and the sidebar.


Possible to use local and icloud notes in OSX Mavericks Notes.app? I just had a situation arise where I have a single note that has a sensitive password in it, that I don't want shared in the cloud.  I would like it to only be "On My Mac", which I recall being able to do in the past.

But now it seems that there is no way to store local notes if you also use iCloud notes.  I definitely use lots of iCloud notes, I just want this one note to be stored locally.

Is this not possible?

From the Menubar select Notes > Preferences ⌘,

Enable Enable the On My Mac account and close.

You may need to View > Show Folders

You can now drag notes between the local and iCloud folders


iPhone 4s iOS 6 - how to clear Location Services memory I was viewing a site that asked for permission to access my location which I declined. Since then the site never asks again, it seems like the iPhone has remembered my choice so automatically declines.

Location Services are enabled and enabled for Safari. I have tried closing safari (from task manager) and disable/re-enable Location Services, rebooted iPhone.

If I view the site on a desktop in Firefox or other browser, it asks for location access everytime I refresh (even if I decline everytime) so I know it's not the site that's the problem.

My question is, is there any way to clear this "memory" that the iPhone has seemingly stored? Perhaps clearing Safari history would do it but I want to avoid that if possible.

Edit: Clearing Safari history and cookies doesn't have any effect.

To reset your location preferences, do the following:

From your Home screen, go to Settings > General > Reset
Select Reset Location & Privacy

Note: This will reset your location warnings for all sites and applications.


Can tables from Pages be reused in Numbers to create graphs? I created a table in Pages '09 and pasted it into Numbers '09 to see if it worked, then I created a graph for it, still in Numbers, but the graph displayed no data as you can see from the screenshot.
So is it because the table came from Pages or there's something I must do before it works ?
I'd like to know if it's safe to create tables in Pages or if they are going to be trapped in it, in that case I'll prefer to create them in Numbers and then paste them into Pages.

I have had the best luck keeping the data in Numbers and only pasting tables and graphs into Pages. But that is because I like the added tools in Numbers and not that I've had any issues pasting back or forth.

I've done a few tests and can't replicate your issue on '09 versions of both iWork programs. Have you experimented pasting the data from pages to numbers as values (or paste and match style)? It is a long shot, but the two things that come to mind is pasting into a new spreadsheet (in case the one you are using has some sort of issue) or pasting data that is somehow formatted to cause an obscure problem.


iPhone calendar alerts are not muted when vibrate switch is on I leave my iPhone in vibrate mode all the time.  The switch still works (when I switch it the iPhone shows the ringer on/off notice).

This morning it started alerting me for calendar alerts with both vibration and audible chimes. Note that I'm NOT talking about clock/timer alarms.

I've rebooted the iPhone, and it's still alerting me both ways.

What else should I check?

The calendar alert is something that you asked for so will not be suppressed by the Silent switch. According to the HIG the switch is supposed to indicate that you do not wish to hear unsolicited sounds such as incoming call ringtones.


How to maximise a window to fill up screen in Mavericks? Before Mavericks, I could maximise a window while holding shift key, and the window would always fill up the entire screen without needing any third party tools or changes.

It no longer works in Mavericks, is there a workaround or hidden setting to revert to the old behavior?

While holding Shift + Option, click the green Plus button on the upper-left corner of the window.


How to stream iTunes content to Chromecast Is it possible to stream my iTunes moves and TV series to my Chromecast?

I've found some solutions on Google but I'd like to avoid tricky transcoding processes.

What's the easiest solution?

If you have actually downloaded the file, simply drag it into the Chrome browser - it will play your file locally and you can stream it from there.  I don't know of any solution built into iTunes that would allow you to stream directly to the Chromecast.  I do this with iTunes U lectures all the time.


Find the path to my USB webcam on OS X Mavericks I am trying to live stream my webcam (with ffmpeg) on a web server using Web sockets. However, I cannot manage to find the path (similar to /dev/video* un Linux).

I wanted first to use iSight, but Apple makes it really complex to access it (using avfoundation, qkit).

How can I identify/access my Webcam device please ?

Note : I have found this post, but sadly unanswered.

Thanks

You should try the VLC player.

It has multitude of options for setting of the Capture and Streaming.

I am not showing your set up since I do not have external webcam, but it should show in the drop down menu for you.


Uninstalling Java on Lion I recently installed the Java runtime (through Software Update) and enabled the Java browser plug-in and WebStart on Lion, but I don't need them anymore.

Unchecking "Enable Java" in Safari preferences gets the job done, but I'd rather get rid of Java completely. So the question is, how do I do this? I want to go back to a clean Lion install, Java-wise.

Removing all traces of Java, cleanly, from OS X Lion

Uninstalling Java for Lion is simple. Remove the following directory (which contains the file 1.6.0.jdk):

/System/Library/Java/JavaVirtualMachines/

Then (for completeness), clean up the installer records by removing them from /private/var/db/receipts/:

com.apple.pkg.JavaForMacOSX107.bom
com.apple.pkg.JavaForMacOSX107.plist

And lastly, we clear out any traces of the product installation from Software Update by editing the following plist file: InstallHistory.plist, located in:

/Library/Receipts/

Note: Editing the install history plist file is better done by copying the plist to your desktop (as it owned by root and won't let you modify it), but make sure you restore the default ownership by running the following command:

sudo chown root:admin InstallHistory.plist

You can open the file up in Text Edit and remove the following lines:

<dict>
    <key>date</key>
    <date>2011-09-06T14:43:35Z</date>
    <key>displayName</key>
    <string>Java for Mac OS X 10.7</string>
    <key>displayVersion</key>
    <string>1.0</string>
    <key>packageIdentifiers</key>
    <array>
        <string>com.apple.pkg.JavaEssentials</string>
        <string>com.apple.pkg.JavaForMacOSX107</string>
    </array>
    <key>processName</key>
    <string>Software Update</string>
</dict>

Additional information

There are two packages that are found in the Java for Mac OS X 10.7 dmg, JavaEssentials and JavaForMacOSX107. The former does not install anything. I have compared the files found on a clean OS X 10.7 install (that does not include Java) and those found in that package, and they are all present and moreover, are identical in every way (v14.0.3). Thus, the only package that needs to be removed is the SDK. Additionally, you can remove the receipts and the install record, but those are more cleanliness than anything. Remove the SDK is sufficient (try running a program that requires Java after the removal of that file, and you will once again be greeted with the notice to install Java).


Email directly to iMessage? I know how to send a message to X@txt.att.net and have it show up as a text message. I am wondering if there is a way to e-mail a message and have it go through iiMessage instead of SMS.

There is no way. iMessage is a proprietary service, and the sender needs access to the receiver's public key to send a message. Techcrunch explains the whitepaper Apple released on iMessage's implementation in this way:

  When someone starts an iMessage conversation with you, they fetch your public key(s) from Apple’s servers. Before that message leaves the sender’s device, it’s encrypted into something that only your device knows how to decrypt.

As email doesn't have that handshake component, there's no way for you to encrypt the message client-side.


Preserve Window Spaces Placement Between Restarts I use Spaces to organize the task I'm pursing. In that vein, I often will have a browser window on each Space, with open tabs relevant to that task that Space is used for.

For example, Space 1 is for Work. So in addition to work applications, I have a browser window open with tabs relevant to work. Space 2 is for Photography. And Space 3 is for just general browsing and social networking, etc.

I am easily able to put a different browser window into each space. The problem is that when I restart the computer, all windows appear in the first Space!

My browser is Chrome, and perhaps this is an issue I need to take up with the Chrome team. Or is this a bug in OS X Lion?

I encountered this posting while searching for a way to do exactly what OP wanted to do.

Interestingly, Finder seems to do it right -- when you have multiple Finder windows in various Spaces, and restart your Mac (or if you just "killall Finder" at Terminal, which restarts Finder), they go into the Spaces where they were.

Also, Safari often does that too. Safari seems to preserve the Space each window was opened at, if you restart your Mac with all the browsers open. But Safari fails to remember Spaces if you simply quit and restart the app itself.

So I guess it's not true that it is impossible to achieve this, but there seem to be some issues within the Mac system that do not allow this all the time for all apps.
But I'm hopeful that someone could find out a tweak.


Screen Time countdown for specific website/app starts as soon as I open my Mac I've set up Screen Time limits for YouTube and a handful of other apps on my iOS devices, and those sync over to my Mac. On Catalina, the YouTube app limit automatically also applies to http://youtube.com.

However, that countdown appears to start as soon as I start my Mac, or perhaps when I open Safari. I did not visit YouTube on either my iOS devices nor my Mac yet, and it's already counted and hour and a half of usage, closely coinciding with the length I had my Mac started for.

Is this just buggy, or is there anything I can do to make it count only the length of time I actually visit the YouTube website?

It seems to have sorted itself out with the latest update. Not sure whether there was an unmentioned bug fix in there, some caches or something got cleaned out during the installation, or it was just the reboot.


How to fine tune the sound level in iOS just like Mac OS? I can fine tune the sound level by shift + option + volume up/down keys in Mac OS.

Is there any similar way in iOS?

When double clicking the home button and swiping two times from left to right on iPhone, and one time on iPad, you'll find a Volume Bar which will precisely let you adjust the volume of the device to the level you want.


How to put a custom launcher in the Dock (Mavericks) I am new to Mac OS (I am currently using Mavericks) and I have performed google searches as well as search on StackExchange regarding my question but the discussions I came across don't quite answer my question.

I come from the linux world and it is trivial for me to set a custom command in the gnome-panel and then put in any argument I like; many of these commands invoke xterm.

So for example, suppose I want to create a launcher to connect to a remote server with lot of arguments as below.

xterm -fg orange -bg black -e ssh me@myserver

I cam across a post that suggested I use the automator.
I am however unable to do this successfully.

So far in the automator, I have

open -a "/opt/X11/bin/xterm" --args "-fg orange -bg black -e ssh me@myserver"

however this command does not execute properly and I am not sure how to solve this problem.

Thanks
Les
p.s. Note that if I launch the Terminal and type in xterm, it launches as expected

You can write it as a shell script within the Run Shell Script action in Automator:

Save it with the type Application (instead of Workflow) and place it in your Applications folder.  It can now be placed in the Dock.


Force Preview to open all selected images in one window Before mavericks, selecting several images in Finder and choosing Open on them would open them in Preview in one window, with all image thumbnails nicely on the left hand side bar.
Since Mavericks, this is no longer the case. Sometimes the selected images all appear in one window, sometimes Preview arbitrarily open some images in one window and other images in another window...
How can I force Preview to open all in one again?

Had the same problem. It's simply in the prefernces setup "open images in one window"


Use unsupported USB footswitch? I am attempting to use this footswitch:

http://www.scythe-usa.com/product/input/008/usbfootswitch_detail.html

They only support windows, and USB Overdrive apparently doesn't support it either.

I want to use it to click the mouse in OSX.

Is there a software that will allow this configuration?

Runs the setup software under Windows. The pedal stores the settings itself.


One certain person can't hear me when I call. I have an iPhone SE and when I tried calling my
Boyfriend, he couldn't hear me. I called my
Mom to see if it would happen but she COULD hear me. I could hear him clearly. This has never happened before and we've called multiple times. Why can he specifically not hear me? He used his phone earlier and was able to hear other people. What should I do to fix this?

First, just try again, make sure it wasn't just a glitch.

Then, to fully test...

Reboot all 3 phones, yours, boyfriend's, mom's.

Ring each person to test - that's 6 phone calls - you to mom, mom to you, you to boyfriend, boyfriend to you, mom to boyfriend, boyfriend to mom.
That last couple might feel odd, depending on how well they know each other, but it's the only solid test to see if it is specifically just an issue between you & your boyfriend.

If only one/two of those tests fails [the expected ones], the next test would involve each person travelling far enough that they are certain to be using a different phone mast & repeat the process.


Automatically categorize downloads? Usually, when I download something, I need to take a template action on it, depending on the file type. Mp3 files get imported to iTunes, wav and rex files to the sample folders, zips get unzipped (and then are going through this procedure recursively), doc files are moved to documents, dmg files mounted, installed and discarded, and so on. But usually, I forget about some of the files, or use them without moving to a more relevant place, and my Download folder gets very crowded as a result.

Is there a tool that would help me move downloaded files to the relevant folders depending on their type?

You can do this with Hazel:

  Create rules to automatically keep your files organized

  Hazel watches whatever folders you tell it to, automatically organizing your files according to the rules you create. It features a rule interface similar to that of Apple Mail so you should feel right at home. Have Hazel move files around based on name, date, type, what site/email address it came from (Safari and Mail only) and much more. Automatically put your music in your Music folder, movies in Movies.


Some aliases return 'No mapping found' After editing .bash_profile, .bashrc, .inputrc
dotfile config my aliases went silly.

Some aliases work as expected.
Others for no apparent reason return:
No mapping found
Press ENTER or type command to continue

bash GNU bash, version 3.2.57, Yosemite 10.10.3, iterm2

The problem was not with aliases but with vim maps.
A satisfactory answer can be found here:

https://stackoverflow.com/questions/15214794/no-mapping-found


how to transfer everything from one icloud to another icloud in same iphone i want to transfer everything from one iCloud to another one in same iphone. i want to finish iCloud and i want to have a new one.
is there any one to help me?

You cannot transfer everything from one Apple ID to another.

Documents, photos, yes... apps, books, music etc, no.
The ID that purchased those [even free apps, even the iDevice itself] is locked to the Apple ID that purchased them & can never be transferred. The only alternative would be to wipe all the old data & set up as a new device, then repurchase the things belonging to the old ID. [This would also require the permission [password etc] of the ID giving up the device.

If all you really require is to change the email address associated with your ID, then you can do that - the ID itself is not dependant on any given email address [in fact it doesn't even have to be an email address, it's just easier to think that way]

See Apple KB : Change your Apple ID for full details.


Increasing a user's home directory size, external drive? My mum has an iMac with a 3TB fusion drive in it and she's running out of space. She loves photo and video editing. She's good with final cut but not with managing separate storage. SSD's do not go up to that size and if they did, they'd be massively expensive. The fusion drive still uses regular storage under the hood for the majority of it as far as I can tell.

Would it be a good idea to move her home directory to a fast external hard drive? Say I get her a thunderbolt 3 capable hard drive with 8TB or 12TB, like the LaCie's. She doesn't have to try and manage several drives for her work, but she does have a ton of space afterwards. Are there any performance concerns or upgrade issues I should be aware of?

Moving the entire user domain, instead of just the folders for Videos and Photos may be overkill, though it would keep things simple. You're not going to see any advantage from moving preferences, audio files, Word docs, etc, as they are too small and not causing any bottleneck.

There's no disadvantage either, except that if the Mac boots up and can't find the drive, it will create a brand new (empty) user account on the system disk. "Where has all my stuff gone?"

Don't forget that you'll need another device to back up to!

Fusion drives can reduce in performance as they fill. I would recommend swapping one or more parts out for a regular SSD in due course.


Can't access pure-ftpd I've just compiled pure-ftpd (v1.33) using

./configure --with-pam --with-puredb

on my Mac mini Lion and pure-ftpd works fine but I can't access it

because of the authentication problem.

/usr/local/bin/pure-pw useradd root -u 0 -g 0 /private/var/root

tells me to give non-root uid and gid.

I want the ftp server to provide a root access, how can I achieve that?

BTW, interestingly on my Leopard Mac mini, I had compiled the same program 2 years ago and on it the pure-ftpd does accept the root user! (i.e. when I login the directory listed is /private/var/root and I do rwx rights to every folder on harddisk)

So I'm sure there must be a way to achieve this. I've browsed the /configuration-file/pure-ftpd.conf file and couldn't see something like 'AllowRoot' anyway I don't remember arranging any conf file on the Mac mini Leopard.

The last thing I want to note is that the root password I enter on ftp is different than the one on the OS's user root. A bit puzzling really.

Any suggestion is appreciated, thanks.

I found the solution

1- In Lion the PAM scheme is a bit different than Leopad, the /etc/pam.d/pure-ftpd file in particular. That's why the default pure-ftpd configuration in Lion didn't work. As a quick fix, you have to:

cp /etc/pam.d/ftpd /etc/pam.d/pure-ftpd

i.e. you copy the Lions' default ftpd PAM scheme to pure-ftpd. It works.

2- For Lion, you have to install pure-ftpd-1.0.36, not 1.0.33 otherwise it hangs while trying to login to pure-ftpd.

3- Lastly, you have to set a password for the user you want to use. In my case I set for root (don't worry about the root access, the pure-ftpd is not open to Internet I use it solely inside LAN for development)

passwd root (enter any password)

Because you can set any password here, your root password can be different from the Mac OS X's user with root privileges.


How to use Mac microphone for a phone call on iPhone My iPhone is plugged into my Mac. I have a nice USB mic on the Mac I'd like to use for calls. I'm used to using Rogue Amoeba's software (e.g. Airfoil) so I know it's possible to pipe the audio around. How do I use the Mac's USB mic for my iPhone?

You should be able to use the FaceTime app on your Mac to place calls via your iPhone.

To set this up it should be as simple as signing into the same Wi-Fi on both devices (Mac & iPhone) and the same FaceTime account on both devices.

From here you can make calls by just typing the number into this box in FaceTime:

As for using the microphone, you can configure which devices to use for speaker, microphone and webcam in the "Video" menu...

Finally once you've linked this all up inbound calls should show up as a notification you can answer on the Mac. If you prefer to answer on iPhone you can do this and then on the iPhone call app you can click the "Audio" option to route the call to your Mac where the FaceTime app will take over...

EDIT: Evidence that FaceTime can make calls from the Mac via an iPhone:


Mail app unable to verify account name or password Lately, I 've been experiencing a problem with my hotmail account when I try to get connected through the mail.app on my Mac (I have the latest version of MacOS installed). It cannot get connected and actually this is the error message that pops out.

I have also tried to delete my hotmail account and re-add it, without any success. Also, I have tried Microsoft Outlook for Mac and I experience the same problem. IMAP settings seem to be correct.

All my other accounts work properly.

P.S. I can get connected to my hotmail account when I use a browser.

I created an outlook.com alias per the link below and it now works  See the link below:

http://www.macworld.co.uk/how-to/mac-software/set-up-hotmail-on-mac-os-x-3628423/

I also deleted my account and re-added to switch from pop3 to Imap.


How to convert all photos in iPhoto library to no bigger than 1920x1920 resolution? My wife has a MASSIVE iPhoto library -- thousands of snapshots of her cat and food and flowers, vacation photos, and so on, all taken at the highest resolution on her digital camera (up to 12 Megapixels).

The library is taking up tonnes of space and it's bogging down iPhoto and her old iMac.

She only ever uses these photos for Facebook and things like that -- maybe some of them might get printed as 5"x7" prints for a photo album or something.

So I'm thinking it would be nice to reduce all of the images down to a max size of 1920 pixels (height or width, depending on landscape or portrait orientation).

Is there an easy way to reduce the size of all photos in the iPhoto library?

I was thinking of doing a massive export of all photos to a folder on an external drive with those max dimensions, but my concern is that I would lose all the iPhoto album organization.

Any thoughts?

Because these digital images represent irreplaceable data, and exporting in smaller resolutions in essence deletes some data, I'd move these images to an external HD to keep them in their original sizes.

For data-dense backups, inexpensive external dual-layer Blueray burners can store 50GB per disc.


Paste text when option not offered by the app? Is there a way to paste message if an app doesn't offer the paste option when you hold down in the text area?  (Specifically Clash of Clans.)  Alternate keyboard for storing text or something like that?  Or with iOS 8, a keyboard with a paste button?

With new keyboards, one option to accomplish this turned out the be Paste It!  It's a keyboard app that lets you type into the main app, and then find any one of a number of messages to paste later.  Nice!

I think there are other keyboards out there providing similar functionality, but this was the first free option I found.


Is it necessary to select a carrier when buying an iPhone online from Apple? I am planning to buy an iPhone X during an upcoming USA trip. During the buying process on the Apple Store, I am asked to select a carrier between AT&T, T-Mobile, Sprint and Verzion. I dot not have any sim from the USA and I am not planning to have one for using the iPhone X ever in the US.

Is this important to activate the iPhone?

The reason for this is that in the US carriers have and use slightly different technologies and different frequencies than their competitors. Though I believe T-Mobile and AT&T use similar technology and frequencies. Not sure abut the other two.

I would suggest checking the website of the carrier you use at home and see what they use so you can select a phone that is the most compatible with their cellular network.


Unable to take full screen screenshots "Your screenshot can't be saved" I'm currently on Catalina 10.15.4 and recently started seeing a popup whenever I try to take full screen screenshots. A window pops up saying "Your screenshot can't be saved. Unable to capture window image." I've tried to capture via the grab tool and also pressing ⌘ Command ⇧ Shift 4 then Space then and then clicking.

I've tried changing the default directory that my screenshots are saved to from the desktop to a folder called screenshots but this didn't help.
defaults write com.apple.screencapture location ~/Screnshots.

Any ideas why this might be happening?

Does your Mac have a Touch Bar? If so, check the location shown there after you press Cmd + Shift + 4. Is it a valid folder?


Spotlight not connecting to internet My problem is that Spotlight shows no results from internet sources (Wikipedia, iTunes Store, etc.).  I've reindexed my drive twice, cleared all the caches, and reset the NVRAM.  Still not working.  I have everything in Spotlight preferences checked.

But when I search for a stock there's no results.  Funny thing is, if I try it in Safari it works just fine.

What's going on?

The output of launchctl list | grep Spotlight is

 465    0   com.apple.metadata.SpotlightNetHelper
 466    0   com.apple.Spotlight

This might be a duplicate of the following question question, but there's still not a satisfactory answer (and that question asks about Yosemite, not El Capitan):

Spotlight does not show contents from internet!

This seems like the sort if thing I would update to the latest OS version (you appear to be 10.11 - the initial and possibly most buggy release possible) and then retest with 10.11.6.

If you still have problems - make a new user account, log out of your current account and then see if a new account with default settings can search.

Unless you are on a corporate network that blocks some outbound connections - this likely is an issue with the settings file or an odd bug.


Any way to remove all folders that contain only .DS_Store recursively? If I try

sudo find . -name '.DS_Store' -delete

then, within a few seconds, the .DS_Store files get re-created by Finder before

sudo find . -type d -empty -delete

can take effect.

I can do

sudo find . -name '.DS_Store' -delete; sudo find . -type d -empty -delete

but this only works on small trees. If there are many subfolders, Finder starts recreating before the 2nd command runs.

Do you have Finder open to that folder? I don't see why the .DS_Store folders would be recreated unless you were viewing them.

If the folders are truly empty, you should be able to use rm -rf <path>. Be careful, it will completely remove that folder and any files in it. Do man rm to learn more.

You shouldn't need the sudo unless you are touching system files. Don't do this unless you understand the ramifications.


Keeping photos between Lion and iOS synchronised I own iPhoto on both platforms. Is it possible to keep the photos synchronised between the phone and mac?

I don't mean simply transferring them from phone to mac when WIFI is available. I want when I delete a photo from the computer to have it deleted on the phone automatically. Or alternatively when photos are synched from phone to mac, they should get deleted on phone.

Is either of the above possible with iPhoto? I can't find an option for it at any obvious place.

Simply, no. Pretty much the only thing the two apps share is a name right now. They're quite independent of each other.


Built-in GUI-based ASCII only editor for OS X I am trying to programmatically invoke an OS X editor from a script which:

does not add smart quotes or any non-ascii characters while editing
will work "out of the box" on any standard mac system
allows the user to click the mouse to position the cursor

Sadly Nano and friends do not allow cursor positioning, and Apple lost its mind with TextEdit upgrades and really destroyed that editor!

My best hope is that there is some programatic way to configure TextEdit to behave as an ASCII editor.  Alternatively, is there a third party editor whose license allows that I can include with my script to serve this need?

=====
USAGE CONTEXT
 I have a python script that runs 'out-of-the-box' on any mac.  Now I want that script to invoke an editor on an ASCII file that I need stay as an ASCII file.
I don't want to require the user to do manual configuring, I want the script to initialize itself.  Ideally it would not change any global environment settings, but I can give that second requirement up, if I have no choice.

Any texteditor & textutil

Still intrigued by your problem I found the following solution. There is a Terminal app called textutil and it allows to convert richtext to plane text.

Edit and save your 'Rich' text anyway you want to (like in TextEdit).
Use the commandline textutil to convert your rich text to normal text

textutil richtext.rtf -convert txt

You can also pipe the textutil output through sed to replace smartquotes and do whatever your want with it

textutil richtext.rtf -convert txt -stdout | sed s/[”“]/'"'/g

Becomes:

Hello, this is rich Text with "smart" quotes