Mac OS

ph
Admin (토론 | 기여)님의 2017년 4월 28일 (금) 01:49 판
이동: 둘러보기, 검색

기본 글꼴 바꾸기

직접 해보려고 했으나 다른 글씨체로는 모두 실패해서 이사람이 올려둔 글쎄체 그냥 쓰고 있음.
2011년 4월 30일 (토) 13:33 (KST) 백묵굴림으로 바꾸기 성공
이거 하려고 vmware에 CentOS설치. fontforge설치 후 폰트 이름들과 copyright등 설정 맨 앞페이지에 있는 것들만 바꿈. 위에 글에는 몇가지 탭을 더 따라서 바꿔보라고 써있는데 그냥 안했음.
이렇게 하고 fontforge menu에서 generate font하면 무슨 에러난다고 나옴. id가 겹친다는 에러는 다시 설정 페이지에 PID였던가 하는 그거를 AppleGothic폰트로부터 copy & paste. 활성화도 안되어있는데 괜히 체크하는것 같음. 일단 하긴 했으나 안해도 될듯.
글꼴은 산돌고딕으로 시도해보다 맑은고딕 이미 올라와있는것을 적용해보니 산돌고딕도 별수 없겠다 싶어 리눅스의 백묵폰트 가져옴. 그거 가져와서 폰트 내부정보 바꾸고 ftxdumperfuser도 안하고 그냥 정보만 바꾼채로 /Library/Fonts로 옮김. 백묵글꼴은 볼드체가 없어서 볼드는 나눔고딕 넣음. 맑은고딕보다 나눔고딕이 백묵굴림에 더 어울리는것 같아서. 그러고 나면 잘 됨.
가끔 웹서핑하다 백묵굴림이 나와야 할 자리 같은데 명조체가 나올 때가 있는데 왜그런지 모르겠음. 여튼 산돌고딕쓰면 중간중간 빠지는 글자도 많고 그랬는데 백묵굴림으로 OK
써놓고나니 참, 누가 이거 읽어도 따라서 할수나 있겠나 싶음. 나중에 내가 봐도 이게 뭐지 할듯.

터미널에서 파일명이 한글일때 auto completion안되는 문제

bash 최신버전 설치하면 됨. 소스받아 별다른 설정없이 컴파일 가능.

Changing default shell

  1. Install bash
    1. Download bash source file. [1]
    2. Run
      ./configure

make tests sudo make install #defatul prefix is /usr/local/

  1. add following line to /etc/shells file
    /usr/local/bin/bash
  2. chsh
    chsh -s /usr/local/bin/bash

[2]
FYI: Apple will not update Bash, because the latest version is licensed under GPLv3, which Apple cannot use. They have updated most of their other shells though. ZSH for example is mostly up to date. – William T Froggard Jun 28 '15 at 22:55 [3]

How to run ssh service

Find setting in ‘System Preferences’ [4]

route add

route add -host 54.81.143.201 -interface en0

[5]

Get default gateway

route get default | grep gateway

http://osxdaily.com/2011/09/15/find-default-gateway-ip-address-mac-os-x/

Creating bootable USB stick

  1. Convert the ISO to UDRW format
hdiutil convert -format UDRW -o destination_file.img source_file.iso
  1. Prepare the USB stick
diskutil list
diskutil partitionDisk /dev/disk2 1 "Free Space" "unused" "100%”
  1. Copy the image to the USB stick
dd if=destination_file.img.dmg of=/dev/disk2 bs=1m
  1. Done
diskutil eject /dev/disk2