====== Information ======
* macOS 10.15 Catalina ((https://www.apple.com/macos/catalina/))
====== 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 ======
* [[https://apps.apple.com/us/app/macos-catalina/id1466841314?mt=12|App Store]]
* :!: If there's any future system updates, the entire OS needs re-downloaded in order to have an updated installer
===== Copy to USB =====
* https://support.apple.com/en-us/HT201372
* :!: Expects a Volume named ''Install macOS Catalina'' already; change as-needed
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Install\ macOS\ Catalina
====== HOSTS ======
* https://github.com/StevenBlack/hosts/
* Using ''Unified hosts + fakenews + gambling''
* :!: 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 =====
* https://github.com/mayankk2308/purge-wrangler
* https://egpu.io/forums/mac-setup/script-enable-egpu-on-tb1-2-macs-on-macos-10-13-4/
* :!: The script requires running with ''bash'' from the script's current directory instead of the usual direct-executing ((see [[https://github.com/mayankk2308/purge-wrangler/issues/35|report]]))
* :!: It's been warned **not** to be using the script from ''master'' ((will continue to do so anyway until an issue arises :p))
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 =====
* https://www.audacityteam.org/download/mac/
==== FFmpeg ====
* TODO
===== Corsair =====
==== ckb-next ====
* https://github.com/ckb-next/ckb-next
* :!: Make sure **not** to download the ''legacy'' version
=== Auto-start Fix ===
* https://github.com/ckb-next/ckb-next/issues/488#issuecomment-544247560
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 ====
* https://forum.corsair.com/v3/showthread.php?t=182942
* 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
* http://downloads.corsair.com/Files/CUE/iCUE-3.21.88-release.dmg
===== FileZilla =====
* https://filezilla-project.org/download.php?show_all=1
===== GIMP =====
* https://www.gimp.org/downloads
===== KeePassXC =====
* https://keepassxc.org/download/#mac
===== Keybase =====
* https://keybase.io/docs/the_app/install_macos
===== Mozilla Firefox =====
* https://download.mozilla.org/?product=firefox-latest-ssl&os=osx&lang=en-US
==== Notes ====
* :!: Firefox needs started normally at least once in order to avoid Gatekeeper's wrath ((if Gatekeeper blocks Firefox from starting normally anyway, run ''sudo spctl --master-disable'', start Firefox, and run ''sudo spctl --master-enable'' immediately afterwards))
==== 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'
=== Cookie AutoDelete ===
* [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 ((uncheck; included in ''Fanboy Ultimate List''))
* [ ] Privacy -> EasyPrivacy ((uncheck; included in ''Fanboy Ultimate List''))
* 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 ====
* https://www.youtube.com/html5
* https://ipx.ac
* https://decentraleyes.org/test/
* https://panopticlick.eff.org/
* https://browserleaks.com/
* https://speedof.me/
===== SwitchResX =====
* https://www.madrau.com/srx_download/download.html
===== Transmission =====
* https://transmissionbt.com/download/
http://john.bitsurge.net/public/biglist.p2p.gz
curl -sI http://john.bitsurge.net/public/biglist.p2p.gz | grep Last-Modified
===== VLC =====
* https://get.videolan.org/vlc/last/macosx/
===== WireGuard =====
* https://www.wireguard.com/install/
* https://itunes.apple.com/us/app/wireguard/id1451685025?ls=1&mt=12
==== VPN.AC ====
* https://vpn.ac/knowledgebase/124/WireGuard-on-macOS.html
* https://vpn.ac/wgmanager
===== Diagnostics =====
==== Geekbench ====
* https://www.geekbench.com/download/mac/
==== GpuTest ====
* http://www.ozone3d.net/gputest/dl/GpuTest_OSX_x64_0.7.0.zip
=== 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 ====
* https://benchmark.unigine.com/heaven
===== Games =====
==== Battle.net ====
* https://www.blizzard.com/en-us/download?platform=macos
* This covers all Battle.net games, or notably Warcraft III, :!: Diablo II ((which will not install or run on Catalina/10.15 since it's currently 32-bit)), and World of Warcraft
==== FINAL FANTASY XIV ====
* https://na.finalfantasyxiv.com/mac/download/
=== 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 ====
* https://account.arena.net/content/download/gw2/osx/64
==== Old School RuneScape ====
* https://www.runescape.com/oldschool/download
=== Java ===
* https://www.java.com
* :!: Oracle JDK 12 didn't work, but this needs to be investigated more thoroughly to figure out why
==== OpenArena ====
* http://www.openarena.ws/download.php
==== RuneScape ====
* https://www.runescape.com/download
==== Steam ====
* https://store.steampowered.com/about/
==== Xonotic ====
* https://www.xonotic.org/download/
====== 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 ((this fixes comment editing on egpu.io))
===== Terminal =====
* Preferences -> General -> On startup, open: New window with profile: Pro