SRM gone in macOS Sierra (10.12) I've just updated to macOS 10.12 and when I try to execute srm in Terminal, it says -bash: srm: command not found.

Is srm removed? How to fix this?

From this comment:

  can you come up with a better idea or safely removing files from SSD
  on newer macs? – Niktin Roman

There's no need for srm; provided that TRIM is enabled on your machine1

TRIM support handles this for you. When you delete a file from your drive, the OS will mark the file space as "not in use" - this applies to  any drive. On an SSD, unlike a HDD,  a TRIM command is sent to wipe any data in that marked space.  This allows your SSD to be able to write data to that marked space as if it was brand new and never used, and  skip the traditional  deletion process.

If you are looking for more security, turn on FileVault.

Per Apple Support:

  Note: With an SSD drive, Secure Erase and Erasing Free Space are not
  available in Disk Utility. These options are not needed for an SSD
  drive because a standard erase makes it difficult to recover data from
  an SSD. For more security, consider turning on FileVault encryption
  when you start using your SSD drive.

I also advise against using srm because it issues more and unnecessary write operations to the SSD, thus shortening it's lifespan.  From the man page:

srm  removes  each  specified file by overwriting, renaming, and
truncating it before unlinking

1 TRIM comes enabled by default if you your Mac came with an SSD preinstalled.  if you added an SSD after the fact, then you must enable TRIM by issuing the command sudo trimforce enable in Terminal.


iPhone photos phantom storage (13 photos take up 13 gb) I have a storage problem on my iPhone X. I have iCloud photos and a massive cloud library of ~700GB which used to be all squished into my 64Gb iPhone X, taking up around 22Gb. I recently wanted to free up space to do a WhatsApp backup, but that required 13Gb of free space which I didn't have, so I decided to untoggle iCloud Photos and delete all my local photos except for my 13 most recent ones.
After hours of manually doing that, and emptying the recently deleted photos, I made sure that there was literally thirteen photos on my phone. But somehow Photos is still taking up 13Gb... What is going on???
My only possible explanation is that my Whatsapp takes up 12.5Gb, and the system is double counting the media on it. Could that be why? Then I'm in a dilemma because I need to free up another 5.5Gb according to WhatsApp to do a full backup

You should go to settings on your iPhone. From settings go to general and then go to iPhone storage. Underneath the total memory statement is a colored scale showing what apps and others are being used.  If you scroll down even further it gives you the amount of memory used by each app. You can check the size of Whatsapp on your phone.


Which App saves and restores window size/position on relaunch of an app? Is there an app that saves (when I quit the application) and restores the window size and position of an application the next time I start it?

I found apps like Optimal-Layout, Breeze and Simple Window-Sets but all of these apps only give the option to save states for specific apps or globally.
What I would need is an app that saves the size and position of a window by its title.

For example:

I use iTap mobile RDP quite often. The application starts up with a little window showing the bookmarks I've created. Once I double-click on one of the bookmarked sessions the actual RemoteDesktop window appears. But the application always opens it at the upper left corner of my main monitor. I have to move the window to the second monitor every time I open a RemoteDesktop session. I've seen the same behavior for a lots of apps.

I would like to have an app that recognizes the title of the window and moves it to the position where I closed it the last time.
I would also like to avoid manually clicking something in the menu-bar or keyboard shortcut to restore a windows position. It should be some kind of "Window Watcher" which checks a windows title when its created and restores the position and size.

Does anyone know an app like this?

Ask the developer of iTap mobile RDP to add that as a feature.  Normally it is up to the application to keep track of its own windows.


iPhone backup encryption with password cannot be disabled Hi have backups which encrypted with passwords and i know the backup password, i can restore it.
There is not any problem.

But i want to disable encrypting backup with password, here is the problem.
In iTunes Encrypt "iPhone backup with password" checkbox is checked and disabled.
So i cannot be able to change it.

My phone had a Profile, which forces backups to be encrypted.

To enable unencrypted iPhone backups again, I removed any Profiles from my phone under Settings -> General -> Profiles.

Profiles can be either Provisioning or Configuration Profiles, and are used for iPhone development and by Enterprise Deployment tools. More information about profiles can be found in the Apple Enterprise Deployment Guide.

Hold the home button and the power button together' so that it will be DFU mode. and restore it.


iTunes 11 Stuttering During Playback I have a 2011 generation Macbook Pro, upgrade to 16gb RAM and a 128gb SSD drive - running Mountain Lion and iTunes 11.

During playback (approximately 20 times per song) it stutters, stops playing for a few seconds, and then resumes from where it left off. It seems to co-incide with my using the keyboard or performing any file operations - and at the same time the file operations freeze up. The following screenshot was taken about 3 seconds after a skip and doesn't show any signficant CPU activity:

However, if I close iTunes, I get no problems with file operations, or any other app on my machine - leading me to believe that iTunes is causing the problem. Has anyone else run into anything similar, or have any advice on stopping iTunes being such a resource hog?

Note: Other apps (for instance VLC) have no problem with playback under the same conditions.

Buried deep in the comments are these answers to solve the riddle of the stuttering iTunes playback on Mountain Lion:

  I've just remembered that I have FileVault enabled, and as the crashes / skips happen when the computer is performing file ops, I think turning FV off might help - decryping my hard drive now... – George Pearce Jan 12 at 14:34

  Update: Turning off filevault and decrypting my hard drive appears to have entirely solved the problem. – George Pearce Jan 12 at 19:20

You're sure these are not songs that are coming from the cloud?


iPad Safari missing bookmarks, favourites and reading list My iPad Safari bookmarks, favourites & reading list have disappeared. It won't let me bookmark or favourite any sites either. I've tried a hard restart, switching off iCloud & deleting cookies but to no avail. Is there a way to solve this?

Check your Restrictions.

If that doesn't work, back up your iPad and use iBackupBot to delete the Safari folder in app data.

after you delete Safari folder, Reset All Content And Settings(wipe)then activate and restore your iPad.

or just type safari in settings and clear history and website data,
after that, you can sync you data from iCloud.


How do I get two status-bar clocks with different timezones? I'd like to have one clock in my status bar set to the same timezone as my servers.  I've found three applications that will allow me to add another clock:

Day-O
MenuCalendarClock
iClock

but they all use the system time (which I'd like to keep as-is).  Are there any applications that allow timezone-munging inside the app, or will I need to write this myself?

Status clock is free, and available from the mac app store:

https://itunes.apple.com/us/app/status-clock/id552792489?mt=12

Worth a look too: https://github.com/palaniraja/mclock

Note: Loversclock, mentioned in another post, didn't download.


Mac stuck in safe boot I accidentally did a hard reset on my mac by doing contorl+c when my mac was booting up. I typed /sbin/fsck -fy because it was supposed to fix my Mac so that it is no longer stuck in safe boot. It said to type reboot, but now my Mac won't start outside of recovery mode. I need help trying to recover data and starting the computer.

Running the command   /sbin/fsck –fy   initiates a file system consistency check utility which should scan your system and attempt to repair any issues, this scan is documented to take approximately 15 minutes and should not be interrupted.

You should restart your computer, press the power button, and then immediately press and hold the  Command + S  keys as the computer starts up.  This will boot you into Single-user mode and you should see white text on the screen.  Now run the fsck utility and wait.

When it's done it should prompt you with the message "File System was modified" or "No problems were found".  If you see the first message, you should repeat the entire process over and over again until you receive the "No problems were found" message.  This may take 3 or more times of repeating the process.

If after 5 times you still do not get the No problems were found prompt then your last hope is to attempt a Disk Repair.

Find a OSX install disc, and insert it, restart, holding down the  C  key to boot to the disc.  Once it starts up, navigate to the Disk Utility application which will be found in one of the drop down menu's along the top of the window.

Within the Disk Utility application select your drive and run the Repair Disk command.  Run it repeatedly until it responds that no errors needed to be repaired.

If it still doesn't work, buy a new hard-drive.


Keyboard shortcut for monospaced formatting in Notes app Is there any way to define a keyboard shortcut for monospaced formatting in Apples Notes app? Any alternative suggestion to quickly format a single line monospaced without using the mouse?

Yes. You can define you own keyboard shortcut.

You do this in System Preferences > Keyboard > Shortcuts > App Shortcuts > (plus button).

I did this in notes. CMD T now opens a new note instead of opening formatting.


Keyboard shortcut for 'Clear filters' in excel in office 365 for mac How do you 'clear filters' in excel in office 365 for mac using the keyboard?

On PC I can do alt+d,f,s

or using the mouse I can go to Data > Filter > Clear


Why isn't the "Open New Page" button working in Safari for iPad (iOS 4.3.5)? In my recently acquired iPad2, the Safari "Open Page" button is not working. All the rest of the buttons work fine, except this one... The oddest thing is that when I "long-tap" a link and choose "Open in a new page", the animation shows all the other pages (though I can't tap/select/close any of them) before opening the new page...

Deleting the Safari cache/history works to get a new "blank" page but not to get the button working. I've tried closing Safari, powering off and even "rebooting" (home-sleep for 15 seconds) the iPad with the same result.

This was working fine before; I updated to 4.3.5 yesterday so I'm blaming it on that.

Any ideas? It's really a PITA not to basically be able to use Safari.

Sorry for the delay in getting back: Updating to 5.0 didn't fix the issue, and I noticed the "dead spot" on other apps so, to I finally took the iPad to an apple store, where they diagnosed a problem with the screen: there was a strip, around 1 cm wide that was not working properly. Got a new one and now I'm a happy camper!!

EDIT: Typo fixing (I should use spell checking!)

you can solved this problem
1. open setting - click to safari -click to open links key - click to in  background key
and show to new page open in safari


Siri can not activate some alarms on iPhone 6S Plus with iOS 9.2 When I use the "Hey Siri" feature to enable an alarm it usually works. But recently I've encountered a problem. The conversation with Siri would go like this:

<me>   Hey Siri, wake me up at 7 20.
<Siri> Your, 7:20 alarm is on.
<Siri> (short pause)
<Siri> Sorry Jozef, there has been a problem setting up your alarm.

And indeed the alarm is not turned on for 7:20. It would work for other times, ex. 7:10 (regardless whether an alarm at desired date exists or not).

Is there any special case when Siri can not activate a specific alarm?

This is not a problem with Internet connection (I have one) or understanding of what I said (the text is interpreted correctly and Siri actually seems to have turned the alarm for a short moment).

Be explicit when you ask for an alarm:

  Hey Siri, wake me up at 7:20am."

Also, what version of iOS are you using? There were some issues with alarms not waking people up in iOS 9.1. If you are running 9.1, update to the latest version, 9.2.1, and see if the issue persists.

Personally, I would check you ios update is that most recent version. If it is then what I would do is set the alarm manually. To be quite honest, not trying to be rude, setting an alarm manually surely can't be an issue unless you are very lazy aha!!!

If it is a real problem contact apple and hopefully they'll be able to sort it out for you.
Hopefully this is helpful even though it's general common sense


MacBook Air 2013 bad wifi when internal monitor off while using external monitor As absurd as it soundsmy macbook shows the connection to WiFi but does not load anything when connected to external monitor.

I use MacBook Air 13 inch 2013 1.7 i7 chip and 8gb ram and DNS L270 1440x2560 monitor connected via display port and mini dp to dp adapter at 60 hertz (NTSC)

Here is how I came up with my conclusion:
The way I use them is by having both on the desk, I mirror displays so I only use the external monitor a mouse and a keyboard, while my macbook is open and left aside with the screen brightness turned to none. I was bothered with poor wifi on the MacBook for some time, while other devices worked just fine in the same room. Sometimes I would take my MacBook and go to another room to see if wifi works better on it and it did. This morning I got pretty annoyed how I could not open a news article in my room, but could stream 1440p videos on Youtube no problems just outside the room. So I grabbed my desk out of the room and to my surprise it still would not work properly. However as soon as I unplugged the external monitor, the wifi works just fine. After a few 'try and see' I worked out that wifi works fine when the brightness on the internal screen is on. I have no idea why it works like this and I am probably wrong with my guessing.

My problem is to have wifi work while the internal monitor remain none of the brightness.

When researching on this topic I found this and looked into it. However I never shut the lid so it's not a case here. Apart of that question I could not find anything close to my problem. So I wonder if anyone had a similar issue and any possible solutions?

You should try to do a PRAM reset. You do it by holding command + shift + P + R on the MacBook keyboard on start-up, when it does the boot sound the second time, stop holding the keys. This should solve.  Even though I suggest you to use an ethernet cable with your MacBook lid closed. If your setup isn't near your modem try using some powerlines. Here  you have a link for some pretty good ones.

http://www.amazon.com/TP-LINK-TL-PA4010KIT-Powerline-Adapter-Starter/dp/B00AWRUICG/ref=redir_mobile_desktop?ie=UTF8&dpID=31IYBNuPwFL&dpPl=1&keywords=powerline&pi=AC_SY200_QL40&qid=1436666780&ref=plSrch&ref_=mp_s_a_1_1&sr=8-1

The problem is caused by the MacBook being closed, because the antennas aren't transmitting properly. If you open your MacBook while having it connected to the external monitor you'll see that Wi-Fi will work properly.


Is it possible to migrate keyboard shortcuts for all my applications via an export? I have a bunch of keyboard shortcuts setup for Pages, Keynote, and several other programs. Is there a way to export and then import these shortcuts? I just reformatted my home computer and am now going through the painful process of re-creating all the shortcuts.

Paul Irish's dotfiles got me thinking about this: https://github.com/paulirish/dotfiles

It depends on how you have defined the shortcut keys. The files responsible for storing these preferences are in the usual place: ~/Library/Preferences

You could simply move the files that store the preferences over to the new Mac:

com.apple.symbolichotkeys.plist
com.apple.universalaccess.plist
com.apple.iWork.Keynote.plist
com.apple.iWork.Pages.plist

If you were good at parsing JSON or XML, you could do the export to a text file as well using the plutil tool.

The above answer is too complicated.  With Keynote 9 (v 5.3) and Mountain Lion, and assuming that the format bar is visible, you can simply define a key in Keyboard Shortcuts panel of the Keyboard System Preference:

Select "Application Shortcuts", and click the + icon
Select the Keynote application.
For the Menu Title type the font name exactly as it appears in the format bar.  I entered "Times New Roman".
Type the shortcut key (I used Option+Command+R).
Quit Keynote and restart it.
Select some text and type the shortcut key.  The font will change to Times New Roman.


Customize delimiter character with Excel CSV save-as Is there any way to do this?  I need to use a pipe "|" as my delimiter.  On Windows you can change this during the export.  On Mac I haven't found a way. As a side note, my files have commas in the data itself.

If you're willing to move away from Excel, you could try using OpenOffice or LibreOffice to create .csv files. They're both free, they both have most of the functionality included in Excel, and they both allow tabulated data to be saved as a .csv file using any character as a data separator or text delimiter (including the pipe, of course).

I typically use TextEdit to do something like this. Open the source data in TextEdit and go to Edit > Find > Find & Replace. Then replace | with ,, replacing all instances. Save the file using an extension of .csv and you are now good to import into Numbers or Excel.


Macbook Pro intermittently unresponsive/dark screen after waking from sleep I'm having an intermittent problem in which my Macbook Pro has been working fine for several days and many sleep/wake cycles but then it has a problem waking up from sleep. The disk spins up and the computer seems to be running, but the screen backlight doesn't light up and the computer is unresponsive.

I've tried closing it for a while and opening it again; pressing option-cmd-esc; pressing the start button one or more times; pressing other keys randomly. None of these resolves the problem. The only response I get is that sometimes pressing keys gives the "ping" error sound that the Mac produces when you hit an inappropriate key when a dialog box is open.

My rough guess is that this has been happening about once a week or so, but I haven't been keeping close enough track to figure out if I've been doing something similar just before each time this problem occurs.

Holding the start button down turns the computer off and then I can restart and the computer works fine again. But I sometimes lose the unsaved portion of my work and reopening all the files I was working with can be time consuming. All in all, it would be nice to find a better solution than a forced restart.

Does anyone have any ideas about what might be causing this? Is there a way to recover without having to do a forced shut-down and restart?

My computer is an Early 2011 Macbook Pro Core i5, 8GB RAM running Snow Leopard.

You may want to rule out a graphics card issue, which impacted select 2011-2013 MBPs:

http://www.apple.com/support/macbookpro-videoissues/

And if you haven't done so already, run Apple Hardware Diagnostics:

https://www.lifewire.com/use-apple-hardware-test-over-internet-to-diagnose-problems-2259973

i have the exact same problem, i think the only solution is a reinstall.


Is there a shortcut to get to the bottom of a long email on iPad or iPhone? I get some long emails in which the important stuff is at the bottom after many pages. It is tedious to scroll down.  Is there a way to get to the bottom quickly? Either for iPhone iPad or both.

iOS does not provide a shortcut for skipping directly to the bottom of documents, but there is a reasonable alternative, if you're not already aware of it: scrolling views in iOS respond to swipe frequency, scrolling more quickly the more quickly and frequently you swipe the screen.

While swiping a long document, email, or webpage, try several long, quick swipes in rapid succession: you should notice the scrolling speed accelerate accordingly. This isn't nearly as elegant as a tap shortcut, but does let you quickly skip to the bottom of a long view.

Try double tapping at either side of the screen at the edge


John the Ripper and sparsebundle password help Around January 2014, my original hdd died on me, I bought a new hard drive and let the old one sit. Got myself an external enclosure recently, to recover my old work, only to realize my main folder had been encrypted with FileVault and i'd forgotten the password.

(It was encrypted on OS X 10.6, with legacy filevault)

I've seen John the Ripper mentioned a lot for cracking passwords, I've gotten as far as getting a build (1.7.9-jumbo-7 [macosx-x86-64]) installed. I have a word list ready and a vague idea of what my pass could be, I'm just not sure where to go from here.

I'm hoping I could get some guidance on what I would need to do next.

Edit: I'm running on os x 10.9, if this is relevant?

See this official tutorial for cracking encrypted Apple DMG files.


Updated my jailbroken iPhone 4s to 6.1.3, stuck in Recov. loop My iPhone 4s was jailbroken, I think at 5.something or 6.0. I wish I remembered. I tried to update it to 6.1.3 via my phone in the settings menu. It restarted and told me to connect to iTunes.

I connected to iTunes to restore and got a 3194 error. I tried tinyumbrella but I cant kick my phone out of recovery mode. I went into DFU mode and used tinyumbrellas "fix recovery" options with no luck, iTunes returned a 21 error. I went back into DFU mode and tried to restore my phone through iTunes again, but now that I'm in DFU mode, I'm getting a 1600 error.

I updated iTunes to 11.0.2 (latest) and tried to restore again. Instead of immediately throwing an error, it's now downloading the iPhone software update and has 75 minutes remaining.

Not sure if this will make a single difference when it actually tries to install it, but in the meantime does anyone have ideas?

If you jailbreak then update with the OTA function, your phone will have serious problems. I hope everything works out for you.


Not receiving Messages on macOS I'm not receiving new messages in the Messages app on macOS (High Sierra). I do get notifications of new messages there (delayed many minutes from when I receive them on iOS). And I can send messages from macOS (which appear immediately on my iOS Messages and at the recipient). But no new Messages of any kind appear in Messages on macOS.

Is there a way to totally and completely reset Messages on macOS so that it works again?

(Note that despite failing to be of any use, Messages on macOS renders the machine unusable when running by maxing out CPU usage. So perhaps a clean resent of Messages in necessary to fix that as well?)

I’m not sure what steps you have taken to resolve the issue so I’ll go least invasive to most invasive.

-Restart your computer
-sign out of messages and sign back in
-if the issue persists set up a test user account and attempt to replicate the issue. Below is a link on how to do so.

https://support.apple.com/kb/PH25796?locale=en_US

-if the issue replicates in a test user than you have a system wide issue involving the messages app.Next steps would be to make sure your data is backed up and perform an in place install using the recovery partition (hold down command and r on start up and choose install high sierra).
Being that your CPU usage is high for this app, install may be the best step.


Cannot connect to public Wi-Fi: "a problem occurred" Every time I try to connect to a public Wi-Fi with a login (train station, hotel), my Mac (macOS 10.14.4) connects but generates an error when asking for the credentials:

Rebooting does not solve the problem. Any idea what I could try?

Using Cmd + Spacebar, Open System Preferences -> Network -> Wifi -> Advanced -> DNS

In the DNS section, remove all the DNS addresses and search domains and apply the new settings, so that the public wifi could use the one that it is configured with.

Because normally Apple approves the only secure connection. So the connection is not secure to connect.


App Store reports updates but no updates are available It's one day that the AppStore icon and application of my iPhone 5S reports that there is one update to be done, but, in fact, no updates are available.
I already tried to switch the iPhone off and on or reopen the app, but nothing changes.
 Why does this happened, and how can I fix it?

Why not why can't they update it seems like this is a scam so that apple can get more money what do you think


How does a Mac choose between Wi-Fi and Ethernet to work with? My Mac is connected via a 1GBit Ethernet. However, from time to time I do turn on WiFi and let it connect, typically because I need to use AirDrop etc.

When I'm done with AirDrop I usually turn the Wi-Fi off and stay on Ethernet.

My thinking is that "wifi is slower" and my Mac may use it when downloading or uploading instead of my fast Ethernet. Now I realize this is not based on anything else other than fear.

Is there truth to my fear?

If a Mac has two active connections, Wi-fi, and Ethernet -- what will it choose to use when I'm uploading a large file? Is there a possibility it would choose to use the slower Wifi connection? Or does it employ some kind of algorithm to figure out which one to use based on availability, type and speed?

It's possible to set network access interface priority order. Go to System Preferences → Network, click on the lock icon to unlock the preference pane. Now click on the gear icon shown towards the bottom of the network interface list, and select Set Service Order... command.

Now, in the new pane that opens, you can drag the priority network interface (Ethernet in your case) to top.

(I do not have a LAN interface, so the same isn't visible in the screenshot).

It's worth bearing in mind here that any computer will typically favor an Ethernet connection over WiFi, since the speeds advertised on a WiFi connection aren't what you actually get.

Access points can only communicate with one device at a time and so basically time slice in order to give the appearance of multi client connectivity.

Secondly, that communication is only in one direction at a time usually. The radio can either transmit or receive but not both at once (things get a little more complex with MIMO), and so the quoted speed is usually referring to the speed in one direction. That speed advertised is going to be split between sending and receiving.

TL;DR: Ethernet can do bidirectional full duplex communication. WiFi cannot. WiFi is not Ethernet.


How to enable ssh v1 in MacOS Sierra? I have just updated to MacOS Sierra, and found that openssh version 1 has beed disabled or removed.

ssh1 is not supported

I have to use ssh1 for some server, how can I enable ssh1?

Or can I install another openssh which support ssh1 tentatively?

Here's my github repo trying to solve the problem by patching the openssh in homebrew/dupes. It's far from perfect but works.

Basically you have to:

brew tap homebrew/dupes
curl -fsSL https://github.com/boltomli/MyMacScripts/raw/master/homebrew/homebrew-dupes.openssh.diff | patch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-dupes/openssh.rb
brew install openssh --with-ssh1

Given that ssh1 is absolutely ancient (v2 has been standard for 10 years now) a far better solution is upgrading the security on the server you access that is still running ssh1 only. V1 has all the usual security issues of 20 year old software, whoever is managing that particular piece of hardware is simply not doing their job.

You can probably install an alternate client that supports V1, but I would send a memo to management that they have a major issue with their legacy hardware.


Why am I seeing emojis under my "frequently used" section that I've never even used? Recently I've been seeing emojis under the frequently used section that I've never even used before. Is it possible I'm seeing my husbands frequently used emojis on my phone somehow?

The list of frequently used emoji is literally a list of emojis that you've used most often. This list does not synchronise over iCloud. The only other way emojis could be in the list is that the frequent list is pre-populated when restoring iOS with a standard set of emojis.

The same thing happened to me.  I was reading on some White Nationalist websites and all of a sudden the Star of David with the dot in the center, a magnifying glass, and the Patriarchal Cross/Orthodox Cross showed up in my frequently used emojis.  I have never used any of these.  There must be a link between what you read online and your frequently used emojis.


How do I mass delete photos from my iPhone in Yosemite / iOS 8? I previously used Image Capture (ie. this solution: How to mass delete your photos in your iPhone?). It seems like the delete functionality was removed in Yosemite. Now what? I have 800+ photos and I don't want to select them one by one.

When I connect to iTunes, it says "iCloud Photos is On" - and does not allow me to sync through iTunes.

Turning off iCloud Photos Beta and restarting my iPhone worked, then the option returned in Image Capture.  Seems to be a bug in iCloud Photos Beta

I have the same issue, I think it's a bug in iCloud.


Website that uses iPhoto or Photos library as the database I've begun creating a centralised iPhoto library of all the family photos and was hoping to share it with my family members in a well presented way rather than just sending them the raw images.

My current process is:
- Scan the image
- Add a rough date to the meta of the image in iPhoto
- Use facial recognition in iPhoto to group / tag images by who they are

The last two steps are fairly pointless if I am just providing raw files. Ideally I would like to create a website, that allows me to display the images from the iPhoto library in the following ways:
- by album
- by recently added
- by facially recognised people
- by date

I can't find anyone who has done this before and I can't find anyone who is pulling content straight from iPhoto onto a website. Any ideas of how I could do this, has anyone done this before, does anyone have any alternatives that would enable me to still achieve display options in the above 4 ways?

Worth noting that I have considered just uploading them all to Facebook and making the album private but their privacy policy doesn't excite me when the images in this photo repository include photos of myself naked as a child

Have you considered using iCloud Photo Sharing?

This can be used to share specific photo albums, so you could create one for each of the four categories. You can also share these as a public website so that people who aren't part of Apple's ecosystem can also view them.

For more information refer to: iCloud Photo Sharing.

NOTE: One limitation you should be aware of is that currently iCloud Photo Sharing limits you to sharing no more than 5,000 photos/videos.

You can transfer your photos to PC, and save them there, then use some kind of USB to copy those photos to anyone you need to share with.


Monitoring network usage of individual applications? I want to monitor each application's network/internet usage on my Mac.

Sort of like how Activity Indicator shows total upload/download usage -- but I also want to know particular application usages.

Is this possible?

The app Little Snitch can do this. Among many other things, it shows traffic by app.

It costs $29, but there is a free trial available.

If you are using iOS 5+ you can use the remote virtual interface

$ # First get the current list of interfaces.

$ ifconfig -l

lo0 gif0 stf0 en0 en1 p2p0 fw0 ppp0 utun0

$ # Then run the tool with the UDID of the device.

$ rvictl -s 74bd53c647548234ddcef0ee3abee616005051ed

Starting device 74bd53c647548234ddcef0ee3abee616005051ed [SUCCEEDED]

$ # Get the list of interfaces again, and you can see the new virtual

$ # network interface, rvi0, added by the previous command.

$ ifconfig -l

lo0 gif0 stf0 en0 en1 p2p0 fw0 ppp0 utun0 rvi0

You should be able to use wireshark or tcpdump, or ngrep on the problem, via the mac.

EDIT: ipfw is deprecated, but you can just turn on logging and see which packets go where. I don't know how to do that with pf :(

EDIT: I don't know why I thought this was for iOS. Apologies


How can I capture a screenshot of an entire webpage in iPhone's Safari browser? How to capture screenshot of entire webpage in iPhone's Safari browser like I can take in my Desktop with Help of Firefox Addon called Fireshot?

After searching a lot on this thing finally I got the solution.
Website Screenshot worked perfectly for me.

I'm the developer of Scissors. It allows you to select and clip the whole page or any part of the page
even if the selected part of the page is beyond the bounds of the screen.

It's an action extension, so you can launch it from any web browsers.
It has a designated clipping tool like evernote web clipper desktop version.


How to stop TextEdit.app from adding extended attributes I only recently discovered (yes, I'm late to the game) that TextEdit.app is adding extended attributes to any files I open in it.  I had discovered this when I randomly had opened a shell script in it and it got quarantined and wouldn't run.

I quickly learned that I can remove attributes with either xattr -c file or individual attributes with xattr -d attrname file, but doing that is tedious/tiresome.  I happen to like TextEdit (which I'm aware is in disfavor among pros).  I have other editors for editing code, so I’m not looking for alternate editor suggestions. What I’d like to know is, is there a way to get it to stop adding extended attributes to files?

I tried defaults write com.apple.LaunchServices LSQuarantine -bool false, but it still happens.

Or maybe I'm being too fastidious?  Other than the quarantine attribute, can any of the other cruft get in the way of other users on non-macOS systems, say when in a github repo or otherwise deployed to other systems?

My main concerns are first: getting a quarantine flag that was opened for a quick/simple edit, and second: edits to text files (like README.txt) that are included in a social coding repository (like github).  My desire to avoid extended attributes is the same as the reason I remove .DS_Store files before I commit changes to a repo - they are system-specific and are otherwise useless (or possibly obstacles?) to others.  TextEdit is for editing text.  Scripts and READMEs are text files.  I also use it for all sorts of other text files which I process on the command line, like fasta and fastq files.  TextEdit (while it definitely lacks features other editors have) has useful features that other editors do not have or do not do well, and I've been using it since the beginning and will continue to use it despite the alternative preference or opinions of others.  It has only become a problem the other day, when for some reason, I was unable to run a script that I had run and then opened in TextEdit to make a very minor change, and then found I couldn't run it again.

But perhaps I'm wrong about my main concern?  Perhaps it wasn't even TextEdit that added the quarantine attribute, because I've been unable to reproduce that issue.  So does TextEdit ever add the quarantine attribute, and if so, when?

I wrote an automator service I can use to remove attributes on selected files, but if there's a way to change TextEdit's behavior, that would be preferable.  Otherwise, I'll probably also add an xattr command to my checkin wrapper.

TextEdit should not (and does not) normally add quarantine attributes to files that it saves. It's possible that MacOS is adding the quarantine for some other reason. (Where are you saving to?)

However, there are other extended attributes, which TextEdit may add during the course of normal operation in MacOS.

Normally, extended attributed don't get copied to things like github, and are simply unused by other platforms, even if present.

I also agree with bmike. If an app has a behaviour you don't like, then use another app.

Yes - I think you’re being too fastidious. I would stop TextEdit from altering a file by stopping opening it in TextEdit if you’re sure that’s the culprit. We don’t have any such issue at my work across mac admins and developers, so perhaps a reproducible test case will help us help you.

I understand this may be controversial to say don’t change the app - change your process, but my answer to this dilemma is don’t have the dilemma in the first place. Embrace TE for what it is, not what you want it to be.

I would be quite surprised to not fins domething else in your workflow is better suited to fix whatever dilemma your file attributes cause you (which isn’t entirely clear to me based on your initial version of the question).

To go further, I use this quarantine bit (and all the other metadata that apps like TE attach to files) as a feature and not a bug or something to be avoided.

If TextEdit is causing you grief, I would recommend the free BBEdit and VSCode apps so you can test editors that are more powerful - both have command line integration so you can set them as your editor or open files easily and then you can also change the launch services to open files in these apps as your preference changes only using Text Edit for when you want what it does.

I use the quarantine attribute intentionally when I want to deliver something and know my recipients of a file/script chose to run the script / prevent tampering in flight, etc...

BBEdit is on the Mac app store as well if you prefer that over direct download, Code is not.

As pointed out in the comments, the true solution here is to level up handling metadata and not let metadata and filesystem attributes ruin your day.


A single click on my trackpad occasionally acts like a double click I have a Macbook Pro and when I click with the trackpad, it will occasionally act like a double click. This happens whether I physically click the trackpad or if I just do a tap to click. I have tried changing the double click speed to no avail. It might be a hardware issue, but the fact that it happens when I tap to click leads me to believe it is at least not a mechanical issue (still possible an electronics/cable issue with the trackpad). I have also reset the NVRAM and the SMC (not sure why it would be an issue with those but I'm attempting everything). I'm on Yosemite.

Try disabling tap to click in the trackpad settings. If you're MacBook has the new vibrating force touch trackpad you could try to disable the force click and haptic feedback. Otherwise it may be a hardware issue.

I am having the same issue, and for now the only solution I found was to use a usb mouse. I think the problem began with 10.10.4, but I am not sure. It only happens to me with Chrome and Steam mostly.


Pink and Blue artefacts appearing in the notification centre Hi I just got the new MacBook and installed Mac OS sierra on it.

I keep coming across an issue whereby there are pink and blue pixelated diagonal lines appearing in the notification centre and when I try to screenshot them they go away.

Attached is an image I took with my iPhone as was not working

I do have exactly the same artefacts on MacBook 2016 1.2 Ghz.
They appearing when there's some window under the notification centre. Can be seen on FaceTime app window sometime as well.

Looks like a software/driver issue so far.

Update:
Tried it with clean install of El Capitan — it's not there, everything is ok. So it is a Sierra bug. Reported it to Apple via Bug Reporter as a 10.12 bug.


iPhone: share with instagram Sometimes when I take a photo I like to share it with friends and family, so I press the button that points up, which then leads to a screen where I can share the photo with facebook, flickr and several other things that I don't use.

Recently I decided to use instagram as a means of sharing photos, since I had noticed some of my friends on facebook doing it.

I installed the instagram app on my iphone and have used it a few times to share photos, but it is missing from the list of things to share with immediately after taking a photo navigated to from the photo gallery.

How can I get instagram to appear in the list of destinations that I see when I decide t share a photo from my phone?

Sorry but you don't really have any control over this. Some sharing panels offer a "Open  In..." option in the bottom-right corner. If you check an application that does offer this option (for example Dropbox) you'll likely find Instagram in that list.

For some reason Apple doesn't provide that "Open In..." option in the Camera or Photos apps.

The Facebook and Flickr options are hard-coded by Apple. They always appear in the sharing list even if you don't have the applications installed.

Submit a support ticket or e-mail to the developers asking for this feature


How to clone an audio CD (including pauses between tracks) under Mac OS X Mountain Lion? I need to clone an audio CD, including the defined pauses between tracks. Under Linux, cdrdao would do the trick for me, but I cannot get the version from MacPorts to work — it will not read from my SuperDrive.

Could someone please tell me how to clone a CD with a MacBook Pro under Mountain Lion?

First, what does not work:

Some people suggest Burn, but it is no longer updated and does not
work on modern versions of OS X.
Some people suggest LiquidCD, but it is no longer updated and does not work on modern versions of OS X.
Some people suggest Disk Utility, which is great for DATA CDs but does not work for AUDIO CDs because Audio CDs do not have a file system. Disk Utility (and hdiutil behind the scenes) cannot image raw Audio CDs because they have to write into a file system-based .dmg file. When you see an Audio CD mounted in Finder it is using the cddafs convenience file system driver to present Audio CD tracks as playable .aiff files - this is not the raw Audio CD data and so when you image this view from Disk Utility's Disk Image from Folder option you will often have messed up audio gaps. When you mount these .dmg files Finder windows will show you the .aiff audio files again, but iTunes will not recognize the mounted .dmg as an Audio CD and so will not give you the opportunity to rip it as if it were a normal Audio CD.

What does work? cdrdao still works and is freely available through Macports (port install cdrdao) and Homebrew (brew install cdrdao).

I'm not a huge fan of cdrdao but it is suitable for this particular task. It's too complex for the average user because (a) it requires use of the command line (which I'm comfortable with, but most people aren't); (b) it requires knowledge of two different sets of device names and (c) it requires that iTunes is not running because it locks Audio CDs in a way that prevents exclusive access.

NOTE: This whole process is a lot easier if you go to System Preferences > CDs & DVDs and set all options there to Ignore. This should stop Finder, iTunes and other software from breaking things at the wrong times for you.

First up you need to know the /dev/disk(?) name of your optical device, since you're going to have to umount it so that cdrdao can get exclusive access to it, e.g.:

$ diskutil list

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            999.3 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:        CD_partition_scheme Cool Music Disc...     *834.4 MB   disk3
   1:                      CD_DA                         75.3 KB    disk3s0
   2:                      CD_DA                         30.3 MB    disk3s1
...

In this case, /dev/disk3 is our USB-based optical device with an Audio CD inserted.

You also need to know what cdrdao thinks this device is called:

$ cdrdao scanbus

Cdrdao version 1.2.3 - (C) Andreas Mueller <andreas@daneb.de>
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC1@14/AppleUSBXHCI/MT1887@14113000/6238--Storage@0/IOUSBMassStorageClass/IOSCSIPeripheralDeviceNub/IOSCSIPeripheralDeviceType05/IODVDServices : TSSTcorp, CDDVDW SE-208DB, MF00
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC1@14/AppleUSBXHCI/SDRW-08D1S-U@14112000/IOUSBInterface@0/IOUSBMassStorageClass/IOSCSIPeripheralDeviceNub/IOSCSIPeripheralDeviceType05/IODVDServices : ASUS, SDRW-08D1S-U, 1.02

Those massive strings, up to the " : " anyway, are the device names that cdrdao requires. I have two listed because I have two USB-based optical drives plugged in - a Samsung and an ASUS.

To image an Audio CD you issue the commands:

$ diskutil umount /dev/disk3

Volume Cool Music Disc... on disk3 unmounted

$ cdrdao read-cd --device "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC1@14/AppleUSBXHCI/SDRW-08D1S-U@14112000/IOUSBInterface@0/IOUSBMassStorageClass/IOSCSIPeripheralDeviceNub/IOSCSIPeripheralDeviceType05/IODVDServices" --with-cddb --datafile test.dat test.toc

Cdrdao version 1.2.3 - (C) Andreas Mueller <andreas@daneb.de>
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC1@14/AppleUSBXHCI/SDRW-08D1S-U@14112000/IOUSBInterface@0/IOUSBMassStorageClass/IOSCSIPeripheralDeviceNub/IOSCSIPeripheralDeviceType05/IODVDServices: ASUS SDRW-08D1S-U    Rev: 1.02
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)

Reading toc and track data...
...

Eventually you'll have two files on disc:

test.dat is a binary file containing the data of the Audio CD
test.toc is a text file containing the track metadata of the Audio CD (including track name/artist information if you used the --with-cddb switch)

Finally, to write the data on to a new disc, pop in a blank CD+/-R and use the command:

$ cdrdao write --device "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC1@14/AppleUSBXHCI/SDRW-08D1S-U@14112000/IOUSBInterface@0/IOUSBMassStorageClass/IOSCSIPeripheralDeviceNub/IOSCSIPeripheralDeviceType05/IODVDServices" test.toc

Cdrdao version 1.2.3 - (C) Andreas Mueller <andreas@daneb.de>
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC1@14/AppleUSBXHCI/SDRW-08D1S-U@14112000/IOUSBInterface@0/IOUSBMassStorageClass/IOSCSIPeripheralDeviceNub/IOSCSIPeripheralDeviceType05/IODVDServices: ASUS SDRW-08D1S-U    Rev: 1.02
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)

Starting write at speed 10...
Pausing 10 seconds - hit CTRL-C to abort.
Process can be aborted with QUIT signal (usually CTRL-\).
WARNING: No super user permission to setup real time scheduling.
Turning BURN-Proof on
Executing power calibration...
Power calibration successful.
Writing track 01 (mode AUDIO/AUDIO )...
...
Writing track 13 (mode AUDIO/AUDIO )....
Wrote 795 of 795 MB (Buffers 100%  98%).
Wrote 354742 blocks. Buffer fill min 93%/max 100%.
Flushing cache...
Writing finished successfully.

When this finishes you'll have an exact duplicate of your original Audio CD. When you pop this in a drive iTunes will recognise it as an Audio CD and it will give you the option to rip its contents.

Hope this helps.

Post edit in progress, please ignore for the moment.
The method above, using Disk Utility ... Create Image from Folder failed for me (El Capitan, 10.11.6). The image created from a CD having about 697 megabytes (note, MB not MiB) came out 773 MB and would not fit onto a CD. However, the following worked perfectly, as suggested by
https://changilkim.wordpress.com/2013/03/09/create-an-audio-cd-image-on-mac/#comment-498
and slightly updated by me. You have to use Terminal.

Determine the disk number of the audio CD via

diskutil list

e.g. /dev/disk4 in my example.

Then do

hdiutil create -srcdevice /dev/disk4 -format UDTO /PathToDesiredImage

then eject the original.

To burn this image to CD, do

hdiutil burn "/PathToDesiredImage"

which will prompt for a blank disk. See hdiutil documentation for other options (e.g., turning off verification).


How to reset your keyboard on OS X 10.10.4 My keyboard number pad has been messed up ever since I installed OS X 10.10.4.

The numbers type as follows:

when I press "1" increase volume key goes up as well.

When I press "2" the ' key comes up as well.

"3" some wired key.

"4" ] comes up.

"5" [ comes up.

And "6" the equals sign comes up.

And vice versa for the concurrent keys. 7 and 8 as well as their shift keys work fine, 9 highlights everything in shift and goes to the beginning.

I've tried a reinstall and a separate Bluetooth apple wireless keyboard I have seems to work fine.

Please help I've scoured the Internet for answers, nothing has worked.

You would have to open up your mac and unplug the keyboard cord power up the mac and then plug it would be a hard reset


How to fix git path after MacOS Sierra update? I have just upgraded from OS X 10.11 "El Capitan" to 10.12 "Sierra", and when I open intellijIdea, I get the following error:

  Can't start Git: /usr/bin/git Probably the path to Git executable is not valid.

My problem solved after running xcode installation with following code from terminal:

xcode-select --install

In recent MacOS updates the git path is :

/usr/local/Cellar/git/2.16.2/bin/git

Instead of 2.16.2 Choose your version


Mac Notes Keeps Opening Up every 5 seconds Yesterday, I decided to set up iMessage on my Macbook Pro.  And ever since then, Mac Notes keeps opening up every 5 seconds.  I close it, or force quit, and it opens again in 5 seconds.  But even when it's idle Mac Notes is restarting every 5 seconds, and assumes priority on my screen, so I am battling to type and work on my Mac.  It's as though it wants to create a new note each time.

Macbook Pro
Mountain Lion OSX 10.8.3

If you previously had Twonky Media Server installed and removed it, that could be the culprit. I had the same issue, though with Lotus Notes (also conveniently called Notes.app), starting/popping up every 5 seconds.

CleanTwonkyServerData.command (in /Users/Shared) was the culprit, it might be the same for you.

Search twonky "on this mac" you will see a file named cleantwonkyserver or something to that effect.. Trash it!!! Notes will stop popping up!


PDF software to read many documents side-by-side in iPad? This thread is a part of the major thread about using iPad for education purposes here.

When I do my homework, I often need to recap lecture notes and at the same time do assignments. Before my printer broke, I printed everything -- now with my iPad, I use only the screen. The problem is that I have only one iPad and so I am looking for a software using which I could read many PDFs at the same time. Does such a PDF reader exist?

I have used PDF Expert but it lacks this feature. I have also tried apps such as iAnnotate but cannot find this feature.

Side by Side allows you to read up to 4 different PDFs side by side on an iPad.

try ezPDF, can open 2 pdf in split screen


Installing windows 7 on Imac I have a mid-2010 27" iMac with macOS 10.12.5 and an external DVD - USB SuperDrive (the internal DVD drive is broken).

I can't install Windows 7 from DVD with Bootcamp. After downloading support software to USB flash drive via BootCamp Assistant, I get an error on restart:

  No bootable device -- Insert boot disk and press any key.

What can I do?

You need to convert it to an ISO.
Apple's official guide

After days and days of searches and failed attempts I managed to install windows7 with the technique described by this boy:
https://www.youtube.com/watch?v=3pSFUMdzWaA&ab_channel=YassineIBNELHASSAN


Windows like Restore option in OSX Windows provide a facility to restore state of OS in case of getting corrupt by loading it up from Hard drive. Is there anything like that available for OSX?

No, Windows offers different recovery features than OS X.

Particularly Windows is creating automatic (and allowing manual creation of) system restore points.

  Restore points are created to allow users a choice of previous system states. Each restore point contains the necessary information needed to restore the system to the chosen state. Restore points are created before key changes are made to the system.

These restore points are actual copies of the registry, device drivers, and other configuration and take up disk space on the system drive.

With OS X no such system-level backups are taken (or no control over them is given to the user).

Instead Apple takes a different approach in which it protects the core system files and configuration by making them immutable or by observing tough control over their modifications.

SIP (System Integrity Protection) with respect to file system protection in theory ensures that applications and unsigned drivers installed by the user won't mess (either maliciously or through negligence) with the core system configuration so that it will always boot to a good state (and the need for restoring to the last known good state would be eliminated).

Either Windows or OS X allow system reinstall without deleting user files.

Yes, OS X does provide this. To access this you need to hold down the command + R keys when you push the on button to start up your mac, from there you should be able to reinstall, wipe, or restore from backup. Hope this helps you :)

https://support.apple.com/en-au/HT201314


How to stop my Mac from cloning MP3 files on my USB stick? Whenever I move my MP3 files to my USB and play it in the car, the files get cloned. For example:

Sia - Chandelier

Then the clone looks like

.Sia - Chandelier

The clones don't actually work. They're simply the MP3 file names. Whenever I select them in my car, it skips to another song that doesn't have . before it. So on my Mac OSX, the MP3 look normal, and have no clones, but once I plug in the USB to my car, every song has its own clone.

If you delete them manually a lot of them will reappear at eject. .DS_Store, trashes, fseventsd & spotlight files especially.

There have been a number of software solutions over the years, most only partially successful. BlueHarvest was about the best I'd tried until recently, but wasn't 100% effective.

I'm currently testing CleanMyDrive, freeware, though they are using it as a bit of an advert for CleanMyMac for your internal drives, but you can ignore that. So far it seems to be fairly effective, but still misses the trash files every so often.

The "clones" are osx system files that are not supposed to show up (should be hidden). This is true in general for files starting with ".", that might be visualised on other operative systems, like Windows. If you have no way to change the settings of your mp3 reader to avoid visualising those files, I guess you'll have to find some way to avoid the problem (like deleting the files manually: to visualise them: https://www.mikesel.info/show-hidden-files-mac-os-x-10-7-lion/).


How to insert new line on return key press in iMessage on Mac OSX Does anyone know if it is possible in iMessage on Mac OSX to set the return key to go to the next line instead of sending the message?

Press option+return or control+return to enter a new line.

Edit: Added additional key combo re: smoooosher's comment to the OP

For me the solution in iMessage:
alt+Enter


Fix Terminal error message "-bash: /etc/profile.d/rvm.sh: No such file or directory" I am trying to remove the following Terminal error message:

-bash: /etc/profile.d/rvm.sh: No such file or directory

I recently uninstalled RVM (Ruby Version Manager) from my MacBook Air. The terminal error appeared after I finished the RVM uninstall. The error appears every time I launch Terminal. My troubleshooting so far (seaching google etc.) lead to suggestions to modify my bash files. I have checked the two files listed below and found nothing pointing to "/etc/profile.d/rvm.sh"

~/.bashrc
~/.bash_profile

Am I missing a bash file that is causing the error? I was assuming the error had to stem from one of those two files listed above, but obviously I was wrong.

You should also look at /etc/profile file, as it may have references to /etc/profile.d/rvm.sh.

It's also worth it to read the manual for bash, as it lists all files bash will look at for configuration. This will be towards the end of the man page. To read it, in Terminal.app type man bash.

Finally, you can run, again in Terminal.app, the following command:

grep -R 'rvm.sh' /etc

This will look for all files inside /etc, recursively, that contain rvm.sh text in them.

cd /etc/profile.d/
ls

the output will contain a file such as vte-XXX.sh
just type

cp vte-XXX.sh vte.sh


look up a word in Dictionary.app in Terminal Is there a bash or applescript to look up a word in /Applications/Dictionary.app from a Terminal window ?

open -a /Applications/Dictionary.app/ --args word

ignores --args, says "type a word to look up"

Mac Dictionary improvements suggests ⌃ Control ⌘ Command D however I'm looking to launch the full app, not just the small popover.

You can use...

open dict://my_word

...which will open the Dictionary application and lookup the string my_word. If you want to use multiple words use something like open dict://"Big Bang Theory".

There's no output in the Terminal though.

Here's a super straightforward thing I threw together.


Mac keyboard shortcut to open recently closed pdf file on preview Lately, preview on Mac is not saving all the pdf highlights (seen some discussion online about this with no solution yet). I highlight quite a bit of pdfs regularly. The one solution, although extremely inefficient, I found is to save and close the file regularly after 1 or 2 new highlights and open it again. Even with this, unfortunately, the highlights are not saved properly 10 to 20% of the time. Anything more than 2 highlight changes, I am certain they all are not saved 90% of the time.
My question is if there is a keyboard shortcut to open a recently closed preview file? It's a pain to right-click preview every time and open the just-closed file from the list? Any ideas to avoid this problem with preview is also very welcome. Thanks in advance!

My question is if there is a keyboard shortcut to open a recently closed preview file?

The following was tested in macOS Catalina 10.15.6 and worked for me while Preview has focus. (No third-party applications needed.)
If you just want to open the most recently closed document in Preview, then the following example AppleScript code used in a Run AppleScript action in an Automator Service/Quick Action and assigned a keyboard shortcut in System Preferences > Keyboard > Shortcuts > Services can do it.

In the Run AppleScript action in the Automator Service/Quick Action, replace the default AppleScript code with the following example AppleScript code:

tell application "System Events" to ¬
    click first menu item of ¬
        menu 1 of menu item "Open Recent" of ¬
        menu 1 of menu bar item "File" of ¬
        menu bar 1 of application process "Preview"

If you want to choose from the Open Recent menu in Preview, then the following example AppleScript code used in a Run AppleScript action in an Automator Service/Quick Action workflow and assigned a keyboard shortcut in System Preferences > Keyboard > Shortcuts > Services can do it.

In the Run AppleScript action in the Automator Service/Quick Action, replace the default AppleScript code with the following example AppleScript code:

tell application "System Events" to ¬
    set OpenRecentMenuList to ¬
        get name of menu items of ¬
            menu 1 of menu item "Open Recent" of ¬
            menu 1 of menu bar item "File" of ¬
            menu bar 1 of application process "Preview"

if the number of items in OpenRecentMenuList is greater than 2 then
    set OpenRecentList to items 1 thru -3 of OpenRecentMenuList
else
    display dialog "The Open Recent menu is empty." buttons {"OK"} default button 1
    return
end if

set menuItem to (choose from list OpenRecentList) as string

if menuItem is "false" then return

tell application "System Events" to ¬
    click menu item menuItem of ¬
        menu 1 of menu item "Open Recent" of ¬
        menu 1 of menu bar item "File" of ¬
        menu bar 1 of application process "Preview"

I assigned the following keyboard shortcut to the Automator Service/Quick Action in: System Preferences > Keyboard > Shortcuts > Services

Note: The usual security caveats apply. Permissions will need to be granted as prompted and or required in: System Preferences > Security & Privacy > Privacy >

The example AppleScript code is just that and does not contain any error handling as may be appropriate. The onus is upon the user to add any error handling as may be appropriate, needed or wanted.

One way of achieving desired result is to use Finder's Recent window:

⇧-⌘-F: open the Recents window, showing all of the files you viewed or changed recently.
open recent file from Recents window
make changes, save, close file (⌘-W)
⌘-Tab to make Finder's Recents window active
file you opened earlier is selected, press ⌘-O to open it again

Alternatively, if you don't mind closing application altogether and opening it again, close file and application with ⌘-Q and you will be directly back in Recents window where file is selected. Then just open it with ⌘-O.
It's two key presses after closing the file and application. It works on all recents files not only files used with Preview.
To be clear - it works from whatever Finder window. So navigating to file using Finder and opening from there will deliver same results - after closing file (or file along with application) fall back to Finder window and open file again.


Remove video from iPod Nano 6th-generation I did not know that we can't play videos on an iPod nano 6th generation. I added a video (180 MB) to my iPod but I can't access it . I cant see it in iTunes nor on my iPod. But when I connect my iPod to my system, in iTunes it shows that 180MB is occupied with videos (in the bar graph shown below which also shows the space occupied by songs, pics, etc). Can anyone please and tell me how to delete that video?

How did you ad the video? iTunes won't let you add videos to a 6th gen nano.

One thought: is it a music video? Those you would probably have to remove via the Music tab.

Edit: after trying with my own nano: if you send a music video to the iPod, it will be sent and show up as a video in the bar graph.

Some applications can load files onto iOS devices directly. For example, VLC (an excellent media player that can play almost every type of video known to man) will load files directly onto your device, even though it could be a filetype iOS doesn't play natively (.avi files for example).

These apps appear beneath the normal apps window in iTunes and allow you to browse your computer for files, which are then added using the + button. Likewise, the - button will remove files. Perhaps this mechanism can be used to elete your unwanted files.

I should add that VLC is no longer in the App Store (though it still works just fine if you installed it before the developer removed it) but there are other apps that operate in the same way.


iTerm - going one word backwards and forwards Would it be possible to configure iTerm 2 to go backwards and forwards one word through the curent text in the command line using a keyboard shortcut?

Killing a fly with a cannon:

Go to Preferences... > Profiles > Keys (not Preferences... > Keys)
Press Presets...
Select Natural Text Editing

Then, you can move a word backwards using Option ⌥ + ← and a word forwards using Option ⌥ + →, move to the start of the line using fn + ← and to the end of the line with fn + →. Also you can delete a word backwards using Option ⌥ + ⌫, delete the whole line using Command ⌘ + ⌫.

If the preset doesn't appear, reinstall iTerm2. If you installed it using Homebrew+Cask:

brew cask reinstall iterm2

With iTerm2 3.1.4, I was able to setup the following without adding individual key mappings.

Go to Preferences > Profiles > Keys
Left/Right ⌥ Key: Select Esc+

With a new Terminal session you are now able to use:

Option ⌥ + f to Get Forward

Option ⌥ + b to Get Forward

Option ⌥ + Delete ⌫ to Delete Word


Reading PDFs on iPad without iTunes syncing I am trying to read for an exam and I want to download exercises to my iPad. I have downloaded the exercises from here. I have no Mac laptop or desktop computer. I am tired of clicking every pdf one-by-one.

Trial 1: I bought the GoodReader app for iPad, but its developer said that I need a Mac computer (or something with iTunes) to download the folder like above. I have no Mac computer.

Trial 2: I am now trying things with iBooks software on my iPad:

How can I easily get them to iBooks without Mac?
How can I edit iBooks (iPad) directory on Ubuntu?
Is this easier with Amazon Kindle rather than with iPad?

I am not much interested in how you really get the PDFs from such directory structure to the iPad or other device, I am just trying to get more paperless because my printer is broken and not comfortable to read just with laptop.

Perhaps related:

How can I study efficiently and paperlessly?

Put your PDFs in a folder structure on your computer, in DropBox, or on a computer somewhere online that you have FTP or SCP access to.

Then, in GoodReader, sync that folder. You can do it locally over WiFi and SCP or WebDav, remotely over SCP, or through DropBox.

Once the PDFs are in GoodReader, you can read them offline, mark them up, etc. If you set up bi-directional syncing, then when you are back online you can sync your notes back to your laptop.

Well to copy a PDF file to GoodReader, just download iTunes for Windows and install it. After installation, open iTunes and connect you iPad to your computer you'll find your iPad listed in iTunes. Just click on it and your iPad detail will be listed on the main windows. Click on app tab can scroll to the bottom of the page. You will find the GoodReader directory. Drag and drop your files there and you will find it on your iPad.


Is there a key stroke to switch to a fullscreen app in Lion? I normally switch around my virtual desktops using the ctrl+num. Now, Exposé shows all the desktops and the fullscreen app whereupon clicking the fullscreen app rectangle will take me back to it. I'd rather do so via keyboard nav. cmd+tab doesn't work for me because I'm doing this with VMware where I have multiple windows open, one is fullscreen, others are not. cmd+tab seems to land me on whatever VMware window it randomly chooses.

You can configure these shortcuts in System Preferences -> Keyboard -> Keyboard Shortcuts -> Mission Control

I think the default is control-option-left/right arrow, at least that's what I have it set to.

In mission control, you can also re-order the position of the desktops/full screen apps by dragging them around. I think by default they're ordered by most-recently used desktop, but you can change that (I can't remember how, that would be a separate question anyway).

By default it's Command+Control+F.

However, it doesn't work in all apps. Some don't do full screen and some pre-Lion apps retain their original full-screen keyboard shortcuts (e.g., Command-Shift-F in Firefox).


Latest macOS Mojave update (10.14.4) and Mail.app Google accounts issue After updating to macOS Mojave 10.14.4 two days ago and still, I have an issue with taking online Google accounts in Apple Mail.app.

This problem appeared immediately after the update, although it wasn't there before. Also after this update, Apple Mail requested to re-login through Safari and it was simple authentication.

No.

The update broke access to some Library configs that are under control of System Integrity Protection(SIP).

Boot to the recover console, disable SIP with 'csrutil disable' in the terminal, then boot into the OS, go into Internet Accounts and select Google as normal.

After following the steps to give your Mac permissions to your Google objects(mail, calendar, etc.), boot back into the recovery console and re-enable SIP by running 'csrutil enable'. Boot back into the OS and compute on.

I got the hint to do this by looking into the console logs in the console utility, but I have no idea which log I searched for 'google' or 'accounts' in, but I found a problem mentions an error with a 'file-write-xattr', so that gave me the idea that SIP was involved.

Someone should be able to track down the issue and get the errant permissions logged with Apple so the fix can go out with the next patch, or set a sticky here with a more detailed explanation and fix, and not just a work-around.

I retried today (2019-04-01) and despite the date g-suite accounts are now working.

I don't think this is a bug that affects everyone on 10.14.4 and uses gsuite.


Which text editor has better OSX support, TextMate, or Sublime Text 2 I've been using Sublime Text 2 for Windows and Linux because it's simply the best for those platforms.  However, when using OSX I have the option to use TextMake, which is where Sublime Text 2 seems to get its inspiration from.

Which editor works more seamlessly with OSX as far as speed, ease of use, OSX integration, and naturally intuitive keybindings?

Go with what you're familiar with and don't worry about whether you're missing something or not.

Familiarity will trump any additional features you might likely discover in TextMate and the ability to sit in a familiar coding environment no matter what OS you're working is a really big productivity boost.

Overall Sublime Text 2 is a move forward from TextMate at the time I'm writing this. It has better undo semantics. It can load in most TextMate bundles so you can extend it in the same ways TextMate can be extended. Though, truthfully, after switching from TextMate this year I haven't found a need to install any TextMate bundles because anything I had been using in TextMate was available as a better implemented, more feature rich bundle in native Sublime Text 2 format so far.

This being said, TextMate 2 is in alpha and can be downloaded, so an update is on the distant horizon. But my advice still stands: familiarity on multiple OSes is a fantastic thing for your development environment.

Other apps are GitHub's ATOM and Panic Inc.'s Coda. These two are powerful code editors.


Bulk printing on macOS I have a bunch of files that i want to print, they are all separate PDFs.

What is the best way to print them without having to print them one by one, or combine them into a merged PDF using 3rd party software?

I've tried dragging them into the print dialog of my printer, which works, but it only prints out the page at the default paper size, it does not give me any print options.

I'm running macOS 10.14 and have a range of different printers, from HP, Canon, and Epson.

What is the best way to print them without having to print them one by one, or combine them into a merged PDF using 3rd party software...it only prints out the page at the default paper size, it does not give me any print options.

You have to set your print options in the document itself so you shouldn't have to specify any options.  For example, if you wanted this particular job to be in color on the card stock found in Tray 2, you would have defined in the Page Setup that it was on "card stock."  In the printer setting, you define that tray 2 has card stock in it, so when the print job is called, it will automatically "know" that its to pull paper from Tray 2.
Use CUPS
Well, macOS uses CUPS (Common Unix Printing System) to handle it's printing tasks.  Part of CUPS is lp where you can submit jobs to be printed.  This gives us a few options here:

You can specify options for each or a batch of similar jobs
You can create a queue with predefined options and just send a job to that queue.

A couple of examples:
To print out all of the PDFs in a directory formatted landscape, you could just issue the command
$ lp  -o landscape *.pdf

To print out a doc file on A4 media, you could issue the command
$ lp -o media=A4 MyPaper.doc

See Command-Line Printing and Options for more details.
The other option is queues (filters) that allow you to specify a predetermined set of options and send your print jobs to them.  The beauty is, you can have any number of filters for a single printer.  The downside is there's a lot more work up front to set these up, but the pay off is if you have lots of jobs, it will be much more efficient.
You can review the CUPS documentation on how to set up filters, but I've found the FreeBSD tutorial on setting up filters a bit easier to follow.

Is the problem that the default paper size and print options are not what you want, or is it that you want to change the print options mid-way through this one big job?

The macOS print system is designed to process each job with separate parameters. If you want to print several files as one job, then the job must have the same parameters. You can't change paper sizes and settings halfway through.

It' easy enough to change the default print settings, if that helps.

It would be possible to create a script that merges the files and sends them to the print queue 'on-the-fly'.


How can I disable the Screen Saver on the login window? How can I disable the Screen Saver on the login window?

I believe this does the trick (at least it seems to have worked for mefor several hours now):

sudo defaults write /Library/Preferences/com.apple.screensaver loginWindowIdleTime 0

This disables the screensaver in the loginwindow.

The problem is that the login screen is not the result of the screen saver, I lock my Mac when I go out. The screen saver appears by itself, even if it is disabled from SysPref.


How does one stop the "Select A Wireless Network" prompt on iOS 10 Beta? The "Select A Wireless Network" prompt keeps popping up every 5 seconds. I DO NOT have the "ask to join wireless networks" marked on and I am already joined to a network but this will not stop. Anyone have any fixes for that? It is a major PITA. Thanks.

Firstly, make sure to report the issue using Feedback Assistant. Then, try toggling the setting in Settings, as it might fix the issue. If it doesn't, try restarting the iPhone. Then you could also try backing up the iPhone, erasing all data on it, then restoring the backup. But, if that still doesn't fix the issue, and it really bothers you, you can always downgrade to iOS 9.3.2.

Trying erasing and restoring from backup. I am on iOS 10 beta and it doesn't ask me continuously.


Why is this item bold in the Bluetooth menu? Can anyone tell me what the bold text means in this image of my Bluetooth menu?

It seems that the mouse might be interfering with my keyboard, and I'm wondering if this is trying to say that?

It means that particular device is active (in this case it's your Logitech mouse).


Open iMovie with alt down from AppleScript How to open iMovie with alt from keyboard with AppleScript?

Here is a script by maeks84 which does the same for iPhoto that might help you with accomplishing the same for iMovie (need to post as answer due to the length).
Code inserted in case it ever goes down..

--maeks84@gmail.com
--http://maeks84.wordpress.com

property libraryPath : "Macintosh HD:Users:Path:to:iPhoto Library"

--Determine if iPhoto is open and needs to be quit
--Will only bring iPhoto to the front if the correct library is already open
tell application "System Events"
    if exists process "iPhoto" then --Only worries about the current user
        tell application "iPhoto"
            if image path of photo 1 does not contain POSIX path of libraryPath then
                activate
                beep
                display dialog "About to quit iPhoto!" giving up after 300 --Gives a chance to cancel otherwise continues on
                quit
                tell application "System Events"
                    repeat while exists process "iPhoto"
                        delay 3
                    end repeat
                end tell
                my launch_library()
            else
                activate
            end if
        end tell
    else --iPhoto is not currently running
        my launch_library()
    end if
end tell

on launch_library()
    do shell script "defaults write com.apple.iPhoto RootDirectory " & quoted form of POSIX path of libraryPath
    tell application "iPhoto" to activate
    tell application "System Events"
        repeat while (exists process "iPhoto") is false --Delay until iPhoto is launched
            delay 5
        end repeat
    end tell
    do shell script "defaults remove com.apple.iPhoto RootDirectory" --Restore the default library
end launch_library

--here's an applescript to copy/paste that might work (unless I misunderstood the question...)

display dialog "would you like to open imovie?"
tell application "finder"
open "imovie"
end tell
--p.s. I havn't tested this, so i'm not sure whether it will work


How to type in the tilde character '~' with an apple international keyboard? I am a French developer, used to the French keyboard layout. Being a developer, I invested recently in an Apple international keyboard.

Having a french keyboard, typing in the tilde '~' character was quite simple since it was printed on a key as far as I remember, although I don't remember where.

Now with my new International keyboard, the layout is very different, missing accents and other special character (which is ok since I use that keyboard only for development on my mac) but I am facing the issue that I need to type in the tilde character very often, and I don't have any clue on how to type it in in a simple way.

(PS: To type in the '~' character, I am actually using the  "character display pane" coming with Macosx, which is quite cumbersome when you need it often ...)

The "~" key is located between the "left shift" and "Z" keys on the international english keyboard.

Many users are used to have this key under the escape key (the US layout), and they (including me) use the KeyRemap4MacBook software to swap those keys.

Edit:
KeyRemap4MacBook is now called Karabiner. Here is a screenshot of the configuration I'm using to remap Section to Backquote key.

Edit:
Karabiner does not work on macOS Sierra, however a new project is in development: Karabiner Elements. As of now, it can do the replacement in question:


What is a PPP server, and why do I keep getting disconnected from it? I am using a Huawei e160 USB modem and I regularly lose connection to the internet with the following error: You have been disconnected from the PPP server.

It has nothing to do with reception, and I am always able to connect immediately back up. Does anyone have any ideas as to why this may be happening? Or at least explain to me what a PPP server is? Thanks.

PPP is the Point to Point Protocol is a data link layer (see the OSI 7-layer model). It's an older protocol that's generally used to connect two points together over a physical link like a phone line. It's been in use as a connection protocol (mostly in the PPPoE -- PPP over Ethernet -- form) for ISPs for quite some time now. Your modem uses this protocol to identify you as a customer to your ISP and create a tunnel to them over some larger network, through which your data will flow. Your modem establishes a PPP connection and then over this connection your Ethernet packets flow.

It sounds like you're disconnecting from your ISP at regular intervals. It could be any number of things causing you to lose your connection. You may have poor signal to the ISP end point and the connection is timing out. You may be overloading the connection and your ISP is dropping the link. Your ISP may be having issues. You may have failing or buggy hardware. Or you may have buggy drivers for your hardware.

It's impossible to tell exactly from what you've written.

If you can check your Console logs, see if there are related console messages about the PPP tunnel, you might be able to find something additionally useful to add to your question.

Have you called your ISP? That's where I'd start.

If your connction to your ISP is via a wireless  network, some packets don't go though. Athough it doesn't have any affect on e-mail, Google, or YouTube, it wreaks havoc on encryption protocols (SSL, TLS) and tunneling protocols (PPP, SSTP, IPSec). That may be the problem.


Disk space not freed after deleting files, unable to save things, unable to delete things, unable to update things Recently my Macbook Air has been saying "The disk you are attempting to use is full. Removing files and emptying the Trash will free up additional space."

I have deleted everything in the trash, many other files, and 52 GB of photos. The only photos I have in my library now are 4.53 GB worth. When I click go to About This Mac it says I have 46 GB which is impossible. My computer is supposed to have a 121 GB Flash Storage with a 4 GB memory.

In the past two days after deleting all my photos the computer isn't letting me save, delete, or update anything. Right now I have OS X 10.9.5.

What can I do to fix this problem?

If you've "upgraded" to the Photo app from iPhoto or Aperture, your photos would have been imported as hard links. Basically this means that each photo is represented by both programmes and deleting from just one has no effect on the actual photo file. You'd need to delete from both.

Check to see if you have another album in your Pictures folder (or other folder if you manually placed it somewhere else) and delete the photos (hard links) there.

This seems more like a file permissions problem than a photo problem. Try restoring file permissions for that disk from the Disk Utility.


Jailbroken iPhone 3G Wi-Fi is greyed out, no 3G, need to open a mobileconfig file or load pan editing I have a friend’s iPhone 3G that does not and has not at any time had the Wi-Fi connection available. It is greyed out with "No Wi-Fi". I have restored it a dozen times to no end. He wants me to put his phone on Straight Talk, but to do so I need to open a mobileconfig file which is usually emailed, or edit the APN with a tethering app through Cydia. I have installed the apps into Cydia through Cyder II, but Cydia still cannot load them without internet. Help me please, I've been hunting for and trying work-arounds for hours.

I have heard many times of wifi greyed out, and generally it was right after updating their iOS with a new version. No amount of DFU seemed to fix it, and I think it is because the issue was with the firmware killing the iPhone's wifi.

I am fairly certain Apple repairs these types of problems, you might even call them and see if they will replace it as their update possibly caused it.

For the second piece, If you are trying to get a network connection without wifi, prepare for some fun. It looks like you will need to run some sort of proxy service on your computer, modify some plists, and then run a few commands.
The first link has some more mac os x specific stuff, but they are both worth a read.

http://alk2blog.blogspot.com/2008/08/ssh-to-get-your-iphone-online-via-usb.html
http://modmyi.com/forums/general-iphone-chat/323281-how-internet-iphone-through-usb-no-wifi-no-edge.html

I think Wi-Fi disappears because of 3G. I noticed that when I open 3G, Wi-Fi stops working.


How to share internet connection via thunderbolt? I have a recent iMac and will buy a new MacBook Air.
And I'm finding fastest way to connect internet to the Air. Wi-Fi is still too slow and USB-Ethernet converter offers only 100-Mbit speed. But both of them have Thunderbolt port, so I expected internet sharing via the port. It could be fantastic.

But I couldn't fine any way to do that. In configuration panel, it shows only old options like Firewire. Is sharing internet connection via Thunderbolt possible? If it is, how can I do this?

I don't think you can do this. Thunderbolt doesn't really have a "native" protocol like Firewire or Ethernet, it's just fancy PCIe transport. It might be possible in the future, but it would require Apple to add the functionality.

However it's worth noting that it's unlikely Thunderbolt would speed up your connection at all. Unless you have a seriously heavy duty internet connection (think corporate/university fiber), the limiting factor in your internet speeds won't be the connection between local machines, it's the cable/dsl your ISP provides. It's possible wifi could be limiting if you have a bad connection with a lot of interference, but most wifi should be able to keep up with your internet connection.

I believe it is possible.
But it's a bit bulky since it comes with a 27 inch display attached.

Maybe there will be other options later but don't expect them to be cheap since it will have to use Thunderbolt chips.


Mail App keeps popping up in the background in Mac OS Mojave When I am doing some work on my macbook pro, Mail app's main window keeps popping up in the background, it even pops up when I watch movies by interrupting full screen. This is so frustrating, I can't find out solution to this, googled and went to many discussion forums, no luck, suggestions that I found are very old and outdated.
Has anyone faced similar issues or does anyone knows solution to this?

I have the same issue:
The google calendar stuff is nonsense. The notification settings suggestion doesn't work.

I've narrowed it down to the following:

I normally hit the red cross button on the viewer window once I have finished looking at my mail, this closes open viewer windows but leaves the mail app active in the dock:

So if I have mail running, but no viewer windows open, then I get a viewer window randomly popping up to the foreground a few times an hour.

If instead of hitting the red cross button, I minimise mail using the minus button, then I don't get any viewer windows randomly opening. In this scenario, the mail viewer window is minimised either on the right hand side of the dock or into the application icon itself, depending on your settings (System Preferences > Dock > "Minimize windows into application icon").

So I have changed my habits to work around this annoying bug...

you need to follow this way on top menu , but first you should fix google calendar step on google account settings.
then;
Mail > Accounts > Google and uncheck calendar. if you have multiple google account, apply this to all


MacBook is attacked but can't find any threats Recently, I was installing an unofficial software on my mac. It's a mistake, I know, but I was so confident that I can register if something is going wrong.

Coming to the point, I give the permission to run from an unidentified developer and start the installation. However, I did noticed that the installation is weird, you can tell with a little bit of experience, so I stoped it immediately, but it was too late. My mac is going too slow, even when I'm just browsing the internet and not doing any hard work, it's getting overheated and I also noticed that the battery is wasted significantly fast, even on sleep mode. So, I'm pretty sure that there is some sort of viruses running in the background.

I did tried several antivirus programs, malware scanners etc. but it all says the same "No viruses or malware found". Really don't know what to do, anyone have suggestions for advanced scanners or something like that? Just without formatting the device please.

Here is a screenshot from my Activity Monitor:

"Going slow" is not really an indicator of malware. Most malware can do its job without using significant CPU, and malware designers want their software to be unnoticed.

If several malware apps have said "it's not malware", then that's probably true.

It's much more likely that there are other problems with your Mac. Check Activity Monitor, and see what is using excessive CPU. Remove third-party Launch Agents or any other software that runs in the background. Test a new user account, and see if that it better. If so: it's a user account problem.

Make sure you have low memory pressure (also in Activity Monitor), and that you have plenty of free disk space.

Try Clean My Mac. It checks for viruses and deletes them, as well as uninstalls any unnecessary files. It can also act as an app uninstaller, making sure every file and folder related only to that app is deleted. It generally removes about 3 gigabytes a week from my main computer, and it hasn't deleted any thing I haven't wanted it to yet. The only downside is that it cost $40 to get a key, but it is totally worth it if you are using your Mac as your primary computer. It mainly deletes outdated stuff, but it allows you to choose what to and what not to delete. It does not constantly monitor your system, it just scans it when you open the app and tell it to. It lets you see what you are deleting just in case you don't want to delete anything.


Mac Pro 5.1 running very slow after fresh install I inherited a Mac Pro 5.1.

I originally planned to use ubuntu on it. Which I did.

But I am now trying to get back to Mac OS X. Have installed the OS from the provided DVD. However it runs horribly slow. The boot would take 10 min. Every single click takes 30 sec to process.

I feel like I have messed up something at the Apple hardware level. Fair enough, I think I deleted the recovery partition, and messed with boot partition for ubuntu to work.

Question: is there any way to check the basics at the hardware level?
  I have ran disk utility and disk check, nothing there improves. So I am thinking more MBR/Bios/etc.

Cheers

After quite a bit of troubleshooting, I replaced the HDD with a new one. Works like a charm.


Jailbroken iPad stuck on black screen I was looking around on Cydia until it suddenly froze then after a few minutes the screen turned black. I know that it is on because when I press the lock button and home button at the same time, I can hear the camera sound from the screenshot but it's still a black screen. I tried everything I could think of but nothing works.

Hold Power button and Home button down, then once you see the Apple logo keep hold of Volume Up until it boots. You can then uninstall your last tweak and restart.

hey there look maybe you are downloading  winterboard but i recomend you not to use it cuz it made my i pad crash 7 or 6 time a day (this is not true) so press the fome and the power sleep wake botton for 15 or 20 sec then it will work
bye


Change to an different keyboard layout when entering passwords I've just bought the Ipad 2, all my existing passwords that I need to use (mails web services etc) are in Arabic characters.

I have added the Arabic Keyboard and am able to use it in normal text fields, but I cannot switch to it when I try to type into a password field.  If I already have the Arabic keyboard selected when typing a username, it switches back to the normal keyboard when I move to the password field.  Because of this I am unable to log into anything which uses an Arabic password.

I tried with Safari and Opera Mini browser.

Does anyone know how to fix this?

I can see that this is likely to be very restrictive until you find a solution, so I offer this workaround to ease things while other answers come in.  If you enter your password into your username field, then select it, copy it, and type over the top with your actual user name, you can then paste the password into the password field..  This is 3 extra taps overall, but will at least allow you to use your logins in the meantime.

Have you tried hitting this key?

Or you can try this free app which will allow you to use an Arabic keyboard on your iPad.

EDIT:
Here is a great walk trough on how to do this...


Automating Logging Into OS X After System Restart Background

I have a bunch of OS X Yosemite Mac Minis that are used as slaves by a Jenkins master machine to run Selenium tests using Google Chrome.

These slave machines get restarted on a daily basis.

Problem

After the restart, the machines are at a login screen asking for a username and password. Running Google Chrome remotely on the machines fails until a manual login is performed.

Is there a way to automate this login?

Things I have tried

Executing a login script remotely on the Mac Mini using ssh root@<macmini-address> "bash -s" < ./login.sh where login.sh contains the following:

#!/bin/bash
osascript <<EOF
tell application "System Events"
keystroke "<replace with user>"
keystroke tab
delay 0.5
keystroke "<replace with password>"
delay 0.5
keystroke return
keystroke return
end tell
EOF

This results in the following error:

33:49: execution error: An error of type -10810 has occurred. (-10810)

Sending the above AppleScript to the Mac Mini through Apple Remote Desktop (ARD).

This works but on some occasions, ARD is not able to send the script over to some Mac Minis showing a 'Client Software Not Active' message in the ARD status column.

macOS has an automated login feature.

Choose System Preferences from the Apple menu (), then click Users & Groups.
Click the lock  , then enter account password.
If you aren't logged in as an administrator, you're asked to enter an administrator's name and password.
Click Login Options.
Choose an account from from the “Automatic login” pop-up menu, then enter the password of that account.
The account is now set up to log in automatically when your Mac starts up. You might still be asked to log in manually after logging out, switching back from another user account, or locking your screen.

Not all accounts work for automatic login. If you can't select your account, make sure FireVault is turned off and the account doesn't use an iCloud password for the login.

Have you tried enabling automatic login ?https://support.apple.com/en-us/HT201476


Coin master no longer to be able to buy coins I have created a new iTunes account. When I open iTunes and sign in with my new account, it says I need to review my account. After doing so and filling in all requirements for my account, the following error pops up all the time.

  Please contact iTunes support to complete this transaction.

How can I get rid of whatever condition that causes this message?

Most of the time, this means there is something wrong with you creditcard information. So do as told and contact iTunes to get rid of the message.

With no screenshot or further information, it's hard for us to provide a solution.

It says that because you have bought an item before and you need to pay for it. You do that by opening iTunes on a PC and signing in. After that it will have a message saying you need to pay for an item. So you then click ok and it will show your payment history and you click pay. If you don't have money you can buy an iTunes card or use another credit card to pay for it.


How do I execute command line scripts? In Windows, I can create .bat files. I double click it and all lines are interpreted as if I had entered it into the console.

In OS X, what file or program do I have to use? If I want write a file with;

 echo hello world

I want to double click this file and have it execute in a console. How I do this?

The terminal underpinnings in OS X are the same as those used in Linux. What you are specifically looking for is commonly referred to as "Shell Scripting".

The default shell when you open Terminal.app (located in /Applications/Utilties) is the bash shell.

OS X has had a built-in shell handler accessible via Finder and other applications via the .command extension, though frustratingly not via the .sh extension. However, setting the script up to run via the Finder is even more complicated still.

Create a simple shell script, like your example I've made a Hello World application:

#!/bin/bash
echo "Hello World"

Save this file as HelloWorld.command.
Give this file permission to be executed. chmod u+x HelloWorld.command should do that.
Open the directory where you saved this file in Finder. Then double click on the HelloWorld.command file.

This will open up a terminal and execute the script, the output on my computer is the following:

  $ /Users/jason/Applications/HelloWorld.command ; exit;
  Hello World
  logout

  [Process completed]

The alternative way of executing this file is while still in the Terminal yourself, simply issue ./HelloWorld.command assuming you're in the same directory as the file.

Doing so will result in much simpler output:

  jason-mac Applications $ ./HelloWorld.command
  Hello World
  jason-mac Applications $

You've just created and executed a shell script in OS X!

For mac is the .sh file aka Shell script


Can't read filenames in save dialog box. Names are too faint I want to click on file to inherit the name for the file being saved. I can't read file names in the dialog box because the color is too faint.
This is the same question as File Save dialog unreadable

That question does not have an answer but I don't have enough points to interact there so I have to post a new question.

Edited to add screen shots
I tried to calibrate the monitor which no effect and did not change the readability of "unavailable" file names. I have added screenshots of previous operating systems to compare:
Please tell me how Mojave is not to blame here:

The save dialog box will gray out files with extensions that differ from the file you're saving. The folders are not grayed out because you are allowed to change folders if you were to choose saving in them.
For example, if you had a folder full of .docx and .xlsx files while trying to save a .docx file all of the .xlsx files will be grayed out, but the .docx files will be their normal contrast.
Depending on the application, there may be a "File Extension" or a "Format" option at the bottom of the save dialog box where you can save as a different extension. In some cases (although becoming less common) this dialog box may have the option *.* that will allow you to select any extension. You've cropped out that part of your screenshots so I can't say exactly if this option exists in your case.


"Partition failed with error: Couldn't unmount drive" I am trying to create a new partition so I can install Windows through Boot Camp. I boot into recovery mode using my Recovery Assistant USB and no matter what I do, when I try to resize my drive and create a new partition, I get this error. What am I doing wrong?

Have you tried repartitioning with Boot Camp (just go through the Boot Camp process normally)? You shouldn't have to repartition manually in the first place.

You should install OS X on an external hard drive and wipe your internal hard drive. Hopefully, if there's nothing on the internal drive, the OS won't bother mounting it.