Mac: Difference between revisions
(→Tips) |
|||
Line 50: | Line 50: | ||
* https://en.wikipedia.org/wiki/Finder_(software) | * https://en.wikipedia.org/wiki/Finder_(software) | ||
= | = Screenshots = | ||
http://www.howtogeek.com/278615/the-best-screenshot-apps-for-macos/ | |||
= Launch/close an application = | |||
== Launch an application == | == Launch an application == | ||
* F4 key - LaunchPad | * F4 key - LaunchPad | ||
Line 62: | Line 62: | ||
[https://discussions.apple.com/thread/3826532?tstart=0 Another answer]: The red close button just closes the window. It is up to the application whether it quits or not - typically if the application uses documents or it has other windows that can be opened it will not quit. Applications with a single window (System Preferences, for example), will usually quit when the window is closed, since there isn't anything else it does. | [https://discussions.apple.com/thread/3826532?tstart=0 Another answer]: The red close button just closes the window. It is up to the application whether it quits or not - typically if the application uses documents or it has other windows that can be opened it will not quit. Applications with a single window (System Preferences, for example), will usually quit when the window is closed, since there isn't anything else it does. | ||
= Tips = | |||
* [http://www.makeuseof.com/tag/new-mac-setup/ Got a New Mac? Do This First!] | |||
* [http://www.win-vector.com/blog/2017/01/upgrading-to-macos-sierra-nee-osx-for-r-users/ Upgrading to macOS Sierra (nee OSX) for R users] |
Revision as of 08:57, 10 February 2017
macOS
https://en.wikipedia.org/wiki/MacOS
OS X File System
- https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html
- Mac OS X Directory Structure explained
- Directory structure between mac osx and linux
Home directory
/Users/USERNAME
Terminal
Where is the terminal
Macintosh HD/Applications/Utilities/Terminal.
Keyboard shortcuts
- Ctrl + a - going to the beginning of the line
- Ctrl + e - going to the end of the line
More
- The Best “Just For Fun” Tricks Hidden in macOS’ Terminal:
- Make Your Mac Say Anything Out Loud,
- Play Simple Games Like Tetris, Pong, and Snake,
- caffeinate will prevent your Mac from falling asleep.
Hardware
Display resolution
2880x1800 on my 15-Inch Retina Display MacBook Pro.
Unfortunately Virtualbox (5.1.14) can only give 1440x900 (tested on Ubuntu & Windows). See a workout http://tusharm.com/articles/win7-on-retina-display-with-virtual-box/.
Touchpad
Need to press a little bit (instead of touch) for the left-click effect.
The right click is called secondary click in OS X. By default it is click with two fingers. We can change the setting by going to System Preferences/Touchpad/Secondary click.
Scroll: two fingers move up/down. The direction is like moving a paper; i.e. scrolling up will gradually show the next part of the content.
Zoom in/out: pinch with two fingers.
Smart zoom: double-tap with two fingers.
CPU information
sysctl -n machdep.cpu.brand_string
My macbook Pro 2015 shows i7-4980HQ CPU @ 2.80GHz.
Finder - file manager
Screenshots
http://www.howtogeek.com/278615/the-best-screenshot-apps-for-macos/
Launch/close an application
Launch an application
- F4 key - LaunchPad
- Command + Space - Spotlight search
Close an application
Clicking the red button does close/quit an application/a program. You need to use Command-Q.
Another answer: The red close button just closes the window. It is up to the application whether it quits or not - typically if the application uses documents or it has other windows that can be opened it will not quit. Applications with a single window (System Preferences, for example), will usually quit when the window is closed, since there isn't anything else it does.