N.B.) Homebrew version is RECOMMENDED (on 22Apr2019).
Attention
Do not upgrade your MacOS unless we’ve confirmed that the following functionalities are surely working on the upgraded OS version
OSX 10.9 10.10 10.11 10.12
*sshfs OK [1] [1] OK
*pTeX OK OK OK OK
*xmgrace OK OK OK OK
*gnuplot OK OK OK OK
*pukiwiki OK OK OK OK
*xcrysden OK OK OK OK
*XQuartz OK OK OK [2]
*MathType OK OK OK [3]
0111/OS update
0112/Setup your iCloud account
ID/PW ask to a staff
put its shortcut (alias) into the ‘Dock’
Terminal Preferences
‘General’
‘Profile’
‘Text’
‘Window’
‘Shell’
選択部分は赤
Download the installation file from the web page from here
Dropbox-nize your dictionary for Google-Japanese
% pwd
/Users/maezono/Library/Application Support/Google
% mv JapaneseInput/ JapaneseInput_bak
% ln -s ~/Dropbox/01backup/JapaneseInput .
N.B. To setup from scratch, first cp ‘JapaneseInput’ from the common dir. on Dropbox:
% cd ~/Dropbox/02Shared/07maezonoSettings/04commonSetup/07StandardDictionary/
% cp -r JapaneseInput ~/Dropbox/01backup/
表示>お気に入りバーを表示
Dock
change ‘Position on screen’ to ‘Left’
Security & Privacy
sudo spctl --master-disable
Mission Control
Hot Corners
Upper Right: Mission Control
Keyboard
modify the ‘Key Repeat’ to ‘Fast’ and ‘Delay Until Repeat’ to ‘Short’
check ‘Show Keyboard & Character …”
check ‘Use function keys…’
go to ‘Shortcuts/Spotlight,’ then uncheck both of those available options
go to ‘Input source’ then check both of those available options
‘Input Sources,’ only use ‘ひらがな(Google),’ ‘U.S.,’ and your own language
Accessibility
go to ‘Display,’ then modify ‘Cursor size’ to more than toward ‘Large’
Mouse
Point & Click
uncheck ‘Scroll direction: natural’
modify ‘Tracking speed,’ to the third speed from the right.
Trackpad
Point & Click
check ‘Tap to click’,
modify ‘Tracking speed’ to the third speed from the right.
Scroll & Zoom
uncheck ‘Scroll direction: natural’
Sharing/共有
under ‘Computer Name(コンピュータ名)’, set ‘meiwaku19pc01’ (for example).
check the following options
‘Screen Sharing’
‘File Sharing’
‘Remote Login’
‘Finder/Preferences/General’
under ‘Show these items on the desktop:’ check all available options.
under ‘New Finder windows show:’ select ‘Desktop’
‘Sidebar’
check ‘maezono’
‘Advanced’
change ‘Search This Mac’ to ‘Search the Current Folder’
check ‘Display extensions’
Visualization of Library
by typing this command in the terminal:
chflags nohidden ~/Library/
% pwd
/Users/maezono
% cat .bash_profile
source ~/.bashrc
% cat .bashrc
source ~/Dropbox/01backup/bin/bash_alias_private
source ~/Dropbox/02Shared/07MaezonoSettings/04commonSetup/01bin/bash_alias_common
% xcode-select --install
% sudo xcodebuild -license
then type ‘agree’
macport
After installing it, execute the followings from Terminal:
% sudo port sync
% sudo port selfupdate
wget
% sudo port install wget
Install XQuartz
Install emacs
sshfs
% sudo port install sshfs
to create mount point, please make directory
% mkdir -p ~/sshfs/unified
High Sierra (10.13)
% cd /Applications/Xcode.app/Contents/Developer/Toolchains
% sudo ln -s XcodeDefault.xctoolchain OSX10.13.xctoolchain
Mojave (10.14)
% sudo mkdir /usr/local/lib
% sudo ln -s "$(xcode-select -p)/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib" /usr/local/lib
reference page (both): https://trac.macports.org/ticket/54939
GNUPLOT
141/gnuplot Installation
% sudo port install gnuplot
142/gnuplot Setting
% cd /Users/maezono
% echo "set term x11" > .gnuplot
% cat .gnuplot
set term x11
xmgrace
% sudo port install xorg-libXt +flat_namespace
% sudo port install grace
Test if it works:
% cp ~/Dropbox/02Shared/07maezonoSettings/04commonSetup/dmc.hist .
% xmgrace dmc.hist
% sudo port install gcc6
% sudo port select --set gcc mp-gcc6
% sudo port install openmpi-gcc6
% sudo port select --set mpi openmpi-gcc6-fortran
If the installation failed, you may try these steps:
% diskutil list
% diskutil apfs unlockVolume [Macintosh HD"/"MACOSX/名称未設定]
backup and replace original syslog.h
% cd [Macintosh HD"/"MACOSX/名称未設定]/usr/include/sys/
% mv syslog.h syslog.h.bak
% cp [downloaded syslog.h] syslog.h
reboot, and then before continuing installation, clean the previous build of openmpi
% sudo port clean openmpi-gcc6
% sudo port install openmpi-gcc6
reference page: https://trac.macports.org/ticket/54993
% sudo port install openbabel
% sudo port install py-openbabel
% sudo port install xcrysden
Environmental setups are:
% mkdir ~/.xcrysden
% echo 'set xcMisc(babel) /opt/local/bin/babel' > ~/.xcrysden/custom-definitions
% export XCRYSDEN_TOPDIR=/opt/local/share/xcrysden-1.5.60/
Then test it:
% /opt/local/share/xcrysden-1.5.60/tests/run_test.sh structures
Resuming of wdworker
% sudo mdutil -a -i on
unrar Installation
% sudo port install unrar
nkf Installation
% sudo port install nkf
python2.7 environment
% sudo port install py27-numpy py27-scipy py27-matplotlib py27-ipython +notebook py27-pandas py27-sympy py27-nose
and include the below statement to your alias
export PYTHONPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
version 3.x
cp -r Dropbox/02Shared/07maezonosettings/04commonSetup/05mi/mi3/mode ~/Library/Application\ Support/mi3/
Go to mi > Application Preferences… > Print
(2019/04/11現在、上記の方法で設定すると、インデントがdeleteで一括で消えてしまう。これを避けるには「mi > モードの毎設定 > 標準 > インデント > インデントのオプション」 の「前一文字削除時の左シフト:行頭で前一文字削除したときは左シフトする」をアンチェックする。この設定をmodeファイルに書けるのかは不明。)
version 2.x
cp -r Dropbox/02Shared/01Maezono_Group01/04commonSetup/05mi/mi2/mode ~/Library/Application\ Support/mi/
Or equivalently, setup your environment
Download the installation file from Skype web page , and then execute this file.
(office365)
cp ~/Dropbox/02Shared/07maezonoSettings/04commonSetup/04Office/office356/Normal.dotm ~/Library/Group\ Containers/UBF8T346G9.Office/User\ Content.localized/Templates.localized/Normal.dotm
Searching->Search With Google (Shift+Command+L)
Text->Complete Citation (Shift+Command+J)
Text->Complete Cite Key (Shift+Command+K)
See if the following shortcuts work (All usage for shortcuts are found by typing ‘shortcuts’ from terminal).
Enter Normal: Osaka 5 Line spacing: single
Shift+Command+h 正文: Osaka 12 Left: 0.35 cm
Shift+Command+j 第一見出し: MS Gothic 20 Left: 0.35 cm
Shift+Command+k 第二見出し: MS Gothic 18 Left: 0.35 cm
Shift+Command+l 第三見出し: MS Gothic 14 Left: 0.35 cm
Shift+Command+n 数式等numerical: Monaco 10 Left: 3.53 cm
Shift+command+z 図番: Osaka 10 Centered
can be installed from the Mac App Store.
Get your digital certificate.
Put/keep the certificate on your Dropbox using such a name ‘NIICertificateTil18May.p12’.
Send your digital certification to your iCloud email address
Tap the certification on the email, then “Profile” will appear.
Follow its instruction, e.g. enter your password, etc.
% which gfortran
/opt/local/bin/gfortran
N.B. If your gcc6 is correctly installed using port, you can see the above. Otherwise, go back to the gcc6 installation shown above (as of 09Mar16).
make applications directory in home directory
% cd
% pwd
/Users/maezono
% mkdir applications/
If you fail to install casino, use fortran-mp-4.9, which is installed by macport
unzip CASINO file in the applications directory
% pwd
/Users/maezono/applications
% cp /Users/maezono/Dropbox/02Shared/07maezonoSettings/04commonSetup/v213pl713_noex.tar.gz .
% tar -xzvf v213pl713_noex.tar.gz
% l
v213pl713/ v213pl713_noex.tar.gz
set arch file in .alias is specified below:
export QMC_ARCH=intelmac-gcc
export CASINO_ARCH=intelmac-gcc
% fixal
Installing CASINO
% pwd
/Users/maezono/applications/v213pl713
% rm -rf bin_qmc/
% make -j 4
Create link as ‘currentCASINO’
% cd
% l
Desktop/ Downloads/ ...
% ln -s applications/v213pl713 currentCASINO
% l
Desktop/ Downloads/ ... currentCASINO@ ...
Set the path
% setal
PATH="$PATH":$HOME/currentCASINO/bin_qmc/utils/intelmac-gcc/
% fixal
# Check the operation of utility, for example, reblock, graphit, etc.
% pwd
/Users/maezono/Downloads
% l
... dmc.hist ...
% reblock
% graphit
Prepare the environment so that you can connect your PC with ScanSnap.
Confirm if your NameCard DB is correctly reproduced.
Do the normal installation of dmg format.
Run the “VMware Horizon View Client” and add access server ”ts-portal.jaist.ac.jp”.
Account admin.
Archiving email communications
Do not accumulate all in icloud server
Restore all the older emails in PC
environment setting > display tab > choose use classic layout
display>display items >"attached file, receiving time, sender,mailbox,destination"
display> uncheck "gathering per thread"
% sudo port install texlive +full
N.B. RevTeX and ACS style are automatically installed via the above TeXLive installation. Don’t worry. (as of June/26/2017 by KH)
aspell (Spell Checker)
% sudo port install aspell aspell-dict-en
Setting for TeX_via_Emacs
% cd
% sudo ln -s ~/Dropbox/02Shared/07maezonoSettings/dotEmacs/init.el .emacs
% sudo ln -s ~/Dropbox/02Shared/07maezonoSettings/dotEmacs/.aspell.en.pws .aspell.en.pws
% sudo ln -s ~/Dropbox/02Shared/07maezonoSettings/dotEmacs/dot_aspell.conf .aspell.conf
% sudo ln -s ~/Dropbox/02Shared/07maezonoSettings/dotEmacs/dot_template .template
% texcompile.sh filename
% cat texcompile.sh
#!/bin/sh
target=$1
PATH=/opt/local/bin/:$PATH
platex --kanji=sjis $target
pbibtex --kanji=sjis $target
platex --kanji=sjis $target
pbibtex --kanji=sjis $target
platex --kanji=sjis $target
dvipdfmx $target.dvi
open $target.pdf