常用软件
Alfred
Alfred常用Workflow
常用命令
开启关闭dashboard
关闭:
defaults write com.apple.dashboard mcx-disabled -boolean YES
killall Dock
开启:
defaults write com.apple.dashboard mcx-disabled -boolean NO
killall Dock
剪贴板操作
写入剪切板:
echo 'test' > pbcopy
cat testfile > pbcopy
读取剪贴板:
pbpaste > testfile
pbpaste | cat
开启关闭Hidpi
开启:
sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool YES
关闭:
sudo defaults delete /Library/Preferences/com.apple.windowserver DisplayResolutionDisabled
Finder 标题栏显示完整路径:
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
修改Dock隐藏和出现时间:
defaults write com.apple.dock autohide-delay -int 0
defaults write com.apple.dock autohide-time-modifier -float 0.4
killall Dock
删除dropbox冲突文件:
find . -type f -name "* conflicted *" -exec rm -f {} \;
清空Launchpad(删除掉):
sqlite3 ~/Library/Application\ Support/Dock/*.db 'DELETE FROM apps;' && killall Dock
重置Launchpad:
rm -f ~/Library/Application\ Support/Dock/*.db && killall Dock
No comments:
Post a Comment