Is there a way to keep the application Dock closed. Every time I do:

killall dock

It closes for a bit then automatically reopens. I want to be able to make an AppleScript program that keeps it closed. I remember I had to repeat killall dock again and again in a loop to keep it closed, but I find that stupid as the computer could lag which allowed dock to open for a split second.

I also want to hide/close the top bar, thus hiding the apple logo on the top left, but I could not find a way to do this. I could only hide the mini icons on the top right.

My essential task is to close finder, dock, the top bar and open a specific application of my choice, like a guest account, except that you can't turn off the computer. Can someone guide me to make such program? Specifically how to turn off the parts as mentioned (except for finder which is simply just killall Finder)?

Preferably, I want to be able to do this using Terminal or Applescript.

  • Best I've got is hiding the dock and the menu bar. To my understanding, OS X isn't designed to have either permanently closed, and doesn't really support this.
    – JMY1000
    Jun 1, 2016 at 1:24
  • @JMY1000 Same. Wait you got dock to close without automatically reopening!?
    – Bradman175
    Jun 1, 2016 at 1:27
  • No, just make it hidden until you mouseover. Same with menu bar.
    – JMY1000
    Jun 1, 2016 at 1:31
  • On phone, so can't answer fully. Google 'kiosk mode mac' or 'simple finder Mac' & see if either of those would suit your needs.
    – Tetsujin
    Jun 1, 2016 at 5:14
  • 1
    Why not just use Parental Controls on a standard user? What do you really want to prevent access to that the Parental Controls solution doesn't limit?
    – grg
    Jun 3, 2016 at 19:07


You must log in to answer this question.

Browse other questions tagged .