Giter Club home page Giter Club logo

Comments (8)

AudizineRS4 avatar AudizineRS4 commented on July 28, 2024

We were having the same issue but figure it out a few minutes ago. What we are using right now.

#!/bin/sh

#Add Default Apps to Dock “Faculty”
  /usr/local/bin/dockutil --add /Applications/Siri.app --allhomes
  /usr/local/bin/dockutil --add /Applications/Launchpad.app --allhomes
  /usr/local/bin/dockutil --add /Applications/App\ Store.app --allhomes
  /usr/local/bin/dockutil --add /Applications/iBooks.app --allhomes
  /usr/local/bin/dockutil --add /Applications/"iBooks Author.app" --allhomes
  /usr/local/bin/dockutil --add /Applications/iTunes.app --allhomes
  /usr/local/bin/dockutil --add /Applications/Photos.app --allhomes
  /usr/local/bin/dockutil --add /Applications/Preview.app --allhomes
  /usr/local/bin/dockutil --add /Applications/"Photo Booth.app" --allhomes
  /usr/local/bin/dockutil --add /Applications/iMovie.app --allhomes
  /usr/local/bin/dockutil --add /Applications/GarageBand.app --allhomes
  /usr/local/bin/dockutil --add /Applications/Safari.app --allhomes
  /usr/local/bin/dockutil --add /Applications/Firefox.app --allhomes
  /usr/local/bin/dockutil --add /Applications/"Google Chrome.app" --allhomes
  /usr/local/bin/dockutil --add /Applications/Mail.app --allhomes
  /usr/local/bin/dockutil --add /Applications/"Microsoft Outlook.app" --allhomes
  /usr/local/bin/dockutil --add /Applications/Notes.app --allhomes
  /usr/local/bin/dockutil --add /Applications/"Microsoft OneNote.app" --allhomes
  /usr/local/bin/dockutil --add /Applications/"Microsoft Word.app" --allhomes
  /usr/local/bin/dockutil --add /Applications/Pages.app --allhomes
  /usr/local/bin/dockutil --add /Applications/"Microsoft Excel.app" --allhomes
  /usr/local/bin/dockutil --add /Applications/Numbers.app --allhomes
  /usr/local/bin/dockutil --add /Applications/"Microsoft PowerPoint.app" --allhomes
  /usr/local/bin/dockutil --add /Applications/Keynote.app --allhomes
  /usr/local/bin/dockutil --add /Applications/Stickies.app --allhomes
  /usr/local/bin/dockutil --add '/Documents' --allhomes
  /usr/local/bin/dockutil --add '
/Downloads' --allhomes

#Remove Default Apps to Dock “Faculty”
  /usr/local/bin/dockutil --remove 'System Preferences' --allhomes
  /usr/local/bin/dockutil --remove 'Contacts' --allhomes
  /usr/local/bin/dockutil --remove 'FaceTime' --allhomes
  /usr/local/bin/dockutil --remove 'Messages' --allhomes
  /usr/local/bin/dockutil --remove 'Maps' --allhomes
  /usr/local/bin/dockutil --remove 'Reminders' --allhomes

#Resets the preferences and dock to display the new dock settings”
killall cfprefsd
killall Dock

from dockutil.

kcrawford avatar kcrawford commented on July 28, 2024

from dockutil.

AudizineRS4 avatar AudizineRS4 commented on July 28, 2024

from dockutil.

AudizineRS4 avatar AudizineRS4 commented on July 28, 2024

from dockutil.

erikng avatar erikng commented on July 28, 2024

from dockutil.

AudizineRS4 avatar AudizineRS4 commented on July 28, 2024

from dockutil.

henningkessler avatar henningkessler commented on July 28, 2024

Hi, sorry for being so late with my respond. I was kinda offline for the last two days ;-)

I was running this command on 10.12.3 with dockutil version 2.0.5 in terminal as that specific user and via outset in the context of a LaunchAgent

Henning

from dockutil.

henningkessler avatar henningkessler commented on July 28, 2024

mmmh this is strange. I found two different versions of dockutil with the same version number 2.0.5. One is restarting the dock the other doesn't. In guess I have to reinstall dockutil ;-).

from dockutil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.