created: June 5, 2009
Last updated: December 03, 2010
Initial Setup for MacBook (Mac OS X v10.5.4)
Originally Written by KAZ on Aug 27, 2008
Updated by Kaz on July 16, 2009
Last updated by Kaz on December 3, 2010
DISCLAIMER: Please use the following instructions
at your responsibility.
If you find any of the following is outdated or wrong, please let me
know by sending an e-mail to "ktamura'AT'asu'DOT'edu". Thanks.
For the text version of instructions (ver. 7/16/09), please download
'initial_setup.txt' from
here.
Step 1 --- [For Mac OS X 10.5.4]
> Install X11 from Disk 1
(search from the Application drop down sub-menu)
> Install various software packages from Disk1
Step 2.a --- [For Mac OS X 10.5.4]
> Install "XcodeTools.mpkg" from disk2 to get 'developers kit'
You can find it inside 'Xcode Tools'
Step 2.b --- [For Mac OS X 10.5.7, or later]
> Sorry, I haven't done yet. . . but should be easy.
** If you want to see the old method for Leopard,
which was valid till 2009, please see in the 'sorce' of this HTML
file. (commented out in html: search for '**' characters.)
Step 4
> DL Scisoft from the web.
> 'Scisoft2008.8.1' 602Mb (newer version available now?)
> Installed in '/Applications/scisoft' -- make sure to update the startup files.
> Install Scisoft to default location
> type 'source /Appliations/scisoft/all/bin/Setup.csh'
Step 5
> Set up for printer
1. System Preference
2. Print & Fax
3. Click '+' then enter addresses
***.***.asu.edu
***.***.edu.edu
4. Select the defalt printer by Ctr+ right click on mouse
Step 6a
> make '.cshrc'
create defalt file as cshrc.default (see the box below)
set path=(/usr/bin /bin /usr/sbin /usr/X11R6/bin /sbin .)
source /Applications/scisoft/all/bin/Setup.csh
setenv TERM xterm-color
alias ls "\ls -vFG"
alias xterm "xterm -sb -sl 256"
Step 6b
> Select (click on) xterm window
> go to 'Applications'
> click on 'Customize...'
> double click on the word 'xterm' change it to 'xterm -sb -sl 256'
Step 7
Initialize (enable) root user
1. From the Finder's 'GO' menu, choose 'Application'
2. Open Directory Utility
3. Click on the 'lock' in the Directory Utility window (unlock it)
4. Enter an administrator account name and password, then ckick OK
5. Choose enable root user from 'edit' menu
Step 8
I forgot what this step is/was for. . . (3 December, 2010)
This was performed by R.E.R initially. (this doesn't seem to work)
1. 'cd' to /usr/X11/lib/X11/xinit
2. 'su'
3. edit 'xinitrc' add lines of commands when x11 terminal is opend
before
the last line (before 'exec quartz-wm')
Step 9
1. Download fink from the web http://www.finkproject.org
2. Download fink for intel
3. Install it (it will add a line to .cshrc, LET FINK DO IT. use the
original .cshrc file created above!!)
4. Add the FINK executable path to my path in '.cshrc'
(as 'set path=(... ... /sw/bin .)')
Step 10
1. 'fink list' gives all programs available
2. 'fink apropos ***' to search for ***
3. 'fink install ***' to install ***
4. 'fink install tetex' to install LaTeX
select (1) for default ghostscript interpreter
select 'Y' for all packages
5. 'fink install gv' to install gv
select 'Y' for all packages
Step 11
Set up the mouse to follow the X11 window.
For Leopard 10.5.5 after 9/22/08 type:
'defaults write org.x.X11 wm_ffm -bool true'
(This is for 10.5.4 and NO LONGER WORK!!) Type 'defaults write com.apple.x11 wm_ffm -bool true'
Step 12
Make ds9 work:
This might be fixed with newer version of ds9.
If ds9 does not open when you type 'ds9' in xterm window, add alias to
where ds9 is installed as follow:
1. add to .cshrc: 'alias ds9 "/Applications/scisoft/i386/Applications/SAOImage\ DS9.app/Contents/MacOS/ds9" '
Step 13
To put all of the LaTex stuff (latexfiles.tar) in one directory
1. Create a new folder in home directory (i.e., 'LaTeX')
2. Untar the latexfiles.tar
3. Add to .cshrc: 'setenv TEXINPUTS ".:/Users/'usrname'/LaTeX/:"'
Step 14
To install IDL, ask your Administrator for installation disk and license.
Step 15
Register AppleCare with SESE address.
Step 16
Install MS Office (need PowerPoint)
Step 17
Install Other necessary programs.
(http://software.asu.edu)
ADDED on June 4, 2009
Step 18
To enable copy-&-paste for Mac OS X 10.5.7 (if not working), you have to
enable following parameters in ~/Library/Preferences/org.x.X11.plist:
(http://hatx.blog.so-net.ne.jp/2009-05-13 <-- in Japanese)
sync_clipboard_to_pasteboard
sync_pasteboard
sync_pasteboard_to_clipboard
sync_pasteboard_to_primary
sync_primary_on_select