User Tools

Site Tools


macos:10.15

Information

  • macOS 10.15 Catalina 1)

Installation Notes

SSD Wipe

  • Run from a Linux Live USB/SD environment
sudo blkdiscard --verbose '/dev/sda'
systemctl suspend
sudo rm -f '/sys/firmware/efi/efivars/'* && sudo blkdiscard --verbose '/dev/sda' && sudo hdparm --user-master u --security-set-pass 'x' '/dev/sda' && sudo hdparm --user-master u --security-erase 'x' '/dev/sda' && sudo hdparm --user-master u --security-set-pass 'x' '/dev/sda' && sudo hdparm --user-master u --security-erase-enhanced 'x' '/dev/sda' && sync

Notes

  • :!: Steam won't install nor run on case-sensitive APFS
  • SIP needs disabled for SwitchResX and purge-wrangler

Download

  • :!: If there's any future system updates, the entire OS needs re-downloaded in order to have an updated installer

Copy to USB

sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Install\ macOS\ Catalina

HOSTS

  • :!: TODO: Automate updating HOSTS file somehow?
sudo curl 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' -o '/private/etc/hosts' && sync && sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
cat '/private/etc/hosts' | grep 'Date:'
sudo nano '/private/etc/hosts'

Programs

purge-wrangler

  • :!: The script requires running with bash from the script's current directory instead of the usual direct-executing 2)
  • :!: It's been warned not to be using the script from master 3)
curl 'https://raw.githubusercontent.com/mayankk2308/purge-wrangler/master/purge-wrangler.sh' -o ~/'Downloads/purge-wrangler.sh' && sync && cd ~/'Downloads' && bash 'purge-wrangler.sh'

Audacity

FFmpeg

  • TODO

Corsair

ckb-next

Auto-start Fix

sudo curl 'https://raw.githubusercontent.com/ckb-next/ckb-next/master/macos/org.ckb-next.plist' -o '/Library/LaunchAgents/org.ckb-next.plist' && sync

iCUE

  • Check the forums for the latest version, doesn't seem like the main post contains an updated URL
  • :!: macOS reports that iCUE uses significant energy even in the background

FileZilla

GIMP

KeePassXC

Keybase

Mozilla Firefox

Notes

  • :!: Firefox needs started normally at least once in order to avoid Gatekeeper's wrath 4)

Remove Features

rm -Rfv '/Applications/Firefox.app/Contents/Resources/browser/features'

Settings

Default Profile

  • :!: Change espionage724 as-needed
  • TODO: See if sed can be figured out on macOS in order to remove the hard-coded path
  • :!: Change Name=default to Name=default-nightly for Nightly
rm -fv '/tmp/profiles.ini' && nano '/tmp/profiles.ini'
[General]
StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=Profiles/espionage724
Default=1

user.js

  • Last updated: 2019/09/09
  • :!: IPv6 is disabled in order to prevent WebRTC from grabbing an IPv6 address even though NetworkManager has it disabled…
  • :!: media.peerconnection.enabled disables WebRTC
rm -fv '/tmp/user.js' && nano '/tmp/user.js'
/***********
 * General *
 ***********/

user_pref("extensions.screenshots.disabled", true);
user_pref("reader.parse-on-load.enabled", false);

user_pref("media.mediasource.experimental.enabled", true);
user_pref("media.mediasource.ignore_codecs", true);
user_pref("media.autoplay.enabled", false);

user_pref("webgl.disabled", true);
user_pref("webgl.enable-webgl2", false);
user_pref("accessibility.force_disabled", 1);
user_pref("mousewheel.min_line_scroll_amount", 40);
user_pref("browser.tabs.drawInTitlebar", true);

/*******
 * U2F *
 *******/

user_pref("security.webauth.u2f", true);

/*******
 * END *
 *******/
VPN
  • Add if using a VPN
/***********
 * Privacy *
 ***********/

user_pref("network.dns.disableIPv6", true);
user_pref("media.peerconnection.enabled", false);

Apply Settings

  • :!: Firefox needs to be running before running this
  • Path should report the current user's username, and the text Custom Stuff should be visible
  • :!: If Firefox doesn't open automatically, firefox -p default must be ran the first time Firefox is started after this command
  • :!: Change Firefox.app to Firefox.app for Nightly
ls '/tmp/profiles.ini' '/tmp/user.js' && pkill 'firefox' && rm -Rfv ~/'Library/Application Support/Firefox' && sync && mkdir -p ~/'Library/Application Support/Firefox/Profiles/'$USER && mv '/tmp/profiles.ini' ~/'Library/Application Support/Firefox/profiles.ini' && mv '/tmp/user.js' ~/'Library/Application Support/Firefox/Profiles/'$USER'/user.js' && sync && cat ~/'Library/Application Support/Firefox/profiles.ini' | grep $USER && cat ~/'Library/Application Support/Firefox/Profiles/'$USER'/user.js' | grep 'Custom Stuff' && sleep '1' && sync || '/Applications/Firefox.app/Contents/MacOS/firefox' -p 'default'

Extensions

Download

  • Decentraleyes
  • HTTPS Everywhere
  • Privacy Possum
  • Cookie AutoDelete
  • uBlock Origin
open 'https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/versions' && open 'https://www.eff.org/https-everywhere' && open 'https://addons.mozilla.org/en-US/firefox/addon/privacy-possum/versions' && open 'https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/versions' && open 'https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/versions'
  • [x] Enable Automatic Cleaning? Delay Before Cleaning
  • [x] Enable Cleanup on Domain Change
  • [ ] Enable Cleanup Log and Counter
  • [ ] Show Notification After Cookie Cleanup
  • [x] Clean Cookies from Open Tabs on Startup
  • [x] Localstorage Cleanup (Firefox 58+)

uBlock Origin

Settings
  • [x] Prevent WebRTC from leaking local IP addresses
Filter lists
  • [ ] Ads → EasyList 5)
  • [ ] Privacy → EasyPrivacy 6)
  • Multipurpose → [x] Dan Pollock's hosts file
  • Multipurpose → [x] hpHost's Ad and tracking servers
  • Multipurpose → [x] MVPS HOSTS
  • Custom → [x] Import
Custom 3rd-party filters
  • Last updated: 2018/11/23
https://www.fanboy.co.nz/fanboy-problematic-sites.txt
https://www.fanboy.co.nz/r/fanboy-ultimate.txt
https://www.fanboy.co.nz/fanboy-antifacebook.txt
https://www.fanboy.co.nz/fanboy-antifonts.txt
https://www.fanboy.co.nz/fanboy-cookiemonster.txt
https://raw.githubusercontent.com/ryanbr/fanboy-adblock/master/popads-domains-list.txt
https://raw.githubusercontent.com/ryanbr/fanboy-adblock/master/fake-news.txt

Testing Sites

SwitchResX

Transmission

http://john.bitsurge.net/public/biglist.p2p.gz
curl -sI http://john.bitsurge.net/public/biglist.p2p.gz | grep Last-Modified

VLC

WireGuard

VPN.AC

Diagnostics

Geekbench

GpuTest

Fur Ring

720p
  • HDTV
  • :!: Runs for 10 seconds
~/'Downloads/GpuTest_OSX_x64_0/GpuTest.app/Contents/MacOS/GpuTest' /test='fur' /width='1280' /height='720' /benchmark /benchmark_duration_ms='10000'
1080p
  • FHD
  • :!: Runs for 10 seconds
~/'Downloads/GpuTest_OSX_x64_0/GpuTest.app/Contents/MacOS/GpuTest' /test='fur' /width='1920' /height='1080' /benchmark /benchmark_duration_ms='10000'
4K
  • UHDTV1
  • :!: Runs for 10 seconds
~/'Downloads/GpuTest_OSX_x64_0/GpuTest.app/Contents/MacOS/GpuTest' /test='fur' /width='3840' /height='2160' /benchmark /benchmark_duration_ms='10000'

Benchmarks

/benchmark /benchmark_duration_ms='15000'
/fullscreen

Heaven Benchmark

Games

Battle.net

  • This covers all Battle.net games, or notably Warcraft III, :!: Diablo II 7), and World of Warcraft

FINAL FANTASY XIV

Game Data

~/Library/Application Support/FINAL FANTASY XIV ONLINE/Bottles/published_Final_Fantasy/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn

Guild Wars 2

Old School RuneScape

Java

  • :!: Oracle JDK 12 didn't work, but this needs to be investigated more thoroughly to figure out why

OpenArena

RuneScape

Steam

Xonotic

Settings

Safari

  • :!: Firefox is to be used primarily since Safari no longer supports uBlock Origin

Settings

  • Preferences → Advanced → Show Develop menu in menu bar
  • Develop → Experimental Features → CSSOM View Scrolling API 8)

Terminal

  • Preferences → General → On startup, open: New window with profile: Pro
3)
will continue to do so anyway until an issue arises :p
4)
if Gatekeeper blocks Firefox from starting normally anyway, run sudo spctl --master-disable, start Firefox, and run sudo spctl --master-enable immediately afterwards
5) , 6)
uncheck; included in Fanboy Ultimate List
7)
which will not install or run on Catalina/10.15 since it's currently 32-bit
8)
this fixes comment editing on egpu.io
macos/10.15.txt · Last modified: 2019/10/31 01:34 by Sean Rhone