DEV Community

Discussion on: 3 general 🚀 Productivity 🚀 tools you should be using that you possibly haven't heard of ⁉

 
siddharthshyniben profile image
Siddharth • Edited

Well, I don't set a schedule yet for GateKeeper. I just start it when I need, and end it when I need. I have enough willpower to stop me from abusing it!

If you have low willpower, you can use the terminal commands sudo spctl --disable --label "BlockedApps" and sudo spctl --enable --label "BlockedApps" and maybe setup a cron job for these to run to make a schedule...

If you have even less willpower, and wanna stop installs of apps, you could sudo spctl --disable --label "Mac App Store"

And if you have even less willpower, you could make sudo not work temporarily, by putting this in your sudoers file:

<username> ALL = ALL, !/usr/sbin/spctl
Enter fullscreen mode Exit fullscreen mode

which would prevent you from using sudo. And if you have even...
I'll stop here :D.

Thread Thread
 
grahamthedev profile image
GrahamTheDev

No need to stop, they are great tips on how to do it!