Category Archives: Apple

Apple Operating Systems and Devices

Mac Show Hidden Files

In Finder to display of Hidden files by type Cmd + Shift + . (dot)

To turn on globally type the following command in Terminal:

defaults write com.apple.finder AppleShowAllFiles -bool true

To revert back to hidden append false:

defaults write com.apple.finder AppleShowAllFiles -bool false

To make the Finder change effective type:

killall Finder

HP 7520 WiFi scanning not working in Mac OS High Sierra

If when installing the printer with HP Easy Start you get a warning that the scanner does not support “Bonjour” and continue you’ll end up with a working printer but no scanner!

In most cases this happens because you have a dual band router advertising 2.4GHz and 5GHz on the same SSID networks and the printer latches onto the 5GHz network. Simply put the HP 7420 scanner does not work on the 5GHz network.

The solution is to disable the 5GHz network or rename its SSID and ensure your printer does not use it, i.e. is connected to the 2.4GHz SSID. Once done uninstall the HP printer software using HP Uninstaller. Reinstall the printer using HP Easy Start. This time you get no scanner warning and end up with both printer and scanner working.

 

Stretch YouTube Video To Fit Browser Window

Fit a YouTube video in the browser window as follows:

Normal YouTube Video URL is https://www.youtube.com/watch?v=grItaOxuyTE&t

To watch in a re-sizable window without switching to Full Screen rewrite the above URLas follows:

https://www.youtube.com/v/grItaOxuyTE&t

Append your YouTube video ID to www.youtube.com/v/VIDEO_ID to display a re-sizeable browser window.

In other words replace /watch?v= with /v/ in the normal URL

 

Mac Clean Install

The steps below are for Catalina but it should be the same for other versions of macOS.

  1. Ensure you have a Time Machine backup and have iCloud configured to backup important app settings, e.g. Documents, Device Settings, Mail, Contacts, Keychain, etc. and everything is synchronised to the iCloud server.
  2. Make a list of installed Applications for later use as follows:
    • In Finder open Applications folder and press Command+A to select all apps, then press Command+C
    • In TextEdit, create a new document, select Format -> Make Plain Text from the menu bar, press Command+V to paste list of app names into the document and print it out or save it to the desktop and copy it to the Time Machine drive.
  3. Create a bootable MacOS usb installer, e.g. Catalina – see Apple Support instructions *
  4. Insert your “Install macOS Catalina.app” bootable usb.
  5. Power up.
  6. Hold the OPTION key until the boot selection menu appears.
  7. From macOS Utilities window choose Disk Utility
  8. Select the Mac HD drive and select Erase
  9. Set format as APFS and click Erase
  10. Quit to main menu
  11. Select Install MacOS and follow instructions. When it comes to Migration Assistant connect your Time Machine or Time Capsule (for which you’ll need your login password) drive. Then
    1. Untick Applications (to avoid reinstalling 3rd party programs)
    2. Tick Users
    3. Tick “Other Files and folders”
    4. Tick “Computer & Network Settings”
  12. Click Continue to restore your data and settings.
  13. Follow the installation wizard to complete installation
  14. If necessary clean up Safari by using the following instructions  Safari Manual Reset
  15. Install required 3rd party programs – refer to list (apps.txt) produced in step 2.

This completes the Clean Install.

  • Note when downloading MacOS from the App Store completes it automatically enters the “Install macOS Catalina” app. If not shown on the desktop it can be seen by clicking on the “Install macOS Catalina” app minimised on the right-hand-side of the Launchpad. Once here type Command+Q to quit the application. The “Install macOS Catalina.app” should be in the Applications directory ready to be copied to usb. For Catalina your usb needs to be larger than 8GB, e.g. 16GB

MAC Cleanup

Check hard disk Integrity to rule out disk faults

Boot the computer up in single user terminal. On chime press Command + S and run file system checker and repair

/sbin/fsck -fy

Reboot as follows:

/sbin/mount -uw /
reboot

Repair Permissions

Open Disk Utility and choose your main hard drive from the sidebar (in most Macs there will only be one.) Now click on First Aid and Repair Permissions. This will ensure that all the files on your Mac have the correct permissions, which will help keep things ticking along.

From El Capitan onwards Disk Utility does not have this options. Instead you have to use command line version:

sudo /usr/libexec/repair_packages --verify --standard-pkgs /
sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /

Purge system and redundant files

Install CCleaner

Run as Admin as follows:

$ sudo /Applications/CCleaner.app/Contents/MacOS/CCleaner 

Install Clean My Mac 3 (paid for app)  and select Smart Clean. Optionally go through the individual options

Remove unwanted Startup items

Open System Preferences and click Users & Groups. Now click on the Login Items tab to view which programs and services are launched when you first power up (or log in) to your Mac. Highlight an item in the list that you don’t want and click on the Delete from Login Items (‘-’) button at the bottom of hte list.

Reveal CPU Hogging applications with Activity Monitor

If you want to see what apps are using up your system open the Activity Monitor in the Utilities folder. Activity Monitor shows all the processes on your Mac (some of which you can’t, or shouldn’t, close) so click on View and Windowed Processes. Now click on the CPU button and the “%CPU” column to list all programs by the amount of CPU they are using. You can also use this to see what Memory, Disk and Network different processes are using.

Delete big, unused files (also an option in Clean My Mac)

Now that you’ve paid some attention to your applications, it’s time to look at the files cluttering your drive. You can use Finder to search for huge files. To do so, open Finder and select the volume you’d like to search. Next, choose File > Find (or hit Command-F). Click on the Kind pull-down menu and select Other. When the Select a search attribute window opens, check the box for File Size, uncheck any other boxes, and click OK. Change the “equals” pull-down menu option to “is greater than” and then change KB to MB. Enter a minimum files file size such as, say, 100MB. You can then delete any files that show up on the list that you no longer need — or move them to an external drive.

Remove Custom Preferences

Open System Preferences and check in the row at the bottom. This is where custom items are added to your System Prefernces and if you’re not using them then they are taking up your CPU. Right-click on an item and choose Remove From Preference Pane.

Performance Boost

  • Increase RAM to 8GB+
  • Replace HDD with SSD

Useful Stuff

Enable Read/Write of NTFS Disks

diskutil info “/Volumes/MyPassport” → display Node Name = disk?s?w
hdutil eject “/Volumes/MyPassport” 
sudo mount_ntfs -o rw /dev/disk?s?w “/Volumes/MyPassport” 

MyPassport = example volume name,  \040 represents a space

Alternative method

Edit fstab and add label – LABEL=My\040Passport none ntfs rw,auto,nobrowse

sudo nano /etc/fstab

Eject then find hidden mounted NTFS volume in Finder > GO open /Volumes

MAC Terminal Command Reference

www.ss64.com

Repair WiFi – alternative solution

Turn Off Wi-Fi from the Wireless menu item

  1. From the OS X Finder, hit Command+Shift+G and enter the following path:/Library/Preferences/SystemConfiguration/
  2. Within this folder locate and select the following files:com.apple.airport.preferences.plist
    com.apple.network.identification.plist
    com.apple.wifi.message-tracer.plist
    NetworkInterfaces.plist
    preferences.plist
  3. Move all of these files into a folder on your Desktop called ‘wifi backups’ or something similar – we’re backing these up just in case you break something.
  4. Reboot the Mac
  5. Turn ON WI-Fi from the wireless network menu again

If not fixed try these steps

  1. Open network preferences from your WiFi icon in the menu bar. Then click advanced. Delete the network that is giving you problems.
  2. Open Keychain (Utilities). Find the passwords that are stored for your particular network and delete them.
  3. Repair permissions using the Disk Utility.
  4. Reboot the computer.; re-enter your WiFi key log into the network.

Uninstall MacKeeper

Cancel your subscription via the integrated technical support chat before uninstalling – saves having to phone up afterwards. To uninstall quit MacKeeper  and drag the app in the Applications folder to the Trash can.

More details here from Macworld.com

http://www.macworld.com/article/2861435/software-utilities/how-to-uninstall-mackeeper-from-your-mac.html

Change Yosemite Mail Default Message Font Colour

This is a work around for setting the Message default font colour.

Create a signature with Mail -> Preferences -> Signature selecting the mail account and + button like the one below in blue or desired colour:

 Hello

Regards,

Joe Bloggs

Now when you send a new message this signature will appear. If you insert your message between Hello and Regards it will be blue.

 

 

AirPort Roaming Network Configuration

AirPort Network Diagram

AP Roaming Network  Diagram

The above diagram shows a home Airport network with wired (RJ-45) Airports in the Sitting room, Reception (Time Capsule) and Study (Loft) and a wirelessly connected Airport in the Conservatory connected to a HiFi system using a audio mini-jack port. Due to the proximity of the  Airport HiFi it wirelessly connects to the nearest AirPort Time Capsule in the Conservatory. The wired AirPorts are connected to  the LAN using a straight Ethernet cable connected to the WAN AP WAN Port port and nearest room RJ-45 wall port.

The room RJ-45 wall ports are wired internally to an 8-port Gigabit switch in the loft. The loft router is represented by the Internet green dot in above diagram. The router LAN port connects directly to the loft switch and its ADSL port to the telco broadband telephone filter.

Airport Configuration

Airports are configured using the AirPort Utility application

All Base Station settings are configured with a unique name, .e.g “AirPort Sitting Room” and identical login passwords.

All Internet settings are configured to connect using “DHCP”. This means the AirPorts will automatically get their host, DNS and gateway IP addresses from a DHCP server. In this example it is the loft router.

AP DHCP Tab

AP Internet – DHCP

All Wireless settings are configured with an identical Network name (AirPortNet), Password and Security setting.

The wired AirPort Network Modes are set to “Create a wireless network”.

AP Wireless Tab Roaming

AP Wired – Create WiFi

The wireless AirPort (AirPort HiFi) Network Mode is set to “Extend a wireless network”.

AP Wireless Tab WiFi Extend

AP Wireless – Extend WiFi

All Network settings are set to “Off (Bridge Mode)”

AP Network Tab

AP Network – Bridge Mode

Airplay is disabled on all AirPorts except the conservatory Airport HiFi.