Disable Application Downloaded from Internet Warning

To disable the warning, use the xattr delete command:

xattr -d -r com.apple.quarantine /application/path/here

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:

sudo xattr -d -r com.apple.quarantine /Applications/Firefox.app

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.

Disable Application Downloaded from Internet Warning

macOSLucidaGrande

As the name suggests, this is a small utility to set Lucida Grande as your Mac’s system font.

  • Easily switch between Lucida Grande and San Francisco as your Mac’s system font on macOS Mojave (10.14), macOS High Sierra (10.13), macOS Sierra (10.12) and OS X El Capitan (10.11)
  • Easily switch between Lucida Grande and Helvetica Neue as your Mac’s system font on OS X Yosemite (10.10)
  • Switches between system fonts without modifying system files, making it simple and safe

https://github.com/LumingYin/macOSLucidaGrande

macOSLucidaGrande

How to make a screen window on Mac?

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).

How to make a screen window on Mac?

How to remove duplicates in the menu

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:

killall Finder

AppleScript

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"
How to remove duplicates in the menu

Sound when charging connected

Usually, Mac is silent when the charger is connected. If you want, you can turn on the sound for this action, similar to what your iPhone publishes. It is enabled by the following command:

defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app &

If you want to return everything as it was, open the Terminal, insert this code there and press Enter.

defaults write com.apple.PowerChime ChimeOnAllHardware -bool false;killall PowerChime
Sound when charging connected