Check enable box whitout a mouse on an imac

Depending on which keyboard you have, the answer is different.

Standard Keyboard:

This assumes you have the standard, smaller keyboard shown here:

If this applies to you, then to click using Mouse Keys simply press I.

Extended Keyboard:

This assumes you have the extended, larger keyboard shown here:

If this applies to you, the to click using Mouse Keys simply press the 5 key on the keypad on the right.

Hope this helps!


Where does OS X store the list of processes?

The ps command enumerates the mach kernel process listing in a similar manner to how many linux (which don't use mach kernel) expose this as the /proc filesystem.

macOS and tvOS and iOS and watchOS all share the same underlying core OS:

Getting a list of currently running processes
iOS: Where is /proc/?
Getting list of pids and process names
Process list with name and VPRVT

If you want to see the source code - check out xnu section at https://opensource.apple.com/source/xnu/xnu-4570.41.2/


Sure - Time Capsule shares the internal drive and any external drives just as if they are being served on a PC file server using SMB share technology.

You're on your own to select whatever backup software you want that will work with a network shared drive, but there's nothing added to prevent this sort of use in addition to the normal file sharing.


How can I buy a new 8GB iPhone 3GS that still has iOS 4?

Firstly im not sure the phone needs to be jailbroken and if a contract is up the carrier is required to give instructions on how to unlock.

The packaging is not different.

Not all 3GS models are bundled with iOS5. I would look at some websites that do not sell a lot of these phones, ask shops how long they have had the particular model in stock, if the had them for over 2 months then you're in luck.

You could also look to buy a second hand model, which hasn't had an update.

Can I ask why you do not want iOS5?


What tools and concepts are good for someone thinking about using HFS filesystem compression?

First you should figure out whether or not compression is worth it. This depends largely on the type of content you're storing. If the content is not compressible (JPEG images, most video formats, ZIP archives, etc.), there's little benefit and the added overhead of decompression may even cause a (minor) slowdown in file access.

HFS+ compression is most likely the wrong tool, for several reasons. First, compression isn't transparent, only decompression is. That is, if a file is stored compressed, it will be transparently decompressed when being read, but a newly created file will not be compressed by default.

Worse, when you overwrite or append to a compressed file, it will once again be stored without HFS+ compression. Therefore, if you wanted to use HFS+ compression with user data, you would need to copy the entire volume first (using ditto or afsctool), file by file. On 60 TB this might take rather a long time. Furthermore you would regularly have to run a process that determines which files were added/modified recently (or aren't compressed) and (re)compresses those.

As the ditto man page states, HFS+ compression "is only intended to be used in installation and backup scenarios that involve system files". It's great for your /Applications folder, but not very suitable for your filer. Only if you're really desperate for capacity and have a lot of files that never get written to I would even consider it. Key being desperate :)

I'm not aware of any transparent file system level compression packages for OS X. ZFS supports transparent file system compression, but switching your filers OS and FS may not be an option (since sadly there's no complete ZFS implementation for Mac OS X).


Use AirPort as Time Machine whilst using internet

You could connect your AirPort Time Capsule via Ethernet and turn off the box’s Wifi altogether. This way, it will become part of your existing (wireless?) network and you can back up and access the Internet at the same time.

Any Airport device can be set up in “bridge mode” and they will join a network like any other computer as opposed to making their own network and requiring correct routing setup.


Application to automatically find related documents on your entire Mac?

This will be extraordinarily difficult to do at run-time, and with any document.  The few solutions that have implemented this technology (remembrance agent http://www.remem.org/ and Dashboard http://nat.org/dashboard/ are probably the most notable and "successful") required specific search indexers for each type of application and up-front document analysis.  (Very much how you can't search in Spotlight while it is "updating".)

For example, if you typed the word "from", you would not necessarily want to see all of your email messages just because they all feature the word as part of their metadata.  However, if you typed "Art Taylor", you would expect to see email, chat, and other documents related to me.

The problem is of summarizing the semantic content from the structural content.  That's why DEVONthink requires you to import the documents.  It can summarize the documents and present results more or less in real time, because it has done the summarization up front.  Spotlight does some of this as well, but no great context aware knowledge and memory augmentation applications have popped up that offer universal document support.

If you google "knowledge augmentation", you will find a large number of articles and papers on the topic.  People are very interested in this and I think it is just a matter of time before someone attacks the problem with a commercial solution.  Gordon Bell had a tantalizing project called "MyLifeBits" http://research.microsoft.com/en-us/projects/mylifebits/ that was a little over the top, but IBM http://www-03.ibm.com/press/us/en/pressrelease/24750.wss is doing some research on associative recall.  Note the "Capture" and "Ingest" stages.  The scope of both of these is much beyond simple document relationships.

Years ago, I tried the DEVONthink "put it all in there" approach, and as you probably suspect, it was a disaster.

Best of luck.


How to automatically turn off external hard-drive connected to Time Capsule when idle?

Not possible. The Time Capsule does not supported that feature.


Salvaging a Flash Drive that won't mount and Disc Utility can't erase, restore or repair

If you don't feel comfortable using Terminal you could try SDFormatter from www.sdcard.org just select SD Formatter for Mac Download and agree to the terms, it is a free app. I have successfully formatted sd cards that wouldn't mount.


Is there a terminal command to open applications in a specific Desktop?

You can permanently assign an app to a Space by right-clicking the app in the dock > Options > Assign to... This Desktop.

A faster way to move it to any given Space is to grab the window's title bar, then use your regular shortcut to switch to the desired Space. By default that would be  Ctrl ⌃   [number]
See System Prefs > Keyboard > Shortcuts > Mission Control if you've never set that up. [Note that it differentiates between the numbers above  qwerty & numbers on a 10-key pad & considers them different keys]


Recurring 'Broadcast Message' in terminal

Your system is running something called the Malloc Debugging and reporting a problem in your memory ? It is a program to detect memory bugs. Since it is stuck in a endless loop, the reported memory bug might not even exist.

It reports the same bug in your memory, over and over as seen here.

More info about Debugging memory-related bugs

https://developer.apple.com/library/archive/documentation/Performance/Conceptual/ManagingMemory/Articles/MallocDebug.html

To stop the program in Terminal try Use key combination in Terminal Ctrl + C. or, Ctrl + Z , or CTRL+ \

You can also try...

Simple test is to start in Safe mode, or even more simple is to create new user account and try it.


How do I ensure computer stays awake for Back to My Mac?

The obvious solution would be to set the Mac never to sleep in Energy Saver Preference Pane. If your home router is an Apple Product, you could enable the bonjour sleep proxy setting on your Mac that's labeled "Wake for Wi-Fi network access" and even a sleeping Mac will be woken when Airport detects the remote control packets coming in for your Mac.

Alternatively, you could use a free program called Caffeine to prevent sleep. Lastly, consider Edovia's free screens connect control panel to prevent your Mac from sleeping.

http://edovia.com/en/screens.html

Scroll to the bottom of the page and download their control panel installer. You would need to make an account with them and then run that control panel - choosing the "prevent your Mac from sleeping" option.

I switch back and forth between using their location service and Apple's and have never had the Edovia software conflict with Apple's or cause any issues.


MacBook Pro 2018: macOS reinstall to Mac without existing macOS, admin account & startup disk

Agree with X_841.  It sounds like you need to create a USB installer disk and reformat the hard drive or SSD from there.


Removed Spotlight, now there's a gap I can't get rid of

First, revert whatever you did to remove it. Then, run the following commands in Terminal.app:

$ sudo chmod 000 /System/Library/CoreServices/Search.bundle/
$ killall SystemUIServer

(The $ only represents the prompt and should not be typed.)

What I get:

To get Spotlight back, enter the following commands:

$ sudo chmod 755 /System/Library/CoreServices/Search.bundle/
$ killall SystemUIServer


How to disable 3D acceleration on the Mac Book Air?

One way of disabling your graphics is safe mode. I don't know if your xcode debug tool will run in safe mode but unless you know otherwise, I think it's worth a shot. good luck

OS X: What is Safe Boot, Safe Mode?

  Safe Mode in Mac OS X v10.5 or later also disables Quartz Extreme (hardware accelerated graphics). Applications that depend on Quartz Extreme do not open in Safe Mode, and the Mac OS X menu bar will appear solid even if "Translucent Menu Bar" is enabled in Desktop & Screen Saver preferences.


Change highlight colour in Sublime Text 2

Found the theme files in this directory:

~/Library/Application Support/Sublime Text 2/Packages/Color Scheme - Default/(name_of_theme)

You can see which theme you are using by going to (from within Sublime Text 2)

Sublime Text 2 menu>Preferences>Colour Scheme

and see which one is ticked.

Open the theme file and find the key that says:

<key>selection</key>

not one of the highlight keys.

Go to a site that shows hex colour codes (like this one http://html-color-codes.com/) and find the code for the colour you want. Then sub your new colour code into the line below the selection key in the theme file, replacing the old hex colour code.

Save the modified theme file and it should work straight away.


How well will a MacBook Air work in a hot dusty environment

I do not know about the dust (as a comment asked, it really depends on the amount and type of dust), but I would definitely not recommend using your MacBook Air as if it were heat resistant. Specific computers are assembled for warm (and damp) climates: if your MacBook Air, as I suppose, is not one of them, I would recommend that you do not take that risk unnecessarily, hoping for the best. Laptops can get damaged by lesser threats than prolonged exposure to heat, which is a serious one.


Let's split the problem into two parts: scaling and printing.

Scaling

You can scale a PDF on the command line. Consider creating a temporary, scaled, PDF to print.

See scaling PDF content and page dimensions from command line for suggested approaches to this. The highest voted answer suggests using cpdf with a command like:

cpdf -scale-page "1.1 1.1" in.pdf -o out.pdf

An alternative tool is sips. This tool is included with OS X and is surprisingly capable.

Printing

As you have discovered, OS X's printing system is the Common Unix Printing System (CUPS). CUPS includes the command line tool lpr which can accept all the settings and options you need.

For printing the PDF via the command line see:

Print PDF from Command Line – cups-pdf, lpr -P PDF
CUPS printing of pdf files

To list the available printers, use:

lpstat -p -d

To print a PDF file to the default printer, use:

lpr file.pdf


steps to get a Mac to report CPU and memory load via SNMP?

Typically, you can use laLoadInt to get processor load, and hrMemorySize and related MIBS to get memory metrics.  However, my experience is that on Mac OS (at least, on 10.8.5), snmpd was compiled without kmem, because apparently apple doesn't support the calls.  I am amazed that Apple would simply remove this feature, but it appears that they decided we could live without it.

Anyway, even on my 10.8.5 system, I can get 1, 5, and 15-minute processor load averages with the OID laLoadInt.<1 2 or 3>


Is there a way to get reminders on iPhone to persist until they're checked?

This is a problem os-wide in iOS, for other apps too, like calendars.  Once you have received your alarm notification, whether for a reminder, or a calendar alert etc, you're done.  There's no way to "snooze" or "remind me later" for these functions.

The only way to get this functionality at present, is to use a replacement app.  One such app is Due, the following blurb is copied from their website:

PERSISTENT REMINDERS
WITH AUTO SNOOZE

Overdue reminders stay in sight until you're ready to act on them.

And with auto snooze, your todo list never gets stale.

By default, DUE repeatedly notifies you of overdue reminders every minute* with its auto snoozing feature until you mark them complete, reschedule them, or turn off their auto snooze.

*Auto snooze interval can be changed to every minute, every hour, or none at all. There are no finer auto snooze intervals on iOS due to system limitation.


If you have ssh access to some server, you might use a script like this:

f=$(date +%Y%m%d%H%M%S).png
screencapture -i ~/Sites/upload/$f
printf %s http://example.com/$f|pbcopy
scp ~/Sites/upload/$f user@host:public_html

To make scp not require a password, run ssh-keygen, accept the defaults in every step, and then run ssh user@host 'mkdir -p ~/.ssh/;chmod 700 ~/.ssh/;cat>>~/.ssh/authorized_keys;chmod 600 ~/.ssh/authorized_keys'<~/.ssh/id_rsa.pub.


How to change the color scheme in KeyNote 6?

By looking at the images you’ve posted it seams that the second palette is obtained by opening a PowerPoint presentation via Keynote: the arrangement of the dark to light shades/tints is opposite and the shades of white-grey-black at the bottom of the palette are quite different.

I assume that you have to create a palette in PowerPoint (the so called Accent colours), save the presentation (it can contain a single blank slide) as .pptx. Then open it with Keynote and save it as .key file.

The original Accent colours (i.e. the last six colours that appear in the first raw of the colour palette in PowerPoint - for example when you want to change the fill colour of some shape) in the Keynote's scheme colours will be placed in the second raw. Now you have a brand new palette to work with. Just check the Master slides in the converted presentation (personally I don’t like the "conversion") and modify them (if necessary).


How do I restore a case-sensitive, journaled Time Machine backup to a case-insensitive, journaled filesystem?

The correct answer (after several days of experimentation) was to remove all ambiguously named files that would have a conflict. Then using another admin user, restore the original user using migration assistant. If you don't remove ambiguously named files, migration assistant will move what it can and then fail at some point giving no indication that it actually failed. You'll be without data and you won't know what.


How to disable results opening in new tab for Yahoo search

This not an Apple issue becuase it's a Yahoo preference setting

What you need to do is set your search preferences so that search results open in the current tab.

Once you set this, it will be active across all browsers in all platforms.


iPad 2 freezes constantly on the same wifi network an iPhone 6 works smoothly

If one device works fine on the network with a network-bound app and the other does not then it is not likely the fault of the network. And as you have replaced the WiFi router on your network and it still has problems you need to look at the iPad.

The first thing I would do is reset the iPad's network settings like this:

Settings > general > Reset > reset network settings

If that does not fix the issue I would back up the iPad to your Mac/PC via iTunes and go back to:

Settings > general > Reset > Erase All Content and Settings

And wipe the iPad. Once you do that restore it from the backup you just made and try again.


How to use and access web sharing with Mac OS X Lion?

Web Sharing opens port 80 (http) on your machine and points any incoming requests to ~/Sites. You'll want to put your PHP app there for it to work through Web Sharing. I'm not sure if there is any further configuration you have to do on the PHP/MySQL side since I don't know anything about either of those languages. That's probably a question for SuperUser.

As far as accessing it remotely, you'll need to open port 80 on your router and point it to your computer's internal IP address. Then you'll want to give your friend either your domain name or your current IP address from your ISP and have them type it in their web browser.


There is no way to make Siri stop seeing the Birthday calendar, even if you disable it in the Calendar app. You can always write feedback to Apple or file a bug report (free developer account required).


How do I identify which CPU a MacBook uses?

First off, you are not going to get the processor microarchitecture name (Broadwell, Sandy Lake, Ivy Bridge, etc.) because it's not a prominent branding scheme for the Intel processors.  Contrast that with Apple, the marketing department chooses to actively market the code names of their operatings systems (Mavericks, Yosemite, El Capitan).  It's a marketing convention, not a technical one.
For a list of all Intel Processors and their codenames, architectures and specs, Wikipedia's List of Intel Microprocessors has a good page.
So, to answer this question, I am going to provide three methods to find out what CPU you have, the first two, which should be good for most users, and a third method in which you can determine the microarchitecture number so you can look it up on Intel's support site.  You can "jump" to the section that applies to you.

About this Mac (general CPU info)
System Profiler (general CPU info)
Terminal (detailed CPU info)

About this Mac
Clicking on the Apple symbol at the top of your screen, select About this Mac

You will get a screen that gives you an overview of your system.  Your processor will be listed here.

System Profiler
Clicking on the button marked System Report... (green arrow) you get a complete profile of your system.  On the first page, it will give you more detailed info about your machine, including processor info

Terminal
I am a fan of Terminal in general.  Pretty much everything you see in the GUI in OS X can be accessed quicker and more accurately through the command line, IMHO.
To get the exact CPU model including the microarchitecture number, in Terminal, execute the following command:
sysctl -n machdep.cpu.brand_string

You will get the exact processor that you are using.  For instance, on my iMac, it the command above responds with:
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
You can then do a search for i7-3770 and pull up the code name and specs.
Just for reference, you can use the Terminal command:
system_profiler SPHardwareDataType

and get a result that looks just like the screen that I posted in the second section, System Profiler:
Hardware Overview:

  Model Name: iMac
  Model Identifier: iMac13,2
  Processor Name: Intel Core i7
  Processor Speed: 3.4 GHz
  Number of Processors: 1
  Total Number of Cores: 4
  L2 Cache (per Core): 256 KB
  L3 Cache: 8 MB
  Memory: 32 GB
  Boot ROM Version: IM131.010A.B09
  SMC Version (system): 2.11f14
  Serial Number (system): XXXXXXXXXXXXXXXXXXX
  Hardware UUID: XXXXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX

(Credit to dante12 below)
So, if you needed your CPU or more commonly, your Model Identifier, you can use the same command coupled with grep.
system_profiler SPHardwareDataType | grep Identifier

It responds back with
  Model Identifier: iMac13,2


Google discontinued its 32-bit version for OS X almost a year ago.  Additionally even if you could get a 32-bit version it is going to have lots of security issues. So why would you want to run it knowing it has lots of unresolved security issues!

From Install Chrome on your computer:

  Mac

  System requirements

  To use Google Chrome, your computer needs:

  Mac OS X 10.6 or later
  An Intel processor that's 64-bit
  350MB of free disk space
  512MB of RAM

Also have a look at the following two hyperlinks.  The first of which I added an image of in case the link goes dead in the future.

Google to Discontinue 32-bit Chrome for Mac Next Month
Chrome for OS X turns 64-bit, forsakes early Intel Macs


MacBook Pro: How to disable discrete GPU permanently from EFI?

You can permanently disable discrete graphics card following next steps:

UPDATE! Try to edit NVRAM variable from Single-User mode

The procedure described in the steps 1-3 worked for me until macOS Sierra, but with the upgrade to High Sierra, I started getting a pinkish/reddish screen and I was unable to enter Recovery mode to repeat step 3 as I had to do in previous upgrades. Searching in internet, I stepped into this GitHub issue explaining you may be able to replace steps 1 and 2 with the following command, that you can execute in Single-User mode (boot pressing cmd+s):

sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00

1. Prepare a Bootable USB pendrive with a non GUI Linux

1.1 Download ArchLinux ISO

You need a working computer for that and a spare CD/DVD/USB drive.
Download the latest Arch Linux ISO image.
Then you could either simply burn this ISO to CD/DVD (which later could be either inserted to MBP's SuperDrive or External DVD Drive connected to MBP by two USB cables) or create a bootable USB.

1.2 Creating the bootable USB with the .iso

First, you need to identify the USB device.
Open /Applications/Utilities/Terminal in MacOS and list all storage devices:

diskutil list

Your USB device will appear as something like /dev/disk2 (external, physical). Verify that this is the device you want to erase by checking its name and size and then use its identifier for the commands below instead of /dev/diskX.
A USB device is normally auto-mounted in macOS, and you have to unmount (not eject) it before block-writing to it with dd:

diskutil unmountDisk /dev/diskX
Now copy the ISO image file to the device. The dd command is similar to its Linux counterpart, but notice the 'r' before 'disk' for raw mode which makes the transfer much faster:

sudo dd if=path/to/arch.iso of=/dev/rdiskX bs=1m

After completion, macOS may complain that "The disk you inserted was not readable by this computer". Select 'Eject'. The USB device will be bootable.

2. Use Linux to change EFI vars

2.1 Boot to it

Insert this CD/DVD/USB to Macbook Pro, hold Option key (alt) while booting.
Choose "EFI boot" (that is your bootable installation media).
When the menu shows, press "e" key to edit the GRUB options of the Arch Linux archiso x86_64 UEFI CD menu entry while it is selected at the main screen, add nomodeset to the end of this line and press Enter.
If everything is done correctly, you will find yourself at the Linux console! (It takes some time so be patient and wait for the prompt)

2.2 Clear existing EFI vars

Looks like efivarfs filesystem is mounted by default! So you can already cd /sys/firmware/efi/efivars and ls to explore this directory and see if there is a gpu-power-prefs-... variable (where ... is UUID of this variable).

If there is such a variable, it's better to remove it with rm.

rm gpu-power-prefs-…
If you are getting the "operation not permitted" message while attempting to rm, it means that efivarfs has been mounted as read-only and you need to remount it with read-write permissions and try again:

cd /
umount /sys/firmware/efi/efivars/
mount -t efivarfs rw /sys/firmware/efi/efivars/
cd /sys/firmware/efi/efivars/
rm gpu-power-prefs-…
If this also fails (you still can’t erase the file), use chattr command to disable file immutability and then erase the file:

chattr -i "gpu-power-prefs-…”
rm gpu-power-prefs-…

2.3 Create a new gpu-power-prefs-… file

printf "\x07\x00\x00\x00\x01\x00\x00\x00" > /sys/firmware/efi/efivars/gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9

2.4 Add immutability to the gpu-power-prefs-… file

This chattr command is supposed to lock a file to make it accessible only by "superuser" - and so that, while booting, your EFI will have no chance to screw up your gpu-power-prefs-... variable under any circumstances

chattr +i "/sys/firmware/efi/efivars/gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9"

2.5 Unmount efivars and reboot

Change to the root directory to unmount efivars:

cd /
umount /sys/firmware/efi/efivars/

Guarantees that your EFI variables are flushed to efivarfs filesystem. Please unmount it safely before rebooting.

reboot

3 Remove AMD / NVIDIA kexts

Note: You might need to do this every time you update your OS, since it normally regenerates these kexts. You may want to favourite this answer for reference so it is accessible from another device when you need it.

After disabling the dGPU using Arch, normal boot would hang halfway but safe boot will work.

3.1 Move AMD / NVIDIA kext files to a backup directory

Remove all the AMD (or NVIDIA, depending on your card) kext files in the Terminal in Recovery Console. Trying to remove them in Single User just gives sandbox errors, so don’t do it in Single User Mode! (the one that you boot with cmd+s).

If you have FileVault, unlock it first.
Boot into Recovery (cmd+r) directly. If it fails, then repeat step 2 and retry (dGPU could get active again after booting into the os with AMD / NVIDIA kexts).
Start Terminal (This commands are for AMD. If you have NVIDIA, change accordingly)

diskutil cs list (find Logical Volume UUID: last item)
diskutil coreStorage unlockVolume UUID (UUID: from previous command)
cd /Volumes/Macintosh\ HD
mkdir AMD_Kexts
mv System/Library/Extensions/AMD*.* AMD_Kexts/
reboot

I found the procedure in this link, where you can read the attribution of the different sections and a discussion thread on the topic.

I tried it myself on an early 2011 MacBook Pro with a faulty discrete graphics card, that was unable to boot even with the overheating trick, and ended up with a fully functional computer!


How can I remove geolocation info from a picture on an iPhone?

There's an App called GeoZapper ($1-$2) (or a free, limited Lite version), which will remove geolocation info from pictures.

If you know of any other apps or alternative methods to remove this info, please post them.


With iOS 10 Apple added the ability to "delete" their stock apps.

To restore them just search the App Store for the app and "reinstall" it from there.


Open FaceTime app (don't make the call yet),
Paste the following line in to terminal,

printf "p *(char*)(void(*)())AudioDeviceDuck=0xc3\nq" | lldb -n FaceTime

and then make the call.

Update: for macOS sierra or higher, replace FaceTime with avconferenced.


Airport Express - WiFi network extension with wireless speakers

Yes you can use the Airport Express to extend the wifi signal from your other router:
You just have to change the settings for your device in the Aiport utility to extend a network instead of creating a new one.

http://support.apple.com/kb/HT4145#

Yes you can use your speakers wirelessly. You just need to connect them to Airport Express. Apples technique is called Airplay:
https://www.apple.com/airportexpress/


For sharing photos, you can use iCloud Photo sharing. For more information, refer to the Apple support document, iCloud Photo Sharing.

If the recipient are not using Apple devices, they can still access the photos via iCloud website.


Should I write app reviews to Mac App Store in English or in my native language?

App Store is divided by countries it is available in and each country's App Store is a separate entity. For an end-user (me, you, anyone who buys apps basically) there is no cross-over between them. If you're from Finland you're most likely using Finnish App Store (possibly with interface in English).

Only users of the same store will see the reviews posted in it. Reviews are not shared between individual (country) stores so it is perfectly fine for reviews to be in country's native language.


I believe you are looking to create an entry in the Startup Manager menu where the entry has a custom icon and custom label. The image below shows this for Ubuntu. (For a better view, either click on the image or open image in a new window.) In your question, you have indicated you found how to create the custom icon, so I will not elaborate on this. You will find creating the custom label is a bit more difficult.

First of all, the volume containing the .VolumeIcons.icns file should be Mac OS Extended (Journaled) formatted. The name of this volume will appear as the label on the Startup Manager menu. In this example the volume name is Ubuntu. The content of this volume is shown below. Basically this volume needs to be setup to appear as a legacy OS X boot volume.

  Note: Normally the Ubuntu volume would not appear in the Finder. In other words. the /etc/fstab file was edited so the Ubuntu volume would not auto-mount. I used the diskutil command to manually mount the volume. Also, the Finder windows does not normally show the hidden files.

Some installations actually store the operating system boot files in volume. In this example, I instead chose to install rEFInd to silently boot Ubuntu. In other words, I added the following lines to the bottom of the default refind.conf file.

#
# Added to make rEFInd silent.
#
menuentry "Ubuntu" {
    icon \System\Library\CoreServices\icons\os_ubuntu.png
    volume "EFI"
    loader \EFI\ubuntu\grubx64.efi
    ostype Linux
    graphics on
}
timeout -1
hideui all
scanfor manual

The actually Ubuntu boot files are stored in the hidden EFI partition, as shown in the image below.

  Note: The hidden EFI partition does not normally appear in the Finder and the Finder does not normally show hidden files.

  Note: There is no /EFI/BOOT folder containing an Bootx64.efi file. This was done so a default icon labeled EFI Boot would not appear in the Startup Menu.

What I do not understand is why you want to know how to do this with respect to Windows? Normally, the Startup Manager automatically inserts a Windows label for a properly installed Windows. There should be no need to apply the above procedure.


Does free iWork on iOS entitle me to free iWork to Mac?

Actually no, iOS and OSX version of iWorks are 2 different softwares although linked by iCloud (AppStore & Mac AppStore "are" independent). iWork for OSX is free for every Mac bought after October 1st 2013.

There are some workaround to get the 3 OSX apps (Pages, Keynote & Numbers) for free without any illegal download.

Does Apple know that or do they do that on purpose ? That a good question that I do not know the answer.


Two Macs and One Apple ID (purchases on App Store)

This question can only really be answered on a per app level (The End User License Agreement (EULA) will specify how many machines an application can be installed on), but in general I have a MacBook Pro, My wife has a Macbook Air and we have a media center mac mini and I install all my apps on all of them without an issue, but we share a single Apple ID for all app store purchases, since apple has restrictions on using multiple Apple IDs on a single machine.

Developers seem to have a more sane point of view on mac (excluding Adobe or other graphics packages) than on windows, so I haven't had an issue.


The message is provided by Microsoft AutoUpdate.
You can disable the message without removing AU by setting the following key:

defaults write com.microsoft.autoupdate2.plist \
    AcknowledgedDataCollectionPolicy RequiredDataOnly

https://derflounder.wordpress.com/2019/07/23/suppressing-microsoft-autoupdates-required-data-notice-screen/

To completely remove AU from your system, delete the following:

/Library/Application Support/Microsoft/MAU2.0/
~/Library/Application Support/Microsoft AutoUpdate/
~/Library/Preferences/com.microsoft.autoupdate2.plist
~/Library/Preferences/com.microsoft.autoupdate.fba.plist
/Library/LaunchAgents/com.microsoft.update.agent.plist


Set default shell to MacPorts bash in Mac OS X 10.6.8?

sh --version is probably the same as /bin/sh --version. If the current shell is bash, you can see its version with echo $BASH_VERSION. If you change the default login shell with chsh, you can keep Terminal's default shell as the login shell.

sudo port install bash
Add /opt/local/bin/bash to /etc/shells
chsh -s /opt/local/bin/bash
Open a new tab and check echo $BASH_VERSION


Can I upgrade my iPhone's iOS from 4.1 to 4.3?

Simple answer is no it will not work.

Apple stopped signing old versions long ago; you either have to stay on the iOS you have or update to the latest your device will support.

A 3GS will support iOS 6.1.6 available via iTunes or direct from http://ipswdownloader.com


How to count files in a folder using AppleScript?

The following example AppleScript code:

tell application "Finder"
    count files of desktop
    count folders of desktop
    count items of desktop
    set variable to (count files of desktop) + (count folders of desktop)
    return variable
end tell

On my system currently produces the following results:

tell application "Finder"
    count every file of desktop
        --> 7
    count every folder of desktop
        --> 3
    count desktop
        --> 10
    count every file of desktop
        --> 7
    count every folder of desktop
        --> 3
end tell

Result:
10


How to control order of startup items for users at login?

If you're using a shell script to open applications, try something like this:

osascript -e 'launch app "ScreenRecycler"'
pgrep -qx Alfred||open -jga Alfred
sleep 10
pgrep -qx Mail||open -jga Mail
pgrep -qx Transmission||open -jga Transmission

You can run the script at login by for example saving the plist below as ~/Library/LaunchAgents/some.label.plist.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>some.label</string>
  <key>ProgramArguments</key>
  <array>
    <string>bash</string>
    <string>-c</string>
    <string>osascript -e 'launch app "ScreenRecycler"'
pgrep -qx Alfred||open -jga Alfred
sleep 10
pgrep -qx Mail||open -jga Mail
pgrep -qx Transmission||open -jga Transmission</string>
  </array>
  <key>RunAtLoad</key>
  <true/>
</dict>
</plist>

osascript -e 'launch app "AppName" and osascript -e 'activate app "AppName" are blocked until the application finishes opening. launch doesn't make an application frontmost but activate does. If an application like TextEdit or Mail is not running, launch and activate open a new visible default window. osascript -e 'tell app "TextEdit"' -e reopen -e activate -e end also reopens a default window if TextEdit is running but has no open windows.

open -jg usually opens an application hidden (-j) and without making it frontmost (-g). For some applications like TextEdit and Mail, it opens a new visible window if the application is running but has no open windows. To avoid that, check if the application is already running with for example pgrep. The -j option for open was added in 10.8 and it is only shown in the help message and not on the man page.

lsappinfo launch launchandhide=true nofront=true /Applications/TextEdit.app also always opens TextEdit hidden and without making it frontmost. lsappinfo was added in 10.9. I don't know how to use lsappinfo to wait until an application finishes opening.

The settings for login items are stored in ~/Library/Preferences/com.apple.loginitems.plist. You can add a login item with AppleScript:

osascript -e 'tell application "System Events" to make new login item at end with properties {path:"/Applications/TextEdit.app", name:"TextEdit", hidden:true}'

Some applications and processes are started up via property lists in ~/Library/LaunchAgents/, /Library/LaunchAgents/, or /Library/LaunchDaemons/. _com.apple.SMLoginItemBookmarks in /var/db/launchd.db/com.apple.launchd.peruser.$UID/overrides.plist is used to configure login items for helper applications used by sandboxed applications like ScreenFlow, DayOne, and TuneUp.

Since 10.7 there has been a relatively long delay before some login items or launchd jobs are started. I don't know any way to reduce it, but KeyRemap4MacBook's FAQ says it is caused by Resume:

  KeyRemap4MacBook does not work after boot on OS X 10.7. What should I do?

  "Resume" feature introduced by Lion delays launching apps at login.

  Until KeyRemap4MacBook.app is launched at login, the keyboard layout is not changed. Please wait a minute until menu of KeyRemap4MacBook is shown.


Macbook Pro Keyboard and Trackpad not working after battery change

If before replacing battery, your Mac's keyboard & trackpad were working fine, then generally after replacing old battery, Mac MUST work fine, provided you've placed+inserted new battery correctly+completely, and you've made sure (old) keyboard & trackpad connectors are properly connected.
KB = Keyboard . TP = Trackpad (aka: Touchpad).
Mac = Macintosh = MacBook Pro/Air/etc.
Replacing hardware parts (especially the TP), again, seems to be the remaining last option for your case.
Just do this extra step: Once you attach the ribbon flex cable connector (of KB, TP or battery, etc) onto Mac board's socket, then fully INSERT & slide it in completely into the socket, then use the lock mechanism in the socket, and put a tape on it, (tape piece should cover the socket and bit more area around it, and some portion of the flex-cable as well.)
The reason I'm suggesting that, as I'm suspecting, this connection is not stable in your case, and some pins are disconnecting when you're re-assembling back, as your comment indicates that you later also obtained new keyboard & trackpad, (so problem is not inside the keyboard or trackpad itself).
Low-Quality and/or older-generation Lithium battery packs in Mac can degrade very quickly when HEAT or high-temperature is applied or around the Mac.
When battery swell-up it pushes/expands upward, few components that suffer from this, one of them is Trackpad (aka: Touchpad), etc.
Trackpad's touch sensor may have developed cracks or some circuit has disconnected partially, so replacing atleast Trackpad may be necessary.
Heat expands different type of materials at different rate, so electrical disconnect, etc can occur from this.
Your sentence is not clear enough what exactly you've ordered-for, is it just the "ribbon flex" cable-conector, Or new keaboard & trackpad ? i would guess that you've ordered new keyboard & new trackpad (which includes new ribbon-flex connector).
New ones should work, & you may need to reset SMC and reset NVRAM/PRAM, see below details.
If new ones (new battery, new keayboard, new trackpad) are correct item for your exact Mac model# and still not working, then my remaining deduction would be, that, your Mac board itself has disconnected/faulty circuits near the area where battery pack is.

KB = Keyboard . TP = Trackpad (aka: Touchpad).
Mac = Macintosh = MacBook Pro/Air/etc.
You may be already aware-of and already applied the solutions mentioned in this answer, but I'm including it anyway, so that other users with a similar problem can understand what options are there, and how to do it systematically.

When the keyboard and trackpad stops working, are unresponsive or partially not-working, then in problem(s) like this, Mac owners have to use USB based mouse and keyboard.

After attaching external, wired/hardware based USB Mouse, Mac owner MUST do these:

Click the Apple () icon in top menu bar → select ⚙ System Preferences from your menu bar.
Open Accessibility → select the "Pointer Control" in left-side column → select "Mouse and Trackpad" Tab → find this option line "Ignore built-in trackpad when mouse or wireless trackpad are present" and select it.
inside Accessibility, select the "Keyboard" in left-side column → select "Accessibility Keyboard" Tab → find this option line "Enable Accessibility Keyboard" and select it. Then it lets you type and interact with macOS without using a hardware keyboard.
if you have a hardware based Keyboard with USB connector, then skip this number 4 step, Or else, if you only have a USB-Mouse, then follow these steps: go back to the ⚙ System Preferences → click "Keyboard" icon → select "Keyboard" Tab → then select the "Show keyboard and emoji viewers in menu bar" option. In top Apple menu bar you will see a keyboard icon ⌨ or you will see your country/location  Flag icon, click on it, choose the "Show Keyboard Viewer" option. A small ⌨ window will appear which will display keyboard's key-buttons. To use this software keyboard, click on key-buttons with your USB-mouse.
turn-off Bluetooth in Mac.

KB = Keyboard . TP = Trackpad (aka: Touchpad).
( Few unicode symbols from IEC : Power - &#x23FB; - | ⏽ . Toggle Power - &#x23FC; - ⏼ . Power On - &#x23FD; - ⏽ . Power Off - &#x2B58; - ⭘ . Sleep Mode - &#x23FE; - ⏾ )

TROUBLESHOOT:
After you've done ⚙ System Preferences configuration shown above, then take below troubleshoot steps (before getting/ordering hardware parts)

Update System Firmware: load all updates from Apple, & also all Security updates from Apple.
Unplug USB-mouse & KB, and check if internal KB & TP are working or not.
If internal KB & TP are working then NO need to follow any other steps, but if NOT-working then plug back in your USB-mouse & KB.

if previous (firmware update) step did not work, then Reset SMC: detail instruction is here, and a brief summary is shown below:

if your Mac model's battery is removable, then: Turn off Mac; Unplug power adapter; Open bottom/backside (P5 pentalobe) screws that are keeping the lower-case attached with internal frame & board, remove (all) battery pack(s); then press & hold-down ⏽ Power button for 10 seconds. Mac will be discharged completely, & SMC will reset. Re-attach the battery pack(s), connect power supply adapter & plug.
if your Mac model's battery is NOT-removable (that is, it is inside the laptop, & so opening-up lower-case is necessary to remove battery packs, then do not unscrew & do not remove lower-case), keep power supply connected to Mac, then first press these THREE buttons altogether (left-side) ^ Control + (left-side) ⌥ Option + (right-side) ⇧ Shift for 7 to 10 seconds, then also press & hold the FOURTH button, the ⏽ Power button, and keep press & hold these FOUR buttons altogether for 7 to 10 seconds more, then you will see that Mac has began shutdown process, and in this stage it will also automatically reset SMC.

if your Mac computer's specific model has Apple T2 Security Chip then above instruction is valid for that type of Macs.
if your specific Mac model has no T2 chip, then press & hold all of those FOUR button altogether from beginning, & just use left-side ⇧ Shift button, instead of right-side.

Unplug power cord/plug, for around 15-seconds.
Unplug external USB mouse & KB, & wait for around 5-seconds.
Turn ON Mac with ⏽ Power button.
Check, if internal KB & TP are working or not: if internal KB & TP are working then NO-need to follow next steps,
but if internal KB & TP are still not working, then plug back in your external USB-mouse & KB.

if above/previous steps did not work, then Reset (Parameter RAM) PRAM: detail instruction is here, and a brief summary is shown below:

shutdown Mac completely, use ⏽ Power button. Sometime shutdown process needs time, so wait around 60-seconds for shutdown. And after 15-seconds of shutdown, press ⏽ Power button (to start the Mac), & immediately after pressing ⏽ Power button, press & hold down these FOUR buttons altogether: ⌘ Command + ⌥ Option + P + R, and keep on holding all of those buttons for 20 seconds. Based on your Mac model# during those 20-seconds you will either hear the STARTUP sound for 2nd-time, Or you will see the Apple LOGO  (or a GRAY-SCREEN) appearing & going-away, twice. When you will hear STARTUP sound SECOND-TIME Or when you will see Apple LOGO () DISAPPEARING SECOND-TIME, then release all those FOUR buttons. Then you should see, Mac is restarting/rebooting, and starting with normal boot process, (if this does not happen by itself in your specific Mac model# , then press ⏽ Power button once).
Unplug external USB-mouse & KB,
Check, if internal KB & TP are working or not, (if internal KB & TP working then NO-need to follow next steps), but if internal KB & TP are still not working then plug in your external USB mouse & KB back.

.plist = Property-List .  cmd = Command .
KB = Keyboard . TP = Trackpad (aka: Touchpad).

FEW MORE TROUBLESHOOT OPTIONS:

Safe-Mode : in safe mode, macOS disables all 3rd-party extensions & software, some (Apple)-system extensions (which are not required in safe-mode), etc, etc.
Began to shutdown Mac and wait for around 60-seconds to complete shutdown. Then, wait around 15-seconds, and turn ON Mac with ⏽ Power button, and immediately after that Press & hold onto the ⇧ Shift button, until you reach login credential (username & password) entering screen, then release ⇧ Shift button.
(if you've disabled login into Mac to reach Mac Desktop mode quickly, then hold onto ⇧ Shift button for around 90-seconds after you see Mac desktop, then release ⇧ Shift button.)
In "Safe-Mode" you'll see the words ”Safe Boot” in top-right corner of screen.
Check if internal KB & TP are working or not, if working then (try to) find out which 3rd-party software's extension is causing this conflict that in normal-mode KB & TP stop working. (Follow the "REMOVE .plist FILES" step in below).
If internal KB & TP still did not work/response in "Safe mode", then this step indicated, problem is NOT related with any 3rd-party extensions or any (3rd-party) startup software,
So plug back in USB-mouse & KB, and Shutdown or "Restart" Mac, and goto next step.
MOVE .plist FILES FROM ~/Library/Preferences/ (aka: "User Library/Preferences" folder) INTO ~/Desktop/Backup/MyLibraryPreferences/ FOLDER:

first source folder you have to go in is ~/Library/Preferences/, so follow these steps : open "Finder" (file browser) → click/select your Mac storage drive → find & go inside "Users" folder → then go inside the folder that has your UserName, f.e. in my case its "atErik" → press ⌘ Command + ⇧ Shift + >̣ buttons (Command+Shift+dot) altogether for once, it will goto "Unhide Files and Folders" mode (aka: Unhide/Unhidden Files and Directories mode, aka: show hidden files & folders mode) temporarily. Find & go inside the "Library" folder, then find & go inside the "Preferences" folder.
• Here, the beginning ~ (tilde) symbol means: inside your HOME directory/folder. The ~ is a shortened form of, for-example: /Users/atErik/ folder, Or /Users/<UserName>/ folder (aka: "HOME" folder/directory).
• So ~/Library/Preferences/ in its expanded form, indicates to /Users/atErik/Library/Preferences/ folder (or /Users/<UserName>/Library/Preferences/ folder).

Move below .plist files into a "Backup" folder on your Mac Desktop:
• Select all of these below property-list files (they have .plist filename-extension) and also select other .plist files related to any (KTM) keyboard, trackpad, touchpad or mouse, then select "Copy" option for all selected files by using ⌘ Command + C ( or use "Copy" option in Finder's "Edit" menu. )
• Then in "Finder" goto your "Desktop", create a folder "Backup" (if it does not exists), then inside the "Backup" create another sub-folder "MyLibraryPreferences".
• Now you MUST MOVE those selected .plist files into ~/Desktop/Backup/MyLibraryPreferences/ folder, by using ⌘ Command + ⌥ Option + V buttons ( Or goto "Edit" menu in "Finder" file-browser, & press & hold ⌥ Option button in software/hardware KB, you will see that "Paste"-mode will change, & "Move"-mode will appear & available, so select "Move" option. )
• You may have to enter a privileged admin type of user's username & password, to complete the "Move" process.
SELECT .plist FILES:
• com.apple.driver.AppleBluetoothMultitouch.trackpad.plist1 (Magic Trackpad)
• com.apple.driver.AppleBluetoothMultitouch.mouse.plist (Magic mouse)
• com.apple.driver.AppleBluetoothMultitouch.trackpad.plist
• com.apple.AppleMultitouchTrackpad.plist
• com.apple.preference.trackpad.plist
• com.apple.driver.AppleHIDMouse.plist (wired USB mouse)
• com.apple.AppleMultitouchMouse.plist
(to select multiple files, you have to press ⌘ Command button before clicking on next/another .plist file)
(Mac will auto-create above files with default settings, after a restart/start)

3RD-PARTY : 1st-party is you (your own developed software/scripts, etc). 2nd-party is Apple developed software running on Apple developed macOS. And 3rd-party is who is not you/1st-party & is not Apple/2nd-party, so it is OTHER software developer.
3rd-party software often uses their parent company (or developer) name or their own company (or one of the developer's) name or uses the software name for their software files & directories/folders.
So to detect 3rd-party software files, you will need to know 3rd-party software's company name or developer name also.
3rd-party can+may use these set of folders, which can+may reside inside here ("/Library/") or here("~/Library/") or both : ".../Application Support/", ".../Caches/", ".../Containers/", ".../Frameworks/", ".../Logs/", ".../Preferences/", ".../Saved/", ".../Application State/", ".../WebKit/", etc.
Disable (temporarily) all 3rd-party AUTO STARTUP items, & Login-time auto-start items, services, applications, etc:
• We will disable those (by using CLI+GUI, etc) temporarily after making backup (so that they can be retrieved/restored easily later).
• Open the "Terminal" (press Fn + F4 > click on "Other" icon > click on "Terminal") : To view hidden files & folders in "Finder", in Terminal run this
cmd: sudo defaults write com.apple.finder AppleShowAllFiles -bool true
To apply the above new settings, we have to stop all running "Finder" instances/sessions, (macOS will auto start a new instance of "Finder" after we stop all), do that with cmd: killall Finder
• NOTE: Do Not Use The Word "cmd:" Itself, When You Copy Or Paste A Command From Here, I Used "cmd:" Here To Make It Clear That Words Used After "cmd:" (inside grey box) are ("Terminal") commands.
• run cmd: launchctl list to view various STARTUP items. Keep a backup list what items are set as STARTUP item, with
cmd: dt="/bin/date +'%Y-%m-%d_%H-%M-%S'" ; dv=`$dt` ; launchctl list > ~/launchctl-list_${dv}.txt ; unset dt; more ~/launchctl-list_${dv}.txt && unset dv;
• These (AUTO-STARTUP) type of software items/componenets are placed inside these folders usually : "/Library/StartUpItems/" (items in it are launched by system when Mac system starts-up), "/Library/LaunchDaemons/" (launched by system "root"-user when system starts-up, with bit more detail or specific options), "/Library/LaunchAgents/" (items in it are launched by user-account when user logins, so these are LOGIN-time AUTO-START items), macOS also starts various system & other software items from "/System/Library/LaunchDaemons/" folder (items are launched by "root"-user at system startup) & "/System/Library/LaunchAgentsitems/" folder (items are launched by user-account when user logins), but these two "/System/..." folders are usually for CORE system components & must not-be changed/touched by any general users, unless you're capable to work in that level. 3rd-party software must-not be inside "/System/...".  And 3rd-party LOGIN AUTO-START items are also inside "~/Library/LaunchAgents/" or "/Users/<UserName>/Library/LaunchAgents/" folders (items in it are launched by user-account when user logins).
• Move (all 3rd-party & risky 2nd-party) items from LaunchDaemons & LaunchAgents, etc into a backup folder after disabling them, (and also save attribute & property list of all files in those folders), with this shell script/program here: https://GitHub.com/atErik/Disable-MacOS-3rd-Party-Startup
• after moving above items, make another backup list of STARTUP items, with
cmd: dt="/bin/date +'%Y-%m-%d_%H-%M-%S'" ; dv=`$dt` ; launchctl list > ~/launchctl-list_${dv}.txt ; unset dt; more ~/launchctl-list_${dv}.txt && unset dv;
• Below PLIST files also contain STARTUP items (and not-disabled even in Safe-Mode, so these can be RISKY/abused) and these MUST-NOT be used by any 3rd-Party, unless it has SHOWN you this (below "/private/var/db/launchd.db/...") data & informed you & obtained your fully-aware full & explicit consent to use it:
 /private/var/db/launchd.db/com.apple.launchd.peruser.501/overrides.plist
 /private/var/db/launchd.db/com.apple.launchd/overrides.plist
Run this cmd to view list of these PLIST files: sudo ls -Gal /private/var/db/launchd.db/
User can view items in them with these
 cmd: nano /private/var/db/launchd.db/com.apple.launchd.peruser.501/overrides.plist
 cmd: sudo nano /private/var/db/launchd.db/com.apple.launchd/overrides.plist
Run this: launchctl list & findout which "Label" does NOT begin with "com.apple...", so those are 3rd-party STARTUP items, and use below commands to disable them.
Disable 3rd-party and RISKY 2nd-Party items in above two PLIST files, with such EXAMPLE commands:
 disable "rexecd": sudo defaults write /private/var/db/launchd.db/com.apple.launchd/overrides.plist 'com.apple.rexecd' -dict Disabled -bool true ;
now with "nano" open the plist, and apply similar "Disabled" pattern of XML-codes, on other entries that are 3rd-party or risky 2nd-party items.
Some (harmful) developer's App/pkg installer sets-up various non-standard (and constitutional amendment violating) ways (one of such shown in above) to start various (fishy, aka: Anti-Privacy, etc) items (by violating the Privacy-Rights, human-rights, etc to SPY & data-collect, etc), So one way to quickly & temporarily disable these fishy/immoral/unethical activities is, MOVE them in a different folder :  with "Finder", go inside "Applications", select all apps that are 3rd-party apps (installed by you), (to multi-select, use ⌘ Command button each time before you select/click on an app), then in "Finder" select "Copy" option in "Edit" (or press ⌘ Command + C altogether for once), then on your Mac "Desktop" create a new folder "Backup", then create a sub-folder "Apps" inside the "Backup". Go inside that "Apps" & press ⌘ Command + ⌥ Option + V buttons altogether once (or goto "Edit" menu in "Finder", press ⌥ Option & then select "Move" option), you may have to enter a privileged admin type of user's username & password to complete the MOVE process. (Don't forget to restart Mac once, after below steps).
Remove/Delete 3rd-party auto startup items, login-items, services, applications, etc software items, (if you prefer to use GUI for it, & if you don't want to make backup) : Goto ⚙ System Preferences → click on "Users & Groups" icon → select your username (or nickname) on left side column/pane → select "Login Items" Tab → you'll see list of startup items, select an item & press the “–” sign below to remove it → Done. Later by using the “+” you can add some (not-all) items back.

MOVE .plist FILES FROM /Library/Preferences/ (aka: "Mac Library/Preferences") INTO ~/Desktop/Backup/MacLibraryPreferences/ FOLDER:
• In "Finder" → click/select your Mac storage drive → press ⌘ Command + ⇧ Shift + >̣ buttons (Command+Shift+dot) altogether for once to show hidden files & folders, → find & go inside "Library" folder, → then find & go inside "Preferences" folder, → and check-for & find & select .plist files (that are shown & listed in above), → also find & select any other (KTM) keyboard & trackpad & touchpad & mouse related .plist files, → then select "Copy" option for all selected files by using ⌘ Command + C (or use "Copy" option in Finder's "Edit" menu).
• Goto your "Desktop" folder, find & go inside "Backup" folder, create a sub-folder "MacLibraryPreferences" inside the "Backup".
• Now you MUST MOVE those selected .plist files into ~/Desktop/Backup/MacLibraryPreferences/ folder, by using ⌘ Command + ⌥ Option + V buttons ( Or goto "Edit" menu in "Finder" file-browser, & press & hold ⌥ Option button in software/hardware KB, you will see that "Paste"-mode will change, & "Move"-mode will appear & available, so select "Move" option. )
• You have to enter a privileged admin type of user's username & password, to complete the "Move" process.
Shutdown or "Restart" your Mac, and unplug USB-mouse & KB (immediately after clicking on "Restart"/shutdown). Wait around 15-seconds.
Boot/Start your Mac, and check if internal KB & TP are working or not, if yes then NO-need to follow next steps,
if internal KB & TP are still not-working after SAFE-MODE & PLIST-REMOVAL, then follow (shown in above) SMC-reset & PRAM-reset steps AGAIN,
and again check if internal KB & TP are working or not, if yes then NO-need to follow next steps,
if internal KB & TP are still not-working, then plug back in (external) USB-mouse & KB, & Restart Mac.
HARDWARE INFO: run below shown commands inside Terminal. NOTE: output is obtained from an old MacBook-Pro, so your Mac output will be different based on your MacBook model#:

cmd:  ioreg | grep Keyboard
normally, when internal keyboard works, then you should see (6-Lines of) similar output shown below, with above command:
•     | |   |       |     |   +-o Apple Internal Keyboard / Trackpad@1d183000  <class IOUSBHostDevice, id 0x100012c9c, registered, matched, active, busy 0 (7371 ms), retain 33>
•     | |   |       |     |     +-o Apple Internal Keyboard@0  <class IOUSBHostInterface, id 0x100012ca7, registered, matched, active, busy 0 (7357 ms), retain 11>
•     | |   |       |     |     | +-o AppleUSBTCKeyboard@1d183000,0  <class AppleUSBTCKeyboard, id 0x100012cb1, registered, matched, active, busy 0 (7349 ms), retain 8>
•     | |   |       |     |     |     +-o AppleEmbeddedKeyboard  <class AppleEmbeddedKeyboard, id 0x100012d0d, registered, matched, active, busy 0 (0 ms), retain 8>
•     | |   | +-o Apple Internal Keyboard / Trackpad@1d183000  <class AppleUSBDevice, id 0x100012c9e, registered, matched, active, busy 0 (1 ms), retain 15>
•     | |   | | +-o Apple Internal Keyboard@0  <class AppleUSBInterface, id 0x100012caa, registered, matched, active, busy 0 (0 ms), retain 5>
cmd:  ioreg | grep Trackpad
normally, when internal trackpad works, then you should see (2-Lines of) similar output shown below, with above command:
•     | |   |       |     |   +-o Apple Internal Keyboard / Trackpad@1d183000  <class IOUSBHostDevice, id 0x100012c9c, registered, matched, active, busy 0 (7371 ms), retain 33>
•     | |   | +-o Apple Internal Keyboard / Trackpad@1d183000  <class AppleUSBDevice, id 0x100012c9e, registered, matched, active, busy 0 (1 ms), retain 15>
cmd:  ioreg | grep Touchpad
normally, when internal trackpad (aka: Touchpad) works, then you should also see (4-Lines of) similar output shown below, when above command is run:
•     | |   |       |     |     +-o Touchpad@1  <class IOUSBHostInterface, id 0x100012ca8, registered, matched, active, busy 0 (551 ms), retain 11>
•     | |   |       |     |     +-o Touchpad@2  <class IOUSBHostInterface, id 0x100012ca9, registered, matched, active, busy 0 (10 ms), retain 11>
•     | |   | | +-o Touchpad@1  <class AppleUSBInterface, id 0x100012cad, registered, matched, active, busy 0 (0 ms), retain 5>
•     | |   | | +-o Touchpad@2  <class AppleUSBInterface, id 0x100012caf, registered, matched, active, busy 0 (0 ms), retain 5>
if similar lines (like above) are not-present in your output, then obviously the hardware has failed or is disconnected.
If similar lines are present, (and internal KB & TP are still not-working properly), then thats indicating: some software/settings, etc are causing conflict, Or there is a partial hardware malfunction.
NOTE/REQUEST TO OP @esqarrouth (if you want to, then) please EDIT your post and put a word "EDIT:" at bottom-side of your top/1st post message, and then show output of above three "ioreg" commands, so that others can see the output & analyze.
Please use one ` backtick symbol (aka: back-quote, aka: grave-accent) in beginning of each "output" code-line (Backtick button  ̀̃ is in top-left corner of keyboard, under the esc). Any text or code inside 2-Backticks creates an "inline"-mode code-line which can wrap at-edge without crossing-over & all text or code is also viewable without sliding left/right. And at-end of each code-line please also use one-more ` backtick-symbol and two "space" characters. Two-spaces at-end of a text/code line, creates a Line-Break(LB) <br />.
so i.e. the `a ̪test ̪code-line` ̪ ̪ ( "space" character is shown as  ̪ )
will become: a test code-line

f.e. = for example . i.e. = in example . e.g. = example goes.
KB = Keyboard . TP = Trackpad (aka: Touchpad).

REPLACE HARDWARE:
if troubleshoot steps (mentioned in above) did not solve problem,
Replace hardware parts (at-least replace keyboard) by yourself. Its better to replace both KB & TP at same time.
When you have a chance, read-up on these, watch videos on YouTube, etc: it will become very easy to you once you watch few videos & read docs, then if you're confident to do it by yourself, order hardware parts.
So begin with the sites below:

MacBook Pro 15" Retina Display Mid 2015 Repair
especially read this answer to "z" Key not working, Command key also, and;
here is a YouTube video: Macbook Pro 15" Retina A1398 Change Keyboard.

After you've replaced (internal) keyboard/trackpad, unplug external USB-mouse & KB, and check+test if internal KB & TP are working or not, if working then NO-need to plug back in USB-mouse & KB, and go back to previously mentioned options in "Accessibility", and change/suite with your preference/choice.
But if internal KB & TP are not-working then plug back in (external) USB mouse & KB.


What is the purpose of the Shift+F3 keyboard shortcut?

The shift modifier has been around for most animated sequences since at least Panther (10.3).  I don't know that there was ever an official reason given but it's widely assumed that it was built in at the request of Steve Jobs in order for him to highlight Expose' as he announced it to the world at the 2003 World Wide Developers Conference. You can see this announcement here, with the slow motion effect being used for the first time around the 2:00 min mark.

Mac OS X Panther - Expose demo

Given the crowd's reaction I think it's clear why Apple didn't remove it from the final version.  It's always been one of those little easter eggs that Mac users use to impress their PC using friends.

So there you go, no practical purpose, just a bit of fun for Apple.  You can also use shift to slow down most functions that have an animation.  Minimizing windows, opening Mission Control, etc.


For Midnight commander it seem to be ^/Ctrl+T=Insert. As suggested by jherran.

The more generic Insert function is supposed to be Fn+Return/Enter=Insert, see this other question for more discussion and details.

I have however had little success with Fn+Return working reliably in many applications.


Macbook Pro 2018: No Sound over Displayport after sleep

Have you updated macOS to 10.14.4? It supposedly addressed some issues with LG monitors.
And one question: how long does it take the monitor to wake up from sleep?


Wake On Lan (WOL) iMac 2009 El Capitan, Sierra, not working

Wake on Lan only works if the Mac is sleeping. You cannot wake up a Mac that has been shutdown no matter what third party apps you have. Mac's are not designed to Wake-up from LAN when shutdown for security reasons.


Why can a user on OS X open some directories of other users?

The simplest way to prevent the access is by Get Info.. (or ⌘+i on directory and setting the permissions there.

To prevent other user from viewing your files, settings should look like:

username(me) read / write
everyone no access

Note: remove all the other positions like group etc.


Can I have different virtual desktops with different resolutions/scaling?

No, each Desktop (Space) will have the same resolution, whatever the Display's resolution is set at.

You could use an App like Display Menu to more easily/quickly change the resolution as needed/wanted as you change between Desktops.


Does upgrading Yosemite risk losing material on HD?

Low as this does get tested before.

What is not tested as much is does each application work with the new OS. Apple can only test major apps it is the responsibility of the App's developer to test their app with the new OS and not all have the time to do this.

But as always with any computer change take backups as there is always a chance of something going wrong.

I assume that changing something will break something else. When it does I have to work out if it is worth living with that problem or revert to the old version.

Another example is professionally in enterprise software when I install a new version of my program I have to provide a tested process that will reverse the change as stopping something working can cost money


Leaving dictation mode without having to press the done button in iOS

It's currently not possible to leave dictation on iOS without pressing Done.


Use app made by me in iOS without distributing it in appstore

Yes.  It's a little convoluted process but it's not difficult and it can be done without a Apple Developer account.

There are quite a few steps but it simply involves creating your app in Xcode, connecting your iPhone to the Mac, and deploying your app to your iPhone.  The complete info on how to do this are on this Apple site.


Safari can also be reset from the command line.

Open a Terminal window and type the following or to be safe launch finder and navigate to the following locations and manually delete or move these

mv ~/Library/Safari ~/Desktop/Safari-`date +%Y%m%d%H%M%S`; \
rm -Rf ~/Library/Caches/Metadata/Safari; \
rm -Rf ~/Library/Caches/com.apple.Safari; \
rm -Rf ~/Library/Preferences/Apple\ -\ Safari\ -\ Safari\ Extensions\ Gallery;
rm -Rf ~/Library/Preferences/com.apple.Safari.LSSharedFileList.plist; \
rm -Rf ~/Library/Preferences/com.apple.Safari.RSS.plist; \
rm -Rf ~/Library/Preferences/com.apple.Safari.plist;

This should give you a fresh Safari with the menu item option to reset Safari again.


Mac App Store: View global reviews and ratings

It's not possible to view the overall global reviews and ratings for apps on the App Store. And this is by design.

From the App Store - Ratings, Reviews, and Responses webpage:

  Individual ratings inform your app’s summary rating, which is displayed on your product page and in search results. This summary rating is specific to each territory on the App Store and you can reset it when you release a new version of your app.

App Store only shows the ratings and reviews for your set home country (i.e. country your Apple ID is linked to).

And, not only are the ratings and reviews displayed only for the country currently set for your App Store, they can also be reset with the release of a new update for an app. That could possibly explain the lower count of ratings and reviews displayed on the App Store.

The same is true for all the various digital stores that Apple runs (Apple Books Store, iTunes Store etc.).

However, the developer/publisher of app/content can see the ratings and reviews for all the various countries they offer the content.


Problems starting vnstat installed with brew

The solution was to start the service via brew:
sudo brew services start vnstat


How to recover data from unreadable hard drive?

SSDs don't come in an 80GB size (that I've seen -- usually multiples of 32GB). It may be possible depending on why the drive dies. If its a mechanical failure, then you could take the drive to a specialty computer repair shop (try local before the big stores), and they should be able to help you with diagnosing the actual issue. Since the data is stored magnetically, (if the drive data is not corrupt) you can retrieve the data but you may have to remove the platters and put into a new HD unit with working mechanics... this might cost quite a bit of money -- you'd need a clean room to be safe.

Bottom-line, the data is retrievable (most likely) but the cost may prevent you from getting it back.


Trouble using Time Machine with SMB share in OSX El Capitan

This is going to be a throughly unsatisfying answer, but it comes down to the fact that random network drives were not meant to be used as time machine backup targets.

I'd wager one of the things you did in your guide was to run a terminal command along the lines of:

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Unsupported being the watchword here.

I've run into this exact problem myself, but only when backing up to network shares.

Usually what it takes to break Time Machine out of its funk is to completely disable it (toggling the switch to off in the preferences pane), unmount your network share, remount it, and then re-enable time machine. The system is smart enough to see that you already have backups in the bundle file and you won't lose any data.

Still - you're playing with your safety net. If the contents of your machine are super important, please pick up a time capsule so you don't wind up with a nasty surprise some day.

I've no idea what triggers this behavior - it appears to be completely random.


Why are some apps greyed out when Command+Tab'ing through programs?

I recently read that the command+tab switcher no longer strictly shows a list of running apps, but is instead the combined set of running apps AND recent apps. The Mac OS now (much like iOS) kills off apps that have no open documents or otherwise don't need to be running (in its infinite wisdom). My GUESS is that the greyed out apps in the switcher are recent-but-not-running apps.

Annnd ... I just read that you're running 10.6.8. So, yeah, never mind that answer.


How do you stop Safari from offering passwords from all subdomains of a domain?

As of February 2021: No
However this could be a good option and I suggest to everyone to voice your opinion here


Can automatic numbered list formatting be turned off in notes?

The option is Edit - Substitution - Smart Lists. Turn it off and it won't auto-format lists anymore. This option seems only available on macOS though.


How to reliably keep network share connected for a specific user using automount?

Assuming you do NOT want to enable the "root" user login feature and loosen up file and directory permissions enough to potentially open up your system to a significant security attack vector (and I am assuming exactly that...), as of today, Feb 7, 2017, there is no way to accomplish what you describe :(

At least not for AFP / SMB / CIFS shares (those are the only three I have tested, you may have other luck with NFS volumes but I don't run those on my network so can't confirm).

There appears to be two potential root causes.  One is that sometime around Yosemite, there was some modification to the difference between using direct vs. indirect automounting functionality that caused intermittent failures when an auto mounted share was accessed by more than one user.

As of Sierra, this functionality is completely broken since the owner of the special /Volumes directory was made to be the "root" user and that user will take over ownership automatically if another user is granted ownership of any folders or files in that directory at some point.  Bugs have been filed, feel free to comment and share your outrage.

In the comment section over on this blog post discussing several examples of using automount (and a few of its limitations) user "Mark" provides a complete analysis of this issue with respect to sharing auto mounted folders across multiple users.

TL;DR - it was broken somewhere around 10.10 and despite being discussed across many forums Apple has not yet acknowledged the bug or committed to a fix.

  I think there is something going on with 10.11 that breaks the procedure > for mounting AFP shares into user directories. I am trying
  to mount afp://user:pass@myserver.local/Music to /Users/me/Test

  auto_master has the line: /- auto_afp -nosuid

  auto_afp has the line: /Users/me/Test -fstype=afp
  afp://serveuser:servepass@server.local/Music

  The server mounts beautifully, but clicking on the server icon in
  /Users/me gives the error “The folder “Test” can’t be opened because
  you don’t have permission to see its contents.”

  After working the problem through, I see that this is a permissions
  problem. The mount point has the owner and group and permissions:
  drwx——@ 1 root wheel 364 31 Dec 10:01 Test (Actually, it’s interesting
  — if I empty out my auto_afp file and reboot, this returns to a
  regular directory with owner/group/permissions drwx——+ 18 me staff 612
  31 Dec 10:01 Test)

  So the problem here is that autofs is mounting the share with root
  privilege, and my user cannot actually use the share. From my reading
  on the web, this appears to be a relatively new problem — perhaps El
  Capitan related?

  For comparison, when I do the following (as a user, not as a system
  user or using ‘sudo’): Create a new folder from the finder at
  /Users/me called ‘Test3′ then from the terminal enter: mount -o nosuid
  -t afp afp://serveuser:servepass@server.local/Music /Users/me/Test3

  then the server mounts beautifully (albeit with the finder name
  “Music”, which I would prefer to change), and has the following
  user/group/permissions: drwx——@ 1 me staff 364 31 Dec 10:21 Test3 and
  I am able to see and manipulate the contents.

  So in summary, the problem is: How can I get autofs to mount a network
  AFP share and map it into a user directory so that the user can access
  it and manipulate its contents? Historically, I think this is exactly
  how autofs is supposed to work, but it seems that the ownership of the
  mapped folder by ‘root wheel’ prevents it now from being of any real
  use.

  One more matter, while I’m at it: I have fallen back to the simple
  goal outlined above, but my longer-term goal is to map an external
  music folder to EACH user. auto_afp should look like this:

  /Users/me/Test -fstype=afp
  afp://serveuser:servepass@server.local/Music /Users/her/Test
  -fstype=afp afp://serveuser:servepass@server.local/Music /Users/him/Test -fstype=afp
  afp://serveuser:servepass@server.local/Music

  I know that I can make this mount in each users’ login items, but
  that’s not actually good enough to achieve my long-term needs. Long
  term, I need this folder mounted at boot by autofs to make it
  available for cloud backup.

User "Ben" commented, confirming this analysis and echoing that at least as of the time he shared his comment, there was no fix:

  Using an indirect map doesn’t help either. This functionality seems to
  be fundamentally broken in OSX going back to at least Yosemite… I’ve
  dug through 3 years worth of posts of people having this same issue
  and as far as I can tell, there’s simply no way to share a mount point
  across users… what an huge, infuriating, unbelievable fail.

  Thanks apple!

NOTE : I do not recommend this for any network so will not provide detailed instructions on how to do so here, but one other user on that same comment board indicated that enabling the root user login and using that to access his system would allow this to work as expected:

  One option is to enable root, and logon as root. Once you do that it
  all starts working. Crap option, I know, but my use case is a media
  server on an isolated network. Only option until I can see until apple
  gets it head out of its arse.

This is strongly discouraged by everyone, Apple, Security Experts, etc so I do think it is a viable path around this problem.  We will have to wait until Apple releases a fix.


Why is my MacBook Air faster than my iMac?

One main difference between the two computers is that your MacBook Air has an SSD - a solid state drive - for data storage, whereas the iMac has an ordinary hard drive. SSDs are typically an order of magnitude faster than hard drives, so if your usage of the computer involves a lot of disk usage, that could explain the perceived speed difference.

Another difference is the processor. Here the iMac has the advantage with a CPU that potentially is up to about 3 times faster than the CPU in the MacBook Air. However, if your specific usage of the computer does not involve a lot of heavy CPU usage, or your programs are not written to take advantage of multiple CPU cores, then that advantage could possible be minor.

Even considering these differences between the two computers, you shouldn't have a "painfully slow" experience on the iMac. If it was quick, and now is painfully slow, it doesn't sound like the hardware is just insufficient for the task. It sounds more like a software problem or possible a hardware defect.

I would suggest testing the software hypothesis by installing macOS on an external USB drive and see if that improves performance - or if you have no problem rolling your computer back to an earlier date, then by restoring an earlier Time Machine backup from before you've experienced the slow downs.

In terms of a hardware defect, you could suspect something like a cooling problem. If that were the case, you would probably hear increased fan noise, and/or you would see kernel_task as having a high CPU percentage in Activity Monitor, which the screenshots does not show. Therefore it doesn't seem that a hardware problem is likely just now. You could check your logs (using Console.app) to see if you have any error messages about your disk drive - timeouts here could give massive slow downs throughout the system.


New iPhone asks for an Apple ID login that is not mine

It was a music file that was bought on iTunes by a friend of someone & passed to me on a memory stick by someone else. For some reason (apparently not a random occurence) when you re-install a back up from iCloud it recognises the original purchaser & asks for their id & password. The app was something random & not connected.


Use 256GB USB Thumb Drive as main boot drive

Aside from the speed issues that other people have mentioned, you will quickly kill your thumb drive.

One thing that differentiates thumb drives from SSDs is the sophistication of their wear leveling algorithms, the amount of over provisioning of sectors,  and the availability to integrate their garbage collection with the host through TRIM commands.

Basically, thumb drives cannot tolerate as many read/write cycles as an SSD. They have only basic wear leveling and very few or no spare sectors if a block dies.  In contrast, a SSD can have 10-20% of its total flash capacity just dedicated to wear leveling and failed sector replacement.

As a result, SSDs can handle over 100,000 read/write cycles while cheaper flash thumb drives can handle only on the order of 1000s.

OSes designed to be run from thumb drives (like some variants of Linux and freebsd) try to avoid killing their host thumb drives by mounting themselves read only and using a RAM disk as the swap partition and system log partition.

OSX unfortunately does not have this feature.

In the end, you'll have a slow system that will thrash your poor thumb drive to an early death.


Can I use the RAM from my new MacBook Pro in my 4-year-old MacBook Pro?

No, you can't. The largest DIMMs the 2.2 will take are 2GB ones, and it can't address more than 3GB, so it's already maxed out: http://www.zdnet.com/blog/apple/inside-the-macbook-pros-3gb-ram-limitation/321


Can restart the computer in recovery mode (Cmd-R, while starting up).   Go to Disk utility.   Encrypted disk will be greyed out.   Right click (option- click) to unlock it.   See which of your codes work.


What's the default Notes account setting used for on the iPhone?

Each Mail account on your iOS 4+ device is able to sync notes. When you have it enabled for multiple mail accounts you're able to have notes stored in different accounts. The Default Account setting will be for which account the notes are associated with unless you say so otherwise (Identical to the Default mail account in terms of functionality). The screenshot below might help - namely showing the Notes app is like the Mail application - an All Notes (Mail) view and just viewing on the individual accounts.

(Source of Photo)


The iOS Simulator does not get its own internet connection, it uses the computer's. Therefore, if you want it to use the Wi-Fi network instead of the LAN, just make sure you're connected through Wi-Fi.

In System Preferences / Network you can rearrange the order in which the computer gains Internet connection. Just place Wi-Fi on top of the list. On Lion it's done by clicking the gear thingy, and select Set Service Order from the pop-up list.


Prevent iTunes from opening when connecting bluetooth headset

I've got this figured out.
On OSX, the "RCD" (remote control daemon) is responsible for the naughtiness. It has hard-coded list of actions to do when it detects certain "events" - one of them being connecting to a bluetooth headset.
To disable this behaviour (minimal loss of functionality, possibly your apple remote won't work), use the following two commands:

launchctl stop com.apple.rcd
launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist

This should stop rcd from being launched by OSX. No rcd - no auto-magic multimedia. Your volume keys should continue working, but things like play key (or bluetooth) auto-starting iTunes should stop. With -w option the change should be persistent.
PS: The following is the nuclear option. In Terminal, enter:

sudo chmod 000 /System/Library/CoreServices/rcd.app/Contents/MacOS/rcd
sudo pkill -9 rcd

To stop rcd from even being started by any app. To restore your rcd, use:

sudo chmod 755 /System/Library/CoreServices/rcd.app/Contents/MacOS/rcd
launchctl start com.apple.rcd


Apple Mail is trying to use certificate and won't send without

I just noticed that there is a new toggle button available in Apple Mail when writing a new mail that lets me send the mail without digitally signing it:


This is not possible. On full screen the toolbar is always visible.

You can hide it only if you are out of full screen mode. If you want to do it with a key combination, you have to assign a shortcut on Preferences → Key Bindings (see the image below).


How do Services work on Mac OS X Lion (I can't make them appear in Menu Bar)

Make sure that the service is being saved to ~/Library/Services as a .workflow file. It only seems to include Services in the menubar when they are saved to this path.

Additionally, ensure that the Services folder is not an alias to another folder. It should show up as a normal folder in finder. I had a similar problem and was able to resolve it by removing the alias I created in ~/Library/. Instead of my Services alias, I created the Services folder as a normal folder. Once I did that, every script that was saved there began to appear in the menu as expected.


***I have phoned Parrot and it is an Apple softwear problem due to the software update. Ring Parrot and they will talk you through how to reset your phone settings and the Parrot.

***I have the exact same problem between iPhone 6 with upgraded ios10 and the Parrot MKi9200 car kit.

Seems the bluetooth problem is with the iPhone 6 and Apple do not have a fix yet. The MKi9200 seems to be working in every other way and only caused difficulty immediately after iPhone upgrade to ios 10. Apple have not confirmed yet and seem to be ignoring this issue as they do not have any announcement.

Meanwhile, try plugging extra cables to convert to USB for plugging into the wired connection - hopefully this helps you - it takes a few extra cables and converter male to female. Answer just now until Apple get their finger out and fix the problem they created. Just wish Apple and Microsoft test everything prior to release. A lot of people using the same kit.

All the best.


Yes, it is perfectly normal. It signifies that the apple account that you are currently using has previously "purchased" the app. Note that you may not have actually purchased the app, in the case of so called "free" apps.

The link what does the cloud icon mean in the app store provides some links to Download your past purchases and iCloud.


How can I find conflicting keyboard shortcuts?

I actually found the culprit...

In order to find the error I tried several other numbers with ⌘ + Shift and found ⌘ + Shift + 6 triggering a screen recording interface I hadn't seen before.

Opening this interfaces options I found it originated from CloudApp and there in CloudApps "Keyboard Shortcuts" I found it (see image).

CloudApp must have integrated the shortcut with it's recent update.

I removed the shortcut and now Safari is working again as it should :)


Why is bash unavailable even though installed?

Your examples do not show that the shell you are running is zsh.
What they show is the default shell is zsh and the ps one shows you ran bash from inside a zsh shell.
A way to see the current shell is echo $0 from https://askubuntu.com/questions/590899/how-do-i-check-which-shell-i-am-using However this only works in some cases. It does work if you call bash from zsh as you are doing. It does not work on the non POSIX shells I use e.g. fish and xonsh
$SHELL is the default shell and not what you are running (and that is zsh as you want) login man pages e.g. http://man.openbsd.org/login.1  (or run man login on macOS) $SHELL is set by the login program . However as noted in the man page shells might do other things and also you can (not by default) run a non login shell in Terminal.app and I think that might also have $SHELL set
For the process the $$ is the pid of what the command line sees e.g. trhe shell that runs the bash line you gave.
To see this

Start bash e.g. bash
In the bash shell now run ps -p $$ you get  something like

    ~ bash
     bash-5.0$ ps -p $$
      PID TTY           TIME CMD
    28098 ttys000    0:00.01 bash
    bash-5.0$ exit

~ is my zsh prompt. bash is bash 5.0 installled via macports


Why does Time Machine hang/freeze on "Backing up..."?

I couldn't find any information on this issue, so I called Apple. After some digging, they told me that this could result from corruption in the OS X install. They asked me to reinstall OS X, which made me a little nervous, but when it was finished, I did a clean Time Machine backup and all went well.


Repairing macports after deleting image folders

I ran into something similar, however, it was during an upgrade outdated that the problem occurred. The issue happened because I had a connection failure part way through the transfer of gcc44, and it truncated the tar archive. I deleted this and expected it to fetch it again, but I just got the missing image error, and I couldn't find out how to get a copy of it. I tried all kinds of things like those above including rebuilding it, cleaning etc, but what eventually fixed it was

sudo port uninstall -f gcc44
sudo port install gcc44


Software and Monitoring Provision for Mac Clients

Check out DeployStudio :-

http://www.deploystudio.com/Home.html

which is the best image deployment tool.

Monitoring is a little more problematic but I'm a big fan of Caspar if for no other reason than it provides enterprise management for Mac and iOS that runs on enterprise hardware.

http://www.jamfsoftware.com/products/casper-suite/

Apple Remote Desktop is an essential tool and it includes some monitoring tools. http://www.apple.com/support/remotedesktop/ and http://www.apple.com/remotedesktop/

I've known some Mac admins who have used Puppet but Munki is popular for a reason. https://code.google.com/p/munki/

Go and visit AFP548 for some good tips too. http://www.afp548.com/

We used to all be in love with monolithic images but these days tend to have simple images and use DeployStudio or Munki to roll out custom packages on top.


How to fix slow Spotlight and Time Machine after upgrading to  10.7.5?

I posted this workaround in that topic. Here it is (it is not a solution, only a temporary workaround to let my backup and Spotlight work until a fix is released).

Using Terminal:

I disabled Spotlight indexing:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

I deleted Spotlight index in all my drives (including the backup drives):

sudo rm -rf /.Spotlight-V100/Store-V1 /.Spotlight-V100/Store-V2  /.Spotlight-V100/VolumeConfiguration.plist

sudo rm -rf /TimeMachineDrive/.Spotlight-V100/Store-V1 /TimeMachineDrive/.Spotlight-V100/Store-V2  /TimeMachineDrive/.Spotlight-V100/VolumeConfiguration.plist

(rm -rf /.Spotlight-V100/* did not work for me.) (This can also be done by excluding the whole drive using privacy setting of Spotlight and then reincluding it.)

I deleted /var/folders content (see this topic to know why):

sudo rm -rf /var/folders/*

I deleted the .inProgress files from my Backups.backupdb subfolders (put to trash then empty the trash is the only way to do this).

It may be necessary to reformat your backup drive instead of only deleting .inProgress files.

I rebooted and then I restarted Spotlight:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

sudo mdutil -i on -E /

I waited until Spotlight finished indexing process
I launched a new backup using TimeMachine
I opened a bugreport to Apple with the title: "TimeMachine hangs when Spotlight is in use under Mac OS X 10.7" praying that many other people will do the same to make this bug a priority.

Some steps may be useless, but I took all what I learn by reading different topic about slow TM and Spotlight.


One possibility is that you have different versions of iOS. As per this documentation:

For iOS 11 or earlier — Sign out of the App Store in Settings, then build and run your app from Xcode.
For iOS 12 or later — Don't sign out of the App Store; simply build and run your app from Xcode. Sandbox accounts are stored separately, and you can control your sandbox account directly on-device in Settings.

Additional related documentation:

Test in-app purchases - App Store Connect Help
Apple Pay - Sandbox Testing - Apple Developer


Why are all the homebrew formulas located in the 'libexec' folder?

The layout was a deliberate design decision on Homebrew’s side to keep the balance between usability, maintainer sanity, and not breaking things.

A comment in Homebrew’s source code says:

  Installing JARs to "lib" can cause conflicts between packages.
  For Java software, it is typically better for the formula to
  install to "libexec" and then symlink or wrap binaries into "bin".

Why conflicts?

To explain what the specific conflict is and what causes it, let’s have a look at (a gross simplification of) what Homebrew does when you run brew install foo:

Homebrew downloads and unpacks everything foo needs according to the formula.
Homebrew follows the installation instruction according to the formula. For example, it copies files around, applies patches, and so on. In the end, you get a keg, the folder containing the fresh installation.
For your convenience, Homebrew looks at the bin and lib directories of your keg, then symlinks everything it finds into /usr/local/bin and /usr/local/lib so you don’t have to.

Note how in #3, the formula does not have a say. This helps keep complexity out of the formula definitions. A formula maintainer can never forget to create a symlink because she or he doesn’t have to; Homebrew does it automatically for everything that is in bin or lib.

The layout policy was (AFAIK) first codified in issue #678 of Homebrew’s legacy GitHub repository, which says:

  This is expected behavior; libexec is assumed to be private-use stuff for that formula.

Basically, Homebrew considers the contents of bin and lib public artifacts, i. e. things that are supposed to be called from outside the formula.

Everything else, including the whole content of libexec, is considered an implementation detail, i. e. things for private use by the formula itself.

But what is the big deal with that? Could you, as an author of a formula like maven, not simply ignore those principles and instead live with a few unnecessary symlinks in /usr/local/lib, and give the user the same layout as the upstream project has?

Turns out that yes, you could, but it’s a horrible idea, and Homebrew maintainers would rightfully refuse such a formula until fixed.

Publishing private stuff to /usr/local/lib is a typical cause of JAR hell. (Imagine a Java-based Homebrew formula foo which uses mylib.jar v1, and another Homebrew formula bar which uses mylib.jar v2, with the version number not being part of the filename mylib.jar. Now go ahead and try to figure out why your business-critical application – which happens to use /usr/local/lib/mylib.jar because it’s in the path – only works on that 50% of your machines where foo has been installed after bar but not vice versa. This is an example of the conflict mentioned at the beginning.)

tl;dr Whatever you put into lib, Homebrew will symlink to /usr/local/lib for you. Putting a JAR you depend on into /usr/local/lib is a bad thing to do and leads to JAR hell.


iPhone 5c SIM card switch and have data on new one?

A SIM may be removed from one device and inserted into another and the phone number and attendant account will then be associated with the new device.


iOS 4 - Can I close an app without it staying open in the background?

Not presently.

iOS multitasking however is quite different than say the multitasking in Android or Mac OS X. The app unless it specifically is using one of the 7 methods to run in the background is "frozen" and won't consume any resources until it's brought back to the forefront. Essentially the fast app switching feature as part of iOS 4.0 is a large part of why you saw so many apps being updated to work with iOS 4.0 multitasking.


How to grep with filename highlighted in one color, and the match highlighted in another color?

Pipe your grep through awk, then have awk color the fields.

Example:

grep -i "stuff" * | awk -F: '{ printf "\033[1;31m" $1 " \033[0m"; for(i=2;i<=NF;i++){out=out":"$i}; print out}'


Connecting external display turns MacBook screen black

Could be a hardware related issue (either the MBP or external display) Similar issue happened to me and it turned out to be an issue with the LVDS cable. Also used to work at the Genius Bar, and would see this a lot with certain models of MBP.

Try running a hardware test https://support.apple.com/en-us/HT201257 , or if you can take it in to the Genius Bar. They have diagnostics which will help isolate it to either hardware or software.

Have you tried a different external display / display cable?


Apple declines to partition many more drives on 10.11 than it did in the past. Have you tried the "erase" command to blow away everything?

If that's no good, you could try the command line:

diskutil splitpartition

The help is a bit obtuse, but if you posted what layout you wanted, perhaps someone could get you the command for OS X.

  Split a pre-existing partition into multiple partitions.  All data on the split
  partition will be lost.  The first disk parameter is the one to split; the
  remaining parameters are as in the diskutil partitionDisk command.
  Ownership of the affected disk is required.

  Valid sizes are floating-point numbers with a suffix of B(ytes), S(512-byte-
  blocks), K(ilobytes), M(egabytes), G(igabytes), T(erabytes), P(etabytes),
  or (%)percentage of the total size of the whole disk.

Here's a lot of output from a command to make three partitions on a 64 GB drive:

$ diskutil splitpartition disk2s2 "MS-DOS FAT12" BOOT_ARMHF 1.0M ExFAT Linux 1.9G "Journaled HFS+" OSX 2G
Started partitioning on disk2s2 Untitled
Splitting
Unmounting disk
Waiting for the disks to reappear
Formatting disk2s2 as MS-DOS (FAT12) with name BOOT_ARMHF
512 bytes per physical sector
/dev/rdisk2s2: 1907 sectors in 1907 FAT12 clusters (512 bytes/cluster)
bps=512 spc=1 res=1 nft=2 rde=512 sec=1952 mid=0xf8 spf=6 spt=32 hds=16 hid=409640 drv=0x80
Mounting disk
Formatting disk2s3 as ExFAT with name Linux
Volume name      : Linux
Partition offset : 411648 sectors (210763776 bytes)
Volume size      : 3708928 sectors (1898971136 bytes)
Bytes per sector : 512
Bytes per cluster: 131072
FAT offset       : 16384 sectors (8388608 bytes)
# FAT sectors    : 16384
Number of FATs   : 1
Cluster offset   : 32768 sectors (16777216 bytes)
# Clusters       : 14360
Volume Serial #  : 56c61e6c
Bitmap start     : 2
Bitmap file size : 1795
Upcase start     : 3
Upcase file size : 5836
Root start       : 4
Mounting disk
Formatting disk2s4 as Mac OS Extended (Journaled) with name OSX
Initialized /dev/rdisk2s4 as a 57 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished partitioning on disk2s2 Untitled
/dev/disk2 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *63.9 GB    disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:       Microsoft Basic Data BOOT_ARMHF              999.4 KB   disk2s2
   3:       Microsoft Basic Data Linux                   1.9 GB     disk2s3
   4:                  Apple_HFS OSX                     61.6 GB    disk2s4


How can I move videos back into the Camera Roll?

Turns out you can bring them back into your Camera Roll, or at least in a place where you can use them in 1SE, just by copying them into Dropbox.

Copy your MOV files into Dropbox.
Install the Dropbox app on your device.
For each video, select the ellipsis icon and then Export, then Save Video.