Login Items

winkelhe
New Contributor

Ya know what I might find helpful?? A login items tab like the dock tab in Casper, so we can add and remove login items. Any takers??

12 REPLIES 12

Not applicable

Why not set those items as part of the managed client settings in Workgroup Manager? Then you don't have to deal with changes anywhere but at the network level.

johnd
-- John DeTroye Email: johnd at apple.com
Sr. Consulting Engineer Work: 303-933-1807
Systems Management Solutions Fax: 303-979-6616
Apple - Education iChat: johnd at mac.com
Tips and Tricks Docs - http://homepage.mac.com/johnd/

winkelhe
New Contributor

That would require my users to be authenticating to an OS X box and also require me to be managing clients with workgroup manager, both of which are not happening.

John DeTroye <detroye1 at apple.com> 03/02/07 02:02 PM

To
eric.winkelhake at us-resources.com
cc
"Ernst, Craig S." <ERNSTCS at uwec.edu>, casper at list.jamfsoftware.com
Subject
Re: [Casper] Login Items

Why not set those items as part of the managed client settings in Workgroup Manager? Then you don't have to deal with changes anywhere but at the network level.

johnd
-- John DeTroye Email: johnd at apple.com
Sr. Consulting Engineer Work: 303-933-1807
Systems Management Solutions Fax: 303-979-6616
Apple - Education iChat: johnd at mac.com
Tips and Tricks Docs - http://homepage.mac.com/johnd/
--

On Mar 2, 2007, at 12:54 PM, eric.winkelhake at us-resources.com wrote:

I'm talking about the user specific login items from the account preference pane. Such things as a font management app that you want to launch at login, or if you want the browser to startup when you log in. I'm not trying to run maintenance tasks or install software.

ernstcs
Contributor III

Run a command using the OEAdvanced' tab in a policy that will open any
application you want and you can associate it with the login trigger ­ and
you don't have to be connected to the network if you make the policy
available offline.

winkelhe
New Contributor

So if I have a group of users using font reserve, a group using suitcase, some not using either. I have users within both those groups that we launch a browser at login, we have certain machines that lauch an agreement contract at login. Are you suggesting I create policies for each group or even each individual computer just for a login item??? Thats a lot of policies.

ernstcs
Contributor III

Wouldn't that be something you'd handle through Policies triggered by the
login or logout options anyway? What types of things would want to perform
at login and logout?

Craig Ernst

winkelhe
New Contributor

I'm talking about the user specific login items from the account preference pane. Such things as a font management app that you want to launch at login, or if you want the browser to startup when you log in. I'm not trying to run maintenance tasks or install software.

rdagel
New Contributor II

Yes that would be nice. Sometimes I install suitcase and sometimes I
install fontexplorer it would be nice to tell it to add one of them to the
startup items.

Rich

Not applicable

second the motion.

Siddhartha Chadda
Chief Technology Officer
OLSON
T:612.336.7533
C:612.986.9310
E:schadda at oco.com

rdagel
New Contributor II

What is the best way to add or remove login items. I tried to add them to
the master image, but they do not seem to stick for Active Directory logins.
I also want to be able to add them as I add new software or take them away.
How are others handing them.

Rich

Rich Dagel
Senior Technology Specialist

Landor Associates
1001 Front Street
San Francisco, CA 94111
United States
415 365 3933
http://www.landor.com
Rich.Dagel at landor.com

![external image link](attachments/2fd3a9e7ff0f425992d068e6543f4a29)

winkelhe
New Contributor

http://www.macosxhints.com/article.php?story050316020738829

also, you need to add the loginwindow.plist to the user template in order for new users to get it. as long as youre creating your AD users based on the local user template.

eric winkelhake
mundocomww
office 312 220 1669
cell 312 504 5155

![external image link](attachments/c1f3af9514e8458099268b6aa74e3061)

donmontalvo
Esteemed Contributor III

Good read:
Dagel, Rich Rich.Dagel at landor.com wrote:

http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/Cust...

--
https://donmontalvo.com

abenedict
New Contributor II

After doing a little research on this and after I hosed a loginwindow.plist
on a test machine, I found a nice easy way to add a login item via
AppleScript. This will have to be run while a user is logged in and will
only add the login item for that user. I've written it into a script and
have tested it in my environment, hopefully it might be useful to someone on
this list. You can also change the AppleScript to delete login items as
well, I found this info here <http://macstuff.beachdogs.org/blog/?p=30>.

--code--
#!/bin/bash
#AppleScript to add item to login items
#Hidden is a true or false variable to specify if an item is to be hidden
when launched
#Path is a variable that points to the item. The path is already quoted, so
when entering your path in Casper you will not need to use before spaces.
#example path /Applications/Address Book.app
#hidden is assigned the value $4
#path is assigned the value $5

/usr/bin/osascript <<EOF
tell application "System Events" make login item at end with properties {path:"$5", hidden:$4}
end tell
EOF

exit
--code--

--
Alan Benedict
?
Macintosh Technician
The Integer Group
O: 515-247-2738
C: 515-770-8234
http://www.integer.com