Mac OSX

  1. Reset Launch Services under Snow Leopard:(duplicate entries open with problem): http://www.thexlab.com/faqs/resetlaunchservices.html#Anchor-Reset-47857
  2. Mice click: Ctrl-click(right click), option-click(middle click).
  3. Ctrl-Command H: for highlighting in preview.
  4. change hostname: sudo scutil --set HostName larryx.local
  5. How to move dashboard widgets to desktop: http://macs.about.com/od/usingyourmac/qt/widgetondesktop.htm
  6. Switch to root: 
    sudo su - 
  7. Count lines: 
    $ wc -l myFileNameWithExtension
  8. .DS_store: is a proprietary format hidden file created by Apple Inc.'s Mac OS X operating system to store custom attributes of a folder such as the position of icons or the choice of a background image.
  9. Set default bash editor:
    // in .profile file write:
    VISUAL=emacs; export VISUAL
    EDITOR=emacs; export EDITOR
  10. Clean up App store cache for some issue:
    open $(getconf DARWIN_USER_CACHE_DIR)
    # or 
    open $TMPDIR../C/
  11. Marvericks Upgrades Issue: missing icon from dashboard:
    • go to "~/Library/Application Support/Dock",you can find file *.db, delete it,and open a terminal window ,input "killall  Dock",and all icons return
  12. workaround_the_iconservices_bug_mavericks.sh:
    #!/bin/sh
    mkdir ${TMPDIR}/com.apple.IconServices
  13. n
  14. n
  15. n
  16. n
  17. n
posted @ 2013-04-21 12:46  wxwcase  阅读(232)  评论(0编辑  收藏  举报