site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: Acbsr2ULQKrL6qKkRl6iSzT2e4AyKw== Thread-topic: per user agents/login items Hello. I have a daemon which provides access to a certain device. However, the device needs to have text displayed on its LCD which fits the current locale. Unfortunately, I don't know of a way to query the current user's locale in a daemon (assuming there is a current user), as it runs under the root user. Any solution must work in 10.3 and 10.4... Therefore, is there a way to: a) Let the daemon be notified of user logon, and query the locale of that user? b) Split user dependent functionality out of the daemon and run it as a per user item. However, the daemon would need to communicate with this item and get the locale, and I don't know how to create a per user startupitem. c) Could the daemon be notified of user login, and spawn a helper app in that user session which would return the locale? I have read that LaunchAgents are broken under 10.4 and so they are not viable for me. If anyone has any ideas on the matter, I would appreciate a pointer. thank you, Philip Lukidis _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com