02 October, 2026

MacOS: shortcut to move windows (sort of like Linux)

Open a terminal and fire this command:

# defaults write -g NSWindowShouldDragOnGesture -bool true

Log out. Log in.

Now you can move the windows by:

ctrl + command + drag with the mouse

---

I needed this because in a two screen set up the windows would hide the bar, so they could not be dragged. In Linux this is a standard feature. Now you can do the same on MacOS.