User Tools

Site Tools


apple
no way to compare when less than two revisions

Differences

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


Previous revision
Next revision
apple [2016/08/01 15:27] – [Configuration] dblume
Line 1: Line 1:
 +====== Apple ======
  
 +We got our first Macintosh.  Here are some things I'm considering doing.
 +
 +===== Configuration =====
 +
 +  * Get [[http://www.google.com/chrome/intl/en/landing_chrome.html?hl=en&platform=mac|Chrome]] (Login and sync.)
 +  * [[http://www.mikesel.info/disable-os-x-dashboard/|Disable the dashboard]] with <code>defaults write com.apple.dashboard mcx-disabled -boolean YES; Killall Dock</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>
 +  * System Preferences:
 +      * Tap-and-drag: System Preferences -> Universal Access -> Mouse & Trackpad -> Trackpad Options and enable 'Dragging (with/without) Drag Lock' (the second checkbox) to restore the old behavior. 
 +    * Appearance
 +      * Place scroll arrows: At top and bottom
 +    * Mouse 
 +      * Make tracking speed much faster!
 +      * Enable Secondary click for the right mouse button
 +      * Consider [[http://pilotmoon.com/scrollreverser/|Scroll Reverser]] to have [[http://apple.stackexchange.com/questions/116617/how-to-separate-mouse-and-trackpad-settings|natural scrolling for trackpad, but reversed for the mouse]].
 +      * Disable [[http://apple.stackexchange.com/questions/159180/yosemite-disabling-inertia-scrolling-using-scroll-wheel-for-the-mouse|inertia mousewheel scrolling]] with:<code>defaults write .GlobalPreferences com.apple.scrollwheel.scaling -1</code>
 +      * Get SteerMouse (linked below) to stop wheel acceleration (Or [[http://www.logitech.com/en-us/428/146?section=downloads&bit=&osid=9|Logitech V200 LCC]])
 +    * Dock
 +      * Position on Right
 +      * Automatically show and hide dock?
 +    * Outlook
 +      * Turn off auto underline-to-italic: Preferences -> AutoCorrect then click on the AutoFormat page
 +
 +**BSD grep**
 +
 +OS X comes with BSD grep pre-installed, which doesn't use the Perl -P flag.
 +
 +  - Go to http://brew.sh/ and run the ruby command.
 +  - ''brew install homebrew/dupes/grep --with-default-names; brew install gnu-sed --with-default-names''
 +  - Log out of that console window and log back in again.
 +
 +** Python Packages **
 +
 +If pip isn't installed yet (Python older than 2.7.9), then install it with easy_install, then install requests.
 +
 +  sudo -H easy_install pip
 +  sudo -H pip install requests
 +
 +
 +===== Tips =====
 +
 +^ Shortcut            ^ Action                                                    ^
 +| Command+space       | Spotlight (Very handy!)                                   |
 +| Command+W           | Close the window.                                         |
 +| Command+Q           | Quit the application. (Closing its windows isn't enough.) |
 +| Command+click       | Open the link in another tab.                             |
 +| Command+Tab         | Switch between applications.                              |
 +| Command+`           | Switch between windows within the application.            |
 +| Command+Opt+Esc     | Force Quit the application                                |
 +| Shift+Opt+Command+V | Paste without formatting                                  |
 +
 +===== Versions and Codenames =====
 +
 +Current info at Wikipedia: [[wp>OS_X#Versions]]
 +
 +^ Codename      ^ Version ^ Notes ^
 +| Snow Leopard  | 10.6    | iMac  |
 +| Lion          | 10.7    | MacBook Air (allows dragging on all window borders) |
 +| Mountain Lion | 10.8    | Current |
 +
 +===== Daemons, Agents, Cron, Launchd =====
 +
 +The preferred way to set a repeating task is not to use a cronjob but launchd.
 +
 +In your ~/bin directory, create a job to run, tag_ip_address.sh
 +
 +<code bash tag_ip_address.sh>
 +#!/usr/bin/env bash
 +curl --data "`hostname -s`=`ifconfig | grep "inet " | grep -v "127.0.0.1" | sed -E 's/.*inet (([0-9]+.){3}[0-9]+).*/\1/'`&auth=ahov" "http://kvs.dlma.com"
 +</code>
 +
 +cd into ~/Library/LaunchAgents and add a new plist file
 +
 +<code xml com.dlma.tag_ip_address.plist>
 +<?xml version="1.0" encoding="UTF-8"?>
 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
 +  "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 +<plist version="1.0">
 +<dict>
 +    <key>Label</key>
 +        <string>com.dlma.tag_ip_address</string>
 +    <key>Program</key>
 +        <string>/Users/dblume/bin/tag_ip_address.sh</string>
 +    <key>StartCalendarInterval</key>
 +    <dict>
 +        <key>Hour</key>
 +        <integer>12</integer>
 +        <key>Minute</key>
 +        <integer>0</integer>
 +    </dict>
 +</dict>
 +</plist>
 +</code>
 +
 +Finally, [[http://apple.stackexchange.com/questions/217453/configure-launchd|you need to explicitly load it]].
 +
 +<code bash>
 +$ launchctl load -w com.dlma.tag_ip_address.plist
 +</code>
 +
 +
 +===== Software to Get =====
 +
 +  * [[http://iterm2.com/|iTerm2]]
 +  * 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''
 +  * [[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.
 +  * Code Editing
 +    * [[http://www.sublimetext.com/3|Sublime Text 3]] and then [[http://config.dlma.com/#sublime|configure]] it.
 +    * [[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
 +    * [[http://gimp.lisanet.de/Website/Download.html|GIMP]] (Can I find something powerful, free **and** user-friendly?) X11 is frustrating.
 +    * [[http://paintbrush.sourceforge.net/|PaintBrush]]
 +    * [[https://github.com/philippec/Pixen|Pixen]]
 +    * <del>[[http://seashore.sourceforge.net/The_Seashore_Project/Download.html|SeaShore]]</del> No levels adjusting.
 +    * <del>[[http://www.rdsisemore.com/paintds|PaintDS]]</del> No layers.
 +    * [[http://www.artrage.com/artrage-demos.html|ArtRage]]
 +
 +[[http://foreword.com/2011/05/6796/hack_os_x/|Danelope]] suggests these Image Editors:
 +
 +  * http://gimpshop.com/
 +  * http://pixelmator.com/
 +
 +===== Preferences I don't set anymore =====
 +
 +  * [[http://www.mikesel.info/show-hidden-files-mac-os-x-10-7-lion/|Show hidden files]] with <code>defaults write com.apple.Finder AppleShowAllFiles YES; killall Finder</code>
 +  * Configure [[http://mail.google.com/support/bin/answer.py?answer=81379|mail to use Gmail]].
 +  * Cofigure [[http://www.google.com/support/calendar/bin/answer.py?answer=99358#ical|iCal to sync with Google Calendar]].
 +  * System Preferences:
 +    * Keyboard
 +      * Command Key: Control Panel -> Keyboard -> Modifier Keys... -> swap Command and Control keys
 +        * 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]].
 +
 +
 +===== iOS Apps =====
 +
 +Here are iPhone/iPod apps I really want to make.
 +
 +  * [[wp>Sokoban|Sokoban]]
 +  * A [[http://build.last.fm/category/Scrobblers|Scrobbler]]
 +  * A [[http://www.plurk.com/API|new Plurk client]]
 +
 +==== Sokoban ====
 +
 +[[wp>Sokoban|Sokoban]]: Plenty already exist. What matters here is an intuitive (to me) user control.
 +
 +==== Scrobbler ====
 +
 +What matters here is the ability to scrobble what I've played to last.fm directly from my iPhone/iPod.
 +
 +==== Plurk ====
 +
 +The existing official client could stand improvement.
 +
 +====== Prey ======
 +
 +[[https://panel.preyproject.com/]] for when the device goes missing. (Or is stolen by a thief.)
 +
 +====== Keywords ======
 +
 +aps, todo
apple.txt · Last modified: 2024/02/07 13:02 by dblume