~/Library/Preferences/Nextcloud.macos:install
MacBook Software Installation
My additional (main) installation/configuration steps were:
- performed a software update to Apple
macOS Sequoia 15.5; - in terminal did:
- change
umaskto027(rights for group read-only, others nothing)sudo launchctl config user umask 027
- change hostname;
sudo scutil --set HostName "my-macbook" # or/and (if really needed) sudo scutil --set LocalHostName "my-macbook" sudo scutil --set ComputerName "my-macbook"
- disabled automatic boot on power supply (see article on Macworld);
sudo nvram BootPreference=%02
- disable creation of
.DS_Storefiles on network shares and removable media (like USB drives, according to article of University of Alaska);defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE defaults write com.apple.desktopservices DSDontWriteUSBStores -bool TRUE # verify with: defaults read com.apple.desktopservices
- configured iCloud in
System Settings » Apple-ID » iCloud(to fit 5GB space limit); - localized (to german language) the name of some 1st-level directories (as described in Apple developer article Localizing the Name of a Directory);
- created Z Shell init script
~/.zshrcand set some environment variables, for example:EDITOR,TEXINPUTS,BIBINPUTS,PROJECTS; - created a launchd file
~/Library/LaunchAgents/de.rho62.environment.plist, which provides environment variables for GUI applications, inspired by this articles: - installed some drivers and additional base software:
- DELL driver and Color Management Software for U2723QE computer monitor;
- EPSON software for printer Epson Expression Premium XP-7100:
- printer driver (v13.26),
- Epson Scan 2 (v6.7.71),
- Epson Photo + (v4.02.0)
- Apple
xcodedeveloper CLI software (by simply enteringgitin terminal); - Nextcloud Desktop Client for macOS 12+;1)
- enabled CUPS web interface:
cupsctl WebInterface=yes
;
- Homebrew installed as packet manager, using terminal command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- GnuPG installed, according to this article:
brew install gnupg pinentry-mac echo "pinentry-program $(which pinentry-mac)" >> ~/.gnupg/gpg-agent.conf gpg-connect-agent reloadagent /bye brew install gpg-suite
- Emacs Plus installed to path
/opt/homebrew/opt/emacs-plus@28brew tap d12frosted/emacs-plus brew install emacs-plus@28 sudo osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@28/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'
then:
- created an application
EmacsClient.appbased on a shell script, using themacOSAutomator;/opt/homebrew/bin/emacsclient -n -a /opt/homebrew/bin/emacs $@ open -a Emacs
- added some other useful programs:
- removed some (partially) clashing keyboard shortcuts from
macOS:- F11: show desktop;
- c-space: input method selector;
- c-left, c-right, c-up: Mission Control;
- c-down: program windows;
- LaTeX stuff installed:2)
- MacTeX (a TeXlive distribution), but w/o GUI applications:
brew install --cask mactex-no-gui sudo tlmgr update --self && sudo tlmgr update --all sudo tlmgr install algorithms && sudo texhash
See the following paths for interesting files:
/Library/TeX/usr/local/texlive/etc/paths.d/TeX/etc/manpaths.d/TeX
- LyX for Mac OS X installed:4)
brew install --cask lyx ln -s $PROJECTS/texmf/lyx/layouts "$HOME/Library/Application Support/LyX-2.4/layouts" ln -s $PROJECTS/texmf/lyx/templates "$HOME/Library/Application Support/LyX-2.4/templates/MyTemplates"
then:
- update
"~/Library/Application Support/LyX-2.4/preferences"; - adopted
PATH prefix(to zero length currently) in preferences; - installed standalone version of fig2dev, using
brew install fig2dev;5)
- Finally in terminal update the (persistent)
launchdpath for GUI apps:sudo launchctl config user path "/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Library/TeX/texbin:/Users/<user>/Applications" # or simply sudo launchctl config user path $PATH # verify with: launchctl getenv PATH
After doing so also Aspell works (e.g. from within Emacs).
1)
Restored old configuration settings directly to file
2)
xdvi does not work because main X11 library libXawt is missing currently.3)
Provides Spotlight support!
4)
Spotlight support seems to be out-of-the-box.
5)
fig2dev is normally part of Xfig which requires the X11 library.
macos/install.txt · Last modified: by Ralf Hoppe
