Let GeekTool 3 Sleep with SleepWatcher 2.1
Many GeekTool 3 users may be annoyed at the fact that Mac machines wouldn’t sleep. So was I and not any more. I got to find solution! At first, I googled with these keywords: mac +sleep +geektool, and Google led me this page: Sleep Macs via SleepWatcher based on monitor state. But, its contents was out of date. Thd current version is 2.1, and it doesn’t need the StarupItem files....
Hide any program's dock icon - Mac OS X Hints →
Blotter is very good iCal assistant. Still it needs more elaboration, e.g, an useless icon on the Dock. It would be better if the icon sat in menu bar. So I searched and found this quite good solution. Just click the title.
Mac OS X Screencasts: An Alfred For Everything →
Very Good tutorial!
How to exclude files prefixed with "._" in OS X... →
It is good to insert a line into ~/.profile to exclude unnecessary meta information files in tar.gz archive file. export COPYFILE_DISABLE=true I don’t like the file system, HFS/HFS+.
[Updated] User Login without Predefined Login...
Some account in *nix system has no login shell for security reasons. But if you are logged in with a “sudo-granted” user, you can login with the account. How? If you are a sudo-granted user, enter this command in terminal: $ sudo -s -u postgres Then you can open a session allocated to postgres, with current shell. When can we use this kind of trick? It’s perhaps when you have...
[grep] 특정 단어가 포함되지 않은 문자열만 보기 →
wine 설치 때문에 universal 플래그를 붙여서 macport의 일부 패키지가 리빌드되어버렸다. 별 수없이 universal 바이너리가 생겨버리면서 사용하지 않게 된 64비트 바이너리들을 지우기 위해 구글링하다 알게되었음. $ port installed | grep -v active | tr -d ” ” > port_to_delete.list $ for i in $(cat port_to_delete.list) > do > port -v uninstall $i > done Password: Thefollowingportsarecurrentlyinstalled: is already uninstalled —-> Uninstalling...
Wine 빌드가 부른 어이없는 실수
Mac에 wine을 설치하려고 했는데, 이미 설치된 macport 패키지들을 모두 +universal 플래그를 붙여 리빌드한다. 내가 원한 건 이게 아니었는데. ‘헉!’이다, 헉! 그래서, 빌드를 중단했다. 사건은 여기부터. 쉘에서 universal 바이너리로 설치된 패키지는 모조리 삭제하고 64비트 바이너리만 남기려했는데, for 구문을 잘못써서 몽창 날려버리는 사태가 발생했고, 덕분에 bash 4.1.9 쉘도 운명하셨다… ㅠ.ㅠ 로긴 쉘로는 /opt/local/bin/bash을 /bin에 복사해서 /bin/bash4.1.9-2로 이름바꿔놓고, 원래 /bin/bash는 /bin/bash3.2.48-1로 이름을 바꾸어놨었다. /bin/bash4.1.9-2로 링크된...
Reordering PATH and MANPATH environment variables...
If you’d like to reorder the PATH and MANPATH variables globally, Simply edit the two files (/private/etc/paths, /private/etc/manpaths) line by line. You couldn’t see the MANPATH variable with “env” or “set” command, but it affects the order that the OS finds man files. If you installed MacPorts, then a PATH variable is defined and in ~/.profile file. You can...
Bash upgrade in OS X
The default bash in OS X 10.6 is 3.2.48(1)-release now. A little old one. I’d like to upgrade the bash shell, leaving the authentic bash. Why not upgrading? So I did these below as root: Checked the current bash shell in macports. # sudo port info bash // the current version is 4.1.9(2)-release. Where are thy? # which -a bash /opt/local/bash /bin/bash Rename the shell files, and make a...