A script to fix EDID problems on external monitors in Mac OS.
-
Connect the problem monitor.
-
Download this script into your
/System/Library/Displays/Overrides(note: this file is only writeable by root, so some commands requiresudo).
| <?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>T*</key> | |
| <string>Temperature</string> | |
| <key>V*</key> | |
| <string>Voltage</string> | |
| <key>I* (upper-case i, not lower-case L)</key> | |
| <string>Intensity (current)</string> |
| #!/bin/bash | |
| # | |
| # dumpACPItables, get all Tables from Mac OS X ioreg. | |
| # | |
| # 06-19-2009 AlainTox714 | |
| # | |
| # path: /usr/local/bin | |
| # | |
| ACPIdir="/Users/${USER}/Desktop/ACPI_tables" |
| #!/bin/bash | |
| # | |
| # Simple Main Logic Board (MLB) Serial Generator Script by TheRacerMaster | |
| # Based off the work of Hanger1, AGuyWhoIsBored & Alien:X | |
| # NOTE: This is a simple script that doesn't do any checking of other SMBIOS values. It needs valid SMBIOS data which includes the following: | |
| # - Valid SmUUID value in Clover config.plist under SMBIOS (generated using uuidgen) | |
| # - ROM value set to UseMacAddr0 in Clover config.plist (uses MAC address of your first NIC as ROM value) | |
| # - Properly formatted serial number (doesn't have to be a real one, just formatted properly) in Clover config.plist under SMBIOS | |
| # - Don't use a generic serial number (such as Clover's default)! It needs to be at least semi-unique. | |
| # - Try using a generated serial number that isn't real (but formatted correctly) from Clover Configurator, Chameleon Wizard, etc. |
| #!/bin/bash | |
| # change the values below to match your system. | |
| # target the BUILD_DIR to output from an nw.io build process. nwjs-shell-builder recommended! | |
| # https://github.com/Gisto/nwjs-shell-builder | |
| # BASE_DIR is the target directory for this script, where files will be gathered and packaged to | |
| BUILD_DIR=”/var/www/deploy/TMP/osx-ia32/latest-git” | |
| BASE_DIR=”/var/www/deploy/osx” |
| #!/usr/bin/swift | |
| import Foundation | |
| let path = NSString(string: "~/Library/Application Support/.ffuserdata").expandingTildeInPath | |
| let data = NSKeyedUnarchiver.unarchiveObject(withFile: path) as! NSDictionary | |
| let mutableData = data.mutableCopy() as! NSMutableDictionary | |
| for (key, value) in mutableData { | |
| if value is NSDate { |
| #! /bin/bash | |
| set -e | |
| trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG | |
| trap 'echo FAILED COMMAND: $previous_command' EXIT | |
| #------------------------------------------------------------------------------------------- | |
| # This script will download packages for, configure, build and install a GCC cross-compiler. | |
| # Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running. | |
| # If you get an error and need to resume the script from some point in the middle, | |
| # just delete/comment the preceding lines before running it again. |
There are a number of additional dependencies required for getting things installed on OS X. Starting with a blank slate OS X machine, this is the process it takes:
# Install Xcode Command Line Tools
# Install Homebrew
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"