Skip to main content
Question

sidebarlists.plist

  • March 9, 2015
  • 20 replies
  • 25 views

Forum|alt.badge.img+8
  • Valued Contributor
  • 126 replies

Just wondering if anyone can give me some ideas of the easiest way to push out a generic sidebarlists.plist so all network users will grab this at login?

Having some issues mapping 10.10.2 to sidebar folders and I can manually tick the boxes which fixes the mapping. Thought this would be the easiest way to fix this issue

settings should reflect image

20 replies

bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • 4331 replies
  • March 9, 2015

@c0up3 Would you want this set at every login or just once?


Forum|alt.badge.img+8
  • Author
  • Valued Contributor
  • 126 replies
  • March 9, 2015

Am thinking would need to be every login as I dont want these to change


Forum|alt.badge.img+13
  • Contributor
  • 68 replies
  • March 9, 2015

I would suggest if you want this on login. Create a LaunchAgent plist to execute a package or script reconfiguring the sidebar.


Forum|alt.badge.img+8
  • Author
  • Valued Contributor
  • 126 replies
  • March 9, 2015

Yeah that's what I was thinking. Any other ideas though?


Forum|alt.badge.img+10
  • Contributor
  • 72 replies
  • March 10, 2015

Here is a script to modify the Sidebar for users. Be sure to set line 10 to True if you want to use with Casper.

changeSidebarListsCasper.py


davidacland
Forum|alt.badge.img+18
  • Valued Contributor
  • 1811 replies
  • March 10, 2015

Thanks @matt4836 this script is amazing! I've been looking for something like this for ages. Never had much luck with the sidebar preferences.


Forum|alt.badge.img+10
  • Contributor
  • 72 replies
  • March 11, 2015

@davidacland I already made some important changes to it.

Added:
When run as Root (Casper) It now modifies the Logged in User’s Sidebar (requires a log out)
Test to make sure File Exists
Ability to specify Current Finder User’s Home Directory as a variable. (Use HOMEDIR as the variable). Example:
script.py last HOMEDIR/Music To add the user's Music Folder

Updated


davidacland
Forum|alt.badge.img+18
  • Valued Contributor
  • 1811 replies
  • March 11, 2015

Nice one. Thanks again for sharing!


Forum|alt.badge.img+1
  • New Contributor
  • 2 replies
  • April 1, 2015

Thanks @matt4836. I've been working with @gfawkes on this, and can echo his response. This will be much appreciated by folk I support! I'll send you a little cash as we use it :D


hodgesji
Forum|alt.badge.img+16
  • Contributor
  • 64 replies
  • April 1, 2015

Hey @matt4836 , your links are broken for me. Can you update please?!


Forum|alt.badge.img+10
  • Contributor
  • 72 replies
  • April 1, 2015

Weird.

GitHub.com/matt4836


hodgesji
Forum|alt.badge.img+16
  • Contributor
  • 64 replies
  • April 1, 2015

Thanks - this is going to be really helpful!


Forum|alt.badge.img+10
  • Valued Contributor
  • 182 replies
  • May 1, 2015

That script sounds like it's made to do what I want to do. Where might I start in learning how to use it?


Forum|alt.badge.img+1
  • New Contributor
  • 3 replies
  • September 1, 2015

This script would really be helpful to me. Similarly to tuinte I don't really know where to start. All I need to do for now is remove "Connected Servers" from a group of Macs and a lot of this script means nothing to me :( I use Apple Server with Profile Manager and not the Casper Suite. If anybody could help point me in the right direction it would me massively appreciated. Thanks.


Forum|alt.badge.img+7
  • Contributor
  • 49 replies
  • October 28, 2015

How do I use this script with Casper - I don't know much about how to implement python scripts in OS X. Does it aid Casper in setting the sidebar or do you change items in the script to manually give the sidebar the contents you want?


davidacland
Forum|alt.badge.img+18
  • Valued Contributor
  • 1811 replies
  • October 28, 2015

You would add the script to Casper, then create a policy to run it, adding the necessary variables.

In the policy script variables, you can use the parameters to add the extra info, for example:

Parameter 4 - last
Parameter 5 - HOMEDIR

This would add the home directory, last in the list of the finder sidebar.


Forum|alt.badge.img+7
  • Contributor
  • 49 replies
  • October 28, 2015

Ah thanks David, thats given me a good key to work from. To the dev machine!


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • 4331 replies
  • October 30, 2015

There is also this.


Forum|alt.badge.img+7
  • Contributor
  • 49 replies
  • October 31, 2015

Thanks @bentoms this looks even more intuitive. I'm going to try this out next week!


Forum|alt.badge.img+9
  • Valued Contributor
  • 187 replies
  • November 9, 2015

Looks like the change_sidebar_list script broke with El Cap....
(Changes to python...)

Anyone have enough python experience to know how to fix it?
(I really need to get my python on....)

github issues page