How can I remove TickTick's icon from the menu bar? TickTick will not allow their users to remove its icon from the menubar in macOS. How can this be done?

Run this command in Terminal:

strings -ao /Applications/TickTick.app/Contents/Resources/Assets.car | grep menubar_icon_task@2x.png | awk "{print \$1}" | xargs echo 232+ | bc | \
xargs -I{} echo "printf '\x01' | dd of=/Applications/TickTick.app/Contents/Resources/Assets.car bs=1 conv=notrunc seek={}" | sh

It will narrow the menubar icon down so much that it will become invisible. Ctrl+'mouse drag' the icon to the left most place.

Explanation:
strings finds the position of the icon in the asset container, echo and bc move a few bytes forward to get to the position that is responsible for the width of the icon. printf and dd set that byte to 1 for minimum width.


where to download the bootcamp software for windows when updating/installing OSX Lion? As it says on the cd that after installing the windows insert your OSX disk and run the bootcamp updater that'll install all the drivers and updates to use your mac machine in Windows environment ...

After installing OSX Lion, when I installed Windows 7 on my machine I did as I mentioned above and it deleted the OSX Lion from my machine ... strange behaviour ... and this is because the CD i got was the bootcamp updater for OSX Snow-Leopard ... so this might have cause this strange action ...

when i look for the current release of bootcamp update so on website the most updated release of bootcamp is of early 2011, so if any one tell me where to download the bootcamp software for windows that is compatible with OSX Lion?

Both the MacBook Air / Mac Mini (which can lack a CD/DVD drive as shipped) and Macs running Lion now simply download their BootCamp drivers from within the Boot Camp Assistant.


What's a free/lightweight way to email a message to force an iPhone alert? At my job, we get specific emails that need to be responded to right away.

Currently, I filter and forward those emails to my SMS gateway address provided by AT&T (1234567890@txt.att.net). The problem is that they result in 16 text messages because there are 4 emails and each one results in 4 text messages.

Can anyone recommend a service or app that provides an email address that will result in an iPhone popup?

I'm not sure about Popups, but your iPhone can get emails pushed through gmail. Would that help?

Also, whatever forwards to SMS could trim the email so that each only takes 1 SMS to deliver.


Apple Wallet (formerly Passbook) - Best way to add links Does anyone have any experience with Apple Wallet (formerly Passbook) - I'm interested to know if it's possible to add hyperlinks on the reverse of the wallet?

It looks like you can simply add web addresses and apple auto applies a link tag to this but ideally I want to have the link address hidden behind the link title so it doesn't look messy?

Since iOS7 you can add hyperlinks to the back of a pass and format the text that is displayed.

Simply add an  tag to the content of a field and the Apple Wallet app will render it as a clickable link.

For example: Click here

If you do not use an  tag but include a valid URL the Apple Wallet app will display it as clickable address.


Is there a way to keep my iPhone from receiving calls/texts/alerts while listening to music? I like to listen to music on my iPhone when running, but it's really annoying for the music to be interrupted by calls/texts/alerts. I know I can put it in airplane mode, but that will keep me from using the GPS to track my mileage through apps like RunKeeper. Is there another way to "silence" calls/texts/alerts and just have them show up as missed when I'm finished listening to music?

Coming in iOS 6, you'll have the option to set "Do Not Disturb" mode in the device's Settings.  DND allows you to block out a time window where calls and alerts will be silenced.

You can optionally configure it to allow calls from "favorites" or repeated calls to still come through.


Is it possible to use FileVault 2 on a non-primary boot partition? (Dual-boot setup) To be more specific yet still brief, I'm looking to use Filevault 2's entire partition encryption, for a partition other than my primary boot partition.

Ideally, I want to have 2, or in the future, maybe even more than 2 bootable partitions. What I want though is to have an unencrypted partition be my primary boot partition. So that you hit the power button on the computer, it starts up to a standard login screen without you ever seeing a password prompt.

I still want to have a protected bootable partition, however. Ideally, I'd like to be able to choose this partition under the boot manager (hold Alt/Option at startup) and have it proceed to the password prompt after choosing it. But it's important that this partition only boots when chosen, and that during a normal boot, the unencrypted partition boots.

I'm aware it's possible to choose an unencrypted partition from the boot manager while having an encrypted primary partition with FV2. As this is popular with Bootcamp dual-boot setups. What I couldn't find any information on though, is whether or not people were able to set their Windows partition (or other unencrypted partition) to their primary boot partition. However I don't imagine this is a very common thing people want to do either.

What I want is different than the usual for dual-boot situations. I want to have 2 OS X partitions. I don't see why this should matter. Any bootable OS should work fine on any partition. And I don't see why OS X would try to touch an encrypted partition it isn't told to at any point. However, if you know of any problems with this setup, please let me know.

And one more note. I don't see why it would interfere, but it's also important to know that I use a firmware password. Yes, I'm aware that if my proposed setup would work, it would require me to enter two separate passwords, one to bypass the firmware lock and another to boot the partition. I'm perfectly okay with this.

Please and thank you for any help, advice, or possible tidbits of information you may be able to provide!

Yes, this should work fine. I actually have essentially this config on one of my computers , the only odd thing is that my default boot (unencrypted) is OS X 10.8 (Mountain Lion), and the alternate (encrypted) partition is OS X 10.9 (Mavericks). I'm not really using it in this mode (it's a test computer that just happened to wind up with this combo), but the only unusual thing I've noticed is that when you boot from the unencrypted partition, every time you log in it asks you to unlock the encrypted partition so it can be mounted. You can either enter the password of one of the FileVault-enabled accounts from the encrypted partition, or click Cancel and go about your business.

I do not have a firmware password set on this test computer, but I wouldn't expect setting one to cause any problem. To boot from the encrypted partition, you'd have to start the computer with the Option key held down, enter the firmware password, select the alternate partition, then enter one of the FileVault-enabled account passwords. After that, it should behave normally.


How can I transfer video from my Sony AVCHD camcorder? I'm a desperate owner of a Sony HDR-XR520V and an avid Mac user.

Sony + Mac users know that the supplied footage management software—Picture Motion Browser (PMB)—is only for Windows.

Sony's advice for importing footage into the Mac is via the transfer feature of iMovie or Final Cut's "log and transfer".

Both applications cost money, but more importantly, the footage is being transcoded, so the initial AVCHD video will not be transfered/stored into your computer.

My last attempt was to try to use PMB inside a Parallels virtual machine.

PMB may be bloated but it has a really nifty feature for footage syncing:

At first sync, it transfers all data into your machine.
Then you may organize the imported footage into folders, however you like via the software or even Finder.
On every following sync, it transfers only the new videos.

Unfortunately, those last versions are buggy and the program crashes every time I try to sync the camcorder. I've contacted their support but they said, "the camcorder was only tested with original OSs and they do not support virtual machines."

In conclusion: is there a tool or process that mimics PMB's sync?

I've looked into file management tools, and even rsync, but I cannot find a way to sync only the new videos, keeping in mind that the imported footage has been organized/moved into subdirectories.

I know that instead of copying I could move the videos out of the camera, so no syncing would be required but I need to keep the footage in the camera because it's being used as a playback device as well.

The new Final Cut Pro X natively supports AVCHD. The old Final Cut Pro Studio did not.

And the new Final Cut Pro X is much less expensive at only $300.

You really should evaluate if it will meet your needs, and if your system has the specifications to run it.


How to uninstall software that is running when the mac logs in I get this every time I log in

Which is an application that I downloaded a while back. But I can't locate it in my applications folder and I also cant see it in this:

How should I go about preventing this?

In /Library/LaunchDaemons:

In /Library/LaunchAgents:

Check the Activity Monitor first to see if the App is running.
( Applications > Utilities > Activity Monitor.app )

If you can/can not find it there, it may be a launchd-process that has some special name.

Open Finder and hit CMD+SHIFT+G. Check these Folders:

/Library/LaunchDaemons
/Library/LaunchAgents

Delete the file you are looking for (App-Name / Company)
but be careful - do not delete any random file.

Restart your Mac.
If it still popp up, it is hidden somewhere else.
I don't know what you installed, maybe it needed admin priviliges and is therefore located in the System/Library/LaunchDaemons folder.

Other Folders that may contain your app/script.

/Library/StartupItems
/System/Library/LaunchDaemons
/System/Library/LaunchAgents

You could also check the logs via the Console Application.


How do I install p4v (previously p4merge) as my git difftool on macos catalina 10.15.3 Ive found these instructions for setting up p4merge as my git difftool (I've not been able to test these instructions):
brew cask install p4merge
git config --global diff.guitool p4mergetool
git config --global difftool.p4mergetool.cmd \
  "/Applications/p4merge.app/Contents/Resources/launchp4merge \$LOCAL \$REMOTE"

I've learnt that p4merge was renamed p4v. So I now have to do:
brew cask install p4v

but I'm not sure how this impacts the other commands given. Can anyone clarify how to setup p4merge as your difftool when using p4v? thx

It doesn't impact the commands given.
Just brew cask install p4v and all other commands remain the same.


Wallpaper that I download How can I save a downloaded image to the folder called pictures that I see in System Preferences/Desktop & Screen Saver/Desktop?
I'm assuming that this is a good place to store images that I download for wallpaper.
Thanks
Gary

Push the + at the bottom of the list:

Then select a folder or create a new one in your home folder, perhaps inside your Pictures folder.

There may be a way to put a picture inside the Apple desktop pictures folders, but this is the more standard way to go about it.


Determine whether Logic Board has actually been replaced I recently had the Logic Board in my Retina MBP 15″ 2012 replaced under a warranty extension program and Apple paid for it. I've reinstalled OS X several times and feel things aren't running properly. Also, I also couldn't find a way to merge my Time Machine old backups with new one.

The problem I have is confirming that I actually got a new board installed. I have not found a way to confirm this. My Mac help isn't helpful and Google is even less helpful. Why is it so hard to confirm that new hardware is really installed after this repair?

You can compare the serial number on the bottom of the laptop casing to the serial number shown in System Report by going to Apple Menu -> About This Mac. When I worked at Apple, it was known that replacement logic boards would carry the new SN (naturally) and that cases from the old SN would link to the new one.

The serial on the laptop itself is the original SN it shipped with (unless the bottom case has also been replaced) and can be found in very small print near the display hinge. On the Mac, check for an SN that diverges or is not present, as that indicates repair.


Keychain From Different Computer I have Macbook Air and Macbook Pro.

I have some notes in Macbook Pro as saved in keychains.

How can I view them in Macbook Air without affecting Macbook Air keychains?

If you are using iCloud Keychain, you can store the Secure Notes in iCloud, instead of locally on a machine, and the Notes can be visible on any macOS machine logged into the same iCloud account with iCloud Keychain enabled.


Filevault for all volumes I'm using High Sierra, I have my main Macintosh HD encrypted using Filevault. However in Disk Utility there is an option to create new volumes that share space with container. So finally I have volumes Macintosh HD but also Documents, Music and so on. In Disk Utility I can see now:

Macintosh HD - APFS (encrypted)
Documents - APFS
Music - APFS

As you see there is no information for additional volumes that there are also encrypted.

So the question is - are those volumes encrypted or not (and how can I verify that) and if they are not encrypted how can I encrypt them too using FileVault?

This is screen how it looks like in Disk Utility. As you see this Dokumenty partition is not showed as encrypted but when I choose Macintosh HD there is APFS (encrypted)

This is result of diskutil list:

(internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         250.8 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.8 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            93.6 GB    disk1s1
   2:                APFS Volume Preboot                 22.9 MB    disk1s2
   3:                APFS Volume Recovery                509.8 MB   disk1s3
   4:                APFS Volume VM                      4.3 GB     disk1s4
   5:                APFS Volume Dokumenty               12.2 GB    disk1s5
   6:                APFS Volume Oprogramowanie          1.9 GB     disk1s6
   7:                APFS Volume D                       18.2 GB    disk1s7
   8:                APFS Volume Muzyka                  35.3 GB    disk1s8
   9:                APFS Volume Inne                    2.9 MB     disk1s9
  10:                APFS Volume S                       2.0 GB     disk1s10
  11:                APFS Volume L                       7.1 MB     disk1s11

When you adding APFS container, you should be able to use APFS (Encrypted)

I found that after added, it will be shown as 'APFS (Encrypted)' in Disk Utility.app. In diskutil list, no encryption status is metioned.

I didn't find out how to encrypt / unencrypt an existing APFS volume in Disk Utility.app. Maybe some diskutil command will do it.


What options are available to _losslessly_ trim mp4/m4v video on 10.8 or above? I have some DRM-free m4v video that I would like to edit by trimming here and there.

QuickTime X  ($0)

Pros:  free, built-in to OS X
Cons:  selector to choose 'start' and 'end' times is not very easy to use to get precise in/out

iMovie ($15, or free if you have bought a recent Mac)

Pros: free
Cons: can't handle mp4/m4v directly, has to be re-encoded [I believe]

QuickTime 7 Pro ($30)

Pros: Can make very precise (to the frame) edits
Cons: saves only as .mov not .mp4/.m4v

SimpleMovieX ($40)

Pros: claims to be able to do this (although I tried the demo and found the UI so terrible I can't even verify if it works, and if it does, if it does anything that QuickTime X cannot)
Cons: appears to be 'abandonware' as it hasn't even seen a minor update in well over a year, MacUpdate reviews are nearly entirely negative, going back to 2009, including slow- or no- responses from the developer.

Are there other good options out there*? If so, what are they, and what are their pros/cons?

* I specified "good" because Google is useless for topic as the results are littered with sites offering “reviews” of software that by some mere coïncidence they also happen to sell. (Most of the sites and most of the software appear very similar as well.) There's clearly a lot of crap out there

iMovie (not lossless, but better than before)

iMovie v10 (released some time after the question was originally asked) now better handles more media types, so avoids the import re-encode for most H.264 (mp4, m4v, mov, AVHDC, mts, mt2s) content.

It will still, however, re-encode on export so cannot be technically lossless—another new feature, however, is the ability to customise the export quality, which can be closer-to-lossless. I suspect this part of the answer can apply equally to other 'project driven' video editing software (e.g. Premiere or Final Cut) because I think they all generally re-encode on output, though are usually very easy to use for precise trimming.

Personally, I generally think a single re-encode isn't a huge problem, but understand you did specifically ask for a lossless solution, so...

Lossless (but way more complicated!)

There are technical limitations as to how precisely you can cut a video without having to re-encode at least some part of it, and it basically depends on the i-frame frequency. If every frame is an i-frame, you can cut anywhere, but if they're only every few seconds, then you can only cut losslessly at those i-frames without losing content or having to re-encode (at least part of the stream) so it can start with an i-frame.

ffmpeg

This SO Q&A specifically raises the question of how to cut between i-frames using ffmpeg. I don't know of any GUI apps to do this, but basically you run a command something like the following:

ffmpeg -i input.m4v -vcodec copy -acodec copy -ss 00:01:20.000 -t 00:37:50.000 output.m4v

The two times specified are start and duration, and can be specified either as seconds or hh:mm:ss.ss, and the -acodec copy and -vcodec copy tell ffmpeg not to re-encode.

I'm not exactly sure what happens if you cut too early, but I think the video is essentially blank (or maybe corrupt, depending on player) until it encounters an i-frame. So you'll probably want to find the nearest i-frame before your cut. This answer solves that problem using ffprobe and awk, albeit a little awkwardly. Essentially you use ffprobe to scan the frames and find the nearest keyframe (flags=K) before your ideal cut-point. Full output for each frame of the video can be seen like this:

ffprobe -select_streams v -show_frames <INPUT>

The linked answer supplies this command to find a keyframe before a specific time:

ffprobe -select_streams v -show_frames -v quiet INPUT.mp4 |
awk -F= '
  /pict_type=/ { if (index($2, "I")) { i=1; } else { i=0; } }
  /pkt_pts_time/ { if (i && ($2 >= 150)) print $2; }
' | head -n 1

And finally, if you really need to cut somewhere between two i-frames, you can split the video and re-join. Based on the info from this answer, it should be something like:

ffmpeg -f concat -i list_of_videos.txt -c copy OUTPUT.mp4

Where list_of_videos.txt is a simple text file listing the files you want to concatenate.

Summary

iMovie is probably good enough for most cases (since v10), and very easy.

ffmpeg can do it losslessly (or very close to losslessly), with a bit of fiddling; level of difficulty depends on how picky you are about the precise starting point, and frequency of i-frames.


Prevent disk reordering on boot I have 3 physical drives in my Mac Pro with OSX 10.6.4. Occasionally after rebooting the machine, the disk numbering changes such that the /dev/disk# does not reference the same drive as it did before the reboot.

Example

/dev/disk0 -> 64GB SSD drive
/dev/disk1 -> 640GB Hitachi
/dev/disk2 -> 160GB WD (BootCamp)

After rebooting the mapping might be

/dev/disk0 -> 160GB WD (BootCamp)
/dev/disk1 -> 640GB Hitachi
/dev/disk2 -> 64GB SSD drive

Even more confusing is that the remapping is not consistent. For most stuff this is irrelevant. However I also have Parallels installed to allow access to the BootCamp partition from within OSX. Parallels uses the /dev/disk# path in it's configuration file so, after rebooting OSX I launch Parallels and it tells me that the disk is no longer present.

Is there a way to tell OSX to always assign a given drive to /dev/disk0?

There does not seem to be a way to specify a device for a given drive. Your best bet might be to not auto-mount, then use a LaunchAgent to mount them in the order you want with a pause between each mount, and see if it works that way. This method might get messed up if you have a USB key or something else that auto-mounts available to the system when you boot.


Is it possible to upgrade a Mac Pro (2007) with Lion (10.7) to Yosemite (10.10)? I have a MacPro (mid-2007) with the configuration listed below:

Processor: 2x 2.66Ghz Dual Core Intel Xeon
Memory: 20Gb 667Mhz - DDR2 FB-DIMM
OSx: Lion 10.7.5
NVIDIA Chip Model 1024Mb
SSD: 512Gb
HD2: 1Tb
HD3: 1Tb
HD4: 500Gb

I've been searching how to upgrade to Yosemite directly, but I found he is not compatible anymore (only MacPro 2008 / later). There's a way to hack/workaround this problem? And why I can't upgrade my Lion to Yosemite if the hardware specs are totally compatible?

OK, this might be somewhat opinion-based, however...

Possible, yes.
Worth it, no.

Possible
There are tools & online guides far too long to repro or précis here on how to achieve it. It requires hacking the firmware & needs re-hacking at each update -
These guides from MacRumors are as good as they get, one for Yosemite & another for El Capitan.

Worth it?
The 1,1 & 2,1 are really end-of-life & now very slow compared to a 'modern' machine.
I really guess it depends on your budget, but you can get an absolute top-flight 5,1 [or the smart money goes on a 4,1 with the Apple upgrade kit] with two 6-core hyperthreading Xeons @3.46GHz & 64GB RAM for under £1800 in the UK. Your existing drives will just carry over [though idk about the OS itself, mine did from a 3,1 to 5,1].
The Geekbench scores on those are about 32k, that's slightly under the current top model 'trash-can' at 33k. I just checked the score for the 2.66 Mac Pro, 6k.

I took the latter path, even though I was only moving up from a 3,1 - which is now in the hands of my partner & very happily running El Capitan. I wanted a speed boost & the upgraded 4,1 was right on the money for me.


How to repair Homebrew permissions after installing as root? I run brew as root, now it's defunct. No updates anymore. How to fix?

$ brew update && brew upgrade
error: Unable to append to .git/logs/HEAD: Permission denied
error: Unable to append to .git/logs/refs/remotes/origin/master: Permission denied
Error: Failed to update tap: caskroom/cask

$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Your XQuartz (2.7.4) is outdated
Please install XQuartz 2.7.7:
  https://xquartz.macosforge.org

Reset the permissions of /usr/local and Homebrew's caches to the current user:

sudo chown -R $USER:admin /usr/local /Library/Caches/Homebrew


Question about external USB disk for mac air So I recently bought just a cheap 32 GB sandisk USB flash drive to add some more space to my macbook air. (I know nothing about this type of stuff so bare with me.) I bought the USB drive so I could download a specific game to my mac. Now, I currently have 80/121 GB available on my flash storage, and the USB drive has 32 GB which I mentioned earlier. To download the game I need like 95 GB (total) of free storage. Basically I just want to know if there is a way to download some of the game to my flash storage and the rest to the USB drive. Or if there is something else I can do just so I can download this game?

Sorry, no.
With the exception of RAID, which allows you to create one big disk from several smaller ones you can't combine an external USB drive with an internal drive.
So in order to do what you want you would have to have a USB drive with about 100GB of available room on it. Which is eminently practical and do-able. Just more expensive than your 32GB flash drive.


The date/time when the OS is installed I just wonder if there are any ways to check the date and time when the Mac OS X was installed.

I guess the system must store the information of this type somewhere, but I don't know how to mine it.

In my case, my MacBook Pro was stolen. When I found it 10 days later, the hard disk had been repartitioned and it had been installed with a fresh Yosemite version.

Now that it turns out that if I know the time/date the Yosemite was installed, I may be able to identify who is the thief.

Cheers,

I have found the answer to my question in this post at the macrumors.com forum.

  In the System Information application (Apple menu, hold option key, and the first item changes from "About this Mac" to "System Information"), look under the Installations tab. The exact time and date of the OS X install will be listed there.


Run Macbook inside of Windows application I have desktop Windows PC with a large display and nice keyboard and mouse setup. I have a Macbook that I would like to use with the same setup. My monitor does not have any more available input ports.

Is it possible to run a desktop session from my Macbook within a Windows application? I'm aware of VNC, however that seems to mirror what my Macbook is currently displaying. If possible, I'd like to run a new GUI session that runs at the correct resolution of my Windows display. Bonus points if I can leave my Macbook's lid closed whilst accessing it from Windows.

You won't get closed clamshell mode unless you connect a display and power, but that's how I run many portable Mac so they do work well in that mode even if it's not what you look for specifically.

The Mac supports two log in users - so if you have one user logged in locally - you could VNC in with a second account and it will ask if you want to share the screen or have your own session.

One nice trick if you don't want to connect an actual display in closed clamshell mode, you can connect an adapter like this:

https://www.amazon.com/CompuLab-fit-Headless-Display-Emulator/dp/B00FLZXGJ6

Should be pretty straightforward for you to do either of these - it just takes connected items and/or two accounts.


Mac doesn't use local dns for .local I'm using an macbook with Yosemite 10.10.3. There are no problems to access the "standard" internet.

But in my own network I use a local nameserver at my fritz-box. It is configured to use this DNS first before using public DNS. But if I want to access my .local-domain I get an ERR_NAME_NOT_RESOLVED. If I access directly by IP it works.

With a Windows 7 and a Windows 8 computer it works without any additional configuration (access by .local-domain). If I add the DNS to my network-connections it doesn't work again. Seems like my mac doesn't access / resolve .local-domains to this DNS.

Hope anyone has an idea to solve this problem.

PS: for sure - if I edit my /etc/hosts-file for each url it works - but this is not the way I want to go.

EDIT: If I check nslookup myUrl.local I got an Non-authoritative answer with the correct IP address. But I can't send a ping to this url or access it via browser before I added it to /etc/hosts.

Apple uses .local for bonjour.

This is reserved for mDNS in RFC 6762.

You should not use this in a mixed network. See https://en.wikipedia.org/wiki/.local for further discussion.


Is it possible to use 6GB of memory in my MacBook Pro 3,1? The specifications of my MacBook Pro say the maximum memory supported is 4GB using two 2GB DDR2 667MHz each.

However, some say that this model can support up to 6GB of memory, putting a 4GB Memory DDR3 1066MHz in one of the slot and 2GB (or 4GB, 6GB directing in this case memory).

The bus is 800MHz MacBook Pro. How should I install memory in the two memory slots to get the highest memory capacity and performance in my MacBook Pro?

Yes. I own a MacBook Pro 3,1. I installed 6GB memory and have been using it like that for more than two years. Note the specifications below. You can call the tech support people at Other World Computing if you have any questions.

The RAM in my system is as follows:

Bank 0: 2GB DDR2 SDRAM 667 MHz
Bank 1: 4GB DDR2 SDRAM 667 MHz


I installed latest Xcode (4.3.2) which comes as package, can I delete the older versions? According to apple,

  Xcode in the Mac App Store has been repackaged, and is now distributed as a stand-alone application.

Can I safely remove old versions of Xcode which are using a lot of space? They didn't get removed when I installed the latest version. If I can, what should I do? Which files should I remove or what program do I need to run to remove them?

Thanks!

Can I safely remove old versions of Xcode which are using a lot of space?

Yes.

  If I can, what should I do?

Run:

sudo <Xcode>/Library/uninstall-devtools --mode=all

Where <Xcode> is usually /Developer but can sometimes be ~/Developer depending on whether you installed it with sudo privileges or not.

Once you've run that script you can just move /Developer or ~/Developer to the trash, you don't need it any more.

You can can get more details about uninstalling by reading the About Xcode.pdf document in your  directory.

If you also have a /Developer-old directory you can just move that to the trash.


macOS root password & malware? I entered my macOS admin details (root password) into an application I think was malicious. Suspicious, I checked the keychain and my tokens had modified passwords.

What else could have this software done? Where would I look? More importantly what can I do to check / protect myself?

I deleted all keychain entries and changed all passwords...

You can get and run Malwarebytes. This supposedly finds any malware on your Mac. If that finds nothing I'd look for a virus checker with a free trial period and run it as a secondary test. Here is a link to a review of Mac virus checkers. Malwarebytes can be found at this link.


Where does the iPhone save contacts? Does the iPhone save contacts in the internal storage, SIM card and iCloud (if activated)?
I can see an option in Contacts to import from SIM.
I wonder if the iPhone stores contacts in all these places.

iPhone stores contacts in the location set by Settings → Contacts → Default Account. New contacts are stored on the internal storage of the device, and then synchronised with the account selected here. This can be iCloud if activated and selected.

Contacts can be imported from the SIM, but not saved to the SIM.


OS X Terminal window disappears on launch I just unwrapped a MacBook Pro (OSX 10.9.3). I used the Migration Assistant to bring things over from my old mbp, and most everything seems to be working except something very important: the Terminal app. Well, I actually use iTerm, but they both exhibit the same symptoms: when I launch the app, the window flashes for (maybe) a few milliseconds, then disappears.

It's not hiding or minimized. The app is open (in the toolbar, etc.), but no windows will appear. I even tried running an executable bash shell script (*.command), but nothing really appeared and the script apparently didn't execute.

This is a very fundamental problem. Is it back to the Apple store? The only other weirdness I've noticed is that the setup when I first booted it was kind-of buggy, and I had to hard-reset it (which really surprised me). However, after I rebooted, it worked fine, and I got it set up as usual.

Edit
Here is what the console says when I launch Terminal.app:

6/6/14 6:46:26.071 AM login[1450]: USER_PROCESS: 1450 tty??
6/6/14 6:46:26.072 AM login[1450]: DEAD_PROCESS: 1450 tty??
6/6/14 6:46:26.076 AM com.apple.launchd.peruser.501[173]: (cx.pow.powd[1448]) Exited with code: 8
6/6/14 6:46:26.076 AM com.apple.launchd.peruser.501[173]: (cx.pow.powd) Throttling respawn: Will start in 10 seconds
6/6/14 6:46:36.241 AM login[1454]: USER_PROCESS: 1454 tty??
6/6/14 6:46:36.243 AM login[1454]: DEAD_PROCESS: 1454 tty??
6/6/14 6:46:36.247 AM com.apple.launchd.peruser.501[173]: (cx.pow.powd[1452]) Exited with code: 8
6/6/14 6:46:36.247 AM com.apple.launchd.peruser.501[173]: (cx.pow.powd) Throttling respawn: Will start in 10 seconds

It keeps repeating similar messages every ten seconds.

Edit 2
If, in my Terminal.app preferences change "Shells open with:" to "Command (absolute path)," which is "/usr/local/bin/bash," a window pops up that says.

[Command not found: /usr/local/bin/bash]

[Could not create a new process and open a pseudo-tty.]

Well can I ask you what default login shell is?  mine is /usr/local/bin/bash from Homebrew, and if I move my stuff from Time machine to a new computer Homebrew is there but for some reason it is hosed, so I need to change the login shell, remove Homebrew, reinstall XCode, reinstall Homebrew, reinstall /usr/local/bin/bash and change my default login shell again.  I might be wrong on your special instance, but it is something worth considering.  In general Migration Assistant works for your data and all the "normal" stuff and Apps people have, but any developer/Unix stuff gets broken (or so it is my experience over dozens of migrations).

PS to change your default login shell go to the Preferences Panel (the thing with the cogwheels icon), Users and Group, unlock if needs be, right click on yourself -- the option of 'Advanced options' will come up, click that and change your login shell.  Save, log out and you're set.


Chrome taking up CPU on particular urls At least a few times a day I get disturbed by high Chrome CPU usage... I have to open Chrome's Task Manager and see which tab is taking up CPU.

For example https://www.ethereum.org/ always takes 20-30% CPU.

Today I had the same happen on a TechCrunch url.

Could it be some extension? I just checked https://www.ethereum.org/ in Incognito tab with almost no extensions and it was the same - high CPU load (30%!)

I'm seriously considering swithcing to Safari because of this and some other issues with Chrome recently :/

Any comments / solutions to this?

Safari 7 is documented in many Mavericks reviews to be better at extending battery life and CPU usage. That ethereal link has an animation in the background, I'm assuming that's what's using your CPU.


How to prevent Mac OS X El Capitan from automatically switching desktop when new application is launched I use multiple desktops to multitask between applications because I like using full screen mode.  My problem is sometimes I run a command in Terminal that launches other applications.  Whenever a new application is launched in OS X, it seems to think that it should automatically change to the "Main Desktop" and set the newly launched application as the active application.  This bothers me because I would like to just run an application in the background without the OS deciding what I should be staring at.

Is there a way to disable or work-around that behaviour?

Note: this, I believe, unfortunately is the same behaviour when you have any application in full screen as your main focus application and you launch another application from the Dock.  It takes your focus directly to that new application.

There is no way to change this behavior. The reason is because your full screen application is contained in a separate virtual desktop, leaving the "default desktop" available for any other apps to run (like the case of efficiency on multiple screens). OS X & macOS work like that. Every aspect of the OS was designed in a way to be "clutter free", so a window on top of a window is a big no no for apple, and will be avoided if possible.


How can I prevent line numbers from appearing in .bash_history? Recently, line numbers have started to appear in my .bash_history file. Where before, for example I might have had just

rm -rf *

I now have entries like

#1565909296
rm -rf *

How do I prevent those line limbers (or timestamps, or whatever they are) from accumulating in my .bash_history file?

These numbers seem to have nothing to do with any of my settings (and in any case started to appear without any adjustments to theses settings having been made):

$ grep -i 'hist' .bash* .profile
.bash_profile:export HISTCONTROL=ignorespace:ignoredups
.bash_profile:#export HISTCONTROL=ignoreboth:erasedups
.bash_profile:#export HISTCONTROL=ignoreboth:ignorespace:ignoredups
.bash_profile:export HISTSIZE=10000
.bash_profile:export HISTFILESIZE=500000
.bash_profile:SHELL_SESSION_HISTORY=0
.bash_profile:export HISTTIMEFORMAT='%y-%m-%d-%T   '

Update: The recent edit you've made to you question shows the following line being in your .bash_profile file:

export HISTTIMEFORMAT='%y-%m-%d-%T   '

Remove this line to stop the timestamp from being added to the ~/.bash_history file.

Original Answer:

As HISTTIMEFORMAT is not set by default, up to an including macOS Mojave, you'll need to check one of the following files to see where it was added:

/etc/bashrc
/etc/profile
~/.bash_profile
~/.bash_login
~/.profile
~/.bashrc

Removing the line that has HISTTIMEFORMAT from the file that has it will stop the timestamp from being added to the ~/.bash_history file.

Note: The dot files mentioned in the $HOME directory are hidden and some may not exist.


After enabling two-factor authentication, I no longer have the option to use my iCloud password to log in I enabled two-factor authentication (the new one available in iOS 9, OS X 10.11, etc., not the old two-step verification) for my Apple ID. After doing so, my MBP prompted me to change my password saying that I couldn't use my iCloud password to log in to it anymore, so I changed it. I expected the same thing to happen on my iMac, but it didn't. iMac is still happily using my iCloud password to log into my local account. Going into Users & Groups & clicking "Change Password" for my account on my iMac, I still get the same old "Use iCloud password..." option, but on my MBP I don't have that option.

Is this expected behavior? Why can I still use my iCloud password on my iMac, but not on my MBP?

I would suggest logging out and then back into iCloud on the affected machine to ensure that it has the most current and up-to-date settings. It is likely that there is just something stuck, considering both systems are running the same OS.


How Can I Create a Multi-Line Input Dialog using Applescript? How can I create a multiline text input dialog using Applescript? Creating a single line dialog is simple...

One workaround is to make the default answer include a linefeed, but it will also be included in the default answer:

display dialog "" default answer linefeed

CocoaDialog supports multi-line dialogs:

do shell script "/Applications/CocoaDialog.app/Contents/MacOS/CocoaDialog \\
textbox --editable --title Title --button1 OK --button2 Cancel" without altering line endings
tell result
    if item 1 is not "1" then return
    set answer to text 3 thru -2
end tell

I couldn't get the text view to have focus when full keyboard access is enabled, even with ‑‑focus‑textbox or --selected.


Deleting games from iPhone 5s and ipad If I delete a game from my Game Center on my iPad, will it delete the game off of my iPhone?

Yes, the game account is bound to your apple id. Seen as though the game center syncs,You will loze the data on all devices!


Imported contacts are empty I have an odd problem. I got an iphone5 and of course, I want all my contacts from my nokia into my iphone, I imported the contacts into outlook, then exported to an csv file, then imported to gmail and it worked perfectly until that point. When I imported the gmail contacts to my iphone, all the names were there, but barely any mobile numbers. However, in my gmail profile everythings seems to be ok, so I doubt that there is a field organisation problem.
If anyone has an idea, please help me, that thing is driving me crazy!
Thanks!

I found out what was wrong. It seems the phone number types were the problem. They were classified as "Other". I changed them all to "Mobile" and it worked.

I hope this helps somebody, because I looked the problem up for hours and didn't find a solution.


How to keep all the data on my applications when I buy a new iPad I am buying a new iPad because I only have a 16gb iPad and I want to keep the data on my apps ie. on sims I want to keep the houses and people on it but is it possible to do that when you buy a new iPad and sell the one that has the apps and data that you want to keep? Thanks and sorry if that's confusing?

Run iTunes on your computer.
Connect old (16GB) iPad to computer with USB cable.
Back up iPad to iTunes/computer. Do not erase old iPad yet.
Disconnect old iPad.
Connect new iPad to iTunes/computer with USB cable.
Restore settings from old iPad onto new.
Disconnect new iPad.

Once you're sure the new iPad has everything you expect on it (all app data, etc.) then you can connect old iPad to iTunes and restore to factory settings wiping it out so you can sell it, give it away, or recycle it with Apple.


Why is my screen acting weird Black is turning green - but not everywhere and not on screendump or on my ext. screen (photo taken with iPhone). If I press the unibody hard on the left side, then I can make the green disappear, but that's not a solution.

This is a MacBook Pro (15”, mid-2010) 2.66GHz Intel Core i7 with 8GB 1067 MHz DDR3, an NVIDIA GeForce GT 330M 512 MB / Intel HD Graphics 288 Mb, and the OS is El Capitan v.10.11.6

To determine if the problem is caused by a graphics card or not, I would like to know if there is a way to have only one card/processor active at time?

If Cmd+Shift+3 does not capture the display as you see it, or, if mirroring the display on your external monitor does not reproduce it then it is not the OS which is making that happen.

Your problem may be in the connection of the graphics and screen hardware itself. If pressing the unibody relieves this, you may need to reseat the graphics card or some other component. Has you laptop been dropped recently?

This Mid-2010 MacBook Pro teardown article or this disassembly video might help you ascertain which components you are pressing on.

Also, you may simply be overheating from a clogged vent port. Have they ever been cleaned (since mid-2010 = 6+ years)? This is a step by step guide to replace the fan if it needs a new one.


How can I toggle network services with a script? Currently I can do this only on a per connection basis using this script:

property status : "none"
property val : "none"

on get_status()
    set status to do shell script "sudo networksetup -getnetworkserviceenabled Ethernet" as string
end get_status

get_status()

if status is "Enabled" then
    set val to "off"
else
    set val to "on"
end if

do shell script "sudo networksetup -setnetworkserviceenabled Ethernet " & val

get_status()
display dialog "Status: " & status with title "Network Toggle" buttons {"OK"} default button 1

But recently I am getting network from different sources and I would like to have a script with toggles availability for all active connections (either all on or all off).

Any idea on how I could pull this off?

Use the -listallnetworkservices option to get all services.

tail -n +2 to delete the first line which contains "An asterisk (*) denotes that a network service is disabled."

sed 's/^*//' to delete the asterix character at beginning of each line

while read thisName to loop

The script:

if get_status() is "Enabled" then
    set val to "off"
else
    set val to "on"
end if
do shell script "networksetup -listallnetworkservices | tail -n +2 | sed 's/^*//' | while read thisName; do networksetup -setnetworkserviceenabled  \"$thisName\" " & val & "; done" with administrator privileges
display dialog "Status: " & (get_status()) with title "Network Toggle" buttons {"OK"} default button 1

on get_status()
    set status to do shell script "networksetup -getnetworkserviceenabled Ethernet"
end get_status

sudo in a do shell script command doesn't work on my system, I use administrator privileges.


Process completed after opening terminal I am running a bioinformatics course that gave the following instructions to setup my  previously non-existing bash profile:

You will need a few lines in your setup files. Open a Terminal and run
the following:
curl http://data.biostarhandbook.com/install/bash_profile.txt >> ~/.bash_profile
curl http://data.biostarhandbook.com/install/bashrc.txt >> ~/.bashrc

These commands will update your so-called “shell” (see later) to behave more consistently. If you want the details read the Setting the Bash profile page. Do not run this terminal initialization command above more than once!

By mistake I ran the command twice. Now every time I open the terminal it prints "process completed".
Trying to find the issue using /bin/bash -x I found:
Last login: Sat Dec 28 17:43:22 on ttys001
+ '[' -x /usr/libexec/path_helper ']'
++ /usr/libexec/path_helper -s
+ eval 'PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin";'
export 'PATH;'
++ PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
++ export PATH
+ '[' /bin/bash '!=' no ']'
+ '[' -r /etc/bashrc ']'
+ . /etc/bashrc
++ '[' -z '\s-\v\$ ' ']'
++ PS1='\h:\W \u\$ '
++ shopt -s checkwinsize
++ '[' -r /etc/bashrc_Apple_Terminal ']'
++ . /etc/bashrc_Apple_Terminal
+++ '[' -z '' ']'
+++ PROMPT_COMMAND=update_terminal_cwd
+++ '[' 0 -eq 0 ']'
+++ '[' -n F255D8F8-2CB8-4EE0-9020-34B81CF28789 ']'
+++ '[' '!' -e /Users/benoitduc/.bash_sessions_disable ']'
+++ SHELL_SESSION_DID_INIT=1
+++ SHELL_SESSION_DIR=/Users/benoitduc/.bash_sessions
+++ SHELL_SESSION_FILE=/Users/benoitduc/.bash_sessions/F255D8F8-2CB8-4EE0-9020-34B81CF28789.session
+++ mkdir -m 700 -p /Users/benoitduc/.bash_sessions
+++ '[' -r /Users/benoitduc/.bash_sessions/F255D8F8-2CB8-4EE0-9020-34B81CF28789.session
']'
+++ '[' 1 -eq 1 ']'
+++ SHELL_SESSION_HISTFILE=/Users/benoitduc/.bash_sessions/F255D8F8-2CB8-4EE0-9020-34B81CF28789.history
+++ SHELL_SESSION_HISTFILE_NEW=/Users/benoitduc/.bash_sessions/F255D8F8-2CB8-4EE0-9020-34B81CF28789.historynew
+++ SHELL_SESSION_HISTFILE_SHARED=/Users/benoitduc/.bash_history
+++ '[' -s /Users/benoitduc/.bash_sessions/F255D8F8-2CB8-4EE0-9020-34B81CF28789.history
']'
+++ PROMPT_COMMAND='shell_session_history_check; update_terminal_cwd'
+++ SHELL_SESSION_TIMESTAMP_FILE=/Users/benoitduc/.bash_sessions/_expiration_check_timestamp
+++ trap shell_session_update EXIT
+ '[' -f /Users/benoitduc/.bashrc ']'
+ source /Users/benoitduc/.bashrc
++ '[' -f /Users/benoitduc/.bashrc ']'
++ source /Users/benoitduc/.bashrc
+++ '[' -f /Users/benoitduc/.bashrc ']'
+++ source /Users/benoitduc/.bashrc
++++ '[' -f /Users/benoitduc/.bashrc ']'
++++ source /Users/benoitduc/.bashrc
...
...

If anyone can help me it would be welcome.

To find what was added to your profiles, I ran these commands.

mac $ curl http://data.biostarhandbook.com/install/bash_profile.txt > ~/seebash_profile
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    89  100    89    0     0    513      0 --:--:-- --:--:-- --:--:--   514
mac $ curl http://data.biostarhandbook.com/install/bashrc.txt > ~/seebashrc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   759  100   759    0     0  17574      0 --:--:-- --:--:-- --:--:-- 17651
mac $ cat seebash_profile
#
# Source the settings from .bashrc.
#
if [ -f ~/.bashrc ]; then
   source ~/.bashrc
fi
mac $ cat seebash_profile
#
# Source the settings from .bashrc.
#
if [ -f ~/.bashrc ]; then
   source ~/.bashrc
fi
mac $

You get two copies of these lines in each file. You should get rid of one copy in each file. nano is a simple editor you can use to edit these files.

https://linuxize.com/post/how-to-use-nano-text-editor/


2011 Mac Mini boot camp problems I Have a 2011 Mac mini and I installed Windows 7 using Bootcamp. All the drivers are working fine, except the sound and the bluetooth. Since my internet connection is really lousy, I don't want to download a 100Mb drivers solution, I just need the Audio Controller, which I've been led to believe that it a Cirrus Logic CS4206B, but I haven't been able to find a single place to download the driver.

Can anyone point out any advice on how I can solve this? By providing a link to download the driver, or perhaps a way to extract it from somewhere, because bootcamp requires me to connect to internet to download the whole driver pack and I just can't do that.

Any help would be greatly appreciated.

UPDATE: Just for the sake of information, my Mac is a mid 2011 Mac Mini, having a 2.3Ghz Core i5 and an 8Gb RAM kit installed by me.

UPDATE After a while, I managed to install the Cirrus Logic driver, so I-m marking the answer as correct, however, I get audio only in the internal speaker, no audio on the Jack. I'll try to reinstall using Bootcamp 3.2 and see what happens.

UPDATE It's been a while since I posted this question, but I'll say my current solution. After many different ideas and trying with almost every variation of the Cirrus driver, I was able to use the download Windows support drivers and everything worked like a charm, so in the end, it was the only option to get a proper bootcamp installation.

Step 1: Download the most recent Cirrus Logic drivers from the Cirrus Logic page. The CS4207 driver is actually more appropriately named "CS42**" driver.

--> go to this page: Here

--> click the "Resources" tab

--> in the "Resources" tab, under the "Tools & Software" heading, select the appropriate driver ZIP file for your particular configuration. Since I am operating in Windows 7 64 bit, I chose the "CS4207 Windows Vista (32/64-bit) and Windows 7 (32/64-bit) Driver, 8/2010, v6.6001.1.26 : 100 KB"

--> download the file to your desktop

--> create a folder on your desktop called CS4207 Drivers (the name doesn't actually matter)

--> move the downloaded ZIP file to this new folder

--> expand the ZIP file within this new folder

Step 2. Go to Control Panel, Device Manager.

Step 3. In Device Manager, open up the "Sound, vide and game controllers" sub menu.

Step 4. If you're like me, you had 4 NVIDIA High Definition Audio entries, and one Cirrus or Intel entry. Click on the Cirrus or Intel entry for the Sound controller. Uninstall the driver and, if it gives you the option to delete the driver files used, do so.

Step 5: Go back to Device Manager, and select "Scan for hardware changes" from the right click dropdown menu.

Step 6. Let your system automatically install whatever driver it wants.

Step 7. Select that new driver entry in Device Manager; right click the entry to update the driver; choose the Browse option, then the Let Me Pick option; and then select the new folder on your desktop as the driver location.


Safari bookmark to activate an Automator action I'm trying to make a HTML page that I can save as a bookmark in Safari or Google Chrome that runs an Automator workflow, action or application, or possibly an Applescript.

It's only for my personal computer and I want to use the simplest possible approach to accomplishing this.

A file:// link (with the path to your desired program) can point to a workflow, application, or AppleScript on your local drive. Clicking the link will not run the application (this lack of functionality is generally considered to be a desirable security feature), but it will open a Finder window and select the file in question, so pressing ⌘O or ⌘↓ will run the desired program.


Can I use Titan XP on MacBook? Is the Nvidia's Titan XP compatible with Apple's MacBook (mid-2017)? I have never used external GPU but it seems to be that you can use it on MacBook Pro.

However, MacBook doesn't have Thunderbolt.

Is it possible to use Titan XP on MacBook, with a connector like Thunderbolt to USB 3.1? Is the performance drained via the connector and not a good solution in general?

The use cases are deep neural net and I don't use gaming, for your information.

No you really need a Thunderbolt connection.

It wasn't until Thunderbolt 3 that the bandwidth of the protocol fully caught up with the idea. Realizing this, the group responsible for the spec created implementations with the possibility of some configurations being able to pass the video signal back to the computer it was boosting.

Using a External GPU with older Thunderbolt connections will not fully utilise the performance increase of an External GPU.


Why does "what's my IP" show a strange / random IP and not my home fibre IP? When I try ifconfig.co or whatismyip.com on my MacOS 10.4 I get a completely unknown IP address and it even changes every day or two.

Tried from Safari, Brave, Firefox and even did curl ifconfig.co from the terminal and all show the same IP, currently somewhere in the US (and I'm nowhere near the US) but as I said it changes occasionally to other IPs.

I don't have any proxies set (checked both in Network settings, and in Firefox), the default route shown by netstat -rn points to my home router, but still somehow my traffic gets routed through these weird IP addresses.

I'm not aware of any VPN running either.

What's causing it? What should I check?

Usually in a typical home setup, you'll have "internal" IP-addresses on your home network. Technically known as RFC1918-addresses, they look like this:

10.0.0.0 - 10.255.255.255
  172.16.0.0 - 172.31.255.255
  192.168.0.0 - 192.168.255.255

These addresses are only used on your local network in your house, or possible also in a smaller part of your provider's network.

Your internet provider uses various forms for address translation to convert these to globally routable (i.e. useable on the Internet) addresses. Therefore the address others on the Internet perceive as yours is not the same as you see configured on your local computer.

Regarding the country information there's two major sources of errors there:

Firstly, the actual determination of which country an IP address "represents" is not accurate, but based on various information published by providers for other reasons. Therefore it might be you're in for example France, but your IP-address is listed as Belgian, because the internet provider you have has their headquarters in Belgium and uses that postal address for their IP-registration.

Secondly, your traffic might leave your provider's network at different locations depending on destination, time of day, how much capacity is currently used by others, etc. Therefore if you look at traceroutes, it might look as if your traffic "appears" to originate in the US or in Japan, or other places even when you're nowhere near those places.


installing node via homebrew vs package I i initially installed node via the package download at https://nodejs.org/en/.a
This has served me well as I have built numerous projects. However recently I have been reading a tutorial that instructs me to install node via "brew install node"

Do I really need to? Is this considered a separate installation of node? does it serve a different purpose than the one I installed via a package?

For just running javascript you are just using node and npm etc. It does not matter how you installed them.

They would be separate installs of node and which one you get depends on your PATH environment variable.

The tutorial justs gives Homebrew as a different installation probably because the user manages other packages (e.g. git) by Homebrew and it is easier to use one package manager rather than go for a separate different install for each package.


SD Card missing after sleeping during write? I have a flush-mounted 128GB SD card for my Macbook Pro. Had it for a year, never any problems or issues.

Today, while trying to free up some space on my main drive, I was moving a large directory -- 11GB -- onto the SD card, when I had to leave my office.

So, I closed my laptop, thinking the copy operation would just resume when I opened it back up and the machine woke up from sleep...

...But now it says that the SD card was "not ejected properly" (I never ejected it).  And now I can't get it to be recognized, and thus I can't access my data on what I rely on as an extra hard drive.

I tried remounting via the Automator script in this post, but I see no effect.  I then tried pulling the card out & putting it back in, but to no avail. Tried running Disk Utility, but it just sat there "spinning" and was basically frozen & unresponsive for 5 minutes.

Help?

The answer was to simply reboot.  After rebooting, the drive auto-mounted, and all data appeared intact.


Is there a way to disable OS X auto termination of applications? Is there a way to tell OS X Lion to disable auto-termination for a given application that you do not want to auto terminate?

FYI Lion is a quitter if you did not already know, what if you don't want it to be for a certain Applicaiton.

  Lion will quit your running applications behind your back if it decides it needs the resources, and if you don’t appear to be using them. The heuristic for determining whether an application is “in use” is very conservative: it must not be the active application, it must have no visible, non-minimized windows — and, of course, it must explicitly support Automatic Termination.

For example, say I don't want TextEdit to automatically quit when I have no TextEdit windows open and switch to another Application.

After taking a look at Mac App Programming Guide section for Automatic Termination I figured I would try adding the NSSupportsAutomaticTermination key with the value of No to the Info.plist file for TextEdit. (Did not work: TextEdit crashes on open.)

To be noted, the file did not include NSSupportsAutomaticTermination key (which means that Apple was using NSProcessInfo to enable auto termination), so adding a key would probably have no effect anyways since NSProcessInfo overrides what is in the plist file. (Verified this does not work, by self-signing TextEdit with a modified Info.plist including the NSSupportsAutomaticTermination key and value of No).

One side effect noted is that changing anything in the Info.plist file causes TextEdit to crash when opening. The cause is noted from the crash log as "code signature invalid", which means that the TextEdit app and all its contents are code signed. The workaround is to self-sign the app using the codesign command and a self-signed root certificate as noted in Code Signing task.

After what I have tried so far, TextEdit still obeys Automatic Termination.

Your wish is my Terminal command ;-)

defaults write -g NSDisableAutomaticTermination -bool yes

Note that since Automatic Termination doesn't really quit the applications, but rather hides them, they must have been properly quit for this to take effect.


Stopping Dovecot using launchctl I have Dovecot running as a daemon via a launchd plist. It runs fine but doesn't stop if I run launchctl stop nor if I unload the plist so I end up using doveadm stop. Is there a key or command I add to the plist to tell it how to stop a service? I've checked the man pages for launchd.plist and launchctl but can't find anything like it.

This is the relevant part of the plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>Label</key>
    <string>local.dovecot</string>
<!--
    <key>KeepAlive</key>
    <false/>
 -->
    <key>RunAtLoad</key>
    <true/>
    <key>ProgramArguments</key>
    <array>
      <string>/opt/pkg/sbin/dovecot</string>
<!--       <string>-F</string> -->
    </array>
    <key>StandardErrorPath</key>
    <string>/Library/Logs/Dovecot/stdout.log</string>
    <key>StandardOutPath</key>
    <string>/Library/Logs/Dovecot/stderr.log</string>
  </dict>
</plist>

There's no KeepAlive or anything like that, it's a very simple plist.

Any help with this will be much appreciated.

The trouble goes away if I uncomment the -F switch (which I commented while I was trying to get some other part of the set up to work). The -F switch runs Dovecot in the foreground and does not daemonize.

From this answer on SuperUser:

  Launchd expects the programs it launches not to daemonize themselves; if they do, launchd detects it as the program exiting, and cleans up all subprocesses (i.e. kills the now-daemonized program).

In this case it didn't kill the program (as I wouldn't expected if the switch was the wrong one), it just relinquished control so it wouldn't/couldn't shut it down.

Note to self, try the obvious thing, your assumptions may be wrong.


How to run commands to turn off preview in Mail I try to turn off automatic preview in Mail by following the advice in Turn off automatic preview in apple mail. But I don't know where to enter defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes.

What do I need to do to make this work?

Open the Terminal app located in /Applications/Utilities and type (or paste) that command, then hit enter.


How much space does iPod Touch video take? I'm thinking about getting a mounting bracket so I can record more video with my iPod Touch (4gen), but I wonder if I'll have enough space on it to hold very much.

How much space does recorded video take up on an iPod Touch, in gigabytes per hour (or whatever the appropriate units would be)?

The recording is HD (720p) up to 30 frames per second with audio - but since both the audio and video are compressed using lossy algorithms, you might sometimes get significantly storage depending on the source.

In practice the iPhone 4 uses 4.8 GB / hour with the same HD (720p) up to 30 frames per second - but the few recording I've seen from the iPod touch have data rates about half as high (which use about half the space). My iPhone usually records between 2 and 10 Mbit/s. The lower end is for static, mostly black images and if things are moving or detailed, you get to the higher end of the range pretty easily.

You can make some test recordings and open them in QuickTime Player where the inspector window will show you the details for the video you are shooting. A little pen and paper or a spreadsheet will convince you of how much time you can expect to capture before your device runs out of space.


iCloud email bounce message: "user is overquota" Whenever I email a particular iCloud email address, I get a bounce message in return.

Sending to the @iCloud.com address from Gmail:

Delivery incomplete
Mail Delivery Subsystem <mailer-daemon@googlemail.com>
There was a temporary problem delivering your message to example@icloud.com. Gmail will retry for 44 more hours. You'll be notified if the delivery fails permanently.
The response from the remote server was:
450 4.2.2 <example@icloud.com>: user is overquota

What does user is overquota mean in reference to Apple's email software?
How can this iCloud email address receive future email messages?

What does user is over quota mean in reference to Apple's email software?

The user's storage, including the mailbox, is full.

Each iCloud account is allocated a certain amount of space, much like a drive on your computer.  Once that space is filled up, there's no more room to accept any more, including email.

The solution to this is for the user to "clean up" their mailbox and/or files they've stored on their account.  Most of the time, this is caused by someone never deleting email.  It can be remedied by deleting old obsolete mail.

Unfortunately, you as the sender can't do anything, but contact the recipient by other means (phone call, text message, etc.) and let them know of the issue.


How do I regain access to Font Book? It opens, hangs, then requires Force Quit I just purchased a new MacBook Pro and migrated everything over from the old one. I had imagined that it was the old one that was preventing me from being able use Font Book (Font Book.app); it’s not that.

When I attempt to open it on the new machine, looks like it is going to work for about five seconds, then becomes completely non–responsive, including the spinning wait cursor, until I use Force Quit.

So far I have tried deleting

~/Library/Preferences/com.apple.FontBook.plist,
~/Library/Preferences/Saved Application State/com.apple.FontBook.savedState, and
~/Library/Fonts,

and then rebooting, but to no avail.

Make a backup of /Users/YOUR_USERNAME/Library/FontCollections, and then delete that folder. Most likely, it's a corrupt font collection. Then, recreate the folder, and add each one back if you really want to investigate.

Otherwise, just delete the collections and start over.


Does the iPod Touch calendar support every other day scheduling? Does the iPod Touch calendar support every other day scheduling?

You can set that up, but not on the device. There's no interface to more complex recursion rules in the iOS calendar app.

If you're synching with iCal on a mac, you add the event to iCal and go into the "custom" recurrence settings, and it's easy to have it repeat every two days.

Sync your device and bob's your uncle.


Will one get in trouble for taking a jailbroken device through airport security? My brother is worried that he may get in trouble if the people checking bags at security can see his jailbroken device when he enters the US.

Are there any documented cases or specific experiences with this where people got into trouble due to a jailbreak modification?

From me, a US citizen, I wouldn't worry about it at all.

They shouldn't even touch his iPhone/iPod, let alone turn it on. Also, I can't imagine how he could get in trouble over something that is legal in the US (jailbreaking).

From my experience flying, electronics are just sent through an xray machine. Any search of electronics would make people upset on grounds of the 4th amendment.


How to get to .ssh path on macOS? I have tried the following steps from How to access my .ssh folder for Transmit or Cyberduck?:

  In the find file window, press Command-Shift-G. It'll ask you what folder to navigate to. Enter "~/.ssh" and press return.

… but I did not get any reply. The screen remains the same. What am I doing wrong?

You might need to create the folder first. For this, open Terminal and run

mkdir ~/.ssh; chmod 700 ~/.ssh

Also, when entering ~/.ssh in the dialog shown after pressing Shift-Cmd-G it's important to enter the string without the "":


MacBook's battery "Not Charging"? My original battery died. I purchased a replacement battery. While this battery DOES hold charge, when it is on the charger, MacBook still states "Not Charging."

I've tried the SMC Reset, taking out the battery, even reinstalling OS! (I wanted to clean install Lion.)

The new battery is an Apple battery.

Why is it doing this?? Also, when I boot into Windows, there's no problem like that. (I need Windows for work. =( )

Here are the screenshots.

Edit: Forgot to mention - there's no light when I put MacBook on charger. I've tried other chargers. I've tried charging other MacBook. It's not the adapter.

Since you've already removed the battery and reset the SMC as mentioned in this Apple Support KB, your best bet is probably to bring in your MacBook to an Apple store to get checked out by one of the Genius techs. This is especially true since you've already replaced the battery with a new Apple battery.


How to block an application (facebook, messages) in Self Control I figured out how to do a while ago, but simply can't remember- how do I block computer applications such as twitter, facebook, and messages in self control?

You cannot block apps, as hinted in a github issue on their repository, only websites.

Onefocus is a similar app that seems to be able to do it. I have never tried it nor have any affiliation with it, so I cannot attest to its quality.


I overwrote OSX with Linux by accident So here is what happened. I installed Ubuntu onto a flashdrive hoping to be able to dual boot Linux/OSX. I burned Ubuntu onto the flash drive on my desktop PC (windows 8.1) with universal USB installer, I believe. I plugged it into my Mac OSX, rebooted, held the option key, and booted from the flash drive (it recognized it as "windows" by the way).

It then started to install and I must have somehow clicked install onto the hard drive because now both my hard drive and my flash drive are Ubuntu (both recognized as "windows" in the boot screen) and I really need to get my Mac OSX back.

I get this screen every time I boot from the hard drive then get stuck at a blank (looks terminal-ish) screen which doesn't load.

I can boot from the flash drive and get this.

It at least boots into Ubuntu.

I'm really not experienced with Ubuntu and I really don't want to have to keep Linux, so please if anyone can help me I would appreciate it.

p.s like I said earlier I have a windows 8.1 PC, so I can use that to help fix it if necessary I just really need my OSX back.

If you need any more information I'll gladly give it. Here is what it looks like with my flashdrive plugged in when I choose where to boot from.

Reference

Need help with linux/restoring to osx!

It sounds like you don't have a backup of your original OS X setup, and since you also likely don't have the Recovery partition, you can reinstall in the following way from scratch (assuming you have a relatively recent machine):

See How to use macOS Recovery for reference - but the relevant steps are below:

macOS / OS X Internet Recovery

Restart your Mac, and hold down Command + R at startup until the Apple logo appears.

After your computer finishes starting up, you should see a desktop with an OS X menu bar and an OS X Utilities window with the options listed above. If you see a login window or your own desktop instead of the Utilities window, it's possible that you didn't press Command-R early enough. Restart your computer and try again.

Choose the option you want to use from the Utilities window or the Utilities menu.

In order to reinstall OS X, you need to be connected to the Internet using Ethernet or Wi-Fi. If you're using a wireless Internet connection, click the Wi-Fi menu in the upper-right corner of the screen to select a nearby Wi-Fi network. Choose your preferred network name and enter a username and password to join the network if needed.


Play feedback when volume is changed via touch bar There is an audible 'pop' when I change volume using the slider in System Preferences. I can also hear it when volume is being unmuted using the soft button on touch bar.

I do not hear any feedback when volume is changed via touch bar.

I have tried tapping touch bar volume button and then dragging the slider, tapping volume icons around the slider, pressing and holding volume button without releasing touch bar; none of them provide any audible feedback.

This is true for both built-in speakers and 3.5mm output.

Is there a way of enabling feedback sound when volume is changed via touch bar?

Start by going to System Preferences > Sound > Sound Effects.

Under the list of sound effects you should see two checkboxes, one labelled Play feedback when volume is changed. Check that box, and you should hear a feedback sound as the volume is changed.

Any time you touch the volume up/down button or release on the slider you will hear the feedback sound.

This sound will be different from the one in System Preferences, sounding more like a 'tick'


iTunes 11 does not sync apps updated OTA With earlier versions of iTunes, if I updated an app OTA, the next time I synced my phone, iTunes would download the new version to my local library. However, this does not happen anymore. I have to manually check for newer versions of apps in iTunes and then download them again. Is this by design, or am I missing something? I am on Windows 7, 64-bit.

if you don't want to download again, next time you plug in the phone:
in itunes right click on phone and tell it to transfer purhases.

i do this pretty regularly since i have multiple devices and don't need to download each app 4 times.  download on phone / transfer purchases to itunes / sync to others.


How to mirror one folder to another using rsync 3.x? I have compiled rsync 3.0.9 just because the one included in Mavericks is so old.

Anyway, I am trying to mirror a folder in my main HDD in another HDD. I don't think it matters but both are connected via SATA and both are formatted as HFS (case-insentive and journaled).

I ran:

rsync -ahv --delete --exclude="my-exclude-file.txt" --iconv=utf-8-mac,utf-8 --progress /sources/ /destination/

and it doesn't skip the m4a/mp3 files it has processed already!

Any ideas what I could be doing wrong? Thanks a lot :)

If you add the itemised "-i" or "--itemize-changes" option to your command rsync will tell you why it is transferring the files.

For each file you'll see a strings that looks like ">f..t......". The format of the string is "YXcstpoguax". Y is the direction of the transfer. X is the type of object being transferred (for example 'f'ile, 'd'irectory). The rest of the string documents the changes.

c for checksum
s for size
t for modification time
p for permissions
o for owner
g for group
u is currently reserved for future use
a for ACL permissions
x for extended attributes

So in my example above it transferred the file because the modification time was different.

This should help you identify why the files are still being transferred.


This script randomizes a MAC address--but I cannot renew DHCP afterwards #!/bin/bash
NEWMAC=`openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'`
ifconfig $1 ether $NEWMAC
ifconfig $1 down
ifconfig $1 up

I pass en0 or en1 as the sole argument to the script and run as sudo. When I do this, the MAC does change, however I cannot restore connectivity until I reboot and the new MAC is lost. Initially the interface displays no IP, but after a few minutes it displays an IP and claims to have DHCP information. However, I believe this is a cached data and not an actual renewal, as I cannot ping, load pages, or otherwise connect to the Internet.

I have appended this snippet with no improvement in results.

ipconfig set $1 BOOTP
ipconfig set $1 DHCP

If you're on MacOSX 10.5 or later, at the beginning of your script, call sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z. Another thing you could do to improve this is to call the script itself with sudo instead of calling sudo multiple times within.


Jailbroken iPhone stuck on Apple Logo after installing tweak Im having  trouble with the restarting  process  when a tweak doesn't work on my jailbroken iPhone 6s. So when I installed a tweak that made my phone stay stuck on the apple logo. So I did the whole start-home then hold the  volume up button to get back to my home screen ok. Now my phone is in safe mode for Cydia and the only way to get my tweaks back after I take out the bad tweak is by restarting my phone by just holding down the power bottom. Now when I do this my phone gets stuck again on the apple logo. Can soon one help me please

Usually, there are at least 5 ways to fix an iPhone stuck on Apple screen after jailbreak:

Force restart the iPhone;
Use the Volume Up, Home and Power buttons;
Update or restore iPhone in recovery mode;
Restore iPhone in DFU mode;
Use a third-party tool.


Can I put my Photos library on an external hard drive also used for Time Machine? So, I am new to Macs, and I have a MacBook Air.
I've got lots of phots to import into the Photos program, so I decided to stick them all on an external hard drive.

I have also used that hard drive for Time Machine backups.

Then I saw this warning on the Apple Support page: https://support.apple.com/en-gb/guide/photos/system-photo-library-overview-pht211de786/mac

  WARNING: If a Photos library is located on an external drive, don’t
  use Time Machine to store a backup on that external drive. The
  permissions for your Photos library may conflict with those for the
  Time Machine backup.

My external hard drive simply has a folder for the backups (backups.backupd) and folder called Pictures that contains my photo library.

I don't quite understand the warning. Can the two really not be on the same disk (I don't understand why) or is it saying that I can't use Time Machine to backup the photo library on that disk, which makes some sense...

How are the permissions in the Pictures folder affected by anything that Time Machine is doing? Isn't Time Machine only interested in the backups.backupd folder?

Sorry if this is a dumb question, but I can't seem to find an clear answer.

You can avoid this problem by making two partitions on one drive - one for Photos, the other for Time Machine.
The safest way to do this would be to temporarily move your Photos Library to another drive first, shrink the existing Time Machine prtition, then add a new partition for Photos & move back again.


How do you automatically separate Camera photos from Safari photos? I don't like how images downloaded from Safari and photos taken from Camera app are both dumped into the "Camera Roll" folder in Photos app. How do I configure my phone to automatically segregate the two types of images for better organization?

As answered before, you cannot do that from the Camera app or Safari. But a workaround could be to use another camera-app ie "Camera+" which costs 1 or 2$.

Download Camera+, choose Menu, choose Autosave, choose Lightbox (Camera+'s own cameraroll).
Then you save new pics to Lightbox - and you must export them from that of cos.


Can not send email after iOS 8.0.2 update After installing the iOS 8.0.2 update I am unable to send email. I can open amd receive but not respond. Here is the message I receive. Unable to deliver mail. An error occurred while divering this message. Can anyone advise me on how to correct this problem. I did not have problems until the update to 8.0.2 this afternoon.

Try to reset network settings.
If that does not work then try deleting your mail account from device, then add it back & restart device.


What is a good world time app for Mac OS? Is there something like http://www.worldtimebuddy.com/ or http://everytimezone.com/, but that could replace the default Mac OS time and sit in your menu bar?

I recommend iStat Menus. It integrates very nicely with the mac menu bar and the Date & Time widget is very customisable and can be made to look identical to the stock Apple menubar app. You have the option to add as many time zones as you like and they are all accessible by clicking the time in the menubar (see screenshot).

iStat Menus 2 used to be free if you can find that version kicking around (needs a kernel extension tweak to work with 10.8 ML); otherwise, version 3 is a (reasonably cheap) paid app.

It also comes with a wealth of other activity monitors that can be placed on the menu bar which integrate equally nicely: both visually and functionally.


Is there any way to upload screenshots directly to FTP or image hosting and give me the url? Is there any application for screenshots that could upload directly to FTP or any image hosting site and just give me the URL?

I come from the Windows world, where I got used to FastStone Capture, where you basically press print screen, click on FTP and it copies the URL into clipaboard so you can immediately paste it for example on IM.

Two of the best apps for this are CloudApp and Skitch.

Cloud app has an option to automatically upload screenshots (image courtesy of Softpedia). It is very drag and drop friendly and pastes the URL to your clipboard for convenience.

Skitch is a little more heavy on the screen snapping controls. It's like grab on steroids. You can quickly hide private information, point out items, and edit the snap before uploading.

The free version of both are well worth it. Both have paid upgrades that are low cost, but you don't need to pay to use either. I have also heard really good things about Droplr so you might check it out as well.

Both CloudApp and Skitch are available on the App Store. The two are better together - skitch is better for grabbing a great screen shot, and droplr for upload and sharing it.


How can i change my region/country but without putting a card to pay? How can i change my region/country but without putting a card to pay?

You can just create a new account in the new region via the app store and select payment option none.


Macbook Pro vs. PC - Validation for VA Chap 31 I am in college studying software development and working towards my college degree thanks to the United States of America Veterans Administration Vocational Rehabilitation program called Chapter 31.  My old original Macbook Pro is near dead and no longer upgradable on the software or hardware side. The VA has offered to purchase a PC laptop for me (Because my syllabi says computer required), but I do not want to go backwards. I have a lot invested in OS X software and Mac peripherals, not to mention I prefer to program in that environment. PC vs. Mac costs are so drastically different that I must validate my request for a new Macbook Pro. In my request to the VA, I stated the above and some other topics but they requested more validation. Can anyone recommend issues, reasons, etc. to help me validate this purchase by the VA for school?

I'm only guessing here, but would it be helpful if you told the program that you intend to study iOS (iPhone and iPad) development? Is there a class in iOS development offered at your school? You can only develop for iOS using Xcode on a Mac. That way you could make the case that you require a Mac and not a Windows PC to do your coursework.


How can I allow a non-root user to use ports below 1024? I am working with an application that utilizes a port below 1024 because it was originally intended to be run as root.  I would like to debug the app in an IDE which I open as myself (non-root user) but I do have sudo privileges.  I have reasons against remote debugging as well as opening the IDE under sudo.

So the only way for me to do this would be to allow a non-root user to use ports or a port below 1024.  Can that be done and how?

If you can't change your app to use a port above 1024 then the easiest way would be to take the port it is using and map it to a port above 1024.

You can do that using the firewall, ipfw is the tool for setting the firewall. You could also do it using 'nc' - sometimes known as ncat or netcat.

There is a question here that gives more details. The thread also mentions "AuthBind" which is an open source package to that allows just this - opening ports below 1024 without granting root privileges.


How to disable auto password filling (Keychain) while in private browsing mode in Safari? Keychain offers to auto complete forms including passwords even in private browsing mode. How can I disable this?

I'm using Safari 8.0.5 on Yosemite 10.10.3.

Edit: The use case here is when other people need to borrow my computer. I'll open a private browsing window for them. I don't want my credentials auto-filling when they visit site.

There is no way currently offered by Apple to disable auto-fill based on the browsing mode. However, you could try to switch auto-fill on/off based browsing mode by making a trigger-effect script or macro with AppleScript or an application like Keyboard Maestro.


Setting up a Wi-Fi hotspot on iOS13 I am trying to set up a wifi hotspot using my iPhone XR running iOS 13, which I wish to connect to using my Windows 7 Pro laptop. On the iPhone I go to Settings | Personal Hotspot and switch on, and I have set the name and password of the network. Then on the laptop I can see the name of the network, and I can connect to it.

The problem is that it's showing on the laptop as unconnected to the internet even when the iPhone is definitely connected to the internet because I can browse the web with it. What settings do I need to change?

There may be a couple of reasons for it.

First option, try applying these tweaks:

Disable or turn off Personal Hotspot.
Sign out from iCloud.
Restart your other device.
Sign in to iCloud again.
Then re-enable Personal Hotspot.

After refreshing and enabling Personal Hotspot on both your iPhone  and other device, retry connecting through Wi-Fi.

Second option, toggle Airplane Mode on and off.

This is another simple old trick you can try to get rid of minor errors affecting the phone’s wireless radios including Cellular Data and Personal Hotspot. It works by giving a quick restart to the Wi-Fi features on the phone. Here’s how it’s done:

Tap Settings from the Home screen.
Select Airplane Mode.
Toggle the Airplane Mode switch to turn the feature ON. This will disable wireless radios on the phone.
While Airplane mode is enabled, turn your iPhone off and then back on again.
After it boots up, go back to Settings-> Airplane Mode menu.
Then toggle the switch to disable Airplane Mode again. Wireless radios on the phone are then re-enabled.

After performing the Airplane mode, go to your iPhone Settings->Mobile Data menu, then make sure that Mobile Data is enabled. If necessary, toggle the switch to enable the feature.

Third option, Reset network settings on your iPhone

This will erase your Wi-Fi networks and other network-related settings and server settings on the phone. Network errors and Internet problems that are tied to incorrect network configurations are likewise cleared out in the process. Here’s how it’s done:

From the Home screen, tap on Settings.
Tap General.
Scroll down to and tap Reset.
Select the option to Reset network settings.
If prompted, enter your device passcode.
Then tap the option to confirm network settings reset.

Your iPhone will reboot automatically when the reset is finished. As soon as it boots up, set up and reconnect to your Wi-Fi network or enable Mobile Data and Personal Hotspot to retry using and sharing your Internet connection with your other devices


Can I submit an app without iPad version to App Store? I finished an app a while ago but this app's layout only works well in iPhone and I didn't plan to let it available for iPad, I just want it to work on iPhone devices.

Is it possible to submit to App Store and iPhone app that won't be available for iPad?

At iTunes Connect -> My Apps -> (App Name) -> App Store -> iOS APP -> Prepare for submission I didn't see anything like permitted devices.

No, you can't prevent an iPhone app from being installed on an iPad.  You can prevent an iPad app from being downloaded to an unjailbroken iPhone.  As mentioned in the comments, an iPhone app can run on an iPad in 'compatability mode'.

Your app should still look ok on an iPad unless your setting up autolayout constraints based on specific iPhone screen sizes.  One of the benefits of autolayout is that your app should be able to run on different screen sizes, including iPads.

You would need to indicate in the App Store description that this app is not designed to run properly on the iPad. I would recommend spending the time to make it look decent on the iPad knowing that people will still download it on their iPads regardless of what you state in the description.


How can I keep a clone of a folder? I have a folder with Docs in on a Time Capsule, I would also like this same folder to be in Documents on Mac.

I want both to update whenever a file is changed or added.

Do you know of an automate command or a piece of software that will do this without me having to initiate it manually.

I Just found SynkPro with a google. Not used it but it says it can "sync your home and work computers—even if they're not connected—by syncing them both with an external hard drive serving as a "shuttle" for your data."


Why my Battery status color in the menubar is Red while it is charged more than 20%? I left my MacBook Pro 13-inch, Early 2011 running OS X 10.11.6 for half an hour while was charged more than 50%, and when I came back, I saw the Battery status color in the menubar is red while it was at 51%.

My laptop warned me 2 years ago about "Service Battery" but this color misbehavior has not happened before.

Why is the status icon in red color while it is not under 20%?

Contents of the Battery status:

This malfunction is most likely the case due to the fact that the battery is no longer functioning properly, it can no longer hold a full charge nor charge properly. This means that its possible shows in red because it is at half of whatever the reduced battery life is (that could be anywhere from 50%, or even 70% cut down from the original battery life).

I highly recommend you go to an Apple tech support employee at one of Apple's stores. You will have to wait a bit for help, but I have a strong feeling that they will tell you the computer needs a new battery.


Is it possible to create formatted email on the iphone 4s? I'd like my email from my phone to look like the email from my MS Outlook. The email from my phone looks like ASCII, and there is no way to create a signature with a logo as far as I know. Any suggestions?

iOS 5 brought some limited rich-text formatting options to Mail. When you're composing an email, select the text you want to format, and tap the right arrow. You'll see a button labelled "BIU", tap that and you get options to bold, italicize or underline the text. You can also control the indentation level.

(Image from Macworld)

As you can see, it's fairly limited, and to my knowledge there's no way to insert a signature with any images. You could keep the logo you want in your iPhone's Pictures and copy/paste it as necessary, but that's obviously very labour intensive.

Your could look into alternative mail apps. There aren't a lot to choose from, but something like MarkdownMail might work well for you. It's just meant for composing HTML formatted emails, you'd still use the built-in Mail app for checking, etc.


Where has my Safari gone? I have somehow managed to delete Safari from my iPhone and I can't get it back.  It's obviously still on my phone, because when I search for it, I can find, and use it.  Is there a remedy for this? Is it just a case of downloading the latest version of software?

It sounds like somehow the database that stores all the icon positions got in a jam and needs to be flushed.

You will lose all organization (but no actual data) if you choose to reset the home screen layout. This allows the springboard process to re-establish one icon for each app installed.

Settings > General > Reset > Reset Home Screen Layout

Check out this answer - its for another app icon, but the scenario is really the same.

https://apple.stackexchange.com/a/46108/9495


How can I set a shortcut to close the window of TotalTerminal TotalTerminal is great. But, if it is not the active application, in order to close its window, I have to enter again the application.

Is it possible to set a shortcut to close the window of TotalTerminal, even if it is not the active application?

To close it, presently, I have to make it active and then press escape. But, if possible, I would like to have also a shortcut for command+W.

I think my answer to your other question largely applies here too, but to specifically answer this:

If you tick the checkbox in the TotalTerminal preferences to show icon in Status Menu,  it should allow you to ⌘-w and reactivate without having to relaunch. You might also be running into issues with it seemingly not reactivating due to conflicting shortcuts in various applications, in which case I recommend trying a modifier-only "hotkey". ⌥ + ⌥ seems to work well.


Is there a way to have different songs on your iPod Touch with different fonts for each one of them? I was trying to add fonts to my iPod touch 4G to use it for the music app and notes app through Bytafont app (yes, my iPod is jailbroken).

I want to get these   on some Led Zeppelin songs

There's an existing font which includes those symbols (Led Zeppelin 2, I guess).

Can I add the font and use it only for some songs? Is there a cydia tweak for that? Or should start developing one?

No, there isn't such a tweak which allows to add them just to some songs. Only for the whole app.


How to reorder highlights in Preview according to page numbers? I read a book, while reading it, I highlighted some parts of the text. Now, in the side bar, when I choose the highlights and notes option, I see the highlights shown in random order, i.e the highlights are not in the same order as the pages. I would like all highlights in page x to come before page y, if x < y. How to do this?

It's been like that since El Capitan. Your best bet for now is testing out other PDF viewers.
The good news is that it supposedly is fixed in Big Sur: https://www.reddit.com/r/MacOSBeta/comments/jjhrfz/is_the_issue_of_preview_showing_highlights_and/


Chrome and Firefox not remembering session I just switched to the Mac, and I installed Firefox and Chrome. For some reason, I can't get the functionality for opening the tabs and windows from the last session to work either browser.

Mac OS X 10.6.6
Firefox 3.6.13
Chrome 8.0.552.237

I have tried making different profiles and reinstalling the browsers but nothing works.

I have looked everywhere and can't come up with a solution. Any help is appreciated.

EDIT: Safari's "Reopen All Windows from Last Session"  also doesn't restore last session windows.

EDIT 2: I just noticed that quitting the browser (versus closing it by clicking the x button) and restarting it does resume the last session in every browser.

Seeing your comment, this is because when you click the X on a Mac app, you are only closing the window, not the Application itself (like it does in Windows). Therefore you were still in a 'current' session, and that session had no windows.


How to setup mail when using iCloud plus 2 external mail accounts I believe that as a user of 2 iMacs , 1 iphones and one iPad the best is to use my xx@me.com  account on iCloud as main account and alias my other external accounts to xx@me.com
The 2 external accounts are pol@myname.lu     and po1@myname.eu

Can anybody confirm this approach or tell me what's better?!
Thanks all!
Pol

What I do is forward my other mail accounts to my @me.com address.


Steganographic key ring I am using a key ring app on my iPhone and would like to see an improved or alternative version that makes additional use of security through obscurity in general, and steganography in particular.

What should happen is that the app allows me to select an image (or video segment, say) locally or in a Cloud (on flickr, say), and would then store my account information in there using steganographic techniques. The actual image would not be remembered by the app and would thus be obscure to any brute force attacker. This should work well, because its quite natural for many images, etc., to be stored and accessed on mobile devices. The app should still encrypt the key ring, and it should be careful about not creating a suspicious signal when placing encrypted content in the carrier medium.

Call it a steganographic key ring (or key chain; similar to a steganographic file system) then. My question is: Does such an app (already) exist?

A quick search reveals a range of steganography software and solutions for Mac.

The following all appear on the first page of results:

iSteg
SilentEye
Stegosec

As @patrix mentions, security through obscurity provides little security. Be sure to encrypt files and information being embedded in images first.

Tools exist for mass checking images for embedded information and alterations. Search for an image potentially containing embedded information is a task well suited to those with plenty of computer power.


Bracketed Paste Mode in Terminal.app? Does Terminal.app support "bracketed paste mode"?  This mode inserts an escape sequence when pasting so that (e.g.) editors can handle pasted text differently from typed text.

http://www.xfree86.org/current/ctlseqs.html#Bracketed%20Paste%20Mode

Yes, it absolutely does.  This is the result of pasting THING into vim open in my terminal:

The [200~  marks are the result of the paste mode.


iTunes attempts to mount SMB share using old SMB server name mac OS High Sierra 10.13.6 (17G65) and iTunes 12.8.0.150

I have a bunch of MP3 files on my SMB share (a Linux home server). The SMB server used to be named "sega-SMB" and I renamed it to just "sega".

The problem with iTunes is that if I don't connect to the "sega" SMB server and mount the share (its name never changed) in Finder before attempting to start playing any song that is on this "sega" SMB server, iTunes attempts to connect to the old "sega-SMB" name. It errors out saying that it can't connect to the server. It is not lying. The "sega-SMB" server is not on the network anymore. There's only "sega" now.

So, iTunes somehow cached the old SMB server name. If I first connect to the SMB server and mount the share via Finder and then try to play a song in iTunes, it has no problem figuring out the path to an MP3 file.

Basically, if I just logged in and started iTunes and want to play music it attempts to connect to my SMB server using old name that is no longer valid. If I connect via Finder and mount the share, iTunes has no problem playing the music.

I was wondering if there's a way to delete this cached record somehow, somewhere. I've been searching for a solution on Google but haven't been able to find anything yet.

I tried clearing all recent connections in "Connect to Server" dialog. I also tried deleting obsolete keychain entries. None of that helped.

iTunes is bloated and willful (my opinion), but here's a counter-point to that. I'm posting this as an "answer" in the fervent hope that someone will downvote it, tell me how stupid I am, and reveal (at long last) the "true" answer to the question, "Why does iTunes persist in looking for my media in the wrong place?". That said, here's all that can be done:

Start iTunes, select iTunes, Preferences..., then the Advanced tab.
Click the Change button, and in the dialog navigate to the location of your media.
Note that there are other options in the Advanced tab that will give iTunes greater autonomy over your file system than it already has. I've found them to be recipes for chaos, disaster and confusion, so I don't check them see this screenshot.

Finally, prepare to repeat this process frequently as long as you use iTunes. Frankly, the only reason I still use it at all is to a) store music on my phone, b) provide my playlists to Sonos. Again - hoping someone will strike me down, and we'll both be illuminated for it :)