rxhanson / Rectangle

Move and resize windows on macOS with keyboard shortcuts and snap areas
https://rectangleapp.com
Other
25.72k stars 767 forks source link

MacOS Admin - Enabling Rectangle on Start Up via command line? #1215

Closed havedill closed 2 months ago

havedill commented 1 year ago

We install Rectangle using an MDM solution. I noticed by default it is set to not start on login. Is there an easy way to enable this remotely via bash or some other method?

rxhanson commented 1 year ago

Here is the terminal command to enable it:

defaults write com.knollsoft.Rectangle launchOnLogin -bool true

The setting will take effect the next time the app is launched (relaunch it if it's running).