Mac系统的使用_2


=Start=

快捷键(苹果官方文档)
功能键

默认情况下,F1-F12 都是特殊功能,比如调节屏幕亮度。而当你需要键入 F1-F12 时,需要同时按住 Fn。这对于开发人员来说是非常不方便的。把 F1-F12 改成标准功能键:选择 System Preferences > Keyboard ,在Keyboard标签页中选中 “Use all F1, F2, etc. keys as standard function keys” 。

全键盘控制

选择 System Preferences > Keyboard ,在 Shortcuts 标签页中选择 All controls ;或者使用快捷键 Control+F7 。

屏幕截图

最简单的对整个屏幕截图的快捷键是 Shift+Command+3 ,默认会把快照照片保存到桌面,格式为png。 Shift+Command+4 则允许你对特定的区域进行截图。如果是想把截图放在剪贴板里而不是保存到桌面上,那就分别使用 Shift+Control+Command+3 和 Shift+Control+Command+4 。

Mac OS X中Finder的使用
  • Shift + Command + G:前往文件夹
  • Shift + Command + A:定位到应用程序(Applications)
    Shift + Command + C:定位的计算机(Computer)
    Shift + Command + D:定位到桌面(Desktop)
    Shift + Command + I: 定位到 iDisk
    Shift + Command + K:定位到网络(Network)
    Shift + Command + T:添加当前目录到 Dock 最喜爱部分
    Shift + Command + U:定位到实用工具(Utilities)
iTerm-2的快捷键

⌘ + Enter: 切换全屏
⌘ + D: 垂直分屏,⌘ + shift + d: 水平分屏
⌘ + T: 打开一个新标签页
⌘ + W: 关闭当前标签页
⌘ + K: 彻底清屏
⌘ + F: 在当前屏幕查找
⌘ + shift + H: 剪贴板历史
Control + a: 跳转到行首
Control + e: 跳转到行尾
Control + u: 删除整行内容
Control + k: 删除从光标当前位置到行尾的所有内容
Control + h: 删除光标前的一个字符
Control + w: 删除光标前的一个单词

Chrome浏览器的快捷键

⌘ + R: 刷新当前页
⌘ + Y: 打开历史记录
⌘ + T: 打开新标签页
⌘ + N: 打开新窗口
⌘ + shift + N: 打开新的隐身窗口
⌘ + option + I: 打开网页开发者工具
⌘ + option + U: 查看当前页源代码
⌘ + shift + Delete: 打开“清除浏览数据”对话框
⌘ + shift + J: 打开下载内容页

快速创建文件列表

快速创建一个包含当前目录下的所有文件及文件夹的列表文件。打开Finder,进入你要创建列表的文件夹,然后按下Command+A选中全部文件和文件夹,然后按Command+C,别担心,只是按下,这个时候不会复制的。然后打开文本编辑器(比如:sublime text 2),切换到纯文本模式(Shift + Command +T),然后按下Command + V粘贴,现在你看到的就是文件列表了,而不是真正的复制那些你拷贝的文件的内容。这个方法对所有可以切换到纯文本模式的字处理程序都有效,包括Word和Pages。

=EOF=

, ,

《“Mac系统的使用_2”》 有 18 条评论

  1. Creating XPC Services
    https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingXPCServices.html

    XPC
    https://objccn.io/issue-14-4/

    macOS.XPC
    https://www.jianshu.com/p/8c7e9260158d

    XPC Services
    https://hechen.xyz/post/xpcservice/
    `
    XPC 是 macOS 上一种进程间通信的技术统称,其使得我们可以将 Mac 应用的功能模块拆分成不同的多进程模式,关于进程之间的通信也被系统封装完整了,你只需要按照既定的模式做即可。其带来的最大的好处是(安全性和稳定性):
    * 提高 App 自身的稳定性
    * 进行权限隔离
    `

  2. mac finder_每个Mac用户应该知道的16个Finder快捷方式
    https://blog.csdn.net/culinxia2707/article/details/108788095
    https://www.howtogeek.com/325983/16-finder-shortcuts-every-mac-user-should-know/
    `
    • Command+Shift+C: top-level system folder
    • Command + Shift + C:顶级系统文件夹

    • Command+Shift+D: Desktop
    • Command + Shift + D:桌面

    • Command+Shift+F: All My Files
    • Command + Shift + F:我的所有文件

    • Command+Shift+G: Go to Folder
    • Command + Shift + G:转到文件夹

    • Command+Shift+H: Home folder
    • Command + Shift + H:主文件夹

    • Command+Shift+I: iCloud Drive folder
    • Command + Shift + I: iCloud驱动器文件夹

    • Command+Shift+O: Documents folder
    • Command + Shift + O:“文档”文件夹

    • Command+Shift+R: AirDrop folder
    • Command + Shift + R: AirDrop文件夹

    • Command+Shift+U: Utilities folder
    • Command + Shift + U:“实用工具”文件夹

    • Command+Option+L: Downloads folder
    • Command + Option + L:“下载”文件夹

    Memorizing all of these might be a stretch, but memorize the few you use often and it’ll save you time!
    记住所有这些可能会很麻烦,但要记住您经常使用的少数几个,这样可以节省您的时间!
    `

  3. What is this ‘bird’ that is taking up almost all of my CPU? (iOS 8.1, Only iCleaner Pro and Barrel installed)
    https://www.reddit.com/r/jailbreak/comments/2ksrvf/what_is_this_bird_that_is_taking_up_almost_all_of/
    `
    Bird is a process related to iCloud Drive.
    `

    Bird killing me. 🙁
    https://discussions.apple.com/thread/251754018

    A rouge CloudDocsDaemon.framework bird is eating all my CPU
    https://gist.github.com/maximveksler/824e0b50094852530dcb

    What Is the Bird Process in Activity Monitor?
    https://softwaretested.com/mac/what-is-the-bird-process-in-activity-monitor/
    `
    # What is the bird process running on my Mac?
    The short answer is that the bird process Mac is the back end process behind iCloud and iCloud drive. It can sit there on your Mac computer at 100 percent CPU usage all the time, without appearing to accomplish anything.

    You cannot delete it as well. It is deemed an essential part of macOS, whose content is proprietary. You can consider it a system daemon used with iCloud and iCloud drive, serving as a component of its backup function.
    `

    iCloud Drive Bird Service always running
    https://apple.stackexchange.com/questions/222859/icloud-drive-bird-service-always-running

  4. Mac 上的磁盘工具介绍
    https://support.apple.com/zh-cn/guide/disk-utility/dskutl1029/21.0/mac/12.0

    在 Mac 上的“磁盘工具”中格式化磁盘以用于 Windows 电脑
    https://support.apple.com/zh-cn/guide/disk-utility/dskutl1010/mac

    Mac 上“磁盘工具”中可用的文件系统格式
    https://support.apple.com/zh-cn/guide/disk-utility/dsku19ed921c/21.0/mac/12.0
    `
    Mac 上的“磁盘工具”支持多种文件系统格式:
    * Apple 文件系统 (APFS):macOS 10.13 或后续版本使用的文件系统。
    * Mac OS 扩展:macOS 10.12 或之前版本使用的文件系统。
    * MS-DOS (FAT) 和 ExFAT:与 Windows 兼容的文件系统。

    Mac OS 扩展(日志式):使用 Mac 格式(日志式 HFS Plus)来保护分层文件系统的完整性。如果不需要加密或区分大小写格式,请选取此选项。
    Ps:在制作macOS系统的U盘启动盘时,就需要将USB 闪存驱动器或其他备用宗卷格式化为 Mac OS 扩展格式(还至少要有 14 GB 可用储存空间)。
    `

  5. fs_usage
    Filesystem usage (process/pathname) Requires root privileges due to the kernel tracing facility it uses to operate.
    https://ss64.com/osx/fs_usage.html
    `
    Monitor all filesystem activity:
    $ sudo fs_usage
    [then ctrl-C to cancel]

    Watch iTunes manipulate files:
    $ sudo fs_usage iTunes
    `

    Mac OS X: Using fs_usage as a Troubleshooting Tool
    https://www.macobserver.com/tmo/article/os_x_using_fs_usage_as_a_troubleshooting_tool
    `
    只记录网络相关的事件
    $ sudo fs_usage -f network

    只记录和word相关的本地文件系统的行为:
    $ sudo fs_usage -f filesys “Microsoft Word” >./fs_usage-filesys-word.txt

    根据窗口大小改变输出的宽度(当你存在很长的路径名时这个选项很有用)
    Changes the output so that it’s not dependent on your window size (necessary if you have long path names you’re looking at).
    $ sudo fs_usage -w

    只显示特定进程的记录
    Shows only results that contain the specified process. If you’re familiar with how to find process names, go you! If not, an easy way to do so is to open Activity Monitor (within Applications > Utilities) and check out the “Process Name” column.
    $ sudo fs_usage [process name]
    `

    fs_usage – trace file system calls on Mac OS X
    https://mohit.io/blog/fs_usage-trace-file-system-calls-on-mac-os-x/

    View Filesystem Access in Real Time on Mac OS X
    https://superuser.com/questions/97980/view-filesystem-access-in-real-time-on-mac-os-x

  6. 用 Option 给 macOS 操作加点料
    https://sspai.com/post/73385
    `
    Option + 访达
    路径显示与跳转
    文件复制
    文件夹的花式操作
    Option + macOS GUI
    硬件信息更多一点
    不一样的窗口
    程序坞的隐藏选项
    绕过确认提示
    调度中心,显示关闭桌面
    Option + macOS 自带 App 显示新选项
    预览
    Safari
    屏幕亮度与音量快速设置
    Option + 其他 App 也有新选项
    `
    https://www.macrumors.com/guide/hidden-macos-features-Option-key/

  7. `
    # this
    /System/Library/PrivateFrameworks/CloudDocsDaemon.framework/Versions/A/Support/bird

    # not
    /System/Volumes/Data/System/Library/PrivateFrameworks/CloudDocsDaemon.framework/Versions/A/Support/bird
    `

  8. Mac 上“备忘录”中的键盘快捷键和手势
    https://support.apple.com/zh-cn/guide/notes/apd46c25187e/mac
    `
    搜索当前备忘录 Command-F
    搜索所有备忘录 Option-Command-F

    附加文件 Shift-Command-A
    插入表格 Option-Command-T

    创建网页链接 Command-K

    应用块引用格式 Command-‘

    应用标题格式 Shift-Command-T

    应用小标题格式 Shift-Command-H

    应用副标题格式 Shift-Command-J

    应用正文格式 Shift-Command-B

    ……
    `
    【Mac备忘录】16个使用技巧,这么用太绝了!feat.苹果隐藏快捷键 | Devin同学
    https://www.youtube.com/watch?v=OaXwZf_dUas

回复 a-z 取消回复

您的电子邮箱地址不会被公开。 必填项已用*标注