MacOS – Disable Dock in Full Screen

fullscreenmacos

I have disabled the Dock in the desktop spaces with the following command.

defaults write com.apple.dock autohide-delay -float 1000 && killall Dock

But when an app is in full screen mode, I can still open the Dock when I move the mouse to the screen edge and then move it again in that direction.

How to disable the Dock in macOS High Sierra in full screen mode?

Best Answer

The best workaround I've found:

defaults write com.apple.dock tilesize -int 1
killall Dock

This makes the dock so tiny that it won't ruin your fullscreen workflow when it does pop out.