User Tools

Site Tools


apple

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
apple [2022/12/14 10:59] – [Configuration] dblumeapple [2025/04/13 20:36] (current) – Add Finder preferences to set dblume
Line 7: Line 7:
   * System Preferences:   * System Preferences:
     * Trackpad -> Tap to Click (For not having to press hard for a click.)     * Trackpad -> Tap to Click (For not having to press hard for a click.)
-    * Tap-and-drag: Accessibility -> Mouse & Trackpad -> Trackpad Options and enable 'Dragging (with/without) Drag Lock' +    * Tap-and-drag: Accessibility -> Pointer Control -> Trackpad Options and enable 'Dragging (without) Drag Lock' 
-  * Open the Photos app, and drag a userpic to it. Then change your userpic in the System Preferences.+  * Open the Photos app, and drag [[https://dlma.com/avatars/|a userpic]] to it. Then change your userpic in the System Preferences
 +  * Set your [[http://gallery.dlma.com/index.php/miscellaneous/chinesemoon|desktop image to Chinese Moon]].
   * Get [[http://www.google.com/chrome/intl/en/landing_chrome.html?hl=en&platform=mac|Chrome]] (Login and sync.)   * Get [[http://www.google.com/chrome/intl/en/landing_chrome.html?hl=en&platform=mac|Chrome]] (Login and sync.)
   * [[http://www.tekrevue.com/tip/show-path-finder-title-bar/|Show the full path in the finder]] with <code>defaults write com.apple.finder _FXShowPosixPathInTitle -bool true; killall Finder</code>   * [[http://www.tekrevue.com/tip/show-path-finder-title-bar/|Show the full path in the finder]] with <code>defaults write com.apple.finder _FXShowPosixPathInTitle -bool true; killall Finder</code>
 +  * Download and install [[https://ghostty.org/download|Ghostty]].
 +  * Set bash as your default shell (seem [[https://stackoverflow.com/questions/77052638/changing-default-shell-from-zsh-to-bash-on-macos-catalina-and-beyond|to need to install via brew]]): ''chsh -s /bin/bash''
   * System Preferences:   * System Preferences:
 +    * Set some of these [[https://medium.com/macoclock/macos-finder-sucks-4ab191e07c40|Finder preferences]]
     * Mouse      * Mouse 
       * Make tracking speed much faster!       * Make tracking speed much faster!
Line 21: Line 25:
       * Set Key Repeat to fastest, and Delay until Repeat to second shortest.       * 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: <code>defaults write -g ApplePressAndHoldEnabled -bool false</code>       * Some apps don't repeat anything because some keys have a character accent menu. To disable: <code>defaults write -g ApplePressAndHoldEnabled -bool false</code>
-      * Microsoft Natural Ergonomic Keyboard 4000 doesn't have a current driverThat's OK.+      * 2024 Microsoft Natural Ergonomic Keyboard needs [[https://karabiner-elements.pqrs.org/|Karabiner Elements]] to make the following two swaps: 
 +        * left_option -> left_command 
 +        * application -> left_option
       * Swap the Option and Command keys.       * Swap the Option and Command keys.
     * Dock     * Dock
       * Position on Right       * Position on Right
       * Automatically show and hide dock       * Automatically show and hide dock
 +    * iTerm2
 +      * User Powerline Fonts per [[private:fonts]].
     * Outlook     * Outlook
       * Turn off auto underline-to-italic, dashes, smart quotes: Preferences -> AutoCorrect then click on the AutoFormat page       * Turn off auto underline-to-italic, dashes, smart quotes: Preferences -> AutoCorrect then click on the AutoFormat page
  
-**BSD vs. Linux commands**+===== Tools Installation ===== 
 + 
 +The old way of installing Command Line Tools from the Terminal doesn't work anymore. But now it can be done from [[https://developer.apple.com/download/more/?=command%20line%20tools|the Developer download site]], not from the Terminal. 
 + 
 +==== BSD vs. Linux commands ====
  
 macOS comes with BSD grep pre-installed, which doesn't use the Perl -P flag. macOS comes with BSD grep pre-installed, which doesn't use the Perl -P flag.
  
-Go to http://brew.sh/ and run the ruby command. (See [[https://git.dlma.com/dotfiles.git/commit/fc19c7b34f522f3f22a32418c9da55df6b9b5f0e|this .bash_profile change for how we use default names for GNU ctags, find, grep and sed]].)+Go to http://brew.sh/ and run the installation command. (See [[https://git.dlma.com/dotfiles.git/commit/fc19c7b34f522f3f22a32418c9da55df6b9b5f0e|this .bash_profile change for how we use default names for GNU ctags, find, grep and sed]].)
  
-  brew install grep +After installation, it said: 
-  brew install gnu-sed + 
-  brew install findutils +  ==> Next steps: 
-  brew install ctags +  - Run these commands in your terminal to add Homebrew to your PATH: 
-  brew install jq +      echo >> /Users/dblume/.zprofile 
-  brew install tree +      echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/dblume/.zprofile 
-  brew install httpie +      eval "$(/opt/homebrew/bin/brew shellenv)" 
-  brew install inetutils  # If you need telnet (maybe nc is good enough?) +  - Run brew help to get started 
-  brew install telnet +  - Further documentation: 
-  brew install gnuplot +      https://docs.brew.sh 
-  brew install pv + 
-  brew install gnupg +  brew install grep gnu-sed findutils universal-ctags 
-  brew install socat +  brew install gawk jq tree httpie inetutils pv 
-  brew install wget +  brew install gnupg socat wget nmap tmux saulpw/vd/visidata 
-  brew install nmap +  brew install ripgrep moreutils neovim  
-  brew install tmux +  brew install bash-completion  # See .bash_profile 
-  brew install saulpw/vd/visidata + 
-  brew install ripgrep +Ensure your prompt has git hints. See .bashrc for __git_ps1 (maybe download .git-prompt.sh). 
-  brew install moreutils + 
-  brew install gitui +To install gnuplot 6.0 with "block" display for Braille chars, see [[gnuplot#instructions-for-macos]]
-  # Maybe also readline if you brew install python3 +
-   +
-  brew install bash +
-  sudo echo /usr/local/bin/bash >> /etc/shells +
-  chsh -s /usr/local/bin/bash+
  
 Log out of that console window and log back in again. Log out of that console window and log back in again.
  
 +==== tmux and "tmux-256color" ====
 +
 +We set tmux to set $TERM to "tmux" so that neovim's highlight can include italics. And we bump it to "tmux-256color" so that VisiData can make use of all its colors. (Dot plot AirPassengers.csv but don't set the month column to any format.)
 +
 +VisiData will complain it "could not find terminfo database". So we [[https://gist.github.com/nicm/ea9cf3c93f22e0246ec858122d9abea1?permalink_comment_id=4206886#gistcomment-4206886|manually use the one provided by a tmux developer]]...
 +
 +  curl -O "https://gist.github.com/nicm/ea9cf3c93f22e0246ec858122d9abea1/raw/37ae29fc86e88b48dbc8a674478ad3e7a009f357/tmux-256color"
 +  sudo tic -x tmux-256color
 +
 +That should install the database into /usr/share/terminfo
  
 ===== Tips ===== ===== Tips =====
Line 131: Line 148:
 ===== Software to Get ===== ===== Software to Get =====
  
-  * [[http://iterm2.com/|iTerm2]] and install your [[http://git.dlma.com/dotfiles.git/|dotfiles]].+  * [[https://ghostty.org/download|Ghostty]] and install your [[http://git.dlma.com/dotfiles.git/|dotfiles]]
 +  * <del>[[http://iterm2.com/|iTerm2]]</del>.
     * Preferences -> Profiles -> Terminal -> uncheck "Save lines to scrollback in alternate screen mode"     * Preferences -> Profiles -> Terminal -> uncheck "Save lines to scrollback in alternate screen mode"
-  If you want [[http://ipython.org/|IPython]], you probably have to install [[http://pypi.python.org/pypi/readline/6.2.4.1|readline]], too: ''sudo easy_install readline ipython'' +    Install Powerline Fonts per [[private:fonts]].
-  * [[http://www5e.biglobe.ne.jp/~arcana/StartupSound/index.en.html|Startup Sound]] (Make it quieter before Lion!) [[http://hints.macworld.com/article.php?story=20120513121111656|Adjusting Startup Chime]] after Lion. +
-  * [[http://foreword.com/2012/07/6869/vanilla_folders/|TotalFinder]] for some intuitive Finder features. +
-  * [[http://plentycom.jp/en/steermouse/|SteerMouse]] to change ScrollWheel rolling to constant 3x instead of accellerated +
-  * [[http://decimus.net/DTerm/|DTerm]] for quick one-off terminal commands +
-  * [[http://www.apple.com/downloads/macosx/development_tools/plisteditpro.html|Property List Editor]] for giving [[http://bura-bura.com/blog/archives/2006/08/18/increasing-the-heap-size-of-freemind-on-macos-x/|Minecraft more memory]]. +
-  * [[http://toolbar.google.com/gmail-helper/notifier_mac.html|Google Notifier]] ([[http://support.google.com/mail/bin/answer.py?hl=en&answer=10960|Two-step Authentication instructions]]) +
-  * GTD: [[http://www.hogbaysoftware.com/products/taskpaper|Taskpaper]] or [[http://culturedcode.com/things/|Things]] or [[http://www.omnigroup.com/products/omnifocus/|Omnifocus]] +
-  * [[http://magicprefs.com/|MagicPrefs]] for finer tuning of the Magic Mouse+
   * [[http://www.delicious-monster.com/|Delicious Library]]: Keep track of my physical media.   * [[http://www.delicious-monster.com/|Delicious Library]]: Keep track of my physical media.
   * Code Editing   * Code Editing
-    * [[http://www.sublimetext.com/3|Sublime Text 3]] and then [[http://config.dlma.com/#sublime|configure]] it.+    * [[https://code.visualstudio.com/|Visual Studio Code]]
     * [[http://developer.apple.com/tools/xcode/|XCode]]     * [[http://developer.apple.com/tools/xcode/|XCode]]
-    * [[http://macromates.com/|TextMate]] 
-    * [[http://www.barebones.com/products/bbedit/|BBEdit]] (or [[http://www.barebones.com/products/bbedit/comparison.html|TextWrangler]]) 
-    * [[http://www.editrocket.com/|EditRocket]] (Eventually read [[http://regebro.wordpress.com/2010/10/09/is-there-a-better-python-ide/|the comparison of Python IDEs]]) 
-  * [[http://quicksilver.en.softonic.com/mac|Quicksilver]]: Reach any program with a few keystrokes. (Eg., Control+space, M for Mail) 
   * Paint program   * Paint program
     * [[http://gimp.lisanet.de/Website/Download.html|GIMP]] (Can I find something powerful, free **and** user-friendly?) X11 is frustrating.     * [[http://gimp.lisanet.de/Website/Download.html|GIMP]] (Can I find something powerful, free **and** user-friendly?) X11 is frustrating.
Line 158: Line 164:
     * [[http://www.artrage.com/artrage-demos.html|ArtRage]]     * [[http://www.artrage.com/artrage-demos.html|ArtRage]]
  
-[[http://foreword.com/2011/05/6796/hack_os_x/|Danelope]] suggests these Image Editors:+[[http://foreword.com/2011/05/6796/hack_os_x/|Danelope]] suggests these Image Editors in 2011:
  
   * http://gimpshop.com/   * http://gimpshop.com/
Line 173: Line 179:
         * Except that [[https://discussions.apple.com/thread/2793826?threadID=2793826&tstart=90|it doesn't persist past logging out]].         * Except that [[https://discussions.apple.com/thread/2793826?threadID=2793826&tstart=90|it doesn't persist past logging out]].
       * [[http://lifehacker.com/5826055/make-your-keyboard-keys-repeat-properly-when-held-down-in-mac-os-x-lion|Make Your Keyboard Keys Repeat Properly When Held Down in Mac OS X Lion (macOS)]].       * [[http://lifehacker.com/5826055/make-your-keyboard-keys-repeat-properly-when-held-down-in-mac-os-x-lion|Make Your Keyboard Keys Repeat Properly When Held Down in Mac OS X Lion (macOS)]].
 +  * [[http://quicksilver.en.softonic.com/mac|Quicksilver]]: Reach any program with a few keystrokes. (Eg., Control+space, M for Mail)
  
  
apple.1671044367.txt.gz · Last modified: 2023/04/12 20:44 (external edit)