Saturday 6 June 2015

mac os study

Bought mac for my wife as the previous pc was almost 6 years old. the other reason is that i can really look into how posix is applied among different os.
seriously a linux/unix user does not feel and problem in using mac system at all. Instead, from my experience, Unity and gnome3 is just a free replica of mac system!!!  here is the list about how i improve the mac machines.

(1) To make directory paths visible atop Finder windows, open Terminal.app (/Applications/Utilities/) and type the following command:

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES


(2) never use the file system with case sensitive function as some of the applications (e.g., adobe apps) does not support case sensitive journals.



(3) make terminal more good looking..
follow this website: (http://osxdaily.com/2013/02/05/improve-terminal-appearance-mac-os-x/)
execute the following command in terminal:

export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'


(4) how to cut files:

just copy by command+c
then go to the destinations, using command+option+v to paste files.

(5) at the moment ntfs driver is not able to write. also my ext 4 journal is not able to be read and mount.
solution: install macfuse and ntfs-3g

(6) once a x application is opened from sshed terminal, the x application starts to boot and exit loop.
solution:

https://xquartz.macosforge.org/trac/ticket/589
rm -rf /tmp/.X11-unix
mkdir /tmp/.X11-unix

No comments:

Post a Comment