apple
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| apple [2011/05/04 21:11] – [Configuration] dblume | apple [2025/05/27 16:19] (current) – dblume | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Apple ====== | ====== Apple ====== | ||
| - | We got our first Macintosh.  | + | First time configuration of a new Macintosh.  | 
| - | + | ||
| ===== Configuration ===== | ===== Configuration ===== | ||
| - |   * Get [[http:// | ||
| - | * Set up sync: Preferences -> Personal Stuff -> Sync | ||
| - |   * Configure [[http:// | ||
| - |   * Cofigure [[http:// | ||
|   * System Preferences: |   * System Preferences: | ||
| - |     * Keyboard: Control Panel -> Keyboard  | + | * Trackpad -> Tap to Click (For not having to press hard for a click.) | 
| - | * Appearance | + |     * Tap-and-drag: Accessibility  | 
| - | * Place scroll arrows: At top and bottom | + |   * Open the Photos app, and drag [[https:// | 
| + |   * Set your [[http:// | ||
| + |   * Get [[http:// | ||
| + |   * [[http:// | ||
| + |   * Download and install [[https:// | ||
| + |   * Set bash as your default shell (seem [[https:// | ||
| + |   * System Preferences: | ||
| + |     * Set some of these [[https:// | ||
| * Mouse | * Mouse | ||
| * Make tracking speed much faster! | * Make tracking speed much faster! | ||
| * Enable Secondary click for the right mouse button | * Enable Secondary click for the right mouse button | ||
| + |       * 2017-01-15 (still needed): Consider [[http:// | ||
| + |       * Disable [[http:// | ||
|       * Get SteerMouse (linked below) to stop wheel acceleration (Or [[http:// |       * Get SteerMouse (linked below) to stop wheel acceleration (Or [[http:// | ||
| + |     * Keyboard  | ||
| + | * Set Key Repeat to fastest, and Delay until Repeat to second shortest. | ||
| + |       * Some apps don't repeat anything because some keys have a character accent menu. To disable: < | ||
| + |       * 2024 Microsoft Natural Ergonomic Keyboard needs [[https:// | ||
| + | * left_option -> left_command | ||
| + | * application -> left_option | ||
| + | * Swap the Option and Command keys. | ||
| * Dock | * Dock | ||
| * Position on Right | * Position on Right | ||
| - |       * Maybe automatically  | + |       * Automatically  | 
| + | * iTerm2 | ||
| + |       * User Powerline Fonts per [[private: | ||
| + | * Outlook | ||
| + |       * Turn off auto underline-to-italic, | ||
| + | |||
| + | ===== Tools Installation ===== | ||
| + | |||
| + | The old way of installing Command Line Tools from the Terminal doesn' | ||
| + | |||
| + | ==== BSD vs. Linux commands ==== | ||
| + | |||
| + | macOS comes with BSD grep pre-installed, | ||
| + | |||
| + | Go to http:// | ||
| + | |||
| + | After installation, | ||
| + | |||
| + | ==> Next steps: | ||
| + | - Run these commands in your terminal to add Homebrew to your PATH: | ||
| + |       echo >> / | ||
| + |       echo 'eval " | ||
| + |       eval " | ||
| + | - Run brew help to get started | ||
| + |   - Further documentation: | ||
| + |       https:// | ||
| + | |||
| + | brew install grep gnu-sed findutils universal-ctags | ||
| + | brew install gawk jq tree httpie inetutils pv | ||
| + |   brew install gnupg socat wget nmap tmux  # but not saulpw/ | ||
| + | brew install ripgrep moreutils neovim | ||
| + |   brew install bash-completion  | ||
| + | |||
| + | I noticed that [[https:// | ||
| + | |||
| + | To install gnuplot 6.0 with " | ||
| + | |||
| + | Log out of that console window and log back in again. | ||
| + | |||
| + | ==== tmux and " | ||
| + | |||
| + | We set tmux to set $TERM to " | ||
| + | |||
| + | VisiData will complain it "could not find terminfo database" | ||
| + | |||
| + |   curl -O " | ||
| + | sudo tic -x tmux-256color | ||
| + | |||
| + | That should install the database into / | ||
| ===== Tips ===== | ===== Tips ===== | ||
| Line 34: | Line 92: | ||
| | Command+Opt+Esc  | | Command+Opt+Esc  | ||
| | Shift+Opt+Command+V | Paste without formatting  | | Shift+Opt+Command+V | Paste without formatting  | ||
| + | |||
| + | |||
| + | ===== Daemons, Agents, Cron, Launchd ===== | ||
| + | |||
| + | The preferred way to set a repeating task is not to use a cronjob but launchd. :!: Note that there' | ||
| + | |||
| + | In your ~/bin directory, create a job to run, tag_ip_address.sh | ||
| + | |||
| + | <code bash tag_ip_address.sh> | ||
| + | # | ||
| + | curl --data " | ||
| + | sed -E ' | ||
| + | |||
| + | sleep 11 # if launched as a daemon, live for 11s to not be detected as buggy. | ||
| + | </ | ||
| + | |||
| + | That "sleep 11" is to mitigate the buggy daemon detection mentioned [[https:// | ||
| + | |||
| + | Note that we had to specify the path to the homebrew grep, because LaunchAgent would use the default one instead. | ||
| + | |||
| + | cd into ~/ | ||
| + | |||
| + | <code xml com.dlma.tag_ip_address.plist> | ||
| + | <?xml version=" | ||
| + | < | ||
| + |   " | ||
| + | <plist version=" | ||
| + | < | ||
| + |     < | ||
| + |         < | ||
| + |     < | ||
| + |         < | ||
| + |     < | ||
| + |         < | ||
| + |     < | ||
| + |         < | ||
| + |     < | ||
| + |         < | ||
| + |             < | ||
| + |             < | ||
| + |             < | ||
| + |             < | ||
| + |         </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | Finally, [[http:// | ||
| + | |||
| + | <code bash> | ||
| + | $ launchctl load -w / | ||
| + | </ | ||
| ===== Software to Get ===== | ===== Software to Get ===== | ||
| - |   * [[http://www5e.biglobe.ne.jp/~arcana/ | + | * [[https://ghostty.org/download|Ghostty]] and install your [[http://git.dlma.com/dotfiles.git/|dotfiles]]. | 
| - |   * [[http://plentycom.jp/en/ | + | * <del>[[http://iterm2.com/|iTerm2]]</del>. | 
| - |   * [[http:// | + |     * Preferences  | 
| - |   * [[http://www.apple.com/downloads/ | + | * Install Powerline Fonts per [[private:fonts]]. | 
| - |   * [[http:// | + | |
| - |   * GTD: [[http:// | + | |
| - |   * [[http:// | + | |
|   * [[http:// |   * [[http:// | ||
| * Code Editing | * Code Editing | ||
| + |     * [[https:// | ||
|     * [[http:// |     * [[http:// | ||
| - |     * [[http:// | ||
| - |     * [[http:// | ||
| - |     * [[http:// | ||
| - |   * [[http:// | ||
| * Paint program | * Paint program | ||
|     * [[http:// |     * [[http:// | ||
| Line 59: | Line 163: | ||
|     * < |     * < | ||
|     * [[http:// |     * [[http:// | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + |   * http:// | ||
| + |   * http:// | ||
| + | |||
| + | ===== Preferences I don't set anymore ===== | ||
| + | |||
| + |   * [[http:// | ||
| + |   * Configure [[http:// | ||
| + |   * Cofigure [[http:// | ||
| + |   * System Preferences: | ||
| + | * Keyboard | ||
| + | * Command Key: Control Panel -> Keyboard -> Modifier Keys... -> swap Command and Control keys | ||
| + |         * Except that [[https:// | ||
| + |       * [[http:// | ||
| + |   * [[http:// | ||
| + | |||
| ===== iOS Apps ===== | ===== iOS Apps ===== | ||
| Line 66: | Line 188: | ||
|   * [[wp> |   * [[wp> | ||
|   * A [[http:// |   * A [[http:// | ||
| - |   * A [[http:// | ||
| ==== Sokoban ==== | ==== Sokoban ==== | ||
| Line 76: | Line 197: | ||
| What matters here is the ability to scrobble what I've played to last.fm directly from my iPhone/ | What matters here is the ability to scrobble what I've played to last.fm directly from my iPhone/ | ||
| - | ==== Plurk ==== | + | ======  | 
| + | |||
| + | [[https:// | ||
| + | |||
| + | ====== NFS for macOS ====== | ||
| + | |||
| + | On the server side get your user ID and group ID (id -u; id -g), and update / | ||
| + | |||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | 10.?.?.? would be the IP of the Macintosh. (That' | ||
| + | |||
| + | Get the " | ||
| + | |||
| + | On the client side, you could manually mount the NFS volume with something like, "< | ||
| + | |||
| + | Or better, configure automounter by adding a line to < | ||
| + | |||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | And then make the file / | ||
| + | |||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | For the purpose of P4 client compatibility with the dev system, I use a symbolic link at root. | ||
| + | |||
| + | < | ||
| + | $ sudo ln -s / | ||
| + | </ | ||
| + | |||
| + | If you want your changes to take effect immediately, | ||
| - | The existing official client could stand improvement. | + | < | 
| + | $ sudo automount -vc | ||
| + | </ | ||
| ====== Keywords ====== | ====== Keywords ====== | ||
| aps, todo | aps, todo | ||
apple.1304568687.txt.gz · Last modified: 2023/04/12 20:44 (external edit)