Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add item to Dock #22

Closed
MetrosX opened this issue Jun 26, 2014 · 6 comments
Closed

Can't add item to Dock #22

MetrosX opened this issue Jun 26, 2014 · 6 comments

Comments

@MetrosX
Copy link

MetrosX commented Jun 26, 2014

Hello, I recently tried version 1.2 and now 2.0 with the same results on 10.9.3

Using the command;
dockutil --add /Applications/Self\ Service.app
It refreshes my dock but nothing appears.

dockutil --list
Provides information that Self Service exists in the plist but does not visually appear on the dock.
Self Service /Applications/Self Service.app persistent-apps /Users/test/Library/Preferences/com.apple.dock.plist

I've restarted, logged out and cleared the .db existing in ~/Library/Application Support/Dock/

Any ideas would be greatly appreciated.

Thanks.

@kcrawford
Copy link
Owner

Try specifying a plist to update. If you are running as root it may be updating roots dock.

@MetrosX
Copy link
Author

MetrosX commented Jun 26, 2014

I am running it as the user;-

computerName:~ test$ /usr/local/bin/dockutil --add /Applications/Self\ Service.app
Self Service already exists in dock. Use --replacing 'Self Service' to update an existing item
item /Applications/Self Service.app was not added to Dock

Any other ideas mate?

Thanks.

@kcrawford
Copy link
Owner

What is the output with -v (verbose)?

@MetrosX
Copy link
Author

MetrosX commented Jun 26, 2014

computerName:~ test$ /usr/local/bin/dockutil --add /Applications/Self\ Service.app -v
verbose: ('processing', '/Users/test/Library/Preferences/com.apple.dock.plist')
verbose: ('adding', '/Applications/Self Service.app')
verbose: ('adding', {'tile-data': {'file-label': 'Self Service', 'file-data': {'_CFURLStringType': 0, '_CFURLString': '/Applications/Self Service.app'}, 'file-type': 32}, 'tile-type': 'file-tile', 'GUID': 'A581A74C-6E09-407C-999E-1B68D434DFDF'})
verbose: ('item added at end',)

@MetrosX
Copy link
Author

MetrosX commented Jun 26, 2014

Hi Kyle,

Scrub the above, I have tested on another machine and it works fine. I'm going to virtualise another instance and try again.

Thanks for your help.

@kcrawford
Copy link
Owner

Okay let me know if you discover the root cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants