Ios-mac Common Settings

Source: Internet
Author: User

1. Display Resource Library in Finder
方法一:  在 “终端” 中输入下面的命令:    显示:      $ chflags nohidden ~/Library/    隐藏:      $ chflags hidden ~/Library/方法二:  打开 Finder,菜单中选择前往按住 option 键就会显示资源库项(每次打开都需要重复操作一次)。
2. Finder shows hidden files
在 “终端” 中输入下面的命令:  显示隐藏文件:    $ defaults write com.apple.finder AppleShowAllFiles -bool true    或    $ defaults write com.apple.finder AppleShowAllFiles -bool YES    $ killall Finder      输入这条命令,使得修改立即生效  隐藏隐藏文件:    $ defaults write com.apple.finder AppleShowAllFiles -bool false    或    $ defaults write com.apple.finder AppleShowAllFiles -bool NO    $ killall Finder      输入这条命令,使得修改立即生效
3. The Finder title bar shows the full path
在 “终端” 中输入下面的命令:  显示:    $ defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES    $ killall Finder      输入这条命令,使得修改立即生效  隐藏:    $ defaults write com.apple.finder _FXShowPosixPathInTitle -bool NO    $ killall Finder      输入这条命令,使得修改立即生效
4. Xcode Uninstall
在 “终端” 中输入下面的命令:  $ sudo ~/Library/uninstall-devtools –mode=all  ~ 为实际安装的目录,默认情况下 Xcode 安装在 /Developer 目录下,即可执行  $ sudo /Developer/Library/uninstall-devtools –mode=all
5. Force Safari to open a Web page in a new tab
    • Safari is the default support for tag browsing. However, when we click on a link on a page or click a link in another app, Safari tends to open a new window that causes too many safari windows on the page and is not well managed. With this little trick, we can let Safari open the Web page by default in a new tab.

      在 “终端” 中输入下面的命令:  $ defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
6. Remove the shadow from the window screenshot
    • When you take a screenshot of the window (command-shift-4, space), the resulting picture is automatically added with a circle of shadows around it. If you don't like the effect of this shade, you can turn it off.

      在 “终端” 中输入下面的命令:  去掉阴影:    $ defaults write com.apple.screencapture disable-shadow -bool true    $ killall SystemUIServer      输入这条命令,使得修改立即生效  加上阴影:    $ defaults write com.apple.screencapture disable-shadow -bool false    $ killall SystemUIServer      输入这条命令,使得修改立即生效
7. Change the save location and format of screenshots
    • MacOS provides a handy screenshot shortcut that allows us to take screenshots of the entire screen, part of the screen, or the application window very quickly. However, this screenshot feature has one disadvantage, that is, you can only save screenshots to the desktop. If we take a lot of pictures, it will make the desktop seem very messy. Is there any way to modify the default location of screenshots? Yes. method is very simple.

      修改保存位置:  在 “终端” 中输入下面的命令:    $ defaults write com.apple.screencapture location 存放位置      在输入命令的时候,将 “存放位置” 替换成真正的文件夹就可以了。      例如,你希望存放到自己用户目录的 ScreenShots 文件夹下,就输入      $ defaults write com.apple.screencapture location ~/Pictures/ScreenShots/    $ killall SystemUIServer      输入这条命令,使得修改立即生效  恢复系统默认设置:    $ defaults delete com.apple.screencapture location修改图片格式:    macOS 系统默认文件格式为 png,通过下面的终端(Terminal)命令可以修改文件格式为 jpg :    $ defaults write com.apple.screencapture type jpg    $ killall SystemUIServer        输入这条命令,使得修改立即生效    另外,还可以将命令中的 jpg 修改为 gif 或 pdf,以及改回默认的 png 格式。    同样别忘了输入上面那条使得修改生效的命令。
8. Set the lock screen shortcut key
  • If the user has to leave the computer for a period of time, you can choose to directly close the notebook. However, the original running process will hang or end, if you are downloading, then the download will be suspended (sometimes can not recover), if the network service is being provided, then because the network is broken, others can not connect your notebook. Lock screen can solve this problem, under Windows with Win+l shortcut keys on the lock screen, but Mac OS X has not been the default shortcut keys.

  • MacOS default lock screen shortcut keys

    control + shift + Eject
  • Customizing the lock screen shortcut keys

    • 1) method one

      • 1> finder–> Application –> Utility –> Keychain Access, or click the magnifying glass button in the upper right corner of the Mac screen to search for "keychain";

      • 2> Click Keychain Access on the top menu bar of your Mac and select preferences;

      • 3> tick the first item "Show keychain status in menu bar";

      • 4> ; Mac top menu bar will be more than a lock icon, want to lock the screen when you click on the first item "Lock Screen".

      • The above method implements the lock screen, but has not yet reached the target of the shortcut key control lock screen. Although so, but it's effect gives us a lock screen idea. First, we ask the screen saver to enter a password when it resumes, and then the lock screen issue becomes a startup screen saver. Lock the screen via a keyboard shortcut This article describes the specific implementation methods.

      • First step, locate "Security and privacy" under System Preferences, and on the "General" page, tick "Enter your password immediately after going to sleep or start screen saver."

      • The second step is to start the screen saver with a shortcut key, which is relatively complex. Find "Automator" in "Application". Create a new service, find "Start screen saver" in "Utilities" under "actions", and drag this action to the right, and select "No input" and "any application" as shown in. Then save the service as a name of your own definition.

      • Step three: Find "keyboard" in "System Preferences", then configure shortcut keys for the service you just defined, I set command + control + L.

    • 2) Method Two

      • 1> finder–> Application –> Utility –> Keychain Access, or click the magnifying glass button in the upper right corner of your MAC screen to search for "keychain";

      • 2> Click "Keychain Access" on the top menu bar of your Mac and select "Preferences";

      • 3> tick the first item "Show keychain status in menu bar";

      • 4> Mac top menu bar will be more than a lock icon, want to lock the screen when you click on the first item "Lock Screen".

      • First step: Click on the top left corner of the LOGO to find the System Preferences –> security and privacy –> General –> the screen saver hook up, select immediately;

      • The second step: Desktop and Screen saver –> Point screen protection degree –> trigger angle;

      • The third step: after clicking the trigger angle –> appears the active screen corner –> the lower left corner drop-down menu (any 4 corner) –> Start screen saver –> good;

      • Fourth step: Close the window, pull the mouse to the lower left corner (such as the active corner set other corners, put to the corresponding angle) wait for 1 seconds! Just finish the lock screen.

Ios-mac Common Settings

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.