I downloaded Firefox from Chrome and was presented with the “application downloaded from the internet” warning every time I opened Firefox. To get rid of the warning, I ran the following command from the terminal:
The xattr command manages attributes on files. The -d flag indicates that the com.apple.quarantine attribute should be deleted. The -r flag indicates that the attribute should be removed recursively from all files in the designated directory.
Command (⌘) + Shift (⇧) + 5 – opens the program Screenshot (only on macOS Mojave and later).
Command (⌘) + Shift (⇧) + 3 – a screenshot of the entire desktop. If you have multiple monitors, the same number of files will appear.
Command (⌘) + Shift (⇧) + 4 – a screenshot of the selected part of the display. The arrow will turn into a sight with the current coordinates. You just have to choose the area of interest.
Command (⌘) + Shift (⇧) + 3, and then press the spacebar – a screenshot of the entire window. Simply move the camera to any window as it turns blue. Clicking the left mouse button will result in a screenshot (by default, a beautiful shadow is activated around the window).
Control (⌃) + Shift (⇧) + Command (⌘) + 3 – save a screenshot of the entire display to the clipboard (the file in the default folder is not created, but you can paste a copied image into the clipboard in any program).
Control (⌃) + Shift (⇧) + Command (⌘) + 4 – save the selected display area to the clipboard (works the same as the previous command – the file is not created, but you can immediately paste a screenshot from the clipboard).
Many OS X users regularly experience the problem of duplicating menu bars in the “open with program” (open with) item. The following command will help solve the problem:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
This command re-indexes the application database. Then restart Finder:
Option two, compile and save yes to disk for further use in dmg OS X format:
do shell script "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user" do shell script "killall Finder"