learning Cocoa:
This is the main introduction to Cocoa: | http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaFundamentals/Introduction/Introduction.html#//apple_ref/doc/uid/TP40002974
It recommends knowing about the Mac OS X Technologies, described in the following document: | http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/OSX_Technology_Overview/About/About.html#//apple_ref/doc/uid/TP40001067-CH204-TPXREF101
In particular, the following section on Graphics and Multimedia Technologies seems relevant: | http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/OSX_Technology_Overview/GraphicsTechnologies/GraphicsTechnologies.html#//apple_ref/doc/uid/TP40001067-CH273-SW1 | Talking about Quartz, the 2D rendering engine for window layouts.
automatically start Terminal and Emacs
/c/technical/instances.txt /c/scripts/system/macosx-push_default.py /c/technical/system/macosx.txt /c/scripts/system/macosx-install-personal.txt /c/technical/system/python-install.txt /c/scripts/system/macosx-obsolete.txt /c/scripts/system/administration/new_instance.txt /c/technical/system/firefox.txt
add radio stations at the very least
get any packages that are not included for Python: /c/technical/system/python-install.txt
rearrange notes if anything would have made it easier to edit these instructions on your new system sooner.
install moments
hg clone http://bitbucket.org/cbrandt/moments /c/moments #or use a local copy #hg clone /Volumes/CONTEXT/moments /c/moments
cd ln -s /c/moments/editors/emacs/.emacs .emacs ln -s /c/moments/editors/emacs/.emacs.d .emacs.d ln -s /c/moments/editors/vi/.exrc .exrc
mkdir /c/outgoing
open up your text editor
make a common directory for all User Accounts to use for shared information on the system. I like to use /c :
sudo mkdir /c cd /c sudo chmod 777 .
create new clones of any personal mercurial repositories. hg clone /media/CONTEXT/technical /c/technical
cd cp /c/technical/.bashrc .bash_profile
change location for weather on dashboard
Breathe. :)
Download the main applications you need. This is a good chance to get updated versions of everything
Make sure wireless network is enabled and connected. Register your computer if your network requires it.
Change Desktop Background (Ctl-Click on desktop for option) For Default I prefer Solid Gray Dark... can always customize later in other instances.
For Create Your Account: Start with Default.
If you plan to create other accounts later, consider starting with a Default account. This account will then be used to propagate changes, but this prevents missing even those little tweaks that you make when first getting started. (might not make notes of them, or might forget to do them a second time).
It is a good idea to avoid distractions when setting this up... save those for the other accounts.
Go through and answer the standard questions for Setup. These should be self explanatory.
/c/technical/instances.txt /c/scripts/system/administration/new_instance.txt /c/scripts/system/macosx-install-personal.txt /c/technical/system/python-install.txt /c/technical/system/firefox.txt /c/technical/system/macosx.txt
To run your script from the Finder you have two options:
- Drag it to PythonLauncher
- Select PythonLauncher as the default application to open your script (or any .py script) through the finder Info window and double-click it. PythonLauncher has various preferences to control how your script is launched. Option-dragging allows you to change these for one invocation, or use its Preferences menu to change things globally.
for other operating systems, it should be reasonably easy to make an icon that launches the script
this also looked like a good solution for making executables: | http://cx-freeze.sourceforge.net/
Open Sound Preferences uncheck play user interface sound effects turn down alert volume
System Preferences -> Dock Automatically hide and show the Dock (once you have quicksilver, the dock isn't as helpful)
update to the latest xcode this provides compilers. | http://developer.apple.com/technology/Xcode.html
also [2009.12.15 16:01:14] xcode 3.2.1 only works with 10.6 3.1.4 is the last one that works with leopard 10.5 also [2009.12.15 16:53:36] Note that Xcode lives in: /Developer/Applications/Xcode (not in main Applications directory)
enable spaces (grouped with expose) 2 spaces Firfox, Thunderbird, iTunes on second one Emacs and Terminal on first one
Change "To switch between spaces:" to be Option - Arrow Keys Control Arrow Keys are used in Emacs
when playing back media on mac, make sure you are using a terminal associated with the currently logged in user!! using a different user will allow the video to show up
open office works native on OS X as of version 3 so far seems like it should be equivalent to NeoOffice | http://download.openoffice.org/
create a link from /Volumes to /media to be more compatible with linux scripts: sudo ln -s /Volumes /media
be sure to clear history of firefox (shell too?) mv ~/Desktop/* /downloads/macosx/
create other accounts through OS.
sudo python /c/scripts/system/macosx-push_default.py does the following:
script to propigate changes from default account out to other accounts should just cycle through accounts and do following:
#prep sudo sudo ls
cd /Users export NAME=project export DATE=20100325 sudo mv $NAME/ $NAME-$DATE sudo rsync -av default/ $NAME sudo chown -R $NAME: $NAME
sudo mkdir originals sudo mv 2009 originals
#2009.02.07 16:41:31 admin@one:/Users #2009.02.04 19:21:08 charles@one:/Users #2009.02.04 19:22:06 charles@one:/Users #2009.02.04 19:20:50 charles@one:/Users
this will ensure that any data that wants to be kept gets moved into right Context should probably be run from default profile only
also [2009.02.05 12:01:52] rsync preserves links, unlike copy
change settings in Terminal Use Pro, make it Default, and then make sure Pro is used for: On startup, open: New window with settings: Pro
Making the profile Default will ensure that it applies to new tabs as well.
Set good place for first few terminals to open (where emacs lines up)
also [2010.04.19 15:52:25] open two terminals Window->Save Windows as Group default window group select "use window group when Terminal starts"
In Finder, if not using iDisk, remove it from DEVICES list (drag it off of list to remove)
move any downloaded files to your new Context cd mkdir -p /c/downloads/macosx ls ~/Desktop ls ~/Downloads mv ~/Downloads/* /c/downloads/macosx/
and backup to USB for future use: rsync -av /c/downloads $USBPATH/downloads/
apply any other personal settings to your system
consider making a default account with what you've done for here, and propagating that to other accounts.
download emacs install emacs
download quicksilver install it add it to Account Preferences->Login Items also add quicksilver launcher to the Dock
Plugins: Firefox, Terminal, etc. set Quicksilver key to Option-Space
-download latest firefox (mozilla.org) | http://www.mozilla.com/en-US/
See firefox.txt for configuration notes
Open System Preferences in Date & Time: enable Set date & time automatically choose timezone use 24-hour clock
System Preferences -> Accounts: Click the lock to make changes. Login Options Automatic Login: Disabled Show fast user switching menu as: Icon
also [2009.06.21 10:57:11] Disable guest account
Check for software updates this can take a while to download
System Preferences -> Sharing change machine name
It's that time again. Maybe you have a brand new computer (yay!), or maybe it's just time to do some spring cleaning. Either way...
Start with a fresh install of the operating system.
If this is a system with an existing and used operating system in place, I prefer to wipe the drive completely for that "fresh install" feeling. Having install move the previously installed system to "Previous Systems" does not clean everything up. If you want to keep it around, it is better to move it to an archive drive of sorts. Do that now if you haven't already.