Toggle dock: the shortcut in both apps
Each app binds this differently. The table shows the keys in macOS and Ubuntu side by side.
How the apps compare
- Mac: Cmd+Option+D in macOS.
- Linux: Super+Q in Ubuntu.
Learn it by pressing it: macOS shortcuts practice or Ubuntu shortcuts practice.